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_PYTHON_DIRECTOR_NO_VTABLE
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
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_double swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxBrush swig_types[13]
2476 #define SWIGTYPE_p_wxBrushList swig_types[14]
2477 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2478 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2481 #define SWIGTYPE_p_wxClientDC swig_types[19]
2482 #define SWIGTYPE_p_wxCloseEvent swig_types[20]
2483 #define SWIGTYPE_p_wxColour swig_types[21]
2484 #define SWIGTYPE_p_wxColourDatabase swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDash swig_types[29]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEffects swig_types[34]
2497 #define SWIGTYPE_p_wxEncodingConverter swig_types[35]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFont swig_types[43]
2506 #define SWIGTYPE_p_wxFontList swig_types[44]
2507 #define SWIGTYPE_p_wxFontMapper swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGDIObjListBase swig_types[47]
2510 #define SWIGTYPE_p_wxGDIObject swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIcon swig_types[53]
2516 #define SWIGTYPE_p_wxIconBundle swig_types[54]
2517 #define SWIGTYPE_p_wxIconLocation swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxImageList swig_types[60]
2523 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2524 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2525 #define SWIGTYPE_p_wxJPEGHandler swig_types[63]
2526 #define SWIGTYPE_p_wxKeyEvent swig_types[64]
2527 #define SWIGTYPE_p_wxLanguageInfo swig_types[65]
2528 #define SWIGTYPE_p_wxLayoutConstraints swig_types[66]
2529 #define SWIGTYPE_p_wxLocale swig_types[67]
2530 #define SWIGTYPE_p_wxMask swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMemoryDC swig_types[70]
2533 #define SWIGTYPE_p_wxMenu swig_types[71]
2534 #define SWIGTYPE_p_wxMenuBar swig_types[72]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[74]
2537 #define SWIGTYPE_p_wxMetaFile swig_types[75]
2538 #define SWIGTYPE_p_wxMetaFileDC swig_types[76]
2539 #define SWIGTYPE_p_wxMirrorDC swig_types[77]
2540 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMouseEvent swig_types[79]
2542 #define SWIGTYPE_p_wxMoveEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[81]
2544 #define SWIGTYPE_p_wxNativeFontInfo swig_types[82]
2545 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2546 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2547 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2548 #define SWIGTYPE_p_wxObject swig_types[86]
2549 #define SWIGTYPE_p_wxPCXHandler swig_types[87]
2550 #define SWIGTYPE_p_wxPNGHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPNMHandler swig_types[89]
2552 #define SWIGTYPE_p_wxPaintDC swig_types[90]
2553 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2554 #define SWIGTYPE_p_wxPalette swig_types[92]
2555 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[93]
2556 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2557 #define SWIGTYPE_p_wxPen swig_types[95]
2558 #define SWIGTYPE_p_wxPenList swig_types[96]
2559 #define SWIGTYPE_p_wxPoint swig_types[97]
2560 #define SWIGTYPE_p_wxPostScriptDC swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrinterDC swig_types[100]
2563 #define SWIGTYPE_p_wxPyApp swig_types[101]
2564 #define SWIGTYPE_p_wxPyCommandEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPyEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[104]
2567 #define SWIGTYPE_p_wxPyImageHandler swig_types[105]
2568 #define SWIGTYPE_p_wxPySizer swig_types[106]
2569 #define SWIGTYPE_p_wxPyValidator swig_types[107]
2570 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[108]
2571 #define SWIGTYPE_p_wxRect swig_types[109]
2572 #define SWIGTYPE_p_wxRegion swig_types[110]
2573 #define SWIGTYPE_p_wxRegionIterator swig_types[111]
2574 #define SWIGTYPE_p_wxRendererNative swig_types[112]
2575 #define SWIGTYPE_p_wxRendererVersion swig_types[113]
2576 #define SWIGTYPE_p_wxScreenDC swig_types[114]
2577 #define SWIGTYPE_p_wxScrollEvent swig_types[115]
2578 #define SWIGTYPE_p_wxScrollWinEvent swig_types[116]
2579 #define SWIGTYPE_p_wxSetCursorEvent swig_types[117]
2580 #define SWIGTYPE_p_wxShowEvent swig_types[118]
2581 #define SWIGTYPE_p_wxSize swig_types[119]
2582 #define SWIGTYPE_p_wxSizeEvent swig_types[120]
2583 #define SWIGTYPE_p_wxSizer swig_types[121]
2584 #define SWIGTYPE_p_wxSizerItem swig_types[122]
2585 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[123]
2586 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[124]
2587 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[125]
2588 #define SWIGTYPE_p_wxStockGDI swig_types[126]
2589 #define SWIGTYPE_p_wxString swig_types[127]
2590 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[128]
2591 #define SWIGTYPE_p_wxTIFFHandler swig_types[129]
2592 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[130]
2593 #define SWIGTYPE_p_wxValidator swig_types[131]
2594 #define SWIGTYPE_p_wxWindow swig_types[132]
2595 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[133]
2596 #define SWIGTYPE_p_wxWindowDC swig_types[134]
2597 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[135]
2598 #define SWIGTYPE_p_wxXPMHandler swig_types[136]
2599 static swig_type_info
*swig_types
[138];
2600 static swig_module_info swig_module
= {swig_types
, 137, 0, 0, 0, 0};
2601 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2602 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2604 /* -------- TYPES TABLE (END) -------- */
2606 #if (PY_VERSION_HEX <= 0x02000000)
2607 # if !defined(SWIG_PYTHON_CLASSIC)
2608 # error "This python version requires to use swig with the '-classic' option"
2611 #if (PY_VERSION_HEX <= 0x02020000)
2612 # error "This python version requires to use swig with the '-nomodern' option"
2614 #if (PY_VERSION_HEX <= 0x02020000)
2615 # error "This python version requires to use swig with the '-nomodernargs' option"
2618 # error "This python version requires to use swig with the '-nofastunpack' option"
2621 /*-----------------------------------------------
2622 @(target):= _gdi_.so
2623 ------------------------------------------------*/
2624 #define SWIG_init init_gdi_
2626 #define SWIG_name "_gdi_"
2628 #define SWIGVERSION 0x010329
2631 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2632 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2635 #include <stdexcept>
2639 class PyObject_ptr
{
2644 PyObject_ptr() :_obj(0)
2648 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2653 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2655 if (initial_ref
) Py_XINCREF(_obj
);
2658 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2660 Py_XINCREF(item
._obj
);
2671 operator PyObject
*() const
2676 PyObject
*operator->() const
2685 struct PyObject_var
: PyObject_ptr
{
2686 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2688 PyObject_var
& operator = (PyObject
* obj
)
2698 #include "wx/wxPython/wxPython.h"
2699 #include "wx/wxPython/pyclasses.h"
2702 static const wxString
wxPyEmptyString(wxEmptyString
);
2706 # define LLONG_MIN LONG_LONG_MIN
2709 # define LLONG_MAX LONG_LONG_MAX
2712 # define ULLONG_MAX ULONG_LONG_MAX
2717 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2719 if (PyNumber_Check(obj
)) {
2720 if (val
) *val
= PyInt_AsLong(obj
);
2723 return SWIG_TypeError
;
2728 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2731 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2732 return SWIG_TypeError
;
2735 *val
= (unsigned long)v
;
2741 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2744 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2745 if (SWIG_IsOK(res
)) {
2746 if ((v
> UCHAR_MAX
)) {
2747 return SWIG_OverflowError
;
2749 if (val
) *val
= static_cast< unsigned char >(v
);
2756 #define SWIG_From_long PyInt_FromLong
2759 SWIGINTERNINLINE PyObject
*
2760 SWIG_From_unsigned_SS_long (unsigned long value
)
2762 return (value
> LONG_MAX
) ?
2763 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2767 SWIGINTERNINLINE PyObject
*
2768 SWIG_From_unsigned_SS_char (unsigned char value
)
2770 return SWIG_From_unsigned_SS_long (value
);
2773 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2774 wxColour temp
, *obj
= &temp
;
2775 if ( other
== Py_None
) return false;
2776 if ( ! wxColour_helper(other
, &obj
) ) {
2780 return self
->operator==(*obj
);
2782 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2783 wxColour temp
, *obj
= &temp
;
2784 if ( other
== Py_None
) return true;
2785 if ( ! wxColour_helper(other
, &obj
)) {
2789 return self
->operator!=(*obj
);
2791 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2792 PyObject
* rv
= PyTuple_New(3);
2798 green
= self
->Green();
2799 blue
= self
->Blue();
2801 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2802 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2803 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2806 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2807 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2811 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2814 int res
= SWIG_AsVal_long (obj
, &v
);
2815 if (SWIG_IsOK(res
)) {
2816 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2817 return SWIG_OverflowError
;
2819 if (val
) *val
= static_cast< int >(v
);
2826 SWIGINTERNINLINE PyObject
*
2827 SWIG_From_int (int value
)
2829 return SWIG_From_long (value
);
2832 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2834 int count
= self
->GetDashes(&dashes
);
2835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2836 PyObject
* retval
= PyList_New(0);
2837 for (int x
=0; x
<count
; x
++) {
2838 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2839 PyList_Append(retval
, pyint
);
2842 wxPyEndBlockThreads(blocked
);
2845 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2846 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2847 int size
= PyList_Size(pyDashes
);
2848 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2850 // black magic warning! The array of wxDashes needs to exist as
2851 // long as the pen does because wxPen does not copy the array. So
2852 // stick a copy in a Python string object and attach it to _self,
2853 // and then call SetDashes with a pointer to that array. Then
2854 // when the Python pen object is destroyed the array will be
2856 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2857 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2859 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2861 Py_DECREF(strDashes
);
2862 wxPyEndBlockThreads(blocked
);
2864 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2865 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2867 #include <wx/image.h>
2869 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2870 char** cArray
= NULL
;
2873 if (!PyList_Check(listOfStrings
)) {
2874 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2877 count
= PyList_Size(listOfStrings
);
2878 cArray
= new char*[count
];
2880 for(int x
=0; x
<count
; x
++) {
2881 // TODO: Need some validation and error checking here
2882 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2888 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2889 char** cArray
= NULL
;
2892 cArray
= ConvertListOfStrings(listOfStrings
);
2895 bmp
= new wxBitmap(cArray
);
2899 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2902 PyString_AsStringAndSize(bits
, &buf
, &length
);
2903 return new wxBitmap(buf
, width
, height
, depth
);
2905 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2906 wxSize
size(self
->GetWidth(), self
->GetHeight());
2909 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2910 wxMask
*mask
= new wxMask(*self
, colour
);
2911 self
->SetMask(mask
);
2913 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2914 self
->SetWidth(size
.x
);
2915 self
->SetHeight(size
.y
);
2917 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2918 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2919 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2921 return new wxMask(bitmap
, *wxBLACK
);
2923 return new wxMask(bitmap
, colour
);
2926 #include <wx/iconbndl.h>
2928 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2929 wxIcon
* icon
= new wxIcon();
2930 icon
->CopyFromBitmap(bmp
);
2933 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2934 char** cArray
= NULL
;
2937 cArray
= ConvertListOfStrings(listOfStrings
);
2940 icon
= new wxIcon(cArray
);
2944 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2948 return new wxIconLocation(*filename
);
2951 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2958 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2965 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2967 wxImage
img(cursorName
, type
);
2968 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2969 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2970 return new wxCursor(img
);
2972 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2977 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2980 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2981 return self
->operator bool();
2984 #include <wx/fontutil.h>
2985 #include <wx/fontmap.h>
2986 #include <wx/fontenum.h>
2990 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2992 if (obj
== Py_True
) {
2993 if (val
) *val
= true;
2995 } else if (obj
== Py_False
) {
2996 if (val
) *val
= false;
3000 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3001 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3006 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3007 return self
->ToString();
3010 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3011 static wxNativeEncodingInfo info
;
3012 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3019 SWIGINTERNINLINE PyObject
*
3020 SWIG_From_size_t (size_t value
)
3022 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3026 SWIGINTERNINLINE
int
3027 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3030 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3031 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3035 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3036 wxFontEncoding alt_enc
;
3037 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3038 return PyInt_FromLong(alt_enc
);
3044 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3045 wxNativeFontInfo nfi
;
3046 nfi
.FromString(info
);
3047 return new wxFont(nfi
);
3049 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3050 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3052 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3053 return wxFontBase::New(pixelSize
, family
,
3054 style
, weight
, underlined
,
3057 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3058 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3060 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3061 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3063 class wxPyFontEnumerator
: public wxFontEnumerator
{
3065 wxPyFontEnumerator() {}
3066 ~wxPyFontEnumerator() {}
3068 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3069 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3074 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3075 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3078 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3080 wxArrayString
* arr
= self
->GetEncodings();
3081 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3083 ret
= wxArrayString2PyList_helper(*arr
);
3085 ret
= PyList_New(0);
3086 wxPyEndBlockThreads(blocked
);
3089 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3091 wxArrayString
* arr
= self
->GetFacenames();
3092 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3094 ret
= wxArrayString2PyList_helper(*arr
);
3096 ret
= PyList_New(0);
3097 wxPyEndBlockThreads(blocked
);
3103 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3106 loc
= new wxLocale();
3108 loc
= new wxLocale(language
, flags
);
3109 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3110 // for the floating point conversions and such to work right.
3111 #if PY_VERSION_HEX < 0x02040000
3112 setlocale(LC_NUMERIC
, "C");
3116 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3117 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3118 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3119 // for the floating point conversions and such to work right.
3120 #if PY_VERSION_HEX < 0x02040000
3121 setlocale(LC_NUMERIC
, "C");
3125 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3126 bool rc
= self
->Init(language
, flags
);
3127 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3128 // for the floating point conversions and such to work right.
3129 #if PY_VERSION_HEX < 0x02040000
3130 setlocale(LC_NUMERIC
, "C");
3135 #include "wx/wxPython/pydrawxxx.h"
3137 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3139 self
->GetPixel(x
, y
, &col
);
3142 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3144 self
->GetPixel(pt
, &col
);
3149 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3151 if (PyNumber_Check(obj
)) {
3152 if (val
) *val
= PyFloat_AsDouble(obj
);
3155 return SWIG_TypeError
;
3158 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3160 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3163 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3165 self
->GetClippingBox(rect
);
3168 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3170 self
->GetPartialTextExtents(text
, widths
);
3174 #define SWIG_From_double PyFloat_FromDouble
3176 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3177 self
->SetLogicalOrigin(point
.x
, point
.y
);
3179 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3180 self
->SetDeviceOrigin(point
.x
, point
.y
);
3182 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3183 self
->CalcBoundingBox(point
.x
, point
.y
);
3185 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3186 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3188 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3189 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3191 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3192 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3194 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3195 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3197 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3198 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3200 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3201 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3204 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3212 #include <wx/dcbuffer.h>
3215 #include <wx/dcps.h>
3218 class wxMetaFile
: public wxObject
{
3220 wxMetaFile(const wxString
&)
3221 { wxPyRaiseNotImplemented(); }
3224 class wxMetaFileDC
: public wxClientDC
{
3226 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3227 { wxPyRaiseNotImplemented(); }
3232 class wxPrinterDC
: public wxClientDC
{
3234 wxPrinterDC(const wxPrintData
&)
3235 { wxPyRaiseNotImplemented(); }
3241 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3242 self
->AddColour(name
, wxColour(red
, green
, blue
));
3245 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3246 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3247 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3248 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3251 #include <wx/effects.h>
3254 #include "wx/renderer.h"
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3266 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3267 PyObject
*resultobj
= 0;
3268 wxGDIObject
*result
= 0 ;
3270 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3272 if (!wxPyCheckForApp()) SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 result
= (wxGDIObject
*)new wxGDIObject();
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3285 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3286 PyObject
*resultobj
= 0;
3287 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3290 PyObject
*swig_obj
[1] ;
3292 if (!args
) SWIG_fail
;
3294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3295 if (!SWIG_IsOK(res1
)) {
3296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3298 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 resultobj
= SWIG_Py_Void();
3313 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3314 PyObject
*resultobj
= 0;
3315 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3319 PyObject
*swig_obj
[1] ;
3321 if (!args
) SWIG_fail
;
3323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3324 if (!SWIG_IsOK(res1
)) {
3325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3327 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= (bool)(arg1
)->IsNull();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3343 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3346 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3347 return SWIG_Py_Void();
3350 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3351 return SWIG_Python_InitShadowInstance(args
);
3354 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
= 0;
3356 byte arg1
= (byte
) 0 ;
3357 byte arg2
= (byte
) 0 ;
3358 byte arg3
= (byte
) 0 ;
3359 wxColour
*result
= 0 ;
3360 unsigned char val1
;
3362 unsigned char val2
;
3364 unsigned char val3
;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3368 PyObject
* obj2
= 0 ;
3369 char * kwnames
[] = {
3370 (char *) "red",(char *) "green",(char *) "blue", NULL
3373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3375 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3376 if (!SWIG_IsOK(ecode1
)) {
3377 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3379 arg1
= static_cast< byte
>(val1
);
3382 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3383 if (!SWIG_IsOK(ecode2
)) {
3384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3386 arg2
= static_cast< byte
>(val2
);
3389 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3390 if (!SWIG_IsOK(ecode3
)) {
3391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3393 arg3
= static_cast< byte
>(val3
);
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3408 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
= 0;
3410 wxString
*arg1
= 0 ;
3411 wxColour
*result
= 0 ;
3412 bool temp1
= false ;
3413 PyObject
* obj0
= 0 ;
3414 char * kwnames
[] = {
3415 (char *) "colorName", NULL
3418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3420 arg1
= wxString_in_helper(obj0
);
3421 if (arg1
== NULL
) SWIG_fail
;
3425 if (!wxPyCheckForApp()) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3446 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
= 0;
3448 unsigned long arg1
;
3449 wxColour
*result
= 0 ;
3450 unsigned long val1
;
3452 PyObject
* obj0
= 0 ;
3453 char * kwnames
[] = {
3454 (char *) "colRGB", NULL
3457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3458 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3459 if (!SWIG_IsOK(ecode1
)) {
3460 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3462 arg1
= static_cast< unsigned long >(val1
);
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (wxColour
*)new wxColour(arg1
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3476 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3477 PyObject
*resultobj
= 0;
3478 wxColour
*arg1
= (wxColour
*) 0 ;
3481 PyObject
*swig_obj
[1] ;
3483 if (!args
) SWIG_fail
;
3485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3486 if (!SWIG_IsOK(res1
)) {
3487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3489 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 resultobj
= SWIG_Py_Void();
3504 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3505 PyObject
*resultobj
= 0;
3506 wxColour
*arg1
= (wxColour
*) 0 ;
3510 PyObject
*swig_obj
[1] ;
3512 if (!args
) SWIG_fail
;
3514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3515 if (!SWIG_IsOK(res1
)) {
3516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3518 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 result
= (byte
)(arg1
)->Red();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3532 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3533 PyObject
*resultobj
= 0;
3534 wxColour
*arg1
= (wxColour
*) 0 ;
3538 PyObject
*swig_obj
[1] ;
3540 if (!args
) SWIG_fail
;
3542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3543 if (!SWIG_IsOK(res1
)) {
3544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3546 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (byte
)(arg1
)->Green();
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3560 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3561 PyObject
*resultobj
= 0;
3562 wxColour
*arg1
= (wxColour
*) 0 ;
3566 PyObject
*swig_obj
[1] ;
3568 if (!args
) SWIG_fail
;
3570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3571 if (!SWIG_IsOK(res1
)) {
3572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3574 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= (byte
)(arg1
)->Blue();
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3588 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3589 PyObject
*resultobj
= 0;
3590 wxColour
*arg1
= (wxColour
*) 0 ;
3594 PyObject
*swig_obj
[1] ;
3596 if (!args
) SWIG_fail
;
3598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3599 if (!SWIG_IsOK(res1
)) {
3600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3602 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (bool)(arg1
)->Ok();
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3618 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
= 0;
3620 wxColour
*arg1
= (wxColour
*) 0 ;
3626 unsigned char val2
;
3628 unsigned char val3
;
3630 unsigned char val4
;
3632 PyObject
* obj0
= 0 ;
3633 PyObject
* obj1
= 0 ;
3634 PyObject
* obj2
= 0 ;
3635 PyObject
* obj3
= 0 ;
3636 char * kwnames
[] = {
3637 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3642 if (!SWIG_IsOK(res1
)) {
3643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3645 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3646 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3647 if (!SWIG_IsOK(ecode2
)) {
3648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3650 arg2
= static_cast< byte
>(val2
);
3651 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3652 if (!SWIG_IsOK(ecode3
)) {
3653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3655 arg3
= static_cast< byte
>(val3
);
3656 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3657 if (!SWIG_IsOK(ecode4
)) {
3658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3660 arg4
= static_cast< byte
>(val4
);
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 (arg1
)->Set(arg2
,arg3
,arg4
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 resultobj
= SWIG_Py_Void();
3674 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
= 0;
3676 wxColour
*arg1
= (wxColour
*) 0 ;
3677 unsigned long arg2
;
3680 unsigned long val2
;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3684 char * kwnames
[] = {
3685 (char *) "self",(char *) "colRGB", NULL
3688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3690 if (!SWIG_IsOK(res1
)) {
3691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3693 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3694 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3695 if (!SWIG_IsOK(ecode2
)) {
3696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3698 arg2
= static_cast< unsigned long >(val2
);
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= SWIG_Py_Void();
3712 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
= 0;
3714 wxColour
*arg1
= (wxColour
*) 0 ;
3715 wxString
*arg2
= 0 ;
3718 bool temp2
= false ;
3719 PyObject
* obj0
= 0 ;
3720 PyObject
* obj1
= 0 ;
3721 char * kwnames
[] = {
3722 (char *) "self",(char *) "colourName", NULL
3725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3727 if (!SWIG_IsOK(res1
)) {
3728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3730 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3732 arg2
= wxString_in_helper(obj1
);
3733 if (arg2
== NULL
) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 (arg1
)->InitFromName((wxString
const &)*arg2
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 resultobj
= SWIG_Py_Void();
3757 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3758 PyObject
*resultobj
= 0;
3759 wxColour
*arg1
= (wxColour
*) 0 ;
3763 PyObject
*swig_obj
[1] ;
3765 if (!args
) SWIG_fail
;
3767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3768 if (!SWIG_IsOK(res1
)) {
3769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3771 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 resultobj
= SWIG_From_long(static_cast< long >(result
));
3785 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
= 0;
3787 wxColour
*arg1
= (wxColour
*) 0 ;
3788 PyObject
*arg2
= (PyObject
*) 0 ;
3792 PyObject
* obj0
= 0 ;
3793 PyObject
* obj1
= 0 ;
3794 char * kwnames
[] = {
3795 (char *) "self",(char *) "other", NULL
3798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3800 if (!SWIG_IsOK(res1
)) {
3801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3803 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3806 result
= (bool)wxColour___eq__(arg1
,arg2
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3818 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
= 0;
3820 wxColour
*arg1
= (wxColour
*) 0 ;
3821 PyObject
*arg2
= (PyObject
*) 0 ;
3825 PyObject
* obj0
= 0 ;
3826 PyObject
* obj1
= 0 ;
3827 char * kwnames
[] = {
3828 (char *) "self",(char *) "other", NULL
3831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3833 if (!SWIG_IsOK(res1
)) {
3834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3836 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3839 result
= (bool)wxColour___ne__(arg1
,arg2
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3851 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3852 PyObject
*resultobj
= 0;
3853 wxColour
*arg1
= (wxColour
*) 0 ;
3854 PyObject
*result
= 0 ;
3857 PyObject
*swig_obj
[1] ;
3859 if (!args
) SWIG_fail
;
3861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3862 if (!SWIG_IsOK(res1
)) {
3863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3865 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (PyObject
*)wxColour_Get(arg1
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3879 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3880 PyObject
*resultobj
= 0;
3881 wxColour
*arg1
= (wxColour
*) 0 ;
3882 unsigned long result
;
3885 PyObject
*swig_obj
[1] ;
3887 if (!args
) SWIG_fail
;
3889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3890 if (!SWIG_IsOK(res1
)) {
3891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3893 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (unsigned long)wxColour_GetRGB(arg1
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3907 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3910 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3911 return SWIG_Py_Void();
3914 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3915 return SWIG_Python_InitShadowInstance(args
);
3918 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
= 0;
3921 unsigned char *arg2
= (unsigned char *) 0 ;
3922 unsigned char *arg3
= (unsigned char *) 0 ;
3923 unsigned char *arg4
= (unsigned char *) 0 ;
3924 wxPalette
*result
= 0 ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3935 PyObject
* obj2
= 0 ;
3936 PyObject
* obj3
= 0 ;
3937 char * kwnames
[] = {
3938 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3942 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3943 if (!SWIG_IsOK(ecode1
)) {
3944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3946 arg1
= static_cast< int >(val1
);
3947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3948 if (!SWIG_IsOK(res2
)) {
3949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3951 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3952 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3953 if (!SWIG_IsOK(res3
)) {
3954 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3956 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3957 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3958 if (!SWIG_IsOK(res4
)) {
3959 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
3961 arg4
= reinterpret_cast< unsigned char * >(argp4
);
3963 if (!wxPyCheckForApp()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
3976 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3977 PyObject
*resultobj
= 0;
3978 wxPalette
*arg1
= (wxPalette
*) 0 ;
3981 PyObject
*swig_obj
[1] ;
3983 if (!args
) SWIG_fail
;
3985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
3986 if (!SWIG_IsOK(res1
)) {
3987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
3989 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= SWIG_Py_Void();
4004 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
= 0;
4006 wxPalette
*arg1
= (wxPalette
*) 0 ;
4013 unsigned char val2
;
4015 unsigned char val3
;
4017 unsigned char val4
;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4021 PyObject
* obj2
= 0 ;
4022 PyObject
* obj3
= 0 ;
4023 char * kwnames
[] = {
4024 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4029 if (!SWIG_IsOK(res1
)) {
4030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4032 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4033 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4034 if (!SWIG_IsOK(ecode2
)) {
4035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4037 arg2
= static_cast< byte
>(val2
);
4038 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4039 if (!SWIG_IsOK(ecode3
)) {
4040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4042 arg3
= static_cast< byte
>(val3
);
4043 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4044 if (!SWIG_IsOK(ecode4
)) {
4045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4047 arg4
= static_cast< byte
>(val4
);
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= SWIG_From_int(static_cast< int >(result
));
4061 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
= 0;
4063 wxPalette
*arg1
= (wxPalette
*) 0 ;
4065 byte
*arg3
= (byte
*) 0 ;
4066 byte
*arg4
= (byte
*) 0 ;
4067 byte
*arg5
= (byte
*) 0 ;
4074 int res3
= SWIG_TMPOBJ
;
4076 int res4
= SWIG_TMPOBJ
;
4078 int res5
= SWIG_TMPOBJ
;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4081 char * kwnames
[] = {
4082 (char *) "self",(char *) "pixel", NULL
4088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4090 if (!SWIG_IsOK(res1
)) {
4091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4093 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4095 if (!SWIG_IsOK(ecode2
)) {
4096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4098 arg2
= static_cast< int >(val2
);
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4108 if (SWIG_IsTmpObj(res3
)) {
4109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4111 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4114 if (SWIG_IsTmpObj(res4
)) {
4115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4117 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4120 if (SWIG_IsTmpObj(res5
)) {
4121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4123 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4132 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4133 PyObject
*resultobj
= 0;
4134 wxPalette
*arg1
= (wxPalette
*) 0 ;
4138 PyObject
*swig_obj
[1] ;
4140 if (!args
) SWIG_fail
;
4142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4143 if (!SWIG_IsOK(res1
)) {
4144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4146 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_From_int(static_cast< int >(result
));
4160 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4161 PyObject
*resultobj
= 0;
4162 wxPalette
*arg1
= (wxPalette
*) 0 ;
4166 PyObject
*swig_obj
[1] ;
4168 if (!args
) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4174 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (bool)(arg1
)->Ok();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4190 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4193 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4194 return SWIG_Py_Void();
4197 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4198 return SWIG_Python_InitShadowInstance(args
);
4201 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
= 0;
4203 wxColour
*arg1
= 0 ;
4204 int arg2
= (int) 1 ;
4205 int arg3
= (int) wxSOLID
;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4214 PyObject
* obj2
= 0 ;
4215 char * kwnames
[] = {
4216 (char *) "colour",(char *) "width",(char *) "style", NULL
4219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4222 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4226 if (!SWIG_IsOK(ecode2
)) {
4227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4229 arg2
= static_cast< int >(val2
);
4232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4233 if (!SWIG_IsOK(ecode3
)) {
4234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4236 arg3
= static_cast< int >(val3
);
4239 if (!wxPyCheckForApp()) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4252 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4253 PyObject
*resultobj
= 0;
4254 wxPen
*arg1
= (wxPen
*) 0 ;
4257 PyObject
*swig_obj
[1] ;
4259 if (!args
) SWIG_fail
;
4261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4262 if (!SWIG_IsOK(res1
)) {
4263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4265 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_Py_Void();
4280 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4281 PyObject
*resultobj
= 0;
4282 wxPen
*arg1
= (wxPen
*) 0 ;
4286 PyObject
*swig_obj
[1] ;
4288 if (!args
) SWIG_fail
;
4290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4291 if (!SWIG_IsOK(res1
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4294 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (int)(arg1
)->GetCap();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_From_int(static_cast< int >(result
));
4308 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxPen
*arg1
= (wxPen
*) 0 ;
4314 PyObject
*swig_obj
[1] ;
4316 if (!args
) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4322 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (arg1
)->GetColour();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4336 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 PyObject
*resultobj
= 0;
4338 wxPen
*arg1
= (wxPen
*) 0 ;
4342 PyObject
*swig_obj
[1] ;
4344 if (!args
) SWIG_fail
;
4346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4347 if (!SWIG_IsOK(res1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4350 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (int)(arg1
)->GetJoin();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= SWIG_From_int(static_cast< int >(result
));
4364 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4365 PyObject
*resultobj
= 0;
4366 wxPen
*arg1
= (wxPen
*) 0 ;
4370 PyObject
*swig_obj
[1] ;
4372 if (!args
) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4378 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (int)(arg1
)->GetStyle();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_From_int(static_cast< int >(result
));
4392 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4393 PyObject
*resultobj
= 0;
4394 wxPen
*arg1
= (wxPen
*) 0 ;
4398 PyObject
*swig_obj
[1] ;
4400 if (!args
) SWIG_fail
;
4402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4403 if (!SWIG_IsOK(res1
)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4406 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (int)(arg1
)->GetWidth();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_From_int(static_cast< int >(result
));
4420 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4421 PyObject
*resultobj
= 0;
4422 wxPen
*arg1
= (wxPen
*) 0 ;
4426 PyObject
*swig_obj
[1] ;
4428 if (!args
) SWIG_fail
;
4430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4431 if (!SWIG_IsOK(res1
)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4434 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (bool)(arg1
)->Ok();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4450 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
= 0;
4452 wxPen
*arg1
= (wxPen
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 char * kwnames
[] = {
4461 (char *) "self",(char *) "cap_style", NULL
4464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4466 if (!SWIG_IsOK(res1
)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4469 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4471 if (!SWIG_IsOK(ecode2
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4474 arg2
= static_cast< int >(val2
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->SetCap(arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_Py_Void();
4488 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
= 0;
4490 wxPen
*arg1
= (wxPen
*) 0 ;
4491 wxColour
*arg2
= 0 ;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4497 char * kwnames
[] = {
4498 (char *) "self",(char *) "colour", NULL
4501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4503 if (!SWIG_IsOK(res1
)) {
4504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4506 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 (arg1
)->SetColour(*arg2
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= SWIG_Py_Void();
4524 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
= 0;
4526 wxPen
*arg1
= (wxPen
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4534 char * kwnames
[] = {
4535 (char *) "self",(char *) "join_style", NULL
4538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4540 if (!SWIG_IsOK(res1
)) {
4541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4543 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4545 if (!SWIG_IsOK(ecode2
)) {
4546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4548 arg2
= static_cast< int >(val2
);
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 (arg1
)->SetJoin(arg2
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_Py_Void();
4562 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
= 0;
4564 wxPen
*arg1
= (wxPen
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4572 char * kwnames
[] = {
4573 (char *) "self",(char *) "style", NULL
4576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4578 if (!SWIG_IsOK(res1
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4581 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4583 if (!SWIG_IsOK(ecode2
)) {
4584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4586 arg2
= static_cast< int >(val2
);
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 (arg1
)->SetStyle(arg2
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= SWIG_Py_Void();
4600 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
= 0;
4602 wxPen
*arg1
= (wxPen
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4610 char * kwnames
[] = {
4611 (char *) "self",(char *) "width", NULL
4614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4619 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4621 if (!SWIG_IsOK(ecode2
)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4624 arg2
= static_cast< int >(val2
);
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 (arg1
)->SetWidth(arg2
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_Py_Void();
4638 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= 0;
4640 wxPen
*arg1
= (wxPen
*) 0 ;
4642 wxDash
*arg3
= (wxDash
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4646 PyObject
* obj1
= 0 ;
4647 char * kwnames
[] = {
4648 (char *) "self",(char *) "dashes", NULL
4651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4653 if (!SWIG_IsOK(res1
)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4656 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4658 arg2
= PyList_Size(obj1
);
4659 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4660 if (arg3
== NULL
) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 (arg1
)->SetDashes(arg2
,arg3
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_Py_Void();
4670 if (arg3
) delete [] arg3
;
4675 if (arg3
) delete [] arg3
;
4681 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4682 PyObject
*resultobj
= 0;
4683 wxPen
*arg1
= (wxPen
*) 0 ;
4684 PyObject
*result
= 0 ;
4687 PyObject
*swig_obj
[1] ;
4689 if (!args
) SWIG_fail
;
4691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4692 if (!SWIG_IsOK(res1
)) {
4693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4695 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4709 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
= 0;
4711 wxPen
*arg1
= (wxPen
*) 0 ;
4712 PyObject
*arg2
= (PyObject
*) 0 ;
4713 PyObject
*arg3
= (PyObject
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4718 PyObject
* obj2
= 0 ;
4719 char * kwnames
[] = {
4720 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4725 if (!SWIG_IsOK(res1
)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4728 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 wxPen__SetDashes(arg1
,arg2
,arg3
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= SWIG_Py_Void();
4744 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4745 PyObject
*resultobj
= 0;
4746 wxPen
*arg1
= (wxPen
*) 0 ;
4750 PyObject
*swig_obj
[1] ;
4752 if (!args
) SWIG_fail
;
4754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4755 if (!SWIG_IsOK(res1
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4758 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= SWIG_From_int(static_cast< int >(result
));
4772 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
= 0;
4774 wxPen
*arg1
= (wxPen
*) 0 ;
4775 wxPen
*arg2
= (wxPen
*) 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 char * kwnames
[] = {
4784 (char *) "self",(char *) "other", NULL
4787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4792 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4794 if (!SWIG_IsOK(res2
)) {
4795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4797 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4813 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
= 0;
4815 wxPen
*arg1
= (wxPen
*) 0 ;
4816 wxPen
*arg2
= (wxPen
*) 0 ;
4822 PyObject
* obj0
= 0 ;
4823 PyObject
* obj1
= 0 ;
4824 char * kwnames
[] = {
4825 (char *) "self",(char *) "other", NULL
4828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4830 if (!SWIG_IsOK(res1
)) {
4831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4833 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4835 if (!SWIG_IsOK(res2
)) {
4836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4838 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4857 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4858 return SWIG_Py_Void();
4861 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4862 return SWIG_Python_InitShadowInstance(args
);
4865 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 wxColour
*arg1
= 0 ;
4868 int arg2
= (int) wxSOLID
;
4869 wxBrush
*result
= 0 ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4875 char * kwnames
[] = {
4876 (char *) "colour",(char *) "style", NULL
4879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4882 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4886 if (!SWIG_IsOK(ecode2
)) {
4887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4889 arg2
= static_cast< int >(val2
);
4892 if (!wxPyCheckForApp()) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4905 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
= 0;
4907 wxBitmap
*arg1
= 0 ;
4908 wxBrush
*result
= 0 ;
4911 PyObject
* obj0
= 0 ;
4912 char * kwnames
[] = {
4913 (char *) "stippleBitmap", NULL
4916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4917 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4918 if (!SWIG_IsOK(res1
)) {
4919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4924 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4926 if (!wxPyCheckForApp()) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4939 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4940 PyObject
*resultobj
= 0;
4941 wxBrush
*arg1
= (wxBrush
*) 0 ;
4944 PyObject
*swig_obj
[1] ;
4946 if (!args
) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
4952 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_Py_Void();
4967 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
= 0;
4969 wxBrush
*arg1
= (wxBrush
*) 0 ;
4970 wxColour
*arg2
= 0 ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4976 char * kwnames
[] = {
4977 (char *) "self",(char *) "col", NULL
4980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
4985 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
4988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 (arg1
)->SetColour((wxColour
const &)*arg2
);
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= SWIG_Py_Void();
5003 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
= 0;
5005 wxBrush
*arg1
= (wxBrush
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5013 char * kwnames
[] = {
5014 (char *) "self",(char *) "style", NULL
5017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5019 if (!SWIG_IsOK(res1
)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5022 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5024 if (!SWIG_IsOK(ecode2
)) {
5025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5027 arg2
= static_cast< int >(val2
);
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 (arg1
)->SetStyle(arg2
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= SWIG_Py_Void();
5041 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
*resultobj
= 0;
5043 wxBrush
*arg1
= (wxBrush
*) 0 ;
5044 wxBitmap
*arg2
= 0 ;
5049 PyObject
* obj0
= 0 ;
5050 PyObject
* obj1
= 0 ;
5051 char * kwnames
[] = {
5052 (char *) "self",(char *) "stipple", NULL
5055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5057 if (!SWIG_IsOK(res1
)) {
5058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5060 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5062 if (!SWIG_IsOK(res2
)) {
5063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5068 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= SWIG_Py_Void();
5082 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5083 PyObject
*resultobj
= 0;
5084 wxBrush
*arg1
= (wxBrush
*) 0 ;
5088 PyObject
*swig_obj
[1] ;
5090 if (!args
) SWIG_fail
;
5092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5093 if (!SWIG_IsOK(res1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5096 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= ((wxBrush
const *)arg1
)->GetColour();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5110 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5111 PyObject
*resultobj
= 0;
5112 wxBrush
*arg1
= (wxBrush
*) 0 ;
5116 PyObject
*swig_obj
[1] ;
5118 if (!args
) SWIG_fail
;
5120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5121 if (!SWIG_IsOK(res1
)) {
5122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5124 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_From_int(static_cast< int >(result
));
5138 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5139 PyObject
*resultobj
= 0;
5140 wxBrush
*arg1
= (wxBrush
*) 0 ;
5141 wxBitmap
*result
= 0 ;
5144 PyObject
*swig_obj
[1] ;
5146 if (!args
) SWIG_fail
;
5148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5149 if (!SWIG_IsOK(res1
)) {
5150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5152 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5166 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxBrush
*arg1
= (wxBrush
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5180 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5196 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5197 PyObject
*resultobj
= 0;
5198 wxBrush
*arg1
= (wxBrush
*) 0 ;
5202 PyObject
*swig_obj
[1] ;
5204 if (!args
) SWIG_fail
;
5206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5207 if (!SWIG_IsOK(res1
)) {
5208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5210 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (bool)(arg1
)->Ok();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5226 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5229 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5230 return SWIG_Py_Void();
5233 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5234 return SWIG_Python_InitShadowInstance(args
);
5237 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
= 0;
5239 wxString
*arg1
= 0 ;
5240 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5241 wxBitmap
*result
= 0 ;
5242 bool temp1
= false ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 char * kwnames
[] = {
5248 (char *) "name",(char *) "type", NULL
5251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5253 arg1
= wxString_in_helper(obj0
);
5254 if (arg1
== NULL
) SWIG_fail
;
5258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5259 if (!SWIG_IsOK(ecode2
)) {
5260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5262 arg2
= static_cast< wxBitmapType
>(val2
);
5265 if (!wxPyCheckForApp()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5286 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5287 PyObject
*resultobj
= 0;
5288 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5291 PyObject
*swig_obj
[1] ;
5293 if (!args
) SWIG_fail
;
5295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5296 if (!SWIG_IsOK(res1
)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5299 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_Py_Void();
5314 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
= 0;
5318 int arg3
= (int) -1 ;
5319 wxBitmap
*result
= 0 ;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5328 PyObject
* obj2
= 0 ;
5329 char * kwnames
[] = {
5330 (char *) "width",(char *) "height",(char *) "depth", NULL
5333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5334 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5335 if (!SWIG_IsOK(ecode1
)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5338 arg1
= static_cast< int >(val1
);
5339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5340 if (!SWIG_IsOK(ecode2
)) {
5341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5343 arg2
= static_cast< int >(val2
);
5345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5346 if (!SWIG_IsOK(ecode3
)) {
5347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5349 arg3
= static_cast< int >(val3
);
5352 if (!wxPyCheckForApp()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5365 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
= 0;
5368 wxBitmap
*result
= 0 ;
5371 PyObject
* obj0
= 0 ;
5372 char * kwnames
[] = {
5373 (char *) "icon", NULL
5376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5377 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5378 if (!SWIG_IsOK(res1
)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5384 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5386 if (!wxPyCheckForApp()) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5399 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
= 0;
5402 int arg2
= (int) -1 ;
5403 wxBitmap
*result
= 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5410 char * kwnames
[] = {
5411 (char *) "image",(char *) "depth", NULL
5414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5415 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5416 if (!SWIG_IsOK(res1
)) {
5417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5422 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5425 if (!SWIG_IsOK(ecode2
)) {
5426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5428 arg2
= static_cast< int >(val2
);
5431 if (!wxPyCheckForApp()) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5444 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
= 0;
5446 PyObject
*arg1
= (PyObject
*) 0 ;
5447 wxBitmap
*result
= 0 ;
5448 PyObject
* obj0
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "listOfStrings", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5456 if (!wxPyCheckForApp()) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5469 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
= 0;
5471 PyObject
*arg1
= (PyObject
*) 0 ;
5474 int arg4
= (int) 1 ;
5475 wxBitmap
*result
= 0 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5485 PyObject
* obj3
= 0 ;
5486 char * kwnames
[] = {
5487 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5493 if (!SWIG_IsOK(ecode2
)) {
5494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5496 arg2
= static_cast< int >(val2
);
5497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5498 if (!SWIG_IsOK(ecode3
)) {
5499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5501 arg3
= static_cast< int >(val3
);
5503 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5504 if (!SWIG_IsOK(ecode4
)) {
5505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5507 arg4
= static_cast< int >(val4
);
5510 if (!wxPyCheckForApp()) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5523 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5524 PyObject
*resultobj
= 0;
5525 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5529 PyObject
*swig_obj
[1] ;
5531 if (!args
) SWIG_fail
;
5533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5534 if (!SWIG_IsOK(res1
)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5537 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 result
= (bool)(arg1
)->Ok();
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5553 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5554 PyObject
*resultobj
= 0;
5555 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5559 PyObject
*swig_obj
[1] ;
5561 if (!args
) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5567 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (int)(arg1
)->GetWidth();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_From_int(static_cast< int >(result
));
5581 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5582 PyObject
*resultobj
= 0;
5583 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5587 PyObject
*swig_obj
[1] ;
5589 if (!args
) SWIG_fail
;
5591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5592 if (!SWIG_IsOK(res1
)) {
5593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5595 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= (int)(arg1
)->GetHeight();
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= SWIG_From_int(static_cast< int >(result
));
5609 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5610 PyObject
*resultobj
= 0;
5611 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5615 PyObject
*swig_obj
[1] ;
5617 if (!args
) SWIG_fail
;
5619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5620 if (!SWIG_IsOK(res1
)) {
5621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5623 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (int)(arg1
)->GetDepth();
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_From_int(static_cast< int >(result
));
5637 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5643 PyObject
*swig_obj
[1] ;
5645 if (!args
) SWIG_fail
;
5647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5648 if (!SWIG_IsOK(res1
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5651 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= wxBitmap_GetSize(arg1
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5665 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5666 PyObject
*resultobj
= 0;
5667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5668 SwigValueWrapper
<wxImage
> result
;
5671 PyObject
*swig_obj
[1] ;
5673 if (!args
) SWIG_fail
;
5675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5676 if (!SWIG_IsOK(res1
)) {
5677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5679 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5693 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 PyObject
*resultobj
= 0;
5695 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5696 wxMask
*result
= 0 ;
5699 PyObject
*swig_obj
[1] ;
5701 if (!args
) SWIG_fail
;
5703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5704 if (!SWIG_IsOK(res1
)) {
5705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5707 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5721 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= 0;
5723 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5724 wxMask
*arg2
= (wxMask
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5730 char * kwnames
[] = {
5731 (char *) "self",(char *) "mask", NULL
5734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5736 if (!SWIG_IsOK(res1
)) {
5737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5739 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5740 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5741 if (!SWIG_IsOK(res2
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 (arg1
)->SetMask(arg2
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= SWIG_Py_Void();
5757 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
= 0;
5759 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5760 wxColour
*arg2
= 0 ;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5766 char * kwnames
[] = {
5767 (char *) "self",(char *) "colour", NULL
5770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5772 if (!SWIG_IsOK(res1
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5775 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= SWIG_Py_Void();
5793 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
= 0;
5795 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5797 SwigValueWrapper
<wxBitmap
> result
;
5801 PyObject
* obj0
= 0 ;
5802 PyObject
* obj1
= 0 ;
5803 char * kwnames
[] = {
5804 (char *) "self",(char *) "rect", NULL
5807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5809 if (!SWIG_IsOK(res1
)) {
5810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5812 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5830 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
= 0;
5832 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5833 wxString
*arg2
= 0 ;
5835 wxPalette
*arg4
= (wxPalette
*) NULL
;
5839 bool temp2
= false ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 PyObject
* obj2
= 0 ;
5847 PyObject
* obj3
= 0 ;
5848 char * kwnames
[] = {
5849 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5854 if (!SWIG_IsOK(res1
)) {
5855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5857 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5859 arg2
= wxString_in_helper(obj1
);
5860 if (arg2
== NULL
) SWIG_fail
;
5863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5864 if (!SWIG_IsOK(ecode3
)) {
5865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5867 arg3
= static_cast< wxBitmapType
>(val3
);
5869 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5870 if (!SWIG_IsOK(res4
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5873 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5898 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
= 0;
5900 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5901 wxString
*arg2
= 0 ;
5906 bool temp2
= false ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5911 PyObject
* obj2
= 0 ;
5912 char * kwnames
[] = {
5913 (char *) "self",(char *) "name",(char *) "type", NULL
5916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5918 if (!SWIG_IsOK(res1
)) {
5919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5921 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5923 arg2
= wxString_in_helper(obj1
);
5924 if (arg2
== NULL
) SWIG_fail
;
5927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5928 if (!SWIG_IsOK(ecode3
)) {
5929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5931 arg3
= static_cast< wxBitmapType
>(val3
);
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5955 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5956 PyObject
*resultobj
= 0;
5957 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5958 wxPalette
*result
= 0 ;
5961 PyObject
*swig_obj
[1] ;
5963 if (!args
) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5969 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
5983 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
= 0;
5985 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 char * kwnames
[] = {
5995 (char *) "self",(char *) "icon", NULL
5998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6003 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6005 if (!SWIG_IsOK(res2
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6011 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6027 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
= 0;
6029 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6035 PyObject
* obj0
= 0 ;
6036 PyObject
* obj1
= 0 ;
6037 char * kwnames
[] = {
6038 (char *) "self",(char *) "height", NULL
6041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6043 if (!SWIG_IsOK(res1
)) {
6044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6046 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6048 if (!SWIG_IsOK(ecode2
)) {
6049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6051 arg2
= static_cast< int >(val2
);
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->SetHeight(arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_Py_Void();
6065 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
= 0;
6067 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 char * kwnames
[] = {
6076 (char *) "self",(char *) "width", NULL
6079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6086 if (!SWIG_IsOK(ecode2
)) {
6087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6089 arg2
= static_cast< int >(val2
);
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 (arg1
)->SetWidth(arg2
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_Py_Void();
6103 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
= 0;
6105 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6113 char * kwnames
[] = {
6114 (char *) "self",(char *) "depth", NULL
6117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6119 if (!SWIG_IsOK(res1
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6122 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6124 if (!SWIG_IsOK(ecode2
)) {
6125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6127 arg2
= static_cast< int >(val2
);
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 (arg1
)->SetDepth(arg2
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= SWIG_Py_Void();
6141 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
= 0;
6143 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 char * kwnames
[] = {
6151 (char *) "self",(char *) "size", NULL
6154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6156 if (!SWIG_IsOK(res1
)) {
6157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6159 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6162 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_Py_Void();
6177 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
= 0;
6179 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6180 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6188 char * kwnames
[] = {
6189 (char *) "self",(char *) "other", NULL
6192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6194 if (!SWIG_IsOK(res1
)) {
6195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6197 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6198 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6199 if (!SWIG_IsOK(res2
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6202 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6218 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
= 0;
6220 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6221 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6229 char * kwnames
[] = {
6230 (char *) "self",(char *) "other", NULL
6233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6235 if (!SWIG_IsOK(res1
)) {
6236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6238 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6240 if (!SWIG_IsOK(res2
)) {
6241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6243 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6259 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6262 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6263 return SWIG_Py_Void();
6266 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6267 return SWIG_Python_InitShadowInstance(args
);
6270 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
= 0;
6272 wxBitmap
*arg1
= 0 ;
6273 wxColour
const &arg2_defvalue
= wxNullColour
;
6274 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6275 wxMask
*result
= 0 ;
6279 PyObject
* obj0
= 0 ;
6280 PyObject
* obj1
= 0 ;
6281 char * kwnames
[] = {
6282 (char *) "bitmap",(char *) "colour", NULL
6285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6286 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6287 if (!SWIG_IsOK(res1
)) {
6288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6293 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6301 if (!wxPyCheckForApp()) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6314 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6315 PyObject
*resultobj
= 0;
6316 wxMask
*arg1
= (wxMask
*) 0 ;
6319 PyObject
*swig_obj
[1] ;
6321 if (!args
) SWIG_fail
;
6323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6324 if (!SWIG_IsOK(res1
)) {
6325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6327 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= SWIG_Py_Void();
6342 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6345 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6346 return SWIG_Py_Void();
6349 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6350 return SWIG_Python_InitShadowInstance(args
);
6353 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
= 0;
6355 wxString
*arg1
= 0 ;
6357 int arg3
= (int) -1 ;
6358 int arg4
= (int) -1 ;
6359 wxIcon
*result
= 0 ;
6360 bool temp1
= false ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6370 PyObject
* obj3
= 0 ;
6371 char * kwnames
[] = {
6372 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6377 arg1
= wxString_in_helper(obj0
);
6378 if (arg1
== NULL
) SWIG_fail
;
6381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6382 if (!SWIG_IsOK(ecode2
)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6385 arg2
= static_cast< wxBitmapType
>(val2
);
6387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6388 if (!SWIG_IsOK(ecode3
)) {
6389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6391 arg3
= static_cast< int >(val3
);
6394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6395 if (!SWIG_IsOK(ecode4
)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6398 arg4
= static_cast< int >(val4
);
6401 if (!wxPyCheckForApp()) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6422 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6423 PyObject
*resultobj
= 0;
6424 wxIcon
*arg1
= (wxIcon
*) 0 ;
6427 PyObject
*swig_obj
[1] ;
6429 if (!args
) SWIG_fail
;
6431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6432 if (!SWIG_IsOK(res1
)) {
6433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6435 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= SWIG_Py_Void();
6450 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6451 PyObject
*resultobj
= 0;
6452 wxIcon
*result
= 0 ;
6454 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6456 if (!wxPyCheckForApp()) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (wxIcon
*)new wxIcon();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6469 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
= 0;
6471 wxIconLocation
*arg1
= 0 ;
6472 wxIcon
*result
= 0 ;
6475 PyObject
* obj0
= 0 ;
6476 char * kwnames
[] = {
6477 (char *) "loc", NULL
6480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6481 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6482 if (!SWIG_IsOK(res1
)) {
6483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6488 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6490 if (!wxPyCheckForApp()) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6503 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
= 0;
6505 wxBitmap
*arg1
= 0 ;
6506 wxIcon
*result
= 0 ;
6509 PyObject
* obj0
= 0 ;
6510 char * kwnames
[] = {
6511 (char *) "bmp", NULL
6514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6515 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6516 if (!SWIG_IsOK(res1
)) {
6517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6522 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6524 if (!wxPyCheckForApp()) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6537 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
= 0;
6539 PyObject
*arg1
= (PyObject
*) 0 ;
6540 wxIcon
*result
= 0 ;
6541 PyObject
* obj0
= 0 ;
6542 char * kwnames
[] = {
6543 (char *) "listOfStrings", NULL
6546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6549 if (!wxPyCheckForApp()) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (wxIcon
*)new_wxIcon(arg1
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6562 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxIcon
*arg1
= (wxIcon
*) 0 ;
6565 wxString
*arg2
= 0 ;
6570 bool temp2
= false ;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6575 PyObject
* obj2
= 0 ;
6576 char * kwnames
[] = {
6577 (char *) "self",(char *) "name",(char *) "type", NULL
6580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6585 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6587 arg2
= wxString_in_helper(obj1
);
6588 if (arg2
== NULL
) SWIG_fail
;
6591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6592 if (!SWIG_IsOK(ecode3
)) {
6593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6595 arg3
= static_cast< wxBitmapType
>(val3
);
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6619 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6620 PyObject
*resultobj
= 0;
6621 wxIcon
*arg1
= (wxIcon
*) 0 ;
6625 PyObject
*swig_obj
[1] ;
6627 if (!args
) SWIG_fail
;
6629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6630 if (!SWIG_IsOK(res1
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6633 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (bool)(arg1
)->Ok();
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6649 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6650 PyObject
*resultobj
= 0;
6651 wxIcon
*arg1
= (wxIcon
*) 0 ;
6655 PyObject
*swig_obj
[1] ;
6657 if (!args
) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6663 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (int)(arg1
)->GetWidth();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_From_int(static_cast< int >(result
));
6677 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6678 PyObject
*resultobj
= 0;
6679 wxIcon
*arg1
= (wxIcon
*) 0 ;
6683 PyObject
*swig_obj
[1] ;
6685 if (!args
) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6691 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (int)(arg1
)->GetHeight();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_From_int(static_cast< int >(result
));
6705 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxIcon
*arg1
= (wxIcon
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6719 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (int)(arg1
)->GetDepth();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= SWIG_From_int(static_cast< int >(result
));
6733 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
= 0;
6735 wxIcon
*arg1
= (wxIcon
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6743 char * kwnames
[] = {
6744 (char *) "self",(char *) "w", NULL
6747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6749 if (!SWIG_IsOK(res1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6752 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6754 if (!SWIG_IsOK(ecode2
)) {
6755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6757 arg2
= static_cast< int >(val2
);
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 (arg1
)->SetWidth(arg2
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_Py_Void();
6771 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
= 0;
6773 wxIcon
*arg1
= (wxIcon
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6781 char * kwnames
[] = {
6782 (char *) "self",(char *) "h", NULL
6785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6787 if (!SWIG_IsOK(res1
)) {
6788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6790 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6792 if (!SWIG_IsOK(ecode2
)) {
6793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6795 arg2
= static_cast< int >(val2
);
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 (arg1
)->SetHeight(arg2
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_Py_Void();
6809 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
= 0;
6811 wxIcon
*arg1
= (wxIcon
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6818 PyObject
* obj1
= 0 ;
6819 char * kwnames
[] = {
6820 (char *) "self",(char *) "d", NULL
6823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6825 if (!SWIG_IsOK(res1
)) {
6826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6828 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6830 if (!SWIG_IsOK(ecode2
)) {
6831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6833 arg2
= static_cast< int >(val2
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 (arg1
)->SetDepth(arg2
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_Py_Void();
6847 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
= 0;
6849 wxIcon
*arg1
= (wxIcon
*) 0 ;
6850 wxBitmap
*arg2
= 0 ;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6857 char * kwnames
[] = {
6858 (char *) "self",(char *) "bmp", NULL
6861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6863 if (!SWIG_IsOK(res1
)) {
6864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6866 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6868 if (!SWIG_IsOK(res2
)) {
6869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6874 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_Py_Void();
6888 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6891 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6892 return SWIG_Py_Void();
6895 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6896 return SWIG_Python_InitShadowInstance(args
);
6899 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
= 0;
6901 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6902 int arg2
= (int) 0 ;
6903 wxIconLocation
*result
= 0 ;
6904 bool temp1
= false ;
6907 PyObject
* obj0
= 0 ;
6908 PyObject
* obj1
= 0 ;
6909 char * kwnames
[] = {
6910 (char *) "filename",(char *) "num", NULL
6913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6916 arg1
= wxString_in_helper(obj0
);
6917 if (arg1
== NULL
) SWIG_fail
;
6922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6923 if (!SWIG_IsOK(ecode2
)) {
6924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6926 arg2
= static_cast< int >(val2
);
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6949 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6950 PyObject
*resultobj
= 0;
6951 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6954 PyObject
*swig_obj
[1] ;
6956 if (!args
) SWIG_fail
;
6958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
6959 if (!SWIG_IsOK(res1
)) {
6960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
6962 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= SWIG_Py_Void();
6977 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6978 PyObject
*resultobj
= 0;
6979 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6983 PyObject
*swig_obj
[1] ;
6985 if (!args
) SWIG_fail
;
6987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
6988 if (!SWIG_IsOK(res1
)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
6991 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7007 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
= 0;
7009 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7010 wxString
*arg2
= 0 ;
7013 bool temp2
= false ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 char * kwnames
[] = {
7017 (char *) "self",(char *) "filename", NULL
7020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7022 if (!SWIG_IsOK(res1
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7025 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7027 arg2
= wxString_in_helper(obj1
);
7028 if (arg2
== NULL
) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 (arg1
)->SetFileName((wxString
const &)*arg2
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_Py_Void();
7052 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7053 PyObject
*resultobj
= 0;
7054 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7055 wxString
*result
= 0 ;
7058 PyObject
*swig_obj
[1] ;
7060 if (!args
) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7066 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7071 result
= (wxString
*) &_result_ref
;
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7080 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7089 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
= 0;
7091 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7099 char * kwnames
[] = {
7100 (char *) "self",(char *) "num", NULL
7103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7105 if (!SWIG_IsOK(res1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7108 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7110 if (!SWIG_IsOK(ecode2
)) {
7111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7113 arg2
= static_cast< int >(val2
);
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 wxIconLocation_SetIndex(arg1
,arg2
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= SWIG_Py_Void();
7127 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7128 PyObject
*resultobj
= 0;
7129 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7133 PyObject
*swig_obj
[1] ;
7135 if (!args
) SWIG_fail
;
7137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7138 if (!SWIG_IsOK(res1
)) {
7139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7141 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (int)wxIconLocation_GetIndex(arg1
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= SWIG_From_int(static_cast< int >(result
));
7155 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7158 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7159 return SWIG_Py_Void();
7162 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7163 return SWIG_Python_InitShadowInstance(args
);
7166 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7167 PyObject
*resultobj
= 0;
7168 wxIconBundle
*result
= 0 ;
7170 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (wxIconBundle
*)new wxIconBundle();
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7184 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
= 0;
7186 wxString
*arg1
= 0 ;
7188 wxIconBundle
*result
= 0 ;
7189 bool temp1
= false ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "file",(char *) "type", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7200 arg1
= wxString_in_helper(obj0
);
7201 if (arg1
== NULL
) SWIG_fail
;
7204 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7205 if (!SWIG_IsOK(ecode2
)) {
7206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7208 arg2
= static_cast< long >(val2
);
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7230 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= 0;
7233 wxIconBundle
*result
= 0 ;
7236 PyObject
* obj0
= 0 ;
7237 char * kwnames
[] = {
7238 (char *) "icon", NULL
7241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7243 if (!SWIG_IsOK(res1
)) {
7244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7249 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7263 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7264 PyObject
*resultobj
= 0;
7265 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7268 PyObject
*swig_obj
[1] ;
7270 if (!args
) SWIG_fail
;
7272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7273 if (!SWIG_IsOK(res1
)) {
7274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7276 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_Py_Void();
7291 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
= 0;
7293 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7301 char * kwnames
[] = {
7302 (char *) "self",(char *) "icon", NULL
7305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7307 if (!SWIG_IsOK(res1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7310 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7312 if (!SWIG_IsOK(res2
)) {
7313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7318 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_Py_Void();
7332 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
= 0;
7334 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7335 wxString
*arg2
= 0 ;
7339 bool temp2
= false ;
7342 PyObject
* obj0
= 0 ;
7343 PyObject
* obj1
= 0 ;
7344 PyObject
* obj2
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "self",(char *) "file",(char *) "type", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7351 if (!SWIG_IsOK(res1
)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7354 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7356 arg2
= wxString_in_helper(obj1
);
7357 if (arg2
== NULL
) SWIG_fail
;
7360 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7361 if (!SWIG_IsOK(ecode3
)) {
7362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7364 arg3
= static_cast< long >(val3
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_Py_Void();
7386 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
= 0;
7388 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7390 wxIcon
*result
= 0 ;
7394 PyObject
* obj0
= 0 ;
7395 PyObject
* obj1
= 0 ;
7396 char * kwnames
[] = {
7397 (char *) "self",(char *) "size", NULL
7400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7402 if (!SWIG_IsOK(res1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7405 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7408 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7414 result
= (wxIcon
*) &_result_ref
;
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7420 wxIcon
* resultptr
= new wxIcon(*result
);
7421 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7429 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7432 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7433 return SWIG_Py_Void();
7436 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7437 return SWIG_Python_InitShadowInstance(args
);
7440 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
= 0;
7442 wxString
*arg1
= 0 ;
7444 int arg3
= (int) 0 ;
7445 int arg4
= (int) 0 ;
7446 wxCursor
*result
= 0 ;
7447 bool temp1
= false ;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7456 PyObject
* obj2
= 0 ;
7457 PyObject
* obj3
= 0 ;
7458 char * kwnames
[] = {
7459 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7464 arg1
= wxString_in_helper(obj0
);
7465 if (arg1
== NULL
) SWIG_fail
;
7468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7469 if (!SWIG_IsOK(ecode2
)) {
7470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7472 arg2
= static_cast< long >(val2
);
7474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7475 if (!SWIG_IsOK(ecode3
)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7478 arg3
= static_cast< int >(val3
);
7481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7482 if (!SWIG_IsOK(ecode4
)) {
7483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7485 arg4
= static_cast< int >(val4
);
7488 if (!wxPyCheckForApp()) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7509 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7510 PyObject
*resultobj
= 0;
7511 wxCursor
*arg1
= (wxCursor
*) 0 ;
7514 PyObject
*swig_obj
[1] ;
7516 if (!args
) SWIG_fail
;
7518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7519 if (!SWIG_IsOK(res1
)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7522 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_Py_Void();
7537 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
= 0;
7540 wxCursor
*result
= 0 ;
7543 PyObject
* obj0
= 0 ;
7544 char * kwnames
[] = {
7548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7550 if (!SWIG_IsOK(ecode1
)) {
7551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7553 arg1
= static_cast< int >(val1
);
7555 if (!wxPyCheckForApp()) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (wxCursor
*)new wxCursor(arg1
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7568 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= 0;
7571 wxCursor
*result
= 0 ;
7574 PyObject
* obj0
= 0 ;
7575 char * kwnames
[] = {
7576 (char *) "image", NULL
7579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7580 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7581 if (!SWIG_IsOK(res1
)) {
7582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7587 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7589 if (!wxPyCheckForApp()) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7602 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7603 PyObject
*resultobj
= 0;
7604 wxCursor
*arg1
= (wxCursor
*) 0 ;
7608 PyObject
*swig_obj
[1] ;
7610 if (!args
) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7616 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (bool)(arg1
)->Ok();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7632 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7635 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7636 return SWIG_Py_Void();
7639 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7640 return SWIG_Python_InitShadowInstance(args
);
7643 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
= 0;
7645 int arg1
= (int) 0 ;
7646 int arg2
= (int) 0 ;
7647 int arg3
= (int) 0 ;
7648 int arg4
= (int) 0 ;
7649 wxRegion
*result
= 0 ;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7660 PyObject
* obj2
= 0 ;
7661 PyObject
* obj3
= 0 ;
7662 char * kwnames
[] = {
7663 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7668 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7669 if (!SWIG_IsOK(ecode1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7672 arg1
= static_cast< int >(val1
);
7675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7676 if (!SWIG_IsOK(ecode2
)) {
7677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7679 arg2
= static_cast< int >(val2
);
7682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7683 if (!SWIG_IsOK(ecode3
)) {
7684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7686 arg3
= static_cast< int >(val3
);
7689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7690 if (!SWIG_IsOK(ecode4
)) {
7691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7693 arg4
= static_cast< int >(val4
);
7696 if (!wxPyCheckForApp()) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7709 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= 0;
7711 wxBitmap
*arg1
= 0 ;
7712 wxRegion
*result
= 0 ;
7715 PyObject
* obj0
= 0 ;
7716 char * kwnames
[] = {
7717 (char *) "bmp", NULL
7720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7721 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7722 if (!SWIG_IsOK(res1
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7728 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7730 if (!wxPyCheckForApp()) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7743 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
= 0;
7745 wxBitmap
*arg1
= 0 ;
7746 wxColour
*arg2
= 0 ;
7747 int arg3
= (int) 0 ;
7748 wxRegion
*result
= 0 ;
7754 PyObject
* obj0
= 0 ;
7755 PyObject
* obj1
= 0 ;
7756 PyObject
* obj2
= 0 ;
7757 char * kwnames
[] = {
7758 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7762 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7763 if (!SWIG_IsOK(res1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7769 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7776 if (!SWIG_IsOK(ecode3
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7779 arg3
= static_cast< int >(val3
);
7782 if (!wxPyCheckForApp()) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7795 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
= 0;
7798 wxPoint
*arg2
= (wxPoint
*) 0 ;
7799 int arg3
= (int) wxWINDING_RULE
;
7800 wxRegion
*result
= 0 ;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7805 char * kwnames
[] = {
7806 (char *) "points",(char *) "fillStyle", NULL
7809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7811 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7812 if (arg2
== NULL
) SWIG_fail
;
7815 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7816 if (!SWIG_IsOK(ecode3
)) {
7817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7819 arg3
= static_cast< int >(val3
);
7822 if (!wxPyCheckForApp()) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7830 if (arg2
) delete [] arg2
;
7835 if (arg2
) delete [] arg2
;
7841 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7842 PyObject
*resultobj
= 0;
7843 wxRegion
*arg1
= (wxRegion
*) 0 ;
7846 PyObject
*swig_obj
[1] ;
7848 if (!args
) SWIG_fail
;
7850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7851 if (!SWIG_IsOK(res1
)) {
7852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7854 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_Py_Void();
7869 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7870 PyObject
*resultobj
= 0;
7871 wxRegion
*arg1
= (wxRegion
*) 0 ;
7874 PyObject
*swig_obj
[1] ;
7876 if (!args
) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7882 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_Py_Void();
7896 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
= 0;
7898 wxRegion
*arg1
= (wxRegion
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7911 char * kwnames
[] = {
7912 (char *) "self",(char *) "x",(char *) "y", NULL
7915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7917 if (!SWIG_IsOK(res1
)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7920 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7922 if (!SWIG_IsOK(ecode2
)) {
7923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7925 arg2
= static_cast< int >(val2
);
7926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7927 if (!SWIG_IsOK(ecode3
)) {
7928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7930 arg3
= static_cast< int >(val3
);
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7946 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
= 0;
7948 wxRegion
*arg1
= (wxRegion
*) 0 ;
7951 wxRegionContain result
;
7958 PyObject
* obj0
= 0 ;
7959 PyObject
* obj1
= 0 ;
7960 PyObject
* obj2
= 0 ;
7961 char * kwnames
[] = {
7962 (char *) "self",(char *) "x",(char *) "y", NULL
7965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7967 if (!SWIG_IsOK(res1
)) {
7968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
7970 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7972 if (!SWIG_IsOK(ecode2
)) {
7973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
7975 arg2
= static_cast< int >(val2
);
7976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7977 if (!SWIG_IsOK(ecode3
)) {
7978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
7980 arg3
= static_cast< int >(val3
);
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_From_int(static_cast< int >(result
));
7994 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
= 0;
7996 wxRegion
*arg1
= (wxRegion
*) 0 ;
7998 wxRegionContain result
;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 char * kwnames
[] = {
8005 (char *) "self",(char *) "pt", NULL
8008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8010 if (!SWIG_IsOK(res1
)) {
8011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8013 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_From_int(static_cast< int >(result
));
8031 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
= 0;
8033 wxRegion
*arg1
= (wxRegion
*) 0 ;
8035 wxRegionContain result
;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 char * kwnames
[] = {
8042 (char *) "self",(char *) "rect", NULL
8045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8050 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8053 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_From_int(static_cast< int >(result
));
8068 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
= 0;
8070 wxRegion
*arg1
= (wxRegion
*) 0 ;
8075 wxRegionContain result
;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8088 PyObject
* obj2
= 0 ;
8089 PyObject
* obj3
= 0 ;
8090 PyObject
* obj4
= 0 ;
8091 char * kwnames
[] = {
8092 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8097 if (!SWIG_IsOK(res1
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8100 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8102 if (!SWIG_IsOK(ecode2
)) {
8103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8105 arg2
= static_cast< int >(val2
);
8106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8107 if (!SWIG_IsOK(ecode3
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8110 arg3
= static_cast< int >(val3
);
8111 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8112 if (!SWIG_IsOK(ecode4
)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8115 arg4
= static_cast< int >(val4
);
8116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8117 if (!SWIG_IsOK(ecode5
)) {
8118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8120 arg5
= static_cast< int >(val5
);
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_From_int(static_cast< int >(result
));
8134 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8135 PyObject
*resultobj
= 0;
8136 wxRegion
*arg1
= (wxRegion
*) 0 ;
8140 PyObject
*swig_obj
[1] ;
8142 if (!args
) SWIG_fail
;
8144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8145 if (!SWIG_IsOK(res1
)) {
8146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8148 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (arg1
)->GetBox();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8162 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
= 0;
8164 wxRegion
*arg1
= (wxRegion
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8182 PyObject
* obj2
= 0 ;
8183 PyObject
* obj3
= 0 ;
8184 PyObject
* obj4
= 0 ;
8185 char * kwnames
[] = {
8186 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8191 if (!SWIG_IsOK(res1
)) {
8192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8194 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8196 if (!SWIG_IsOK(ecode2
)) {
8197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8199 arg2
= static_cast< int >(val2
);
8200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8201 if (!SWIG_IsOK(ecode3
)) {
8202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8204 arg3
= static_cast< int >(val3
);
8205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8206 if (!SWIG_IsOK(ecode4
)) {
8207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8209 arg4
= static_cast< int >(val4
);
8210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8211 if (!SWIG_IsOK(ecode5
)) {
8212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8214 arg5
= static_cast< int >(val5
);
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8230 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
= 0;
8232 wxRegion
*arg1
= (wxRegion
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8240 char * kwnames
[] = {
8241 (char *) "self",(char *) "rect", NULL
8244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8246 if (!SWIG_IsOK(res1
)) {
8247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8249 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8252 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8269 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
= 0;
8271 wxRegion
*arg1
= (wxRegion
*) 0 ;
8272 wxRegion
*arg2
= 0 ;
8278 PyObject
* obj0
= 0 ;
8279 PyObject
* obj1
= 0 ;
8280 char * kwnames
[] = {
8281 (char *) "self",(char *) "region", NULL
8284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8286 if (!SWIG_IsOK(res1
)) {
8287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8289 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8291 if (!SWIG_IsOK(res2
)) {
8292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8297 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8313 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8314 PyObject
*resultobj
= 0;
8315 wxRegion
*arg1
= (wxRegion
*) 0 ;
8319 PyObject
*swig_obj
[1] ;
8321 if (!args
) SWIG_fail
;
8323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8324 if (!SWIG_IsOK(res1
)) {
8325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8327 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (bool)(arg1
)->IsEmpty();
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8343 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= 0;
8345 wxRegion
*arg1
= (wxRegion
*) 0 ;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj1
= 0 ;
8363 PyObject
* obj2
= 0 ;
8364 PyObject
* obj3
= 0 ;
8365 PyObject
* obj4
= 0 ;
8366 char * kwnames
[] = {
8367 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8372 if (!SWIG_IsOK(res1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8375 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8377 if (!SWIG_IsOK(ecode2
)) {
8378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8380 arg2
= static_cast< int >(val2
);
8381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8382 if (!SWIG_IsOK(ecode3
)) {
8383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8385 arg3
= static_cast< int >(val3
);
8386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8387 if (!SWIG_IsOK(ecode4
)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8390 arg4
= static_cast< int >(val4
);
8391 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8392 if (!SWIG_IsOK(ecode5
)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8395 arg5
= static_cast< int >(val5
);
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8411 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
= 0;
8413 wxRegion
*arg1
= (wxRegion
*) 0 ;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8421 char * kwnames
[] = {
8422 (char *) "self",(char *) "rect", NULL
8425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8430 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8433 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8450 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
= 0;
8452 wxRegion
*arg1
= (wxRegion
*) 0 ;
8453 wxRegion
*arg2
= 0 ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8461 char * kwnames
[] = {
8462 (char *) "self",(char *) "region", NULL
8465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8467 if (!SWIG_IsOK(res1
)) {
8468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8470 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8472 if (!SWIG_IsOK(res2
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8478 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8494 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
= 0;
8496 wxRegion
*arg1
= (wxRegion
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8514 PyObject
* obj2
= 0 ;
8515 PyObject
* obj3
= 0 ;
8516 PyObject
* obj4
= 0 ;
8517 char * kwnames
[] = {
8518 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8523 if (!SWIG_IsOK(res1
)) {
8524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8526 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8528 if (!SWIG_IsOK(ecode2
)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8531 arg2
= static_cast< int >(val2
);
8532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8533 if (!SWIG_IsOK(ecode3
)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8536 arg3
= static_cast< int >(val3
);
8537 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8538 if (!SWIG_IsOK(ecode4
)) {
8539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8541 arg4
= static_cast< int >(val4
);
8542 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8543 if (!SWIG_IsOK(ecode5
)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8546 arg5
= static_cast< int >(val5
);
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8562 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
= 0;
8564 wxRegion
*arg1
= (wxRegion
*) 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 char * kwnames
[] = {
8573 (char *) "self",(char *) "rect", NULL
8576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8578 if (!SWIG_IsOK(res1
)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8581 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8584 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8601 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
= 0;
8603 wxRegion
*arg1
= (wxRegion
*) 0 ;
8604 wxRegion
*arg2
= 0 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "region", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8621 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8623 if (!SWIG_IsOK(res2
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8629 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8645 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
= 0;
8647 wxRegion
*arg1
= (wxRegion
*) 0 ;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8665 PyObject
* obj2
= 0 ;
8666 PyObject
* obj3
= 0 ;
8667 PyObject
* obj4
= 0 ;
8668 char * kwnames
[] = {
8669 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8674 if (!SWIG_IsOK(res1
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8677 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8679 if (!SWIG_IsOK(ecode2
)) {
8680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8682 arg2
= static_cast< int >(val2
);
8683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8684 if (!SWIG_IsOK(ecode3
)) {
8685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8687 arg3
= static_cast< int >(val3
);
8688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8689 if (!SWIG_IsOK(ecode4
)) {
8690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8692 arg4
= static_cast< int >(val4
);
8693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8694 if (!SWIG_IsOK(ecode5
)) {
8695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8697 arg5
= static_cast< int >(val5
);
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8713 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
= 0;
8715 wxRegion
*arg1
= (wxRegion
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "self",(char *) "rect", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8732 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8735 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8752 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
= 0;
8754 wxRegion
*arg1
= (wxRegion
*) 0 ;
8755 wxRegion
*arg2
= 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "region", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8772 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8774 if (!SWIG_IsOK(res2
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8780 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8796 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8797 PyObject
*resultobj
= 0;
8798 wxRegion
*arg1
= (wxRegion
*) 0 ;
8799 SwigValueWrapper
<wxBitmap
> result
;
8802 PyObject
*swig_obj
[1] ;
8804 if (!args
) SWIG_fail
;
8806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8807 if (!SWIG_IsOK(res1
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8810 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 result
= (arg1
)->ConvertToBitmap();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8824 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
= 0;
8826 wxRegion
*arg1
= (wxRegion
*) 0 ;
8827 wxBitmap
*arg2
= 0 ;
8833 PyObject
* obj0
= 0 ;
8834 PyObject
* obj1
= 0 ;
8835 char * kwnames
[] = {
8836 (char *) "self",(char *) "bmp", NULL
8839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8841 if (!SWIG_IsOK(res1
)) {
8842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8844 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8846 if (!SWIG_IsOK(res2
)) {
8847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8852 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8868 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
= 0;
8870 wxRegion
*arg1
= (wxRegion
*) 0 ;
8871 wxBitmap
*arg2
= 0 ;
8872 wxColour
*arg3
= 0 ;
8873 int arg4
= (int) 0 ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 PyObject
* obj2
= 0 ;
8885 PyObject
* obj3
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8895 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8897 if (!SWIG_IsOK(res2
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8903 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8906 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8910 if (!SWIG_IsOK(ecode4
)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8913 arg4
= static_cast< int >(val4
);
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8930 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8933 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8934 return SWIG_Py_Void();
8937 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8938 return SWIG_Python_InitShadowInstance(args
);
8941 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
= 0;
8943 wxRegion
*arg1
= 0 ;
8944 wxRegionIterator
*result
= 0 ;
8947 PyObject
* obj0
= 0 ;
8948 char * kwnames
[] = {
8949 (char *) "region", NULL
8952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
8953 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
8954 if (!SWIG_IsOK(res1
)) {
8955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
8958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
8960 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8962 if (!wxPyCheckForApp()) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
8975 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8976 PyObject
*resultobj
= 0;
8977 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
8980 PyObject
*swig_obj
[1] ;
8982 if (!args
) SWIG_fail
;
8984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
8985 if (!SWIG_IsOK(res1
)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
8988 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 resultobj
= SWIG_Py_Void();
9003 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9004 PyObject
*resultobj
= 0;
9005 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9009 PyObject
*swig_obj
[1] ;
9011 if (!args
) SWIG_fail
;
9013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9014 if (!SWIG_IsOK(res1
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9017 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= (int)(arg1
)->GetX();
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_From_int(static_cast< int >(result
));
9031 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 PyObject
*resultobj
= 0;
9033 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9037 PyObject
*swig_obj
[1] ;
9039 if (!args
) SWIG_fail
;
9041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9042 if (!SWIG_IsOK(res1
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9045 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (int)(arg1
)->GetY();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_From_int(static_cast< int >(result
));
9059 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9060 PyObject
*resultobj
= 0;
9061 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9065 PyObject
*swig_obj
[1] ;
9067 if (!args
) SWIG_fail
;
9069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9070 if (!SWIG_IsOK(res1
)) {
9071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9073 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (int)(arg1
)->GetW();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_From_int(static_cast< int >(result
));
9087 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9088 PyObject
*resultobj
= 0;
9089 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9093 PyObject
*swig_obj
[1] ;
9095 if (!args
) SWIG_fail
;
9097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9098 if (!SWIG_IsOK(res1
)) {
9099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9101 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (int)(arg1
)->GetWidth();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_From_int(static_cast< int >(result
));
9115 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9116 PyObject
*resultobj
= 0;
9117 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9121 PyObject
*swig_obj
[1] ;
9123 if (!args
) SWIG_fail
;
9125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9126 if (!SWIG_IsOK(res1
)) {
9127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9129 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (int)(arg1
)->GetH();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_From_int(static_cast< int >(result
));
9143 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9144 PyObject
*resultobj
= 0;
9145 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9149 PyObject
*swig_obj
[1] ;
9151 if (!args
) SWIG_fail
;
9153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9154 if (!SWIG_IsOK(res1
)) {
9155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9157 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (int)(arg1
)->GetHeight();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_From_int(static_cast< int >(result
));
9171 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9172 PyObject
*resultobj
= 0;
9173 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9177 PyObject
*swig_obj
[1] ;
9179 if (!args
) SWIG_fail
;
9181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9182 if (!SWIG_IsOK(res1
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9185 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (arg1
)->GetRect();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9199 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9200 PyObject
*resultobj
= 0;
9201 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9205 PyObject
*swig_obj
[1] ;
9207 if (!args
) SWIG_fail
;
9209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9210 if (!SWIG_IsOK(res1
)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9213 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (bool)(arg1
)->HaveRects();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9229 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9230 PyObject
*resultobj
= 0;
9231 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9234 PyObject
*swig_obj
[1] ;
9236 if (!args
) SWIG_fail
;
9238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9239 if (!SWIG_IsOK(res1
)) {
9240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9242 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_Py_Void();
9256 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9257 PyObject
*resultobj
= 0;
9258 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9261 PyObject
*swig_obj
[1] ;
9263 if (!args
) SWIG_fail
;
9265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9266 if (!SWIG_IsOK(res1
)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9269 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 wxRegionIterator_Next(arg1
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_Py_Void();
9283 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9284 PyObject
*resultobj
= 0;
9285 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9289 PyObject
*swig_obj
[1] ;
9291 if (!args
) SWIG_fail
;
9293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9294 if (!SWIG_IsOK(res1
)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9297 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9313 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9316 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9317 return SWIG_Py_Void();
9320 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9321 return SWIG_Python_InitShadowInstance(args
);
9324 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9325 PyObject
*resultobj
= 0;
9326 wxNativeFontInfo
*result
= 0 ;
9328 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9342 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9343 PyObject
*resultobj
= 0;
9344 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9355 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_Py_Void();
9370 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9371 PyObject
*resultobj
= 0;
9372 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9375 PyObject
*swig_obj
[1] ;
9377 if (!args
) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9383 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_Py_Void();
9397 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
= 0;
9399 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9407 char * kwnames
[] = {
9408 (char *) "self",(char *) "font", NULL
9411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9413 if (!SWIG_IsOK(res1
)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9416 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9418 if (!SWIG_IsOK(res2
)) {
9419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9424 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_Py_Void();
9438 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9439 PyObject
*resultobj
= 0;
9440 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9444 PyObject
*swig_obj
[1] ;
9446 if (!args
) SWIG_fail
;
9448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9449 if (!SWIG_IsOK(res1
)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9452 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_From_int(static_cast< int >(result
));
9466 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9467 PyObject
*resultobj
= 0;
9468 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9472 PyObject
*swig_obj
[1] ;
9474 if (!args
) SWIG_fail
;
9476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9477 if (!SWIG_IsOK(res1
)) {
9478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9480 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_From_int(static_cast< int >(result
));
9494 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9495 PyObject
*resultobj
= 0;
9496 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9497 wxFontWeight result
;
9500 PyObject
*swig_obj
[1] ;
9502 if (!args
) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9508 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_From_int(static_cast< int >(result
));
9522 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9523 PyObject
*resultobj
= 0;
9524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9528 PyObject
*swig_obj
[1] ;
9530 if (!args
) SWIG_fail
;
9532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9533 if (!SWIG_IsOK(res1
)) {
9534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9536 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9552 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9553 PyObject
*resultobj
= 0;
9554 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9558 PyObject
*swig_obj
[1] ;
9560 if (!args
) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9566 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9586 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9587 PyObject
*resultobj
= 0;
9588 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9589 wxFontFamily result
;
9592 PyObject
*swig_obj
[1] ;
9594 if (!args
) SWIG_fail
;
9596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9597 if (!SWIG_IsOK(res1
)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9600 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= SWIG_From_int(static_cast< int >(result
));
9614 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9615 PyObject
*resultobj
= 0;
9616 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9617 wxFontEncoding result
;
9620 PyObject
*swig_obj
[1] ;
9622 if (!args
) SWIG_fail
;
9624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9625 if (!SWIG_IsOK(res1
)) {
9626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9628 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= SWIG_From_int(static_cast< int >(result
));
9642 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
= 0;
9644 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9652 char * kwnames
[] = {
9653 (char *) "self",(char *) "pointsize", NULL
9656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9661 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9663 if (!SWIG_IsOK(ecode2
)) {
9664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9666 arg2
= static_cast< int >(val2
);
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->SetPointSize(arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_Py_Void();
9680 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
= 0;
9682 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9690 char * kwnames
[] = {
9691 (char *) "self",(char *) "style", NULL
9694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9696 if (!SWIG_IsOK(res1
)) {
9697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9699 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9701 if (!SWIG_IsOK(ecode2
)) {
9702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9704 arg2
= static_cast< wxFontStyle
>(val2
);
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 (arg1
)->SetStyle(arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_Py_Void();
9718 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
= 0;
9720 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9728 char * kwnames
[] = {
9729 (char *) "self",(char *) "weight", NULL
9732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9734 if (!SWIG_IsOK(res1
)) {
9735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9737 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9739 if (!SWIG_IsOK(ecode2
)) {
9740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9742 arg2
= static_cast< wxFontWeight
>(val2
);
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 (arg1
)->SetWeight(arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_Py_Void();
9756 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
= 0;
9758 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9766 char * kwnames
[] = {
9767 (char *) "self",(char *) "underlined", NULL
9770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9775 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9776 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9777 if (!SWIG_IsOK(ecode2
)) {
9778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9780 arg2
= static_cast< bool >(val2
);
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 (arg1
)->SetUnderlined(arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_Py_Void();
9794 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
= 0;
9796 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9802 char * kwnames
[] = {
9803 (char *) "self",(char *) "facename", NULL
9806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9808 if (!SWIG_IsOK(res1
)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9811 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9813 wxString
* sptr
= wxString_in_helper(obj1
);
9814 if (sptr
== NULL
) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 (arg1
)->SetFaceName(arg2
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_Py_Void();
9831 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
= 0;
9833 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 char * kwnames
[] = {
9842 (char *) "self",(char *) "family", NULL
9845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9847 if (!SWIG_IsOK(res1
)) {
9848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9850 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9852 if (!SWIG_IsOK(ecode2
)) {
9853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9855 arg2
= static_cast< wxFontFamily
>(val2
);
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 (arg1
)->SetFamily(arg2
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_Py_Void();
9869 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
= 0;
9871 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9872 wxFontEncoding arg2
;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "self",(char *) "encoding", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9888 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9890 if (!SWIG_IsOK(ecode2
)) {
9891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9893 arg2
= static_cast< wxFontEncoding
>(val2
);
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 (arg1
)->SetEncoding(arg2
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_Py_Void();
9907 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9910 wxString
*arg2
= 0 ;
9914 bool temp2
= false ;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9917 char * kwnames
[] = {
9918 (char *) "self",(char *) "s", NULL
9921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9923 if (!SWIG_IsOK(res1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9926 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9928 arg2
= wxString_in_helper(obj1
);
9929 if (arg2
== NULL
) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9955 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9956 PyObject
*resultobj
= 0;
9957 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9961 PyObject
*swig_obj
[1] ;
9963 if (!args
) SWIG_fail
;
9965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9966 if (!SWIG_IsOK(res1
)) {
9967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9969 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9989 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9990 PyObject
*resultobj
= 0;
9991 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9995 PyObject
*swig_obj
[1] ;
9997 if (!args
) SWIG_fail
;
9999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10000 if (!SWIG_IsOK(res1
)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10003 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= wxNativeFontInfo___str__(arg1
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10023 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
= 0;
10025 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10026 wxString
*arg2
= 0 ;
10030 bool temp2
= false ;
10031 PyObject
* obj0
= 0 ;
10032 PyObject
* obj1
= 0 ;
10033 char * kwnames
[] = {
10034 (char *) "self",(char *) "s", NULL
10037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10042 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10071 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10072 PyObject
*resultobj
= 0;
10073 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10077 PyObject
*swig_obj
[1] ;
10079 if (!args
) SWIG_fail
;
10080 swig_obj
[0] = args
;
10081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10082 if (!SWIG_IsOK(res1
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10085 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10105 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10108 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10109 return SWIG_Py_Void();
10112 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 return SWIG_Python_InitShadowInstance(args
);
10116 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10117 PyObject
*resultobj
= 0;
10118 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10119 wxString
*arg2
= (wxString
*) 0 ;
10122 bool temp2
= false ;
10123 PyObject
*swig_obj
[2] ;
10125 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10130 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10132 arg2
= wxString_in_helper(swig_obj
[1]);
10133 if (arg2
== NULL
) SWIG_fail
;
10136 if (arg1
) (arg1
)->facename
= *arg2
;
10138 resultobj
= SWIG_Py_Void();
10153 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10154 PyObject
*resultobj
= 0;
10155 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10156 wxString
*result
= 0 ;
10159 PyObject
*swig_obj
[1] ;
10161 if (!args
) SWIG_fail
;
10162 swig_obj
[0] = args
;
10163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10164 if (!SWIG_IsOK(res1
)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10167 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10168 result
= (wxString
*)& ((arg1
)->facename
);
10171 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10173 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10182 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10183 PyObject
*resultobj
= 0;
10184 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10185 wxFontEncoding arg2
;
10190 PyObject
*swig_obj
[2] ;
10192 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10194 if (!SWIG_IsOK(res1
)) {
10195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10197 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10198 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10199 if (!SWIG_IsOK(ecode2
)) {
10200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10202 arg2
= static_cast< wxFontEncoding
>(val2
);
10203 if (arg1
) (arg1
)->encoding
= arg2
;
10205 resultobj
= SWIG_Py_Void();
10212 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10213 PyObject
*resultobj
= 0;
10214 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10215 wxFontEncoding result
;
10218 PyObject
*swig_obj
[1] ;
10220 if (!args
) SWIG_fail
;
10221 swig_obj
[0] = args
;
10222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10223 if (!SWIG_IsOK(res1
)) {
10224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10226 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10227 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10228 resultobj
= SWIG_From_int(static_cast< int >(result
));
10235 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10236 PyObject
*resultobj
= 0;
10237 wxNativeEncodingInfo
*result
= 0 ;
10239 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10253 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10254 PyObject
*resultobj
= 0;
10255 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10258 PyObject
*swig_obj
[1] ;
10260 if (!args
) SWIG_fail
;
10261 swig_obj
[0] = args
;
10262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10263 if (!SWIG_IsOK(res1
)) {
10264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10266 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_Py_Void();
10281 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
= 0;
10283 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10284 wxString
*arg2
= 0 ;
10288 bool temp2
= false ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 char * kwnames
[] = {
10292 (char *) "self",(char *) "s", NULL
10295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10297 if (!SWIG_IsOK(res1
)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10300 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10302 arg2
= wxString_in_helper(obj1
);
10303 if (arg2
== NULL
) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10329 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10330 PyObject
*resultobj
= 0;
10331 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10335 PyObject
*swig_obj
[1] ;
10337 if (!args
) SWIG_fail
;
10338 swig_obj
[0] = args
;
10339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10340 if (!SWIG_IsOK(res1
)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10343 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10354 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10363 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10366 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10367 return SWIG_Py_Void();
10370 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10371 return SWIG_Python_InitShadowInstance(args
);
10374 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
= 0;
10376 wxFontEncoding arg1
;
10377 wxNativeEncodingInfo
*result
= 0 ;
10380 PyObject
* obj0
= 0 ;
10381 char * kwnames
[] = {
10382 (char *) "encoding", NULL
10385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10386 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10387 if (!SWIG_IsOK(ecode1
)) {
10388 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10390 arg1
= static_cast< wxFontEncoding
>(val1
);
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10404 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
= 0;
10406 wxNativeEncodingInfo
*arg1
= 0 ;
10410 PyObject
* obj0
= 0 ;
10411 char * kwnames
[] = {
10412 (char *) "info", NULL
10415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10416 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10417 if (!SWIG_IsOK(res1
)) {
10418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10423 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10439 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10440 PyObject
*resultobj
= 0;
10441 wxFontMapper
*result
= 0 ;
10443 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (wxFontMapper
*)new wxFontMapper();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10457 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10458 PyObject
*resultobj
= 0;
10459 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10462 PyObject
*swig_obj
[1] ;
10464 if (!args
) SWIG_fail
;
10465 swig_obj
[0] = args
;
10466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10467 if (!SWIG_IsOK(res1
)) {
10468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10470 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_Py_Void();
10485 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxFontMapper
*result
= 0 ;
10489 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (wxFontMapper
*)wxFontMapper::Get();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10503 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
= 0;
10505 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10506 wxFontMapper
*result
= 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char * kwnames
[] = {
10511 (char *) "mapper", NULL
10514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10516 if (!SWIG_IsOK(res1
)) {
10517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10519 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10533 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
= 0;
10535 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10536 wxString
*arg2
= 0 ;
10537 bool arg3
= (bool) true ;
10538 wxFontEncoding result
;
10541 bool temp2
= false ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 char * kwnames
[] = {
10548 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10556 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10558 arg2
= wxString_in_helper(obj1
);
10559 if (arg2
== NULL
) SWIG_fail
;
10563 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10564 if (!SWIG_IsOK(ecode3
)) {
10565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10567 arg3
= static_cast< bool >(val3
);
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_From_int(static_cast< int >(result
));
10590 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10591 PyObject
*resultobj
= 0;
10594 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10608 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
= 0;
10611 wxFontEncoding result
;
10614 PyObject
* obj0
= 0 ;
10615 char * kwnames
[] = {
10619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10620 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10621 if (!SWIG_IsOK(ecode1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10624 arg1
= static_cast< size_t >(val1
);
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 resultobj
= SWIG_From_int(static_cast< int >(result
));
10638 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
= 0;
10640 wxFontEncoding arg1
;
10644 PyObject
* obj0
= 0 ;
10645 char * kwnames
[] = {
10646 (char *) "encoding", NULL
10649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10650 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10651 if (!SWIG_IsOK(ecode1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10654 arg1
= static_cast< wxFontEncoding
>(val1
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= wxFontMapper::GetEncodingName(arg1
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10674 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
= 0;
10676 wxFontEncoding arg1
;
10680 PyObject
* obj0
= 0 ;
10681 char * kwnames
[] = {
10682 (char *) "encoding", NULL
10685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10687 if (!SWIG_IsOK(ecode1
)) {
10688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10690 arg1
= static_cast< wxFontEncoding
>(val1
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= wxFontMapper::GetEncodingDescription(arg1
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10710 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
= 0;
10712 wxString
*arg1
= 0 ;
10713 wxFontEncoding result
;
10714 bool temp1
= false ;
10715 PyObject
* obj0
= 0 ;
10716 char * kwnames
[] = {
10717 (char *) "name", NULL
10720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10722 arg1
= wxString_in_helper(obj0
);
10723 if (arg1
== NULL
) SWIG_fail
;
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_From_int(static_cast< int >(result
));
10747 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
= 0;
10749 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10750 wxString
*arg2
= 0 ;
10753 bool temp2
= false ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char * kwnames
[] = {
10757 (char *) "self",(char *) "prefix", NULL
10760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10762 if (!SWIG_IsOK(res1
)) {
10763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10765 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10767 arg2
= wxString_in_helper(obj1
);
10768 if (arg2
== NULL
) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_Py_Void();
10792 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10793 PyObject
*resultobj
= 0;
10796 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= wxFontMapper::GetDefaultConfigPath();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10816 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
= 0;
10818 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10819 wxFontEncoding arg2
;
10820 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10821 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10822 bool arg4
= (bool) true ;
10823 PyObject
*result
= 0 ;
10828 bool temp3
= false ;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 PyObject
* obj2
= 0 ;
10834 PyObject
* obj3
= 0 ;
10835 char * kwnames
[] = {
10836 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10841 if (!SWIG_IsOK(res1
)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10844 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10846 if (!SWIG_IsOK(ecode2
)) {
10847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10849 arg2
= static_cast< wxFontEncoding
>(val2
);
10852 arg3
= wxString_in_helper(obj2
);
10853 if (arg3
== NULL
) SWIG_fail
;
10858 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10859 if (!SWIG_IsOK(ecode4
)) {
10860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10862 arg4
= static_cast< bool >(val4
);
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= result
;
10885 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
= 0;
10887 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10888 wxFontEncoding arg2
;
10889 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10890 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10896 bool temp3
= false ;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 PyObject
* obj2
= 0 ;
10900 char * kwnames
[] = {
10901 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10906 if (!SWIG_IsOK(res1
)) {
10907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10909 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10911 if (!SWIG_IsOK(ecode2
)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10914 arg2
= static_cast< wxFontEncoding
>(val2
);
10917 arg3
= wxString_in_helper(obj2
);
10918 if (arg3
== NULL
) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10945 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
= 0;
10947 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10948 wxWindow
*arg2
= (wxWindow
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char * kwnames
[] = {
10956 (char *) "self",(char *) "parent", NULL
10959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10964 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10966 if (!SWIG_IsOK(res2
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
10969 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 (arg1
)->SetDialogParent(arg2
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= SWIG_Py_Void();
10983 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
= 0;
10985 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10986 wxString
*arg2
= 0 ;
10989 bool temp2
= false ;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 char * kwnames
[] = {
10993 (char *) "self",(char *) "title", NULL
10996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10998 if (!SWIG_IsOK(res1
)) {
10999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11001 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11003 arg2
= wxString_in_helper(obj1
);
11004 if (arg2
== NULL
) SWIG_fail
;
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11013 resultobj
= SWIG_Py_Void();
11028 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11031 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11032 return SWIG_Py_Void();
11035 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11036 return SWIG_Python_InitShadowInstance(args
);
11039 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
= 0;
11045 bool arg5
= (bool) false ;
11046 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11047 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11048 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11049 wxFont
*result
= 0 ;
11060 bool temp6
= false ;
11063 PyObject
* obj0
= 0 ;
11064 PyObject
* obj1
= 0 ;
11065 PyObject
* obj2
= 0 ;
11066 PyObject
* obj3
= 0 ;
11067 PyObject
* obj4
= 0 ;
11068 PyObject
* obj5
= 0 ;
11069 PyObject
* obj6
= 0 ;
11070 char * kwnames
[] = {
11071 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11076 if (!SWIG_IsOK(ecode1
)) {
11077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11079 arg1
= static_cast< int >(val1
);
11080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11081 if (!SWIG_IsOK(ecode2
)) {
11082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11084 arg2
= static_cast< int >(val2
);
11085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11086 if (!SWIG_IsOK(ecode3
)) {
11087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11089 arg3
= static_cast< int >(val3
);
11090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11091 if (!SWIG_IsOK(ecode4
)) {
11092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11094 arg4
= static_cast< int >(val4
);
11096 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11097 if (!SWIG_IsOK(ecode5
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11100 arg5
= static_cast< bool >(val5
);
11104 arg6
= wxString_in_helper(obj5
);
11105 if (arg6
== NULL
) SWIG_fail
;
11110 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11111 if (!SWIG_IsOK(ecode7
)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11114 arg7
= static_cast< wxFontEncoding
>(val7
);
11117 if (!wxPyCheckForApp()) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11138 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11139 PyObject
*resultobj
= 0;
11140 wxFont
*arg1
= (wxFont
*) 0 ;
11143 PyObject
*swig_obj
[1] ;
11145 if (!args
) SWIG_fail
;
11146 swig_obj
[0] = args
;
11147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11148 if (!SWIG_IsOK(res1
)) {
11149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11151 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= SWIG_Py_Void();
11166 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
= 0;
11168 wxNativeFontInfo
*arg1
= 0 ;
11169 wxFont
*result
= 0 ;
11172 PyObject
* obj0
= 0 ;
11173 char * kwnames
[] = {
11174 (char *) "info", NULL
11177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11178 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11179 if (!SWIG_IsOK(res1
)) {
11180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11185 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11187 if (!wxPyCheckForApp()) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11200 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
= 0;
11202 wxString
*arg1
= 0 ;
11203 wxFont
*result
= 0 ;
11204 bool temp1
= false ;
11205 PyObject
* obj0
= 0 ;
11206 char * kwnames
[] = {
11207 (char *) "info", NULL
11210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11212 arg1
= wxString_in_helper(obj0
);
11213 if (arg1
== NULL
) SWIG_fail
;
11217 if (!wxPyCheckForApp()) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11238 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
= 0;
11241 wxFontFamily arg2
;
11242 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11243 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11244 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11245 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11246 wxFont
*result
= 0 ;
11253 bool temp4
= false ;
11256 PyObject
* obj0
= 0 ;
11257 PyObject
* obj1
= 0 ;
11258 PyObject
* obj2
= 0 ;
11259 PyObject
* obj3
= 0 ;
11260 PyObject
* obj4
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11266 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11267 if (!SWIG_IsOK(ecode1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11270 arg1
= static_cast< int >(val1
);
11271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11272 if (!SWIG_IsOK(ecode2
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11275 arg2
= static_cast< wxFontFamily
>(val2
);
11277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11278 if (!SWIG_IsOK(ecode3
)) {
11279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11281 arg3
= static_cast< int >(val3
);
11285 arg4
= wxString_in_helper(obj3
);
11286 if (arg4
== NULL
) SWIG_fail
;
11291 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11292 if (!SWIG_IsOK(ecode5
)) {
11293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11295 arg5
= static_cast< wxFontEncoding
>(val5
);
11298 if (!wxPyCheckForApp()) SWIG_fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11319 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
= 0;
11325 bool arg5
= (bool) false ;
11326 wxString
const &arg6_defvalue
= wxEmptyString
;
11327 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11328 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11329 wxFont
*result
= 0 ;
11339 bool temp6
= false ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 PyObject
* obj2
= 0 ;
11345 PyObject
* obj3
= 0 ;
11346 PyObject
* obj4
= 0 ;
11347 PyObject
* obj5
= 0 ;
11348 PyObject
* obj6
= 0 ;
11349 char * kwnames
[] = {
11350 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11356 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11359 if (!SWIG_IsOK(ecode2
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11362 arg2
= static_cast< int >(val2
);
11363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11364 if (!SWIG_IsOK(ecode3
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11367 arg3
= static_cast< int >(val3
);
11368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11369 if (!SWIG_IsOK(ecode4
)) {
11370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11372 arg4
= static_cast< int >(val4
);
11374 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11375 if (!SWIG_IsOK(ecode5
)) {
11376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11378 arg5
= static_cast< bool >(val5
);
11382 arg6
= wxString_in_helper(obj5
);
11383 if (arg6
== NULL
) SWIG_fail
;
11388 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11389 if (!SWIG_IsOK(ecode7
)) {
11390 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11392 arg7
= static_cast< wxFontEncoding
>(val7
);
11395 if (!wxPyCheckForApp()) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11416 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11417 PyObject
*resultobj
= 0;
11419 wxFontFamily arg2
;
11420 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11421 wxString
const &arg4_defvalue
= wxEmptyString
;
11422 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11423 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11424 wxFont
*result
= 0 ;
11430 bool temp4
= false ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 PyObject
* obj2
= 0 ;
11436 PyObject
* obj3
= 0 ;
11437 PyObject
* obj4
= 0 ;
11438 char * kwnames
[] = {
11439 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11445 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11448 if (!SWIG_IsOK(ecode2
)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11451 arg2
= static_cast< wxFontFamily
>(val2
);
11453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11454 if (!SWIG_IsOK(ecode3
)) {
11455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11457 arg3
= static_cast< int >(val3
);
11461 arg4
= wxString_in_helper(obj3
);
11462 if (arg4
== NULL
) SWIG_fail
;
11467 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11468 if (!SWIG_IsOK(ecode5
)) {
11469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11471 arg5
= static_cast< wxFontEncoding
>(val5
);
11474 if (!wxPyCheckForApp()) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11495 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 PyObject
*resultobj
= 0;
11497 wxFont
*arg1
= (wxFont
*) 0 ;
11501 PyObject
*swig_obj
[1] ;
11503 if (!args
) SWIG_fail
;
11504 swig_obj
[0] = args
;
11505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11509 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (bool)((wxFont
const *)arg1
)->Ok();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11525 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
= 0;
11527 wxFont
*arg1
= (wxFont
*) 0 ;
11528 wxFont
*arg2
= (wxFont
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 PyObject
* obj1
= 0 ;
11536 char * kwnames
[] = {
11537 (char *) "self",(char *) "other", NULL
11540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11542 if (!SWIG_IsOK(res1
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11545 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11547 if (!SWIG_IsOK(res2
)) {
11548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11550 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11566 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11567 PyObject
*resultobj
= 0;
11568 wxFont
*arg1
= (wxFont
*) 0 ;
11569 wxFont
*arg2
= (wxFont
*) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 PyObject
* obj1
= 0 ;
11577 char * kwnames
[] = {
11578 (char *) "self",(char *) "other", NULL
11581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11583 if (!SWIG_IsOK(res1
)) {
11584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11586 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11588 if (!SWIG_IsOK(res2
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11591 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11607 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11608 PyObject
*resultobj
= 0;
11609 wxFont
*arg1
= (wxFont
*) 0 ;
11613 PyObject
*swig_obj
[1] ;
11615 if (!args
) SWIG_fail
;
11616 swig_obj
[0] = args
;
11617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11618 if (!SWIG_IsOK(res1
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11621 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_From_int(static_cast< int >(result
));
11635 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11636 PyObject
*resultobj
= 0;
11637 wxFont
*arg1
= (wxFont
*) 0 ;
11641 PyObject
*swig_obj
[1] ;
11643 if (!args
) SWIG_fail
;
11644 swig_obj
[0] = args
;
11645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11646 if (!SWIG_IsOK(res1
)) {
11647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11663 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11664 PyObject
*resultobj
= 0;
11665 wxFont
*arg1
= (wxFont
*) 0 ;
11669 PyObject
*swig_obj
[1] ;
11671 if (!args
) SWIG_fail
;
11672 swig_obj
[0] = args
;
11673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11677 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11693 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11694 PyObject
*resultobj
= 0;
11695 wxFont
*arg1
= (wxFont
*) 0 ;
11699 PyObject
*swig_obj
[1] ;
11701 if (!args
) SWIG_fail
;
11702 swig_obj
[0] = args
;
11703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11704 if (!SWIG_IsOK(res1
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11707 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_From_int(static_cast< int >(result
));
11721 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11722 PyObject
*resultobj
= 0;
11723 wxFont
*arg1
= (wxFont
*) 0 ;
11727 PyObject
*swig_obj
[1] ;
11729 if (!args
) SWIG_fail
;
11730 swig_obj
[0] = args
;
11731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11732 if (!SWIG_IsOK(res1
)) {
11733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11735 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= SWIG_From_int(static_cast< int >(result
));
11749 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 PyObject
*resultobj
= 0;
11751 wxFont
*arg1
= (wxFont
*) 0 ;
11755 PyObject
*swig_obj
[1] ;
11757 if (!args
) SWIG_fail
;
11758 swig_obj
[0] = args
;
11759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11760 if (!SWIG_IsOK(res1
)) {
11761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11763 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_From_int(static_cast< int >(result
));
11777 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11778 PyObject
*resultobj
= 0;
11779 wxFont
*arg1
= (wxFont
*) 0 ;
11783 PyObject
*swig_obj
[1] ;
11785 if (!args
) SWIG_fail
;
11786 swig_obj
[0] = args
;
11787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11788 if (!SWIG_IsOK(res1
)) {
11789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11791 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11807 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 PyObject
*resultobj
= 0;
11809 wxFont
*arg1
= (wxFont
*) 0 ;
11813 PyObject
*swig_obj
[1] ;
11815 if (!args
) SWIG_fail
;
11816 swig_obj
[0] = args
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11821 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= ((wxFont
const *)arg1
)->GetFaceName();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11841 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11842 PyObject
*resultobj
= 0;
11843 wxFont
*arg1
= (wxFont
*) 0 ;
11844 wxFontEncoding result
;
11847 PyObject
*swig_obj
[1] ;
11849 if (!args
) SWIG_fail
;
11850 swig_obj
[0] = args
;
11851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11852 if (!SWIG_IsOK(res1
)) {
11853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11855 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= SWIG_From_int(static_cast< int >(result
));
11869 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11870 PyObject
*resultobj
= 0;
11871 wxFont
*arg1
= (wxFont
*) 0 ;
11872 wxNativeFontInfo
*result
= 0 ;
11875 PyObject
*swig_obj
[1] ;
11877 if (!args
) SWIG_fail
;
11878 swig_obj
[0] = args
;
11879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11880 if (!SWIG_IsOK(res1
)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11883 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11897 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11898 PyObject
*resultobj
= 0;
11899 wxFont
*arg1
= (wxFont
*) 0 ;
11903 PyObject
*swig_obj
[1] ;
11905 if (!args
) SWIG_fail
;
11906 swig_obj
[0] = args
;
11907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11911 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11927 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11928 PyObject
*resultobj
= 0;
11929 wxFont
*arg1
= (wxFont
*) 0 ;
11933 PyObject
*swig_obj
[1] ;
11935 if (!args
) SWIG_fail
;
11936 swig_obj
[0] = args
;
11937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11941 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11961 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 PyObject
*resultobj
= 0;
11963 wxFont
*arg1
= (wxFont
*) 0 ;
11967 PyObject
*swig_obj
[1] ;
11969 if (!args
) SWIG_fail
;
11970 swig_obj
[0] = args
;
11971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11972 if (!SWIG_IsOK(res1
)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11975 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11995 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= 0;
11997 wxFont
*arg1
= (wxFont
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 char * kwnames
[] = {
12006 (char *) "self",(char *) "pointSize", NULL
12009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12014 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12016 if (!SWIG_IsOK(ecode2
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12019 arg2
= static_cast< int >(val2
);
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 (arg1
)->SetPointSize(arg2
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_Py_Void();
12033 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
= 0;
12035 wxFont
*arg1
= (wxFont
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 PyObject
* obj1
= 0 ;
12042 char * kwnames
[] = {
12043 (char *) "self",(char *) "pixelSize", NULL
12046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12048 if (!SWIG_IsOK(res1
)) {
12049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12051 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12054 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 resultobj
= SWIG_Py_Void();
12069 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
= 0;
12071 wxFont
*arg1
= (wxFont
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 char * kwnames
[] = {
12080 (char *) "self",(char *) "family", NULL
12083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12085 if (!SWIG_IsOK(res1
)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12088 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12090 if (!SWIG_IsOK(ecode2
)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12093 arg2
= static_cast< int >(val2
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->SetFamily(arg2
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 resultobj
= SWIG_Py_Void();
12107 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
= 0;
12109 wxFont
*arg1
= (wxFont
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 char * kwnames
[] = {
12118 (char *) "self",(char *) "style", NULL
12121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12126 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12128 if (!SWIG_IsOK(ecode2
)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12131 arg2
= static_cast< int >(val2
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 (arg1
)->SetStyle(arg2
);
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_Py_Void();
12145 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
= 0;
12147 wxFont
*arg1
= (wxFont
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 PyObject
* obj1
= 0 ;
12155 char * kwnames
[] = {
12156 (char *) "self",(char *) "weight", NULL
12159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12161 if (!SWIG_IsOK(res1
)) {
12162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12164 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12166 if (!SWIG_IsOK(ecode2
)) {
12167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12169 arg2
= static_cast< int >(val2
);
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 (arg1
)->SetWeight(arg2
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_Py_Void();
12183 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
= 0;
12185 wxFont
*arg1
= (wxFont
*) 0 ;
12186 wxString
*arg2
= 0 ;
12189 bool temp2
= false ;
12190 PyObject
* obj0
= 0 ;
12191 PyObject
* obj1
= 0 ;
12192 char * kwnames
[] = {
12193 (char *) "self",(char *) "faceName", NULL
12196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12198 if (!SWIG_IsOK(res1
)) {
12199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12201 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12203 arg2
= wxString_in_helper(obj1
);
12204 if (arg2
== NULL
) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_Py_Void();
12228 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= 0;
12230 wxFont
*arg1
= (wxFont
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char * kwnames
[] = {
12239 (char *) "self",(char *) "underlined", NULL
12242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12247 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12248 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12249 if (!SWIG_IsOK(ecode2
)) {
12250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12252 arg2
= static_cast< bool >(val2
);
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 (arg1
)->SetUnderlined(arg2
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_Py_Void();
12266 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
= 0;
12268 wxFont
*arg1
= (wxFont
*) 0 ;
12269 wxFontEncoding arg2
;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 char * kwnames
[] = {
12277 (char *) "self",(char *) "encoding", NULL
12280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12282 if (!SWIG_IsOK(res1
)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12285 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12287 if (!SWIG_IsOK(ecode2
)) {
12288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12290 arg2
= static_cast< wxFontEncoding
>(val2
);
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 (arg1
)->SetEncoding(arg2
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_Py_Void();
12304 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
= 0;
12306 wxFont
*arg1
= (wxFont
*) 0 ;
12307 wxNativeFontInfo
*arg2
= 0 ;
12312 PyObject
* obj0
= 0 ;
12313 PyObject
* obj1
= 0 ;
12314 char * kwnames
[] = {
12315 (char *) "self",(char *) "info", NULL
12318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12320 if (!SWIG_IsOK(res1
)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12323 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12325 if (!SWIG_IsOK(res2
)) {
12326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12331 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= SWIG_Py_Void();
12345 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
= 0;
12347 wxFont
*arg1
= (wxFont
*) 0 ;
12348 wxString
*arg2
= 0 ;
12351 bool temp2
= false ;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 char * kwnames
[] = {
12355 (char *) "self",(char *) "info", NULL
12358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12363 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12365 arg2
= wxString_in_helper(obj1
);
12366 if (arg2
== NULL
) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_Py_Void();
12390 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
= 0;
12392 wxFont
*arg1
= (wxFont
*) 0 ;
12393 wxString
*arg2
= 0 ;
12396 bool temp2
= false ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 char * kwnames
[] = {
12400 (char *) "self",(char *) "info", NULL
12403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12408 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12410 arg2
= wxString_in_helper(obj1
);
12411 if (arg2
== NULL
) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= SWIG_Py_Void();
12435 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12436 PyObject
*resultobj
= 0;
12437 wxFont
*arg1
= (wxFont
*) 0 ;
12441 PyObject
*swig_obj
[1] ;
12443 if (!args
) SWIG_fail
;
12444 swig_obj
[0] = args
;
12445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12446 if (!SWIG_IsOK(res1
)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12449 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12469 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12470 PyObject
*resultobj
= 0;
12471 wxFont
*arg1
= (wxFont
*) 0 ;
12475 PyObject
*swig_obj
[1] ;
12477 if (!args
) SWIG_fail
;
12478 swig_obj
[0] = args
;
12479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12480 if (!SWIG_IsOK(res1
)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12483 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 result
= ((wxFont
const *)arg1
)->GetStyleString();
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12503 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 PyObject
*resultobj
= 0;
12505 wxFont
*arg1
= (wxFont
*) 0 ;
12509 PyObject
*swig_obj
[1] ;
12511 if (!args
) SWIG_fail
;
12512 swig_obj
[0] = args
;
12513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12517 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= ((wxFont
const *)arg1
)->GetWeightString();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12537 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
= 0;
12539 wxFont
*arg1
= (wxFont
*) 0 ;
12540 bool arg2
= (bool) true ;
12545 PyObject
* obj0
= 0 ;
12546 PyObject
* obj1
= 0 ;
12547 char * kwnames
[] = {
12548 (char *) "self",(char *) "no", NULL
12551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12556 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12558 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12559 if (!SWIG_IsOK(ecode2
)) {
12560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12562 arg2
= static_cast< bool >(val2
);
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 (arg1
)->SetNoAntiAliasing(arg2
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_Py_Void();
12577 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12578 PyObject
*resultobj
= 0;
12579 wxFont
*arg1
= (wxFont
*) 0 ;
12583 PyObject
*swig_obj
[1] ;
12585 if (!args
) SWIG_fail
;
12586 swig_obj
[0] = args
;
12587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12588 if (!SWIG_IsOK(res1
)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12591 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12607 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12608 PyObject
*resultobj
= 0;
12609 wxFontEncoding result
;
12611 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12613 if (!wxPyCheckForApp()) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= SWIG_From_int(static_cast< int >(result
));
12626 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
= 0;
12628 wxFontEncoding arg1
;
12631 PyObject
* obj0
= 0 ;
12632 char * kwnames
[] = {
12633 (char *) "encoding", NULL
12636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12637 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12638 if (!SWIG_IsOK(ecode1
)) {
12639 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12641 arg1
= static_cast< wxFontEncoding
>(val1
);
12643 if (!wxPyCheckForApp()) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 wxFont::SetDefaultEncoding(arg1
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= SWIG_Py_Void();
12656 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12659 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12660 return SWIG_Py_Void();
12663 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12664 return SWIG_Python_InitShadowInstance(args
);
12667 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12668 PyObject
*resultobj
= 0;
12669 wxPyFontEnumerator
*result
= 0 ;
12671 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12673 if (!wxPyCheckForApp()) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12686 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12687 PyObject
*resultobj
= 0;
12688 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12691 PyObject
*swig_obj
[1] ;
12693 if (!args
) SWIG_fail
;
12694 swig_obj
[0] = args
;
12695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12696 if (!SWIG_IsOK(res1
)) {
12697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12699 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
= 0;
12716 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12717 PyObject
*arg2
= (PyObject
*) 0 ;
12718 PyObject
*arg3
= (PyObject
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 PyObject
* obj1
= 0 ;
12726 PyObject
* obj2
= 0 ;
12727 PyObject
* obj3
= 0 ;
12728 char * kwnames
[] = {
12729 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12737 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12740 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12741 if (!SWIG_IsOK(ecode4
)) {
12742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12744 arg4
= static_cast< bool >(val4
);
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= SWIG_Py_Void();
12758 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
= 0;
12760 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12761 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12762 bool arg3
= (bool) false ;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 PyObject
* obj2
= 0 ;
12773 char * kwnames
[] = {
12774 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12779 if (!SWIG_IsOK(res1
)) {
12780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12782 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12785 if (!SWIG_IsOK(ecode2
)) {
12786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12788 arg2
= static_cast< wxFontEncoding
>(val2
);
12791 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12792 if (!SWIG_IsOK(ecode3
)) {
12793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12795 arg3
= static_cast< bool >(val3
);
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12812 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= 0;
12814 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12815 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12816 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12820 bool temp2
= false ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char * kwnames
[] = {
12824 (char *) "self",(char *) "facename", NULL
12827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12829 if (!SWIG_IsOK(res1
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12832 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12835 arg2
= wxString_in_helper(obj1
);
12836 if (arg2
== NULL
) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12863 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12864 PyObject
*resultobj
= 0;
12865 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12866 PyObject
*result
= 0 ;
12869 PyObject
*swig_obj
[1] ;
12871 if (!args
) SWIG_fail
;
12872 swig_obj
[0] = args
;
12873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12877 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= result
;
12891 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12892 PyObject
*resultobj
= 0;
12893 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12894 PyObject
*result
= 0 ;
12897 PyObject
*swig_obj
[1] ;
12899 if (!args
) SWIG_fail
;
12900 swig_obj
[0] = args
;
12901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12905 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
12909 wxPyEndAllowThreads(__tstate
);
12910 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= result
;
12919 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12922 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
12923 return SWIG_Py_Void();
12926 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12927 return SWIG_Python_InitShadowInstance(args
);
12930 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12931 PyObject
*resultobj
= 0;
12932 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12938 PyObject
*swig_obj
[2] ;
12940 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
12941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
12942 if (!SWIG_IsOK(res1
)) {
12943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
12945 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
12946 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12947 if (!SWIG_IsOK(ecode2
)) {
12948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
12950 arg2
= static_cast< int >(val2
);
12951 if (arg1
) (arg1
)->Language
= arg2
;
12953 resultobj
= SWIG_Py_Void();
12960 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12961 PyObject
*resultobj
= 0;
12962 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12966 PyObject
*swig_obj
[1] ;
12968 if (!args
) SWIG_fail
;
12969 swig_obj
[0] = args
;
12970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
12971 if (!SWIG_IsOK(res1
)) {
12972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
12974 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
12975 result
= (int) ((arg1
)->Language
);
12976 resultobj
= SWIG_From_int(static_cast< int >(result
));
12983 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12984 PyObject
*resultobj
= 0;
12985 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12986 wxString
*arg2
= (wxString
*) 0 ;
12989 bool temp2
= false ;
12990 PyObject
*swig_obj
[2] ;
12992 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
12997 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
12999 arg2
= wxString_in_helper(swig_obj
[1]);
13000 if (arg2
== NULL
) SWIG_fail
;
13003 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13005 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13021 PyObject
*resultobj
= 0;
13022 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13023 wxString
*result
= 0 ;
13026 PyObject
*swig_obj
[1] ;
13028 if (!args
) SWIG_fail
;
13029 swig_obj
[0] = args
;
13030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13031 if (!SWIG_IsOK(res1
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13034 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13035 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13038 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13040 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13049 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13050 PyObject
*resultobj
= 0;
13051 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13052 wxString
*arg2
= (wxString
*) 0 ;
13055 bool temp2
= false ;
13056 PyObject
*swig_obj
[2] ;
13058 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13060 if (!SWIG_IsOK(res1
)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13063 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13065 arg2
= wxString_in_helper(swig_obj
[1]);
13066 if (arg2
== NULL
) SWIG_fail
;
13069 if (arg1
) (arg1
)->Description
= *arg2
;
13071 resultobj
= SWIG_Py_Void();
13086 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13087 PyObject
*resultobj
= 0;
13088 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13089 wxString
*result
= 0 ;
13092 PyObject
*swig_obj
[1] ;
13094 if (!args
) SWIG_fail
;
13095 swig_obj
[0] = args
;
13096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13097 if (!SWIG_IsOK(res1
)) {
13098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13100 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13101 result
= (wxString
*)& ((arg1
)->Description
);
13104 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13106 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13115 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13118 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13119 return SWIG_Py_Void();
13122 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
= 0;
13124 int arg1
= (int) -1 ;
13125 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13126 wxLocale
*result
= 0 ;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "language",(char *) "flags", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13139 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13140 if (!SWIG_IsOK(ecode1
)) {
13141 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13143 arg1
= static_cast< int >(val1
);
13146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13147 if (!SWIG_IsOK(ecode2
)) {
13148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13150 arg2
= static_cast< int >(val2
);
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13165 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13166 PyObject
*resultobj
= 0;
13167 wxLocale
*arg1
= (wxLocale
*) 0 ;
13170 PyObject
*swig_obj
[1] ;
13172 if (!args
) SWIG_fail
;
13173 swig_obj
[0] = args
;
13174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13175 if (!SWIG_IsOK(res1
)) {
13176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13178 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_Py_Void();
13193 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
= 0;
13195 wxLocale
*arg1
= (wxLocale
*) 0 ;
13196 wxString
*arg2
= 0 ;
13197 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13201 bool arg5
= (bool) true ;
13202 bool arg6
= (bool) false ;
13206 bool temp2
= false ;
13207 bool temp3
= false ;
13208 bool temp4
= false ;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 PyObject
* obj2
= 0 ;
13216 PyObject
* obj3
= 0 ;
13217 PyObject
* obj4
= 0 ;
13218 PyObject
* obj5
= 0 ;
13219 char * kwnames
[] = {
13220 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13225 if (!SWIG_IsOK(res1
)) {
13226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13228 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13230 arg2
= wxString_in_helper(obj1
);
13231 if (arg2
== NULL
) SWIG_fail
;
13236 arg3
= wxString_in_helper(obj2
);
13237 if (arg3
== NULL
) SWIG_fail
;
13243 arg4
= wxString_in_helper(obj3
);
13244 if (arg4
== NULL
) SWIG_fail
;
13249 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13250 if (!SWIG_IsOK(ecode5
)) {
13251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13253 arg5
= static_cast< bool >(val5
);
13256 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13257 if (!SWIG_IsOK(ecode6
)) {
13258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13260 arg6
= static_cast< bool >(val6
);
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13301 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
= 0;
13303 wxLocale
*arg1
= (wxLocale
*) 0 ;
13304 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13305 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 PyObject
* obj2
= 0 ;
13316 char * kwnames
[] = {
13317 (char *) "self",(char *) "language",(char *) "flags", NULL
13320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13322 if (!SWIG_IsOK(res1
)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13325 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13328 if (!SWIG_IsOK(ecode2
)) {
13329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13331 arg2
= static_cast< int >(val2
);
13334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13335 if (!SWIG_IsOK(ecode3
)) {
13336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13338 arg3
= static_cast< int >(val3
);
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13355 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13356 PyObject
*resultobj
= 0;
13359 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (int)wxLocale::GetSystemLanguage();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_From_int(static_cast< int >(result
));
13373 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 PyObject
*resultobj
= 0;
13375 wxFontEncoding result
;
13377 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_From_int(static_cast< int >(result
));
13391 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 PyObject
*resultobj
= 0;
13395 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= wxLocale::GetSystemEncodingName();
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13415 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13416 PyObject
*resultobj
= 0;
13417 wxLocale
*arg1
= (wxLocale
*) 0 ;
13421 PyObject
*swig_obj
[1] ;
13423 if (!args
) SWIG_fail
;
13424 swig_obj
[0] = args
;
13425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13429 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13445 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13446 PyObject
*resultobj
= 0;
13447 wxLocale
*arg1
= (wxLocale
*) 0 ;
13451 PyObject
*swig_obj
[1] ;
13453 if (!args
) SWIG_fail
;
13454 swig_obj
[0] = args
;
13455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13456 if (!SWIG_IsOK(res1
)) {
13457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13459 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= ((wxLocale
const *)arg1
)->GetLocale();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13479 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13480 PyObject
*resultobj
= 0;
13481 wxLocale
*arg1
= (wxLocale
*) 0 ;
13485 PyObject
*swig_obj
[1] ;
13487 if (!args
) SWIG_fail
;
13488 swig_obj
[0] = args
;
13489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13490 if (!SWIG_IsOK(res1
)) {
13491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13493 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_From_int(static_cast< int >(result
));
13507 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13508 PyObject
*resultobj
= 0;
13509 wxLocale
*arg1
= (wxLocale
*) 0 ;
13513 PyObject
*swig_obj
[1] ;
13515 if (!args
) SWIG_fail
;
13516 swig_obj
[0] = args
;
13517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13518 if (!SWIG_IsOK(res1
)) {
13519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13521 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 result
= ((wxLocale
const *)arg1
)->GetSysName();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13541 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxLocale
*arg1
= (wxLocale
*) 0 ;
13547 PyObject
*swig_obj
[1] ;
13549 if (!args
) SWIG_fail
;
13550 swig_obj
[0] = args
;
13551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13552 if (!SWIG_IsOK(res1
)) {
13553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13555 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13575 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
= 0;
13577 wxString
*arg1
= 0 ;
13578 bool temp1
= false ;
13579 PyObject
* obj0
= 0 ;
13580 char * kwnames
[] = {
13581 (char *) "prefix", NULL
13584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13586 arg1
= wxString_in_helper(obj0
);
13587 if (arg1
== NULL
) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
= 0;
13613 wxLocale
*arg1
= (wxLocale
*) 0 ;
13614 wxString
*arg2
= 0 ;
13618 bool temp2
= false ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char * kwnames
[] = {
13622 (char *) "self",(char *) "szDomain", NULL
13625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13627 if (!SWIG_IsOK(res1
)) {
13628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13630 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13632 arg2
= wxString_in_helper(obj1
);
13633 if (arg2
== NULL
) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13659 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
= 0;
13661 wxLocale
*arg1
= (wxLocale
*) 0 ;
13662 wxString
*arg2
= 0 ;
13666 bool temp2
= false ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char * kwnames
[] = {
13670 (char *) "self",(char *) "szDomain", NULL
13673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13678 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13680 arg2
= wxString_in_helper(obj1
);
13681 if (arg2
== NULL
) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
= 0;
13710 wxLanguageInfo
*result
= 0 ;
13713 PyObject
* obj0
= 0 ;
13714 char * kwnames
[] = {
13715 (char *) "lang", NULL
13718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13720 if (!SWIG_IsOK(ecode1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13723 arg1
= static_cast< int >(val1
);
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13737 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
= 0;
13743 PyObject
* obj0
= 0 ;
13744 char * kwnames
[] = {
13745 (char *) "lang", NULL
13748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13749 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13750 if (!SWIG_IsOK(ecode1
)) {
13751 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13753 arg1
= static_cast< int >(val1
);
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= wxLocale::GetLanguageName(arg1
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13773 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13775 wxString
*arg1
= 0 ;
13776 wxLanguageInfo
*result
= 0 ;
13777 bool temp1
= false ;
13778 PyObject
* obj0
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "locale", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13785 arg1
= wxString_in_helper(obj0
);
13786 if (arg1
== NULL
) SWIG_fail
;
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13810 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
= 0;
13812 wxLanguageInfo
*arg1
= 0 ;
13815 PyObject
* obj0
= 0 ;
13816 char * kwnames
[] = {
13817 (char *) "info", NULL
13820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13821 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13822 if (!SWIG_IsOK(res1
)) {
13823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13828 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= SWIG_Py_Void();
13842 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
= 0;
13844 wxLocale
*arg1
= (wxLocale
*) 0 ;
13845 wxString
*arg2
= 0 ;
13846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13851 bool temp2
= false ;
13852 bool temp3
= false ;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 PyObject
* obj2
= 0 ;
13856 char * kwnames
[] = {
13857 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13865 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13867 arg2
= wxString_in_helper(obj1
);
13868 if (arg2
== NULL
) SWIG_fail
;
13873 arg3
= wxString_in_helper(obj2
);
13874 if (arg3
== NULL
) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13913 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13914 PyObject
*resultobj
= 0;
13915 wxLocale
*arg1
= (wxLocale
*) 0 ;
13916 wxString
*result
= 0 ;
13919 PyObject
*swig_obj
[1] ;
13921 if (!args
) SWIG_fail
;
13922 swig_obj
[0] = args
;
13923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13924 if (!SWIG_IsOK(res1
)) {
13925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13927 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
13932 result
= (wxString
*) &_result_ref
;
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13941 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13950 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13953 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
13954 return SWIG_Py_Void();
13957 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13958 return SWIG_Python_InitShadowInstance(args
);
13961 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13962 PyObject
*resultobj
= 0;
13963 wxLocale
*result
= 0 ;
13965 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= (wxLocale
*)wxGetLocale();
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
13979 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13980 PyObject
*resultobj
= 0;
13981 wxString
*arg1
= 0 ;
13983 bool temp1
= false ;
13985 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
13987 arg1
= wxString_in_helper(swig_obj
[0]);
13988 if (arg1
== NULL
) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= wxGetTranslation((wxString
const &)*arg1
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14018 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14019 PyObject
*resultobj
= 0;
14020 wxString
*arg1
= 0 ;
14021 wxString
*arg2
= 0 ;
14024 bool temp1
= false ;
14025 bool temp2
= false ;
14029 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14031 arg1
= wxString_in_helper(swig_obj
[0]);
14032 if (arg1
== NULL
) SWIG_fail
;
14036 arg2
= wxString_in_helper(swig_obj
[1]);
14037 if (arg2
== NULL
) SWIG_fail
;
14040 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14041 if (!SWIG_IsOK(ecode3
)) {
14042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14044 arg3
= static_cast< size_t >(val3
);
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14080 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14084 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14087 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14090 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14094 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14099 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14100 PyObject
*resultobj
= 0;
14101 wxEncodingConverter
*result
= 0 ;
14103 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14117 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14118 PyObject
*resultobj
= 0;
14119 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14122 PyObject
*swig_obj
[1] ;
14124 if (!args
) SWIG_fail
;
14125 swig_obj
[0] = args
;
14126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14127 if (!SWIG_IsOK(res1
)) {
14128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14130 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_Py_Void();
14145 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
= 0;
14147 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14148 wxFontEncoding arg2
;
14149 wxFontEncoding arg3
;
14150 int arg4
= (int) wxCONVERT_STRICT
;
14160 PyObject
* obj0
= 0 ;
14161 PyObject
* obj1
= 0 ;
14162 PyObject
* obj2
= 0 ;
14163 PyObject
* obj3
= 0 ;
14164 char * kwnames
[] = {
14165 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14173 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14175 if (!SWIG_IsOK(ecode2
)) {
14176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14178 arg2
= static_cast< wxFontEncoding
>(val2
);
14179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14180 if (!SWIG_IsOK(ecode3
)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14183 arg3
= static_cast< wxFontEncoding
>(val3
);
14185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14186 if (!SWIG_IsOK(ecode4
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14189 arg4
= static_cast< int >(val4
);
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14206 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
= 0;
14208 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14209 wxString
*arg2
= 0 ;
14213 bool temp2
= false ;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 char * kwnames
[] = {
14217 (char *) "self",(char *) "input", NULL
14220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14222 if (!SWIG_IsOK(res1
)) {
14223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14225 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14227 arg2
= wxString_in_helper(obj1
);
14228 if (arg2
== NULL
) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14258 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
= 0;
14260 wxFontEncoding arg1
;
14261 int arg2
= (int) wxPLATFORM_CURRENT
;
14262 wxFontEncodingArray result
;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char * kwnames
[] = {
14270 (char *) "enc",(char *) "platform", NULL
14273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14275 if (!SWIG_IsOK(ecode1
)) {
14276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14278 arg1
= static_cast< wxFontEncoding
>(val1
);
14280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14281 if (!SWIG_IsOK(ecode2
)) {
14282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14284 arg2
= static_cast< int >(val2
);
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= PyList_New(0);
14294 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14295 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14296 PyList_Append(resultobj
, number
);
14306 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
= 0;
14308 wxFontEncoding arg1
;
14309 wxFontEncodingArray result
;
14312 PyObject
* obj0
= 0 ;
14313 char * kwnames
[] = {
14314 (char *) "enc", NULL
14317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14319 if (!SWIG_IsOK(ecode1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14322 arg1
= static_cast< wxFontEncoding
>(val1
);
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= PyList_New(0);
14331 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14332 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14333 PyList_Append(resultobj
, number
);
14343 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
= 0;
14345 wxFontEncoding arg1
;
14346 wxFontEncoding arg2
;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 char * kwnames
[] = {
14355 (char *) "encIn",(char *) "encOut", NULL
14358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14360 if (!SWIG_IsOK(ecode1
)) {
14361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14363 arg1
= static_cast< wxFontEncoding
>(val1
);
14364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14365 if (!SWIG_IsOK(ecode2
)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14368 arg2
= static_cast< wxFontEncoding
>(val2
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14384 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14387 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14388 return SWIG_Py_Void();
14391 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14392 return SWIG_Python_InitShadowInstance(args
);
14395 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14396 PyObject
*resultobj
= 0;
14397 wxDC
*arg1
= (wxDC
*) 0 ;
14400 PyObject
*swig_obj
[1] ;
14402 if (!args
) SWIG_fail
;
14403 swig_obj
[0] = args
;
14404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14405 if (!SWIG_IsOK(res1
)) {
14406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 resultobj
= SWIG_Py_Void();
14423 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
= 0;
14425 wxDC
*arg1
= (wxDC
*) 0 ;
14428 wxColour
*arg4
= 0 ;
14429 int arg5
= (int) wxFLOOD_SURFACE
;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 PyObject
* obj2
= 0 ;
14443 PyObject
* obj3
= 0 ;
14444 PyObject
* obj4
= 0 ;
14445 char * kwnames
[] = {
14446 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14451 if (!SWIG_IsOK(res1
)) {
14452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14456 if (!SWIG_IsOK(ecode2
)) {
14457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14459 arg2
= static_cast< int >(val2
);
14460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14461 if (!SWIG_IsOK(ecode3
)) {
14462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14464 arg3
= static_cast< int >(val3
);
14467 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14470 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14471 if (!SWIG_IsOK(ecode5
)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14474 arg5
= static_cast< int >(val5
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14491 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
= 0;
14493 wxDC
*arg1
= (wxDC
*) 0 ;
14494 wxPoint
*arg2
= 0 ;
14495 wxColour
*arg3
= 0 ;
14496 int arg4
= (int) wxFLOOD_SURFACE
;
14504 PyObject
* obj0
= 0 ;
14505 PyObject
* obj1
= 0 ;
14506 PyObject
* obj2
= 0 ;
14507 PyObject
* obj3
= 0 ;
14508 char * kwnames
[] = {
14509 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14514 if (!SWIG_IsOK(res1
)) {
14515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14524 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14528 if (!SWIG_IsOK(ecode4
)) {
14529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14531 arg4
= static_cast< int >(val4
);
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14548 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
= 0;
14550 wxDC
*arg1
= (wxDC
*) 0 ;
14552 wxColour
*arg3
= 0 ;
14553 wxColour
*arg4
= 0 ;
14554 wxPoint
*arg5
= 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 PyObject
* obj3
= 0 ;
14565 PyObject
* obj4
= 0 ;
14566 char * kwnames
[] = {
14567 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14572 if (!SWIG_IsOK(res1
)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14578 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14582 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14586 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14590 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= SWIG_Py_Void();
14605 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
= 0;
14607 wxDC
*arg1
= (wxDC
*) 0 ;
14609 wxColour
*arg3
= 0 ;
14610 wxColour
*arg4
= 0 ;
14611 wxDirection arg5
= (wxDirection
) wxEAST
;
14619 PyObject
* obj0
= 0 ;
14620 PyObject
* obj1
= 0 ;
14621 PyObject
* obj2
= 0 ;
14622 PyObject
* obj3
= 0 ;
14623 PyObject
* obj4
= 0 ;
14624 char * kwnames
[] = {
14625 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14630 if (!SWIG_IsOK(res1
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14636 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14640 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14644 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14648 if (!SWIG_IsOK(ecode5
)) {
14649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14651 arg5
= static_cast< wxDirection
>(val5
);
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= SWIG_Py_Void();
14666 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
= 0;
14668 wxDC
*arg1
= (wxDC
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 PyObject
* obj2
= 0 ;
14681 char * kwnames
[] = {
14682 (char *) "self",(char *) "x",(char *) "y", NULL
14685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14687 if (!SWIG_IsOK(res1
)) {
14688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14692 if (!SWIG_IsOK(ecode2
)) {
14693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14695 arg2
= static_cast< int >(val2
);
14696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14697 if (!SWIG_IsOK(ecode3
)) {
14698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14700 arg3
= static_cast< int >(val3
);
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14714 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
= 0;
14716 wxDC
*arg1
= (wxDC
*) 0 ;
14717 wxPoint
*arg2
= 0 ;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 char * kwnames
[] = {
14725 (char *) "self",(char *) "pt", NULL
14728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14736 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14751 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
= 0;
14753 wxDC
*arg1
= (wxDC
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 PyObject
* obj1
= 0 ;
14770 PyObject
* obj2
= 0 ;
14771 PyObject
* obj3
= 0 ;
14772 PyObject
* obj4
= 0 ;
14773 char * kwnames
[] = {
14774 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14784 if (!SWIG_IsOK(ecode2
)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14787 arg2
= static_cast< int >(val2
);
14788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14789 if (!SWIG_IsOK(ecode3
)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14792 arg3
= static_cast< int >(val3
);
14793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14794 if (!SWIG_IsOK(ecode4
)) {
14795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14797 arg4
= static_cast< int >(val4
);
14798 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14799 if (!SWIG_IsOK(ecode5
)) {
14800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14802 arg5
= static_cast< int >(val5
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_Py_Void();
14816 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
= 0;
14818 wxDC
*arg1
= (wxDC
*) 0 ;
14819 wxPoint
*arg2
= 0 ;
14820 wxPoint
*arg3
= 0 ;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 PyObject
* obj2
= 0 ;
14828 char * kwnames
[] = {
14829 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14834 if (!SWIG_IsOK(res1
)) {
14835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= SWIG_Py_Void();
14859 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
= 0;
14861 wxDC
*arg1
= (wxDC
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 PyObject
* obj2
= 0 ;
14873 char * kwnames
[] = {
14874 (char *) "self",(char *) "x",(char *) "y", NULL
14877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14879 if (!SWIG_IsOK(res1
)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14884 if (!SWIG_IsOK(ecode2
)) {
14885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14887 arg2
= static_cast< int >(val2
);
14888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14889 if (!SWIG_IsOK(ecode3
)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14892 arg3
= static_cast< int >(val3
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 (arg1
)->CrossHair(arg2
,arg3
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_Py_Void();
14906 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
= 0;
14908 wxDC
*arg1
= (wxDC
*) 0 ;
14909 wxPoint
*arg2
= 0 ;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 char * kwnames
[] = {
14916 (char *) "self",(char *) "pt", NULL
14919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14921 if (!SWIG_IsOK(res1
)) {
14922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_Py_Void();
14942 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
= 0;
14944 wxDC
*arg1
= (wxDC
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 PyObject
* obj2
= 0 ;
14968 PyObject
* obj3
= 0 ;
14969 PyObject
* obj4
= 0 ;
14970 PyObject
* obj5
= 0 ;
14971 PyObject
* obj6
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
14981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14983 if (!SWIG_IsOK(ecode2
)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
14986 arg2
= static_cast< int >(val2
);
14987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14988 if (!SWIG_IsOK(ecode3
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
14991 arg3
= static_cast< int >(val3
);
14992 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14993 if (!SWIG_IsOK(ecode4
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
14996 arg4
= static_cast< int >(val4
);
14997 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14998 if (!SWIG_IsOK(ecode5
)) {
14999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15001 arg5
= static_cast< int >(val5
);
15002 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15003 if (!SWIG_IsOK(ecode6
)) {
15004 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15006 arg6
= static_cast< int >(val6
);
15007 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15008 if (!SWIG_IsOK(ecode7
)) {
15009 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15011 arg7
= static_cast< int >(val7
);
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_Py_Void();
15025 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
= 0;
15027 wxDC
*arg1
= (wxDC
*) 0 ;
15028 wxPoint
*arg2
= 0 ;
15029 wxPoint
*arg3
= 0 ;
15030 wxPoint
*arg4
= 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 PyObject
* obj2
= 0 ;
15039 PyObject
* obj3
= 0 ;
15040 char * kwnames
[] = {
15041 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15046 if (!SWIG_IsOK(res1
)) {
15047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15060 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_Py_Void();
15075 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxDC
*arg1
= (wxDC
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 PyObject
* obj2
= 0 ;
15095 PyObject
* obj3
= 0 ;
15096 PyObject
* obj4
= 0 ;
15097 char * kwnames
[] = {
15098 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15103 if (!SWIG_IsOK(res1
)) {
15104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15108 if (!SWIG_IsOK(ecode2
)) {
15109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15111 arg2
= static_cast< int >(val2
);
15112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15113 if (!SWIG_IsOK(ecode3
)) {
15114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15116 arg3
= static_cast< int >(val3
);
15117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15118 if (!SWIG_IsOK(ecode4
)) {
15119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15121 arg4
= static_cast< int >(val4
);
15122 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15123 if (!SWIG_IsOK(ecode5
)) {
15124 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15126 arg5
= static_cast< int >(val5
);
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_Py_Void();
15140 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
= 0;
15142 wxDC
*arg1
= (wxDC
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 char * kwnames
[] = {
15150 (char *) "self",(char *) "rect", NULL
15153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15155 if (!SWIG_IsOK(res1
)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15161 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_Py_Void();
15176 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
= 0;
15178 wxDC
*arg1
= (wxDC
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 PyObject
* obj1
= 0 ;
15201 PyObject
* obj2
= 0 ;
15202 PyObject
* obj3
= 0 ;
15203 PyObject
* obj4
= 0 ;
15204 PyObject
* obj5
= 0 ;
15205 PyObject
* obj6
= 0 ;
15206 char * kwnames
[] = {
15207 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15212 if (!SWIG_IsOK(res1
)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15217 if (!SWIG_IsOK(ecode2
)) {
15218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15220 arg2
= static_cast< int >(val2
);
15221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15222 if (!SWIG_IsOK(ecode3
)) {
15223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15225 arg3
= static_cast< int >(val3
);
15226 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15227 if (!SWIG_IsOK(ecode4
)) {
15228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15230 arg4
= static_cast< int >(val4
);
15231 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15232 if (!SWIG_IsOK(ecode5
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15235 arg5
= static_cast< int >(val5
);
15236 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15237 if (!SWIG_IsOK(ecode6
)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15240 arg6
= static_cast< double >(val6
);
15241 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15242 if (!SWIG_IsOK(ecode7
)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15245 arg7
= static_cast< double >(val7
);
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_Py_Void();
15259 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
= 0;
15261 wxDC
*arg1
= (wxDC
*) 0 ;
15262 wxPoint
*arg2
= 0 ;
15274 PyObject
* obj0
= 0 ;
15275 PyObject
* obj1
= 0 ;
15276 PyObject
* obj2
= 0 ;
15277 PyObject
* obj3
= 0 ;
15278 PyObject
* obj4
= 0 ;
15279 char * kwnames
[] = {
15280 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15291 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15295 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15297 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15298 if (!SWIG_IsOK(ecode4
)) {
15299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15301 arg4
= static_cast< double >(val4
);
15302 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15303 if (!SWIG_IsOK(ecode5
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15306 arg5
= static_cast< double >(val5
);
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_Py_Void();
15320 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
= 0;
15322 wxDC
*arg1
= (wxDC
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 PyObject
* obj2
= 0 ;
15334 char * kwnames
[] = {
15335 (char *) "self",(char *) "x",(char *) "y", NULL
15338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15340 if (!SWIG_IsOK(res1
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15345 if (!SWIG_IsOK(ecode2
)) {
15346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15348 arg2
= static_cast< int >(val2
);
15349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15350 if (!SWIG_IsOK(ecode3
)) {
15351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15353 arg3
= static_cast< int >(val3
);
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 (arg1
)->DrawPoint(arg2
,arg3
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= SWIG_Py_Void();
15367 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
= 0;
15369 wxDC
*arg1
= (wxDC
*) 0 ;
15370 wxPoint
*arg2
= 0 ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 char * kwnames
[] = {
15377 (char *) "self",(char *) "pt", NULL
15380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15382 if (!SWIG_IsOK(res1
)) {
15383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_Py_Void();
15403 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
= 0;
15405 wxDC
*arg1
= (wxDC
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 PyObject
* obj2
= 0 ;
15423 PyObject
* obj3
= 0 ;
15424 PyObject
* obj4
= 0 ;
15425 char * kwnames
[] = {
15426 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15431 if (!SWIG_IsOK(res1
)) {
15432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15434 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15436 if (!SWIG_IsOK(ecode2
)) {
15437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15439 arg2
= static_cast< int >(val2
);
15440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15441 if (!SWIG_IsOK(ecode3
)) {
15442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15444 arg3
= static_cast< int >(val3
);
15445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15446 if (!SWIG_IsOK(ecode4
)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15449 arg4
= static_cast< int >(val4
);
15450 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15451 if (!SWIG_IsOK(ecode5
)) {
15452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15454 arg5
= static_cast< int >(val5
);
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_Py_Void();
15468 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
= 0;
15470 wxDC
*arg1
= (wxDC
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char * kwnames
[] = {
15478 (char *) "self",(char *) "rect", NULL
15481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15483 if (!SWIG_IsOK(res1
)) {
15484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15489 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_Py_Void();
15504 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= 0;
15506 wxDC
*arg1
= (wxDC
*) 0 ;
15507 wxPoint
*arg2
= 0 ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 char * kwnames
[] = {
15517 (char *) "self",(char *) "pt",(char *) "sz", NULL
15520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15522 if (!SWIG_IsOK(res1
)) {
15523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15528 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15532 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= SWIG_Py_Void();
15547 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
= 0;
15549 wxDC
*arg1
= (wxDC
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 PyObject
* obj2
= 0 ;
15570 PyObject
* obj3
= 0 ;
15571 PyObject
* obj4
= 0 ;
15572 PyObject
* obj5
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15584 if (!SWIG_IsOK(ecode2
)) {
15585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15587 arg2
= static_cast< int >(val2
);
15588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15589 if (!SWIG_IsOK(ecode3
)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15592 arg3
= static_cast< int >(val3
);
15593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15594 if (!SWIG_IsOK(ecode4
)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15597 arg4
= static_cast< int >(val4
);
15598 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15599 if (!SWIG_IsOK(ecode5
)) {
15600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15602 arg5
= static_cast< int >(val5
);
15603 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15604 if (!SWIG_IsOK(ecode6
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15607 arg6
= static_cast< double >(val6
);
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= SWIG_Py_Void();
15621 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
= 0;
15623 wxDC
*arg1
= (wxDC
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 PyObject
* obj2
= 0 ;
15634 char * kwnames
[] = {
15635 (char *) "self",(char *) "r",(char *) "radius", NULL
15638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15646 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15648 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15649 if (!SWIG_IsOK(ecode3
)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15652 arg3
= static_cast< double >(val3
);
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_Py_Void();
15666 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= 0;
15668 wxDC
*arg1
= (wxDC
*) 0 ;
15669 wxPoint
*arg2
= 0 ;
15678 PyObject
* obj0
= 0 ;
15679 PyObject
* obj1
= 0 ;
15680 PyObject
* obj2
= 0 ;
15681 PyObject
* obj3
= 0 ;
15682 char * kwnames
[] = {
15683 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15688 if (!SWIG_IsOK(res1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15694 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15698 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15700 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15701 if (!SWIG_IsOK(ecode4
)) {
15702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15704 arg4
= static_cast< double >(val4
);
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_Py_Void();
15718 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
= 0;
15720 wxDC
*arg1
= (wxDC
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 PyObject
* obj2
= 0 ;
15735 PyObject
* obj3
= 0 ;
15736 char * kwnames
[] = {
15737 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15742 if (!SWIG_IsOK(res1
)) {
15743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15747 if (!SWIG_IsOK(ecode2
)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15750 arg2
= static_cast< int >(val2
);
15751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15752 if (!SWIG_IsOK(ecode3
)) {
15753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15755 arg3
= static_cast< int >(val3
);
15756 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15757 if (!SWIG_IsOK(ecode4
)) {
15758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15760 arg4
= static_cast< int >(val4
);
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_Py_Void();
15774 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
= 0;
15776 wxDC
*arg1
= (wxDC
*) 0 ;
15777 wxPoint
*arg2
= 0 ;
15784 PyObject
* obj0
= 0 ;
15785 PyObject
* obj1
= 0 ;
15786 PyObject
* obj2
= 0 ;
15787 char * kwnames
[] = {
15788 (char *) "self",(char *) "pt",(char *) "radius", NULL
15791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15793 if (!SWIG_IsOK(res1
)) {
15794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15802 if (!SWIG_IsOK(ecode3
)) {
15803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15805 arg3
= static_cast< int >(val3
);
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= SWIG_Py_Void();
15819 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
= 0;
15821 wxDC
*arg1
= (wxDC
*) 0 ;
15836 PyObject
* obj0
= 0 ;
15837 PyObject
* obj1
= 0 ;
15838 PyObject
* obj2
= 0 ;
15839 PyObject
* obj3
= 0 ;
15840 PyObject
* obj4
= 0 ;
15841 char * kwnames
[] = {
15842 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15852 if (!SWIG_IsOK(ecode2
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15855 arg2
= static_cast< int >(val2
);
15856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15857 if (!SWIG_IsOK(ecode3
)) {
15858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15860 arg3
= static_cast< int >(val3
);
15861 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15862 if (!SWIG_IsOK(ecode4
)) {
15863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15865 arg4
= static_cast< int >(val4
);
15866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15867 if (!SWIG_IsOK(ecode5
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15870 arg5
= static_cast< int >(val5
);
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_Py_Void();
15884 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
= 0;
15886 wxDC
*arg1
= (wxDC
*) 0 ;
15891 PyObject
* obj0
= 0 ;
15892 PyObject
* obj1
= 0 ;
15893 char * kwnames
[] = {
15894 (char *) "self",(char *) "rect", NULL
15897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15899 if (!SWIG_IsOK(res1
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15905 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_Py_Void();
15920 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
= 0;
15922 wxDC
*arg1
= (wxDC
*) 0 ;
15923 wxPoint
*arg2
= 0 ;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 PyObject
* obj2
= 0 ;
15932 char * kwnames
[] = {
15933 (char *) "self",(char *) "pt",(char *) "sz", NULL
15936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15938 if (!SWIG_IsOK(res1
)) {
15939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15948 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15952 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= SWIG_Py_Void();
15963 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
= 0;
15965 wxDC
*arg1
= (wxDC
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 PyObject
* obj2
= 0 ;
15980 PyObject
* obj3
= 0 ;
15981 char * kwnames
[] = {
15982 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
15985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15987 if (!SWIG_IsOK(res1
)) {
15988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
15990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15992 if (!SWIG_IsOK(res2
)) {
15993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15998 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16000 if (!SWIG_IsOK(ecode3
)) {
16001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16003 arg3
= static_cast< int >(val3
);
16004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16005 if (!SWIG_IsOK(ecode4
)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16008 arg4
= static_cast< int >(val4
);
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_Py_Void();
16022 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
= 0;
16024 wxDC
*arg1
= (wxDC
*) 0 ;
16026 wxPoint
*arg3
= 0 ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 PyObject
* obj2
= 0 ;
16035 char * kwnames
[] = {
16036 (char *) "self",(char *) "icon",(char *) "pt", NULL
16039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16041 if (!SWIG_IsOK(res1
)) {
16042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16046 if (!SWIG_IsOK(res2
)) {
16047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16052 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16055 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= SWIG_Py_Void();
16070 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
= 0;
16072 wxDC
*arg1
= (wxDC
*) 0 ;
16073 wxBitmap
*arg2
= 0 ;
16076 bool arg5
= (bool) false ;
16087 PyObject
* obj0
= 0 ;
16088 PyObject
* obj1
= 0 ;
16089 PyObject
* obj2
= 0 ;
16090 PyObject
* obj3
= 0 ;
16091 PyObject
* obj4
= 0 ;
16092 char * kwnames
[] = {
16093 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16098 if (!SWIG_IsOK(res1
)) {
16099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16103 if (!SWIG_IsOK(res2
)) {
16104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16109 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16111 if (!SWIG_IsOK(ecode3
)) {
16112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16114 arg3
= static_cast< int >(val3
);
16115 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16116 if (!SWIG_IsOK(ecode4
)) {
16117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16119 arg4
= static_cast< int >(val4
);
16121 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16122 if (!SWIG_IsOK(ecode5
)) {
16123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16125 arg5
= static_cast< bool >(val5
);
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_Py_Void();
16140 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
= 0;
16142 wxDC
*arg1
= (wxDC
*) 0 ;
16143 wxBitmap
*arg2
= 0 ;
16144 wxPoint
*arg3
= 0 ;
16145 bool arg4
= (bool) false ;
16153 PyObject
* obj0
= 0 ;
16154 PyObject
* obj1
= 0 ;
16155 PyObject
* obj2
= 0 ;
16156 PyObject
* obj3
= 0 ;
16157 char * kwnames
[] = {
16158 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16163 if (!SWIG_IsOK(res1
)) {
16164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16168 if (!SWIG_IsOK(res2
)) {
16169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16174 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16177 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16180 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16181 if (!SWIG_IsOK(ecode4
)) {
16182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16184 arg4
= static_cast< bool >(val4
);
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_Py_Void();
16199 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
= 0;
16201 wxDC
*arg1
= (wxDC
*) 0 ;
16202 wxString
*arg2
= 0 ;
16207 bool temp2
= false ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 PyObject
* obj2
= 0 ;
16215 PyObject
* obj3
= 0 ;
16216 char * kwnames
[] = {
16217 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16222 if (!SWIG_IsOK(res1
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16225 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16227 arg2
= wxString_in_helper(obj1
);
16228 if (arg2
== NULL
) SWIG_fail
;
16231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16232 if (!SWIG_IsOK(ecode3
)) {
16233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16235 arg3
= static_cast< int >(val3
);
16236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16237 if (!SWIG_IsOK(ecode4
)) {
16238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16240 arg4
= static_cast< int >(val4
);
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= SWIG_Py_Void();
16262 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= 0;
16264 wxDC
*arg1
= (wxDC
*) 0 ;
16265 wxString
*arg2
= 0 ;
16266 wxPoint
*arg3
= 0 ;
16269 bool temp2
= false ;
16271 PyObject
* obj0
= 0 ;
16272 PyObject
* obj1
= 0 ;
16273 PyObject
* obj2
= 0 ;
16274 char * kwnames
[] = {
16275 (char *) "self",(char *) "text",(char *) "pt", NULL
16278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16280 if (!SWIG_IsOK(res1
)) {
16281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16285 arg2
= wxString_in_helper(obj1
);
16286 if (arg2
== NULL
) SWIG_fail
;
16291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= SWIG_Py_Void();
16314 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
= 0;
16316 wxDC
*arg1
= (wxDC
*) 0 ;
16317 wxString
*arg2
= 0 ;
16323 bool temp2
= false ;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 PyObject
* obj2
= 0 ;
16333 PyObject
* obj3
= 0 ;
16334 PyObject
* obj4
= 0 ;
16335 char * kwnames
[] = {
16336 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16341 if (!SWIG_IsOK(res1
)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16346 arg2
= wxString_in_helper(obj1
);
16347 if (arg2
== NULL
) SWIG_fail
;
16350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16351 if (!SWIG_IsOK(ecode3
)) {
16352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16354 arg3
= static_cast< int >(val3
);
16355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16356 if (!SWIG_IsOK(ecode4
)) {
16357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16359 arg4
= static_cast< int >(val4
);
16360 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16361 if (!SWIG_IsOK(ecode5
)) {
16362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16364 arg5
= static_cast< double >(val5
);
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= SWIG_Py_Void();
16386 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
= 0;
16388 wxDC
*arg1
= (wxDC
*) 0 ;
16389 wxString
*arg2
= 0 ;
16390 wxPoint
*arg3
= 0 ;
16394 bool temp2
= false ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 PyObject
* obj2
= 0 ;
16401 PyObject
* obj3
= 0 ;
16402 char * kwnames
[] = {
16403 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16408 if (!SWIG_IsOK(res1
)) {
16409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16413 arg2
= wxString_in_helper(obj1
);
16414 if (arg2
== NULL
) SWIG_fail
;
16419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16421 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16422 if (!SWIG_IsOK(ecode4
)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16425 arg4
= static_cast< double >(val4
);
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= SWIG_Py_Void();
16447 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
= 0;
16449 wxDC
*arg1
= (wxDC
*) 0 ;
16454 wxDC
*arg6
= (wxDC
*) 0 ;
16457 int arg9
= (int) wxCOPY
;
16458 bool arg10
= (bool) false ;
16459 int arg11
= (int) -1 ;
16460 int arg12
= (int) -1 ;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 PyObject
* obj2
= 0 ;
16489 PyObject
* obj3
= 0 ;
16490 PyObject
* obj4
= 0 ;
16491 PyObject
* obj5
= 0 ;
16492 PyObject
* obj6
= 0 ;
16493 PyObject
* obj7
= 0 ;
16494 PyObject
* obj8
= 0 ;
16495 PyObject
* obj9
= 0 ;
16496 PyObject
* obj10
= 0 ;
16497 PyObject
* obj11
= 0 ;
16498 char * kwnames
[] = {
16499 (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
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) SWIG_fail
;
16503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16509 if (!SWIG_IsOK(ecode2
)) {
16510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16512 arg2
= static_cast< int >(val2
);
16513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16514 if (!SWIG_IsOK(ecode3
)) {
16515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16517 arg3
= static_cast< int >(val3
);
16518 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16519 if (!SWIG_IsOK(ecode4
)) {
16520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16522 arg4
= static_cast< int >(val4
);
16523 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16524 if (!SWIG_IsOK(ecode5
)) {
16525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16527 arg5
= static_cast< int >(val5
);
16528 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16529 if (!SWIG_IsOK(res6
)) {
16530 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16532 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16533 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16534 if (!SWIG_IsOK(ecode7
)) {
16535 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16537 arg7
= static_cast< int >(val7
);
16538 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16539 if (!SWIG_IsOK(ecode8
)) {
16540 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16542 arg8
= static_cast< int >(val8
);
16544 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16545 if (!SWIG_IsOK(ecode9
)) {
16546 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16548 arg9
= static_cast< int >(val9
);
16551 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16552 if (!SWIG_IsOK(ecode10
)) {
16553 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16555 arg10
= static_cast< bool >(val10
);
16558 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16559 if (!SWIG_IsOK(ecode11
)) {
16560 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16562 arg11
= static_cast< int >(val11
);
16565 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16566 if (!SWIG_IsOK(ecode12
)) {
16567 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16569 arg12
= static_cast< int >(val12
);
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16586 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
= 0;
16588 wxDC
*arg1
= (wxDC
*) 0 ;
16589 wxPoint
*arg2
= 0 ;
16591 wxDC
*arg4
= (wxDC
*) 0 ;
16592 wxPoint
*arg5
= 0 ;
16593 int arg6
= (int) wxCOPY
;
16594 bool arg7
= (bool) false ;
16595 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16596 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 PyObject
* obj3
= 0 ;
16614 PyObject
* obj4
= 0 ;
16615 PyObject
* obj5
= 0 ;
16616 PyObject
* obj6
= 0 ;
16617 PyObject
* obj7
= 0 ;
16618 char * kwnames
[] = {
16619 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16624 if (!SWIG_IsOK(res1
)) {
16625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16634 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16636 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16637 if (!SWIG_IsOK(res4
)) {
16638 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16640 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16643 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16646 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16647 if (!SWIG_IsOK(ecode6
)) {
16648 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16650 arg6
= static_cast< int >(val6
);
16653 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16654 if (!SWIG_IsOK(ecode7
)) {
16655 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16657 arg7
= static_cast< bool >(val7
);
16662 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16680 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
= 0;
16682 wxDC
*arg1
= (wxDC
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 PyObject
* obj2
= 0 ;
16700 PyObject
* obj3
= 0 ;
16701 PyObject
* obj4
= 0 ;
16702 char * kwnames
[] = {
16703 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16713 if (!SWIG_IsOK(ecode2
)) {
16714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16716 arg2
= static_cast< int >(val2
);
16717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16718 if (!SWIG_IsOK(ecode3
)) {
16719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16721 arg3
= static_cast< int >(val3
);
16722 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16723 if (!SWIG_IsOK(ecode4
)) {
16724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16726 arg4
= static_cast< int >(val4
);
16727 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16728 if (!SWIG_IsOK(ecode5
)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16731 arg5
= static_cast< int >(val5
);
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= SWIG_Py_Void();
16745 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
= 0;
16747 wxDC
*arg1
= (wxDC
*) 0 ;
16748 wxPoint
*arg2
= 0 ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 PyObject
* obj2
= 0 ;
16757 char * kwnames
[] = {
16758 (char *) "self",(char *) "pt",(char *) "sz", NULL
16761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16763 if (!SWIG_IsOK(res1
)) {
16764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16773 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= SWIG_Py_Void();
16788 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
= 0;
16790 wxDC
*arg1
= (wxDC
*) 0 ;
16791 wxRegion
*arg2
= 0 ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 char * kwnames
[] = {
16799 (char *) "self",(char *) "region", NULL
16802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16804 if (!SWIG_IsOK(res1
)) {
16805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16809 if (!SWIG_IsOK(res2
)) {
16810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16815 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= SWIG_Py_Void();
16829 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
= 0;
16831 wxDC
*arg1
= (wxDC
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 char * kwnames
[] = {
16839 (char *) "self",(char *) "rect", NULL
16842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16844 if (!SWIG_IsOK(res1
)) {
16845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16850 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= SWIG_Py_Void();
16865 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
= 0;
16867 wxDC
*arg1
= (wxDC
*) 0 ;
16869 wxPoint
*arg3
= (wxPoint
*) 0 ;
16870 int arg4
= (int) 0 ;
16871 int arg5
= (int) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 PyObject
* obj2
= 0 ;
16881 PyObject
* obj3
= 0 ;
16882 char * kwnames
[] = {
16883 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16888 if (!SWIG_IsOK(res1
)) {
16889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16893 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16894 if (arg3
== NULL
) SWIG_fail
;
16897 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16898 if (!SWIG_IsOK(ecode4
)) {
16899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16901 arg4
= static_cast< int >(val4
);
16904 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16905 if (!SWIG_IsOK(ecode5
)) {
16906 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16908 arg5
= static_cast< int >(val5
);
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_Py_Void();
16918 if (arg3
) delete [] arg3
;
16923 if (arg3
) delete [] arg3
;
16929 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
= 0;
16931 wxDC
*arg1
= (wxDC
*) 0 ;
16933 wxPoint
*arg3
= (wxPoint
*) 0 ;
16934 int arg4
= (int) 0 ;
16935 int arg5
= (int) 0 ;
16936 int arg6
= (int) wxODDEVEN_RULE
;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 PyObject
* obj2
= 0 ;
16948 PyObject
* obj3
= 0 ;
16949 PyObject
* obj4
= 0 ;
16950 char * kwnames
[] = {
16951 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
16954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16956 if (!SWIG_IsOK(res1
)) {
16957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
16959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16961 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16962 if (arg3
== NULL
) SWIG_fail
;
16965 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16966 if (!SWIG_IsOK(ecode4
)) {
16967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
16969 arg4
= static_cast< int >(val4
);
16972 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16973 if (!SWIG_IsOK(ecode5
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
16976 arg5
= static_cast< int >(val5
);
16979 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
16980 if (!SWIG_IsOK(ecode6
)) {
16981 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
16983 arg6
= static_cast< int >(val6
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_Py_Void();
16993 if (arg3
) delete [] arg3
;
16998 if (arg3
) delete [] arg3
;
17004 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= 0;
17006 wxDC
*arg1
= (wxDC
*) 0 ;
17007 wxString
*arg2
= 0 ;
17009 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17010 int arg5
= (int) -1 ;
17013 bool temp2
= false ;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 PyObject
* obj2
= 0 ;
17022 PyObject
* obj3
= 0 ;
17023 PyObject
* obj4
= 0 ;
17024 char * kwnames
[] = {
17025 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17030 if (!SWIG_IsOK(res1
)) {
17031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17035 arg2
= wxString_in_helper(obj1
);
17036 if (arg2
== NULL
) SWIG_fail
;
17041 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17045 if (!SWIG_IsOK(ecode4
)) {
17046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17048 arg4
= static_cast< int >(val4
);
17051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17052 if (!SWIG_IsOK(ecode5
)) {
17053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17055 arg5
= static_cast< int >(val5
);
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= SWIG_Py_Void();
17078 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
= 0;
17080 wxDC
*arg1
= (wxDC
*) 0 ;
17081 wxString
*arg2
= 0 ;
17082 wxBitmap
*arg3
= 0 ;
17084 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17085 int arg6
= (int) -1 ;
17089 bool temp2
= false ;
17097 PyObject
* obj0
= 0 ;
17098 PyObject
* obj1
= 0 ;
17099 PyObject
* obj2
= 0 ;
17100 PyObject
* obj3
= 0 ;
17101 PyObject
* obj4
= 0 ;
17102 PyObject
* obj5
= 0 ;
17103 char * kwnames
[] = {
17104 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17109 if (!SWIG_IsOK(res1
)) {
17110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17114 arg2
= wxString_in_helper(obj1
);
17115 if (arg2
== NULL
) SWIG_fail
;
17118 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17119 if (!SWIG_IsOK(res3
)) {
17120 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17125 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17128 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17131 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17132 if (!SWIG_IsOK(ecode5
)) {
17133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17135 arg5
= static_cast< int >(val5
);
17138 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17139 if (!SWIG_IsOK(ecode6
)) {
17140 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17142 arg6
= static_cast< int >(val6
);
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17165 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
= 0;
17167 wxDC
*arg1
= (wxDC
*) 0 ;
17169 wxPoint
*arg3
= (wxPoint
*) 0 ;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "self",(char *) "points", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17180 if (!SWIG_IsOK(res1
)) {
17181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17185 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17186 if (arg3
== NULL
) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 (arg1
)->DrawSpline(arg2
,arg3
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= SWIG_Py_Void();
17196 if (arg3
) delete [] arg3
;
17201 if (arg3
) delete [] arg3
;
17207 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17208 PyObject
*resultobj
= 0;
17209 wxDC
*arg1
= (wxDC
*) 0 ;
17212 PyObject
*swig_obj
[1] ;
17214 if (!args
) SWIG_fail
;
17215 swig_obj
[0] = args
;
17216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17217 if (!SWIG_IsOK(res1
)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= SWIG_Py_Void();
17234 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
= 0;
17236 wxDC
*arg1
= (wxDC
*) 0 ;
17237 wxString
*arg2
= 0 ;
17241 bool temp2
= false ;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 char * kwnames
[] = {
17245 (char *) "self",(char *) "message", NULL
17248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17250 if (!SWIG_IsOK(res1
)) {
17251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17255 arg2
= wxString_in_helper(obj1
);
17256 if (arg2
== NULL
) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17282 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17283 PyObject
*resultobj
= 0;
17284 wxDC
*arg1
= (wxDC
*) 0 ;
17287 PyObject
*swig_obj
[1] ;
17289 if (!args
) SWIG_fail
;
17290 swig_obj
[0] = args
;
17291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17292 if (!SWIG_IsOK(res1
)) {
17293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= SWIG_Py_Void();
17309 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17310 PyObject
*resultobj
= 0;
17311 wxDC
*arg1
= (wxDC
*) 0 ;
17314 PyObject
*swig_obj
[1] ;
17316 if (!args
) SWIG_fail
;
17317 swig_obj
[0] = args
;
17318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17319 if (!SWIG_IsOK(res1
)) {
17320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 (arg1
)->StartPage();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_Py_Void();
17336 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17337 PyObject
*resultobj
= 0;
17338 wxDC
*arg1
= (wxDC
*) 0 ;
17341 PyObject
*swig_obj
[1] ;
17343 if (!args
) SWIG_fail
;
17344 swig_obj
[0] = args
;
17345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_Py_Void();
17363 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
= 0;
17365 wxDC
*arg1
= (wxDC
*) 0 ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "self",(char *) "font", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17384 if (!SWIG_IsOK(res2
)) {
17385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17390 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 (arg1
)->SetFont((wxFont
const &)*arg2
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_Py_Void();
17404 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
= 0;
17406 wxDC
*arg1
= (wxDC
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 char * kwnames
[] = {
17415 (char *) "self",(char *) "pen", NULL
17418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17420 if (!SWIG_IsOK(res1
)) {
17421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17425 if (!SWIG_IsOK(res2
)) {
17426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17431 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 (arg1
)->SetPen((wxPen
const &)*arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_Py_Void();
17445 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
= 0;
17447 wxDC
*arg1
= (wxDC
*) 0 ;
17448 wxBrush
*arg2
= 0 ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char * kwnames
[] = {
17456 (char *) "self",(char *) "brush", NULL
17459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17461 if (!SWIG_IsOK(res1
)) {
17462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17466 if (!SWIG_IsOK(res2
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17472 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= SWIG_Py_Void();
17486 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
= 0;
17488 wxDC
*arg1
= (wxDC
*) 0 ;
17489 wxBrush
*arg2
= 0 ;
17494 PyObject
* obj0
= 0 ;
17495 PyObject
* obj1
= 0 ;
17496 char * kwnames
[] = {
17497 (char *) "self",(char *) "brush", NULL
17500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17502 if (!SWIG_IsOK(res1
)) {
17503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17507 if (!SWIG_IsOK(res2
)) {
17508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17513 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_Py_Void();
17527 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxDC
*arg1
= (wxDC
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char * kwnames
[] = {
17538 (char *) "self",(char *) "mode", NULL
17541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17543 if (!SWIG_IsOK(res1
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17548 if (!SWIG_IsOK(ecode2
)) {
17549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17551 arg2
= static_cast< int >(val2
);
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 (arg1
)->SetBackgroundMode(arg2
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_Py_Void();
17565 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
= 0;
17567 wxDC
*arg1
= (wxDC
*) 0 ;
17568 wxPalette
*arg2
= 0 ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 char * kwnames
[] = {
17576 (char *) "self",(char *) "palette", NULL
17579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17581 if (!SWIG_IsOK(res1
)) {
17582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17586 if (!SWIG_IsOK(res2
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17592 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= SWIG_Py_Void();
17606 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17607 PyObject
*resultobj
= 0;
17608 wxDC
*arg1
= (wxDC
*) 0 ;
17611 PyObject
*swig_obj
[1] ;
17613 if (!args
) SWIG_fail
;
17614 swig_obj
[0] = args
;
17615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17616 if (!SWIG_IsOK(res1
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 (arg1
)->DestroyClippingRegion();
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_Py_Void();
17633 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17634 PyObject
*resultobj
= 0;
17635 wxDC
*arg1
= (wxDC
*) 0 ;
17636 int *arg2
= (int *) 0 ;
17637 int *arg3
= (int *) 0 ;
17638 int *arg4
= (int *) 0 ;
17639 int *arg5
= (int *) 0 ;
17643 int res2
= SWIG_TMPOBJ
;
17645 int res3
= SWIG_TMPOBJ
;
17647 int res4
= SWIG_TMPOBJ
;
17649 int res5
= SWIG_TMPOBJ
;
17650 PyObject
*swig_obj
[1] ;
17656 if (!args
) SWIG_fail
;
17657 swig_obj
[0] = args
;
17658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17659 if (!SWIG_IsOK(res1
)) {
17660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= SWIG_Py_Void();
17670 if (SWIG_IsTmpObj(res2
)) {
17671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17673 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17676 if (SWIG_IsTmpObj(res3
)) {
17677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17679 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17682 if (SWIG_IsTmpObj(res4
)) {
17683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17685 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17688 if (SWIG_IsTmpObj(res5
)) {
17689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17691 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17700 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17701 PyObject
*resultobj
= 0;
17702 wxDC
*arg1
= (wxDC
*) 0 ;
17706 PyObject
*swig_obj
[1] ;
17708 if (!args
) SWIG_fail
;
17709 swig_obj
[0] = args
;
17710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17711 if (!SWIG_IsOK(res1
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= wxDC_GetClippingRect(arg1
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17728 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17729 PyObject
*resultobj
= 0;
17730 wxDC
*arg1
= (wxDC
*) 0 ;
17734 PyObject
*swig_obj
[1] ;
17736 if (!args
) SWIG_fail
;
17737 swig_obj
[0] = args
;
17738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17739 if (!SWIG_IsOK(res1
)) {
17740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_From_int(static_cast< int >(result
));
17756 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17757 PyObject
*resultobj
= 0;
17758 wxDC
*arg1
= (wxDC
*) 0 ;
17762 PyObject
*swig_obj
[1] ;
17764 if (!args
) SWIG_fail
;
17765 swig_obj
[0] = args
;
17766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17767 if (!SWIG_IsOK(res1
)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_From_int(static_cast< int >(result
));
17784 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
= 0;
17786 wxDC
*arg1
= (wxDC
*) 0 ;
17787 wxString
*arg2
= 0 ;
17788 int *arg3
= (int *) 0 ;
17789 int *arg4
= (int *) 0 ;
17792 bool temp2
= false ;
17794 int res3
= SWIG_TMPOBJ
;
17796 int res4
= SWIG_TMPOBJ
;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 char * kwnames
[] = {
17800 (char *) "self",(char *) "string", NULL
17805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17807 if (!SWIG_IsOK(res1
)) {
17808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17812 arg2
= wxString_in_helper(obj1
);
17813 if (arg2
== NULL
) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= SWIG_Py_Void();
17823 if (SWIG_IsTmpObj(res3
)) {
17824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17826 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17829 if (SWIG_IsTmpObj(res4
)) {
17830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17832 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17849 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
= 0;
17851 wxDC
*arg1
= (wxDC
*) 0 ;
17852 wxString
*arg2
= 0 ;
17853 int *arg3
= (int *) 0 ;
17854 int *arg4
= (int *) 0 ;
17855 int *arg5
= (int *) 0 ;
17856 int *arg6
= (int *) 0 ;
17857 wxFont
*arg7
= (wxFont
*) NULL
;
17860 bool temp2
= false ;
17862 int res3
= SWIG_TMPOBJ
;
17864 int res4
= SWIG_TMPOBJ
;
17866 int res5
= SWIG_TMPOBJ
;
17868 int res6
= SWIG_TMPOBJ
;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 PyObject
* obj2
= 0 ;
17874 char * kwnames
[] = {
17875 (char *) "self",(char *) "string",(char *) "font", NULL
17882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17884 if (!SWIG_IsOK(res1
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17889 arg2
= wxString_in_helper(obj1
);
17890 if (arg2
== NULL
) SWIG_fail
;
17894 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17895 if (!SWIG_IsOK(res7
)) {
17896 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17898 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= SWIG_Py_Void();
17907 if (SWIG_IsTmpObj(res3
)) {
17908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17910 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17913 if (SWIG_IsTmpObj(res4
)) {
17914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17916 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17919 if (SWIG_IsTmpObj(res5
)) {
17920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17922 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17925 if (SWIG_IsTmpObj(res6
)) {
17926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
17928 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
17945 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
= 0;
17947 wxDC
*arg1
= (wxDC
*) 0 ;
17948 wxString
*arg2
= 0 ;
17949 int *arg3
= (int *) 0 ;
17950 int *arg4
= (int *) 0 ;
17951 int *arg5
= (int *) 0 ;
17952 wxFont
*arg6
= (wxFont
*) NULL
;
17955 bool temp2
= false ;
17957 int res3
= SWIG_TMPOBJ
;
17959 int res4
= SWIG_TMPOBJ
;
17961 int res5
= SWIG_TMPOBJ
;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 PyObject
* obj2
= 0 ;
17967 char * kwnames
[] = {
17968 (char *) "self",(char *) "text",(char *) "font", NULL
17974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17981 arg2
= wxString_in_helper(obj1
);
17982 if (arg2
== NULL
) SWIG_fail
;
17986 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
17987 if (!SWIG_IsOK(res6
)) {
17988 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
17990 arg6
= reinterpret_cast< wxFont
* >(argp6
);
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_Py_Void();
17999 if (SWIG_IsTmpObj(res3
)) {
18000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18002 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18005 if (SWIG_IsTmpObj(res4
)) {
18006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18008 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18011 if (SWIG_IsTmpObj(res5
)) {
18012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18014 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18031 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
= 0;
18033 wxDC
*arg1
= (wxDC
*) 0 ;
18034 wxString
*arg2
= 0 ;
18038 bool temp2
= false ;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 char * kwnames
[] = {
18042 (char *) "self",(char *) "text", NULL
18045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18052 arg2
= wxString_in_helper(obj1
);
18053 if (arg2
== NULL
) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= PyList_New(0);
18065 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18066 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18067 PyList_Append(resultobj
, val
);
18085 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18086 PyObject
*resultobj
= 0;
18087 wxDC
*arg1
= (wxDC
*) 0 ;
18091 PyObject
*swig_obj
[1] ;
18093 if (!args
) SWIG_fail
;
18094 swig_obj
[0] = args
;
18095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18096 if (!SWIG_IsOK(res1
)) {
18097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (arg1
)->GetSize();
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18113 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18114 PyObject
*resultobj
= 0;
18115 wxDC
*arg1
= (wxDC
*) 0 ;
18116 int *arg2
= (int *) 0 ;
18117 int *arg3
= (int *) 0 ;
18121 int res2
= SWIG_TMPOBJ
;
18123 int res3
= SWIG_TMPOBJ
;
18124 PyObject
*swig_obj
[1] ;
18128 if (!args
) SWIG_fail
;
18129 swig_obj
[0] = args
;
18130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18131 if (!SWIG_IsOK(res1
)) {
18132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18134 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 (arg1
)->GetSize(arg2
,arg3
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_Py_Void();
18142 if (SWIG_IsTmpObj(res2
)) {
18143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18145 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18148 if (SWIG_IsTmpObj(res3
)) {
18149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18151 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18160 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18161 PyObject
*resultobj
= 0;
18162 wxDC
*arg1
= (wxDC
*) 0 ;
18166 PyObject
*swig_obj
[1] ;
18168 if (!args
) SWIG_fail
;
18169 swig_obj
[0] = args
;
18170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18188 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18189 PyObject
*resultobj
= 0;
18190 wxDC
*arg1
= (wxDC
*) 0 ;
18191 int *arg2
= (int *) 0 ;
18192 int *arg3
= (int *) 0 ;
18196 int res2
= SWIG_TMPOBJ
;
18198 int res3
= SWIG_TMPOBJ
;
18199 PyObject
*swig_obj
[1] ;
18203 if (!args
) SWIG_fail
;
18204 swig_obj
[0] = args
;
18205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_Py_Void();
18217 if (SWIG_IsTmpObj(res2
)) {
18218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18220 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18223 if (SWIG_IsTmpObj(res3
)) {
18224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18235 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
= 0;
18237 wxDC
*arg1
= (wxDC
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 PyObject
* obj1
= 0 ;
18246 char * kwnames
[] = {
18247 (char *) "self",(char *) "x", NULL
18250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18252 if (!SWIG_IsOK(res1
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18257 if (!SWIG_IsOK(ecode2
)) {
18258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18260 arg2
= static_cast< int >(val2
);
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= SWIG_From_int(static_cast< int >(result
));
18274 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
= 0;
18276 wxDC
*arg1
= (wxDC
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char * kwnames
[] = {
18286 (char *) "self",(char *) "y", NULL
18289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18291 if (!SWIG_IsOK(res1
)) {
18292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18296 if (!SWIG_IsOK(ecode2
)) {
18297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18299 arg2
= static_cast< int >(val2
);
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_From_int(static_cast< int >(result
));
18313 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
= 0;
18315 wxDC
*arg1
= (wxDC
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 char * kwnames
[] = {
18325 (char *) "self",(char *) "x", NULL
18328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18330 if (!SWIG_IsOK(res1
)) {
18331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18335 if (!SWIG_IsOK(ecode2
)) {
18336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18338 arg2
= static_cast< int >(val2
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_From_int(static_cast< int >(result
));
18352 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
= 0;
18354 wxDC
*arg1
= (wxDC
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 PyObject
* obj1
= 0 ;
18363 char * kwnames
[] = {
18364 (char *) "self",(char *) "y", NULL
18367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18369 if (!SWIG_IsOK(res1
)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18374 if (!SWIG_IsOK(ecode2
)) {
18375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18377 arg2
= static_cast< int >(val2
);
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_From_int(static_cast< int >(result
));
18391 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
= 0;
18393 wxDC
*arg1
= (wxDC
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 char * kwnames
[] = {
18403 (char *) "self",(char *) "x", NULL
18406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18408 if (!SWIG_IsOK(res1
)) {
18409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18413 if (!SWIG_IsOK(ecode2
)) {
18414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18416 arg2
= static_cast< int >(val2
);
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_From_int(static_cast< int >(result
));
18430 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
= 0;
18432 wxDC
*arg1
= (wxDC
*) 0 ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 char * kwnames
[] = {
18442 (char *) "self",(char *) "y", NULL
18445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18447 if (!SWIG_IsOK(res1
)) {
18448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18452 if (!SWIG_IsOK(ecode2
)) {
18453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18455 arg2
= static_cast< int >(val2
);
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_From_int(static_cast< int >(result
));
18469 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
= 0;
18471 wxDC
*arg1
= (wxDC
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 PyObject
* obj1
= 0 ;
18480 char * kwnames
[] = {
18481 (char *) "self",(char *) "x", NULL
18484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18486 if (!SWIG_IsOK(res1
)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18491 if (!SWIG_IsOK(ecode2
)) {
18492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18494 arg2
= static_cast< int >(val2
);
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_From_int(static_cast< int >(result
));
18508 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
= 0;
18510 wxDC
*arg1
= (wxDC
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 PyObject
* obj1
= 0 ;
18519 char * kwnames
[] = {
18520 (char *) "self",(char *) "y", NULL
18523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18525 if (!SWIG_IsOK(res1
)) {
18526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18528 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18530 if (!SWIG_IsOK(ecode2
)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18533 arg2
= static_cast< int >(val2
);
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_From_int(static_cast< int >(result
));
18547 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18548 PyObject
*resultobj
= 0;
18549 wxDC
*arg1
= (wxDC
*) 0 ;
18553 PyObject
*swig_obj
[1] ;
18555 if (!args
) SWIG_fail
;
18556 swig_obj
[0] = args
;
18557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18558 if (!SWIG_IsOK(res1
)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18577 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18578 PyObject
*resultobj
= 0;
18579 wxDC
*arg1
= (wxDC
*) 0 ;
18583 PyObject
*swig_obj
[1] ;
18585 if (!args
) SWIG_fail
;
18586 swig_obj
[0] = args
;
18587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18607 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18608 PyObject
*resultobj
= 0;
18609 wxDC
*arg1
= (wxDC
*) 0 ;
18613 PyObject
*swig_obj
[1] ;
18615 if (!args
) SWIG_fail
;
18616 swig_obj
[0] = args
;
18617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18618 if (!SWIG_IsOK(res1
)) {
18619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_From_int(static_cast< int >(result
));
18635 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18636 PyObject
*resultobj
= 0;
18637 wxDC
*arg1
= (wxDC
*) 0 ;
18641 PyObject
*swig_obj
[1] ;
18643 if (!args
) SWIG_fail
;
18644 swig_obj
[0] = args
;
18645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18646 if (!SWIG_IsOK(res1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18649 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= ((wxDC
const *)arg1
)->GetPPI();
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18663 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18664 PyObject
*resultobj
= 0;
18665 wxDC
*arg1
= (wxDC
*) 0 ;
18669 PyObject
*swig_obj
[1] ;
18671 if (!args
) SWIG_fail
;
18672 swig_obj
[0] = args
;
18673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18674 if (!SWIG_IsOK(res1
)) {
18675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (bool)((wxDC
const *)arg1
)->Ok();
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18693 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18694 PyObject
*resultobj
= 0;
18695 wxDC
*arg1
= (wxDC
*) 0 ;
18699 PyObject
*swig_obj
[1] ;
18701 if (!args
) SWIG_fail
;
18702 swig_obj
[0] = args
;
18703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18704 if (!SWIG_IsOK(res1
)) {
18705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_From_int(static_cast< int >(result
));
18721 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18722 PyObject
*resultobj
= 0;
18723 wxDC
*arg1
= (wxDC
*) 0 ;
18724 wxBrush
*result
= 0 ;
18727 PyObject
*swig_obj
[1] ;
18729 if (!args
) SWIG_fail
;
18730 swig_obj
[0] = args
;
18731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18732 if (!SWIG_IsOK(res1
)) {
18733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18740 result
= (wxBrush
*) &_result_ref
;
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18746 wxBrush
* resultptr
= new wxBrush(*result
);
18747 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18755 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18756 PyObject
*resultobj
= 0;
18757 wxDC
*arg1
= (wxDC
*) 0 ;
18758 wxBrush
*result
= 0 ;
18761 PyObject
*swig_obj
[1] ;
18763 if (!args
) SWIG_fail
;
18764 swig_obj
[0] = args
;
18765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18766 if (!SWIG_IsOK(res1
)) {
18767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18774 result
= (wxBrush
*) &_result_ref
;
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18780 wxBrush
* resultptr
= new wxBrush(*result
);
18781 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18789 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18790 PyObject
*resultobj
= 0;
18791 wxDC
*arg1
= (wxDC
*) 0 ;
18792 wxFont
*result
= 0 ;
18795 PyObject
*swig_obj
[1] ;
18797 if (!args
) SWIG_fail
;
18798 swig_obj
[0] = args
;
18799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18808 result
= (wxFont
*) &_result_ref
;
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 wxFont
* resultptr
= new wxFont(*result
);
18815 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18823 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18824 PyObject
*resultobj
= 0;
18825 wxDC
*arg1
= (wxDC
*) 0 ;
18826 wxPen
*result
= 0 ;
18829 PyObject
*swig_obj
[1] ;
18831 if (!args
) SWIG_fail
;
18832 swig_obj
[0] = args
;
18833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18834 if (!SWIG_IsOK(res1
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18842 result
= (wxPen
*) &_result_ref
;
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18848 wxPen
* resultptr
= new wxPen(*result
);
18849 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18857 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18858 PyObject
*resultobj
= 0;
18859 wxDC
*arg1
= (wxDC
*) 0 ;
18860 wxColour
*result
= 0 ;
18863 PyObject
*swig_obj
[1] ;
18865 if (!args
) SWIG_fail
;
18866 swig_obj
[0] = args
;
18867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18868 if (!SWIG_IsOK(res1
)) {
18869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18876 result
= (wxColour
*) &_result_ref
;
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18888 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18889 PyObject
*resultobj
= 0;
18890 wxDC
*arg1
= (wxDC
*) 0 ;
18891 wxColour
*result
= 0 ;
18894 PyObject
*swig_obj
[1] ;
18896 if (!args
) SWIG_fail
;
18897 swig_obj
[0] = args
;
18898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18899 if (!SWIG_IsOK(res1
)) {
18900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18907 result
= (wxColour
*) &_result_ref
;
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18919 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
= 0;
18921 wxDC
*arg1
= (wxDC
*) 0 ;
18922 wxColour
*arg2
= 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 char * kwnames
[] = {
18929 (char *) "self",(char *) "colour", NULL
18932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18934 if (!SWIG_IsOK(res1
)) {
18935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
18937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18940 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= SWIG_Py_Void();
18955 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
= 0;
18957 wxDC
*arg1
= (wxDC
*) 0 ;
18958 wxColour
*arg2
= 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char * kwnames
[] = {
18965 (char *) "self",(char *) "colour", NULL
18968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18970 if (!SWIG_IsOK(res1
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18976 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= SWIG_Py_Void();
18991 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18992 PyObject
*resultobj
= 0;
18993 wxDC
*arg1
= (wxDC
*) 0 ;
18997 PyObject
*swig_obj
[1] ;
18999 if (!args
) SWIG_fail
;
19000 swig_obj
[0] = args
;
19001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19002 if (!SWIG_IsOK(res1
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= SWIG_From_int(static_cast< int >(result
));
19019 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
= 0;
19021 wxDC
*arg1
= (wxDC
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 PyObject
* obj1
= 0 ;
19029 char * kwnames
[] = {
19030 (char *) "self",(char *) "mode", NULL
19033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19035 if (!SWIG_IsOK(res1
)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19040 if (!SWIG_IsOK(ecode2
)) {
19041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19043 arg2
= static_cast< int >(val2
);
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 (arg1
)->SetMapMode(arg2
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= SWIG_Py_Void();
19057 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19058 PyObject
*resultobj
= 0;
19059 wxDC
*arg1
= (wxDC
*) 0 ;
19060 double *arg2
= (double *) 0 ;
19061 double *arg3
= (double *) 0 ;
19065 int res2
= SWIG_TMPOBJ
;
19067 int res3
= SWIG_TMPOBJ
;
19068 PyObject
*swig_obj
[1] ;
19072 if (!args
) SWIG_fail
;
19073 swig_obj
[0] = args
;
19074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19075 if (!SWIG_IsOK(res1
)) {
19076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_Py_Void();
19086 if (SWIG_IsTmpObj(res2
)) {
19087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19089 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19092 if (SWIG_IsTmpObj(res3
)) {
19093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19095 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19104 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
= 0;
19106 wxDC
*arg1
= (wxDC
*) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 PyObject
* obj1
= 0 ;
19117 PyObject
* obj2
= 0 ;
19118 char * kwnames
[] = {
19119 (char *) "self",(char *) "x",(char *) "y", NULL
19122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19124 if (!SWIG_IsOK(res1
)) {
19125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19128 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19129 if (!SWIG_IsOK(ecode2
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19132 arg2
= static_cast< double >(val2
);
19133 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19134 if (!SWIG_IsOK(ecode3
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19137 arg3
= static_cast< double >(val3
);
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 (arg1
)->SetUserScale(arg2
,arg3
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_Py_Void();
19151 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19152 PyObject
*resultobj
= 0;
19153 wxDC
*arg1
= (wxDC
*) 0 ;
19154 double *arg2
= (double *) 0 ;
19155 double *arg3
= (double *) 0 ;
19159 int res2
= SWIG_TMPOBJ
;
19161 int res3
= SWIG_TMPOBJ
;
19162 PyObject
*swig_obj
[1] ;
19166 if (!args
) SWIG_fail
;
19167 swig_obj
[0] = args
;
19168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19169 if (!SWIG_IsOK(res1
)) {
19170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 (arg1
)->GetLogicalScale(arg2
,arg3
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= SWIG_Py_Void();
19180 if (SWIG_IsTmpObj(res2
)) {
19181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19183 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19186 if (SWIG_IsTmpObj(res3
)) {
19187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19189 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19198 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
= 0;
19200 wxDC
*arg1
= (wxDC
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 PyObject
* obj1
= 0 ;
19211 PyObject
* obj2
= 0 ;
19212 char * kwnames
[] = {
19213 (char *) "self",(char *) "x",(char *) "y", NULL
19216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19218 if (!SWIG_IsOK(res1
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19222 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19223 if (!SWIG_IsOK(ecode2
)) {
19224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19226 arg2
= static_cast< double >(val2
);
19227 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19228 if (!SWIG_IsOK(ecode3
)) {
19229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19231 arg3
= static_cast< double >(val3
);
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 (arg1
)->SetLogicalScale(arg2
,arg3
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_Py_Void();
19245 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19246 PyObject
*resultobj
= 0;
19247 wxDC
*arg1
= (wxDC
*) 0 ;
19251 PyObject
*swig_obj
[1] ;
19253 if (!args
) SWIG_fail
;
19254 swig_obj
[0] = args
;
19255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19256 if (!SWIG_IsOK(res1
)) {
19257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19273 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19274 PyObject
*resultobj
= 0;
19275 wxDC
*arg1
= (wxDC
*) 0 ;
19276 int *arg2
= (int *) 0 ;
19277 int *arg3
= (int *) 0 ;
19281 int res2
= SWIG_TMPOBJ
;
19283 int res3
= SWIG_TMPOBJ
;
19284 PyObject
*swig_obj
[1] ;
19288 if (!args
) SWIG_fail
;
19289 swig_obj
[0] = args
;
19290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= SWIG_Py_Void();
19302 if (SWIG_IsTmpObj(res2
)) {
19303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19305 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19308 if (SWIG_IsTmpObj(res3
)) {
19309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19311 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19320 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxDC
*arg1
= (wxDC
*) 0 ;
19331 PyObject
* obj0
= 0 ;
19332 PyObject
* obj1
= 0 ;
19333 PyObject
* obj2
= 0 ;
19334 char * kwnames
[] = {
19335 (char *) "self",(char *) "x",(char *) "y", NULL
19338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19340 if (!SWIG_IsOK(res1
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19345 if (!SWIG_IsOK(ecode2
)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19348 arg2
= static_cast< int >(val2
);
19349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19350 if (!SWIG_IsOK(ecode3
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19353 arg3
= static_cast< int >(val3
);
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= SWIG_Py_Void();
19367 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
= 0;
19369 wxDC
*arg1
= (wxDC
*) 0 ;
19370 wxPoint
*arg2
= 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char * kwnames
[] = {
19377 (char *) "self",(char *) "point", NULL
19380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19382 if (!SWIG_IsOK(res1
)) {
19383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_Py_Void();
19403 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19404 PyObject
*resultobj
= 0;
19405 wxDC
*arg1
= (wxDC
*) 0 ;
19409 PyObject
*swig_obj
[1] ;
19411 if (!args
) SWIG_fail
;
19412 swig_obj
[0] = args
;
19413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19414 if (!SWIG_IsOK(res1
)) {
19415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19431 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19432 PyObject
*resultobj
= 0;
19433 wxDC
*arg1
= (wxDC
*) 0 ;
19434 int *arg2
= (int *) 0 ;
19435 int *arg3
= (int *) 0 ;
19439 int res2
= SWIG_TMPOBJ
;
19441 int res3
= SWIG_TMPOBJ
;
19442 PyObject
*swig_obj
[1] ;
19446 if (!args
) SWIG_fail
;
19447 swig_obj
[0] = args
;
19448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19449 if (!SWIG_IsOK(res1
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_Py_Void();
19460 if (SWIG_IsTmpObj(res2
)) {
19461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19463 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19466 if (SWIG_IsTmpObj(res3
)) {
19467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19469 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19478 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
= 0;
19480 wxDC
*arg1
= (wxDC
*) 0 ;
19489 PyObject
* obj0
= 0 ;
19490 PyObject
* obj1
= 0 ;
19491 PyObject
* obj2
= 0 ;
19492 char * kwnames
[] = {
19493 (char *) "self",(char *) "x",(char *) "y", NULL
19496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19498 if (!SWIG_IsOK(res1
)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19503 if (!SWIG_IsOK(ecode2
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19506 arg2
= static_cast< int >(val2
);
19507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19508 if (!SWIG_IsOK(ecode3
)) {
19509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19511 arg3
= static_cast< int >(val3
);
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_Py_Void();
19525 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
= 0;
19527 wxDC
*arg1
= (wxDC
*) 0 ;
19528 wxPoint
*arg2
= 0 ;
19532 PyObject
* obj0
= 0 ;
19533 PyObject
* obj1
= 0 ;
19534 char * kwnames
[] = {
19535 (char *) "self",(char *) "point", NULL
19538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19540 if (!SWIG_IsOK(res1
)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_Py_Void();
19561 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
= 0;
19563 wxDC
*arg1
= (wxDC
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 PyObject
* obj2
= 0 ;
19575 char * kwnames
[] = {
19576 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19581 if (!SWIG_IsOK(res1
)) {
19582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19585 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19586 if (!SWIG_IsOK(ecode2
)) {
19587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19589 arg2
= static_cast< bool >(val2
);
19590 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19591 if (!SWIG_IsOK(ecode3
)) {
19592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19594 arg3
= static_cast< bool >(val3
);
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_Py_Void();
19608 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19609 PyObject
*resultobj
= 0;
19610 wxDC
*arg1
= (wxDC
*) 0 ;
19614 PyObject
*swig_obj
[1] ;
19616 if (!args
) SWIG_fail
;
19617 swig_obj
[0] = args
;
19618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19619 if (!SWIG_IsOK(res1
)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= SWIG_From_int(static_cast< int >(result
));
19636 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
= 0;
19638 wxDC
*arg1
= (wxDC
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 char * kwnames
[] = {
19647 (char *) "self",(char *) "function", NULL
19650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19652 if (!SWIG_IsOK(res1
)) {
19653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19657 if (!SWIG_IsOK(ecode2
)) {
19658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19660 arg2
= static_cast< int >(val2
);
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 (arg1
)->SetLogicalFunction(arg2
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_Py_Void();
19674 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19675 PyObject
*resultobj
= 0;
19676 wxDC
*arg1
= (wxDC
*) 0 ;
19679 PyObject
*swig_obj
[1] ;
19681 if (!args
) SWIG_fail
;
19682 swig_obj
[0] = args
;
19683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 (arg1
)->ComputeScaleAndOrigin();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_Py_Void();
19701 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
= 0;
19703 wxDC
*arg1
= (wxDC
*) 0 ;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 PyObject
* obj2
= 0 ;
19715 char * kwnames
[] = {
19716 (char *) "self",(char *) "x",(char *) "y", NULL
19719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19721 if (!SWIG_IsOK(res1
)) {
19722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19726 if (!SWIG_IsOK(ecode2
)) {
19727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19729 arg2
= static_cast< int >(val2
);
19730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19731 if (!SWIG_IsOK(ecode3
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19734 arg3
= static_cast< int >(val3
);
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_Py_Void();
19748 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
= 0;
19750 wxDC
*arg1
= (wxDC
*) 0 ;
19751 wxPoint
*arg2
= 0 ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "self",(char *) "point", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= SWIG_Py_Void();
19784 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19785 PyObject
*resultobj
= 0;
19786 wxDC
*arg1
= (wxDC
*) 0 ;
19789 PyObject
*swig_obj
[1] ;
19791 if (!args
) SWIG_fail
;
19792 swig_obj
[0] = args
;
19793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19794 if (!SWIG_IsOK(res1
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->ResetBoundingBox();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_Py_Void();
19811 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19812 PyObject
*resultobj
= 0;
19813 wxDC
*arg1
= (wxDC
*) 0 ;
19817 PyObject
*swig_obj
[1] ;
19819 if (!args
) SWIG_fail
;
19820 swig_obj
[0] = args
;
19821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19822 if (!SWIG_IsOK(res1
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (int)((wxDC
const *)arg1
)->MinX();
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19832 resultobj
= SWIG_From_int(static_cast< int >(result
));
19839 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19840 PyObject
*resultobj
= 0;
19841 wxDC
*arg1
= (wxDC
*) 0 ;
19845 PyObject
*swig_obj
[1] ;
19847 if (!args
) SWIG_fail
;
19848 swig_obj
[0] = args
;
19849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19850 if (!SWIG_IsOK(res1
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 result
= (int)((wxDC
const *)arg1
)->MaxX();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_From_int(static_cast< int >(result
));
19867 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19868 PyObject
*resultobj
= 0;
19869 wxDC
*arg1
= (wxDC
*) 0 ;
19873 PyObject
*swig_obj
[1] ;
19875 if (!args
) SWIG_fail
;
19876 swig_obj
[0] = args
;
19877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19878 if (!SWIG_IsOK(res1
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (int)((wxDC
const *)arg1
)->MinY();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= SWIG_From_int(static_cast< int >(result
));
19895 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19896 PyObject
*resultobj
= 0;
19897 wxDC
*arg1
= (wxDC
*) 0 ;
19901 PyObject
*swig_obj
[1] ;
19903 if (!args
) SWIG_fail
;
19904 swig_obj
[0] = args
;
19905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19906 if (!SWIG_IsOK(res1
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (int)((wxDC
const *)arg1
)->MaxY();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= SWIG_From_int(static_cast< int >(result
));
19923 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19924 PyObject
*resultobj
= 0;
19925 wxDC
*arg1
= (wxDC
*) 0 ;
19926 int *arg2
= (int *) 0 ;
19927 int *arg3
= (int *) 0 ;
19928 int *arg4
= (int *) 0 ;
19929 int *arg5
= (int *) 0 ;
19933 int res2
= SWIG_TMPOBJ
;
19935 int res3
= SWIG_TMPOBJ
;
19937 int res4
= SWIG_TMPOBJ
;
19939 int res5
= SWIG_TMPOBJ
;
19940 PyObject
*swig_obj
[1] ;
19946 if (!args
) SWIG_fail
;
19947 swig_obj
[0] = args
;
19948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19949 if (!SWIG_IsOK(res1
)) {
19950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_Py_Void();
19960 if (SWIG_IsTmpObj(res2
)) {
19961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19963 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19966 if (SWIG_IsTmpObj(res3
)) {
19967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19969 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19972 if (SWIG_IsTmpObj(res4
)) {
19973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
19975 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
19978 if (SWIG_IsTmpObj(res5
)) {
19979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
19981 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
19990 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
= 0;
19992 wxDC
*arg1
= (wxDC
*) 0 ;
19993 PyObject
*arg2
= (PyObject
*) 0 ;
19994 PyObject
*arg3
= (PyObject
*) 0 ;
19995 PyObject
*arg4
= (PyObject
*) 0 ;
19996 PyObject
*result
= 0 ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 PyObject
* obj2
= 0 ;
20002 PyObject
* obj3
= 0 ;
20003 char * kwnames
[] = {
20004 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20009 if (!SWIG_IsOK(res1
)) {
20010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= result
;
20029 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
= 0;
20031 wxDC
*arg1
= (wxDC
*) 0 ;
20032 PyObject
*arg2
= (PyObject
*) 0 ;
20033 PyObject
*arg3
= (PyObject
*) 0 ;
20034 PyObject
*arg4
= (PyObject
*) 0 ;
20035 PyObject
*result
= 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 PyObject
* obj2
= 0 ;
20041 PyObject
* obj3
= 0 ;
20042 char * kwnames
[] = {
20043 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20048 if (!SWIG_IsOK(res1
)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= result
;
20068 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= 0;
20070 wxDC
*arg1
= (wxDC
*) 0 ;
20071 PyObject
*arg2
= (PyObject
*) 0 ;
20072 PyObject
*arg3
= (PyObject
*) 0 ;
20073 PyObject
*arg4
= (PyObject
*) 0 ;
20074 PyObject
*result
= 0 ;
20077 PyObject
* obj0
= 0 ;
20078 PyObject
* obj1
= 0 ;
20079 PyObject
* obj2
= 0 ;
20080 PyObject
* obj3
= 0 ;
20081 char * kwnames
[] = {
20082 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20087 if (!SWIG_IsOK(res1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= result
;
20107 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
= 0;
20109 wxDC
*arg1
= (wxDC
*) 0 ;
20110 PyObject
*arg2
= (PyObject
*) 0 ;
20111 PyObject
*arg3
= (PyObject
*) 0 ;
20112 PyObject
*arg4
= (PyObject
*) 0 ;
20113 PyObject
*result
= 0 ;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20118 PyObject
* obj2
= 0 ;
20119 PyObject
* obj3
= 0 ;
20120 char * kwnames
[] = {
20121 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20126 if (!SWIG_IsOK(res1
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= result
;
20146 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
= 0;
20148 wxDC
*arg1
= (wxDC
*) 0 ;
20149 PyObject
*arg2
= (PyObject
*) 0 ;
20150 PyObject
*arg3
= (PyObject
*) 0 ;
20151 PyObject
*arg4
= (PyObject
*) 0 ;
20152 PyObject
*result
= 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 PyObject
* obj2
= 0 ;
20158 PyObject
* obj3
= 0 ;
20159 char * kwnames
[] = {
20160 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20165 if (!SWIG_IsOK(res1
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20178 resultobj
= result
;
20185 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
= 0;
20187 wxDC
*arg1
= (wxDC
*) 0 ;
20188 PyObject
*arg2
= (PyObject
*) 0 ;
20189 PyObject
*arg3
= (PyObject
*) 0 ;
20190 PyObject
*arg4
= (PyObject
*) 0 ;
20191 PyObject
*arg5
= (PyObject
*) 0 ;
20192 PyObject
*result
= 0 ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 PyObject
* obj2
= 0 ;
20198 PyObject
* obj3
= 0 ;
20199 PyObject
* obj4
= 0 ;
20200 char * kwnames
[] = {
20201 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20206 if (!SWIG_IsOK(res1
)) {
20207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= result
;
20227 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20230 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20231 return SWIG_Py_Void();
20234 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20235 PyObject
*resultobj
= 0;
20236 wxMemoryDC
*result
= 0 ;
20238 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20240 if (!wxPyCheckForApp()) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (wxMemoryDC
*)new wxMemoryDC();
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20253 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
= 0;
20255 wxDC
*arg1
= (wxDC
*) 0 ;
20256 wxMemoryDC
*result
= 0 ;
20259 PyObject
* obj0
= 0 ;
20260 char * kwnames
[] = {
20261 (char *) "oldDC", NULL
20264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20266 if (!SWIG_IsOK(res1
)) {
20267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20271 if (!wxPyCheckForApp()) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20284 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
= 0;
20286 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20287 wxBitmap
*arg2
= 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char * kwnames
[] = {
20295 (char *) "self",(char *) "bitmap", NULL
20298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20300 if (!SWIG_IsOK(res1
)) {
20301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20303 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20305 if (!SWIG_IsOK(res2
)) {
20306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20311 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_Py_Void();
20325 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20328 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20329 return SWIG_Py_Void();
20332 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20333 return SWIG_Python_InitShadowInstance(args
);
20336 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20337 PyObject
*resultobj
= 0;
20338 wxDC
*arg1
= (wxDC
*) 0 ;
20339 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20340 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20341 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20342 wxBufferedDC
*result
= 0 ;
20350 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20352 if (!SWIG_IsOK(res1
)) {
20353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20357 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20358 if (!SWIG_IsOK(res2
)) {
20359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20364 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20367 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20368 if (!SWIG_IsOK(ecode3
)) {
20369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20371 arg3
= static_cast< int >(val3
);
20374 if (!wxPyCheckForApp()) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20387 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20388 PyObject
*resultobj
= 0;
20389 wxDC
*arg1
= (wxDC
*) 0 ;
20391 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20392 wxBufferedDC
*result
= 0 ;
20399 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20401 if (!SWIG_IsOK(res1
)) {
20402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20407 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20410 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20411 if (!SWIG_IsOK(ecode3
)) {
20412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20414 arg3
= static_cast< int >(val3
);
20417 if (!wxPyCheckForApp()) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20430 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20434 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20436 if ((argc
>= 1) && (argc
<= 3)) {
20440 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20441 _v
= SWIG_CheckState(res
);
20443 if (!_v
) goto check_1
;
20445 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20449 if ((argc
>= 2) && (argc
<= 3)) {
20450 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20454 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20459 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20460 PyObject
*resultobj
= 0;
20461 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20464 PyObject
*swig_obj
[1] ;
20466 if (!args
) SWIG_fail
;
20467 swig_obj
[0] = args
;
20468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20469 if (!SWIG_IsOK(res1
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20472 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= SWIG_Py_Void();
20487 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20488 PyObject
*resultobj
= 0;
20489 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20492 PyObject
*swig_obj
[1] ;
20494 if (!args
) SWIG_fail
;
20495 swig_obj
[0] = args
;
20496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20497 if (!SWIG_IsOK(res1
)) {
20498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20500 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20507 resultobj
= SWIG_Py_Void();
20514 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20517 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20518 return SWIG_Py_Void();
20521 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20522 return SWIG_Python_InitShadowInstance(args
);
20525 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
= 0;
20527 wxWindow
*arg1
= (wxWindow
*) 0 ;
20528 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20529 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20530 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20531 wxBufferedPaintDC
*result
= 0 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 PyObject
* obj2
= 0 ;
20541 char * kwnames
[] = {
20542 (char *) "window",(char *) "buffer",(char *) "style", NULL
20545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20547 if (!SWIG_IsOK(res1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20553 if (!SWIG_IsOK(res2
)) {
20554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20559 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20563 if (!SWIG_IsOK(ecode3
)) {
20564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20566 arg3
= static_cast< int >(val3
);
20569 if (!wxPyCheckForApp()) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20582 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20585 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20586 return SWIG_Py_Void();
20589 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20590 return SWIG_Python_InitShadowInstance(args
);
20593 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20594 PyObject
*resultobj
= 0;
20595 wxScreenDC
*result
= 0 ;
20597 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20599 if (!wxPyCheckForApp()) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (wxScreenDC
*)new wxScreenDC();
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20612 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= 0;
20614 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20615 wxWindow
*arg2
= (wxWindow
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char * kwnames
[] = {
20624 (char *) "self",(char *) "window", NULL
20627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20632 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20634 if (!SWIG_IsOK(res2
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20653 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
= 0;
20655 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20656 wxRect
*arg2
= (wxRect
*) NULL
;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "self",(char *) "rect", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20673 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20675 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20676 if (!SWIG_IsOK(res2
)) {
20677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20679 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20696 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20697 PyObject
*resultobj
= 0;
20698 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20702 PyObject
*swig_obj
[1] ;
20704 if (!args
) SWIG_fail
;
20705 swig_obj
[0] = args
;
20706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20707 if (!SWIG_IsOK(res1
)) {
20708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20710 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (bool)(arg1
)->EndDrawingOnTop();
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20726 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20729 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20730 return SWIG_Py_Void();
20733 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20734 return SWIG_Python_InitShadowInstance(args
);
20737 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
= 0;
20739 wxWindow
*arg1
= (wxWindow
*) 0 ;
20740 wxClientDC
*result
= 0 ;
20743 PyObject
* obj0
= 0 ;
20744 char * kwnames
[] = {
20745 (char *) "win", NULL
20748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20750 if (!SWIG_IsOK(res1
)) {
20751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20753 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20755 if (!wxPyCheckForApp()) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (wxClientDC
*)new wxClientDC(arg1
);
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20768 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20771 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20772 return SWIG_Py_Void();
20775 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20776 return SWIG_Python_InitShadowInstance(args
);
20779 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
= 0;
20781 wxWindow
*arg1
= (wxWindow
*) 0 ;
20782 wxPaintDC
*result
= 0 ;
20785 PyObject
* obj0
= 0 ;
20786 char * kwnames
[] = {
20787 (char *) "win", NULL
20790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20797 if (!wxPyCheckForApp()) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20810 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20813 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20814 return SWIG_Py_Void();
20817 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20818 return SWIG_Python_InitShadowInstance(args
);
20821 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
= 0;
20823 wxWindow
*arg1
= (wxWindow
*) 0 ;
20824 wxWindowDC
*result
= 0 ;
20827 PyObject
* obj0
= 0 ;
20828 char * kwnames
[] = {
20829 (char *) "win", NULL
20832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20834 if (!SWIG_IsOK(res1
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20839 if (!wxPyCheckForApp()) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20852 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20855 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20856 return SWIG_Py_Void();
20859 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20860 return SWIG_Python_InitShadowInstance(args
);
20863 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
= 0;
20867 wxMirrorDC
*result
= 0 ;
20872 PyObject
* obj0
= 0 ;
20873 PyObject
* obj1
= 0 ;
20874 char * kwnames
[] = {
20875 (char *) "dc",(char *) "mirror", NULL
20878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20879 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20880 if (!SWIG_IsOK(res1
)) {
20881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20888 if (!SWIG_IsOK(ecode2
)) {
20889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20891 arg2
= static_cast< bool >(val2
);
20893 if (!wxPyCheckForApp()) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20906 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20909 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20910 return SWIG_Py_Void();
20913 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20914 return SWIG_Python_InitShadowInstance(args
);
20917 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
= 0;
20919 wxPrintData
*arg1
= 0 ;
20920 wxPostScriptDC
*result
= 0 ;
20923 PyObject
* obj0
= 0 ;
20924 char * kwnames
[] = {
20925 (char *) "printData", NULL
20928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
20929 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20936 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
20938 if (!wxPyCheckForApp()) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
20951 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20952 PyObject
*resultobj
= 0;
20953 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
20954 wxPrintData
*result
= 0 ;
20957 PyObject
*swig_obj
[1] ;
20959 if (!args
) SWIG_fail
;
20960 swig_obj
[0] = args
;
20961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
20962 if (!SWIG_IsOK(res1
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
20965 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20970 result
= (wxPrintData
*) &_result_ref
;
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
20982 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
= 0;
20984 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
20985 wxPrintData
*arg2
= 0 ;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 char * kwnames
[] = {
20993 (char *) "self",(char *) "data", NULL
20996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
20998 if (!SWIG_IsOK(res1
)) {
20999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21001 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21003 if (!SWIG_IsOK(res2
)) {
21004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21009 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= SWIG_Py_Void();
21023 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
= 0;
21028 PyObject
* obj0
= 0 ;
21029 char * kwnames
[] = {
21030 (char *) "ppi", NULL
21033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21035 if (!SWIG_IsOK(ecode1
)) {
21036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21038 arg1
= static_cast< int >(val1
);
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 wxPostScriptDC::SetResolution(arg1
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= SWIG_Py_Void();
21052 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21053 PyObject
*resultobj
= 0;
21056 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= (int)wxPostScriptDC::GetResolution();
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= SWIG_From_int(static_cast< int >(result
));
21070 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21073 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21074 return SWIG_Py_Void();
21077 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21078 return SWIG_Python_InitShadowInstance(args
);
21081 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
= 0;
21083 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21084 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21085 wxMetaFile
*result
= 0 ;
21086 bool temp1
= false ;
21087 PyObject
* obj0
= 0 ;
21088 char * kwnames
[] = {
21089 (char *) "filename", NULL
21092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21095 arg1
= wxString_in_helper(obj0
);
21096 if (arg1
== NULL
) SWIG_fail
;
21101 if (!wxPyCheckForApp()) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21122 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21125 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21126 return SWIG_Py_Void();
21129 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21130 return SWIG_Python_InitShadowInstance(args
);
21133 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
= 0;
21135 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21136 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21137 int arg2
= (int) 0 ;
21138 int arg3
= (int) 0 ;
21139 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21140 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21141 wxMetaFileDC
*result
= 0 ;
21142 bool temp1
= false ;
21147 bool temp4
= false ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 PyObject
* obj2
= 0 ;
21151 PyObject
* obj3
= 0 ;
21152 char * kwnames
[] = {
21153 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21159 arg1
= wxString_in_helper(obj0
);
21160 if (arg1
== NULL
) SWIG_fail
;
21165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21166 if (!SWIG_IsOK(ecode2
)) {
21167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21169 arg2
= static_cast< int >(val2
);
21172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21173 if (!SWIG_IsOK(ecode3
)) {
21174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21176 arg3
= static_cast< int >(val3
);
21180 arg4
= wxString_in_helper(obj3
);
21181 if (arg4
== NULL
) SWIG_fail
;
21186 if (!wxPyCheckForApp()) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21215 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21218 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21219 return SWIG_Py_Void();
21222 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21223 return SWIG_Python_InitShadowInstance(args
);
21226 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
= 0;
21228 wxPrintData
*arg1
= 0 ;
21229 wxPrinterDC
*result
= 0 ;
21232 PyObject
* obj0
= 0 ;
21233 char * kwnames
[] = {
21234 (char *) "printData", NULL
21237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21238 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21239 if (!SWIG_IsOK(res1
)) {
21240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21245 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21247 if (!wxPyCheckForApp()) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21260 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21263 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21264 return SWIG_Py_Void();
21267 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21268 return SWIG_Python_InitShadowInstance(args
);
21271 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
= 0;
21275 int arg3
= (int) true ;
21276 int arg4
= (int) 1 ;
21277 wxImageList
*result
= 0 ;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 PyObject
* obj2
= 0 ;
21289 PyObject
* obj3
= 0 ;
21290 char * kwnames
[] = {
21291 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21295 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21296 if (!SWIG_IsOK(ecode1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21299 arg1
= static_cast< int >(val1
);
21300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21301 if (!SWIG_IsOK(ecode2
)) {
21302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21304 arg2
= static_cast< int >(val2
);
21306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21307 if (!SWIG_IsOK(ecode3
)) {
21308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21310 arg3
= static_cast< int >(val3
);
21313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21314 if (!SWIG_IsOK(ecode4
)) {
21315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21317 arg4
= static_cast< int >(val4
);
21320 if (!wxPyCheckForApp()) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21335 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21336 PyObject
*resultobj
= 0;
21337 wxImageList
*arg1
= (wxImageList
*) 0 ;
21340 PyObject
*swig_obj
[1] ;
21342 if (!args
) SWIG_fail
;
21343 swig_obj
[0] = args
;
21344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21345 if (!SWIG_IsOK(res1
)) {
21346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21348 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_Py_Void();
21363 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
= 0;
21365 wxImageList
*arg1
= (wxImageList
*) 0 ;
21366 wxBitmap
*arg2
= 0 ;
21367 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21368 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21376 PyObject
* obj0
= 0 ;
21377 PyObject
* obj1
= 0 ;
21378 PyObject
* obj2
= 0 ;
21379 char * kwnames
[] = {
21380 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21385 if (!SWIG_IsOK(res1
)) {
21386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21388 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21390 if (!SWIG_IsOK(res2
)) {
21391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21396 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21398 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21399 if (!SWIG_IsOK(res3
)) {
21400 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21405 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 resultobj
= SWIG_From_int(static_cast< int >(result
));
21420 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
= 0;
21422 wxImageList
*arg1
= (wxImageList
*) 0 ;
21423 wxBitmap
*arg2
= 0 ;
21424 wxColour
*arg3
= 0 ;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 PyObject
* obj2
= 0 ;
21434 char * kwnames
[] = {
21435 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21440 if (!SWIG_IsOK(res1
)) {
21441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21443 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21445 if (!SWIG_IsOK(res2
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21451 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21454 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= SWIG_From_int(static_cast< int >(result
));
21469 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
= 0;
21471 wxImageList
*arg1
= (wxImageList
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 char * kwnames
[] = {
21481 (char *) "self",(char *) "icon", NULL
21484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21486 if (!SWIG_IsOK(res1
)) {
21487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21489 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21491 if (!SWIG_IsOK(res2
)) {
21492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21497 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= SWIG_From_int(static_cast< int >(result
));
21511 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
= 0;
21513 wxImageList
*arg1
= (wxImageList
*) 0 ;
21515 SwigValueWrapper
<wxBitmap
> result
;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 char * kwnames
[] = {
21523 (char *) "self",(char *) "index", NULL
21526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21528 if (!SWIG_IsOK(res1
)) {
21529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21531 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21533 if (!SWIG_IsOK(ecode2
)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21536 arg2
= static_cast< int >(val2
);
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21550 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
= 0;
21552 wxImageList
*arg1
= (wxImageList
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 char * kwnames
[] = {
21562 (char *) "self",(char *) "index", NULL
21565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21567 if (!SWIG_IsOK(res1
)) {
21568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21570 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21572 if (!SWIG_IsOK(ecode2
)) {
21573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21575 arg2
= static_cast< int >(val2
);
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21589 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
= 0;
21591 wxImageList
*arg1
= (wxImageList
*) 0 ;
21593 wxBitmap
*arg3
= 0 ;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 PyObject
* obj2
= 0 ;
21604 char * kwnames
[] = {
21605 (char *) "self",(char *) "index",(char *) "bitmap", NULL
21608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21610 if (!SWIG_IsOK(res1
)) {
21611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21613 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21615 if (!SWIG_IsOK(ecode2
)) {
21616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21618 arg2
= static_cast< int >(val2
);
21619 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21620 if (!SWIG_IsOK(res3
)) {
21621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21626 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21642 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
= 0;
21644 wxImageList
*arg1
= (wxImageList
*) 0 ;
21649 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21650 bool arg7
= (bool) (bool)false ;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 PyObject
* obj2
= 0 ;
21669 PyObject
* obj3
= 0 ;
21670 PyObject
* obj4
= 0 ;
21671 PyObject
* obj5
= 0 ;
21672 PyObject
* obj6
= 0 ;
21673 char * kwnames
[] = {
21674 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21679 if (!SWIG_IsOK(res1
)) {
21680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21682 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21684 if (!SWIG_IsOK(ecode2
)) {
21685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21687 arg2
= static_cast< int >(val2
);
21688 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21689 if (!SWIG_IsOK(res3
)) {
21690 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21695 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21697 if (!SWIG_IsOK(ecode4
)) {
21698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21700 arg4
= static_cast< int >(val4
);
21701 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21702 if (!SWIG_IsOK(ecode5
)) {
21703 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21705 arg5
= static_cast< int >(val5
);
21707 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21708 if (!SWIG_IsOK(ecode6
)) {
21709 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21711 arg6
= static_cast< int >(val6
);
21714 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21715 if (!SWIG_IsOK(ecode7
)) {
21716 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21718 arg7
= static_cast< bool >(val7
);
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21735 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21736 PyObject
*resultobj
= 0;
21737 wxImageList
*arg1
= (wxImageList
*) 0 ;
21741 PyObject
*swig_obj
[1] ;
21743 if (!args
) SWIG_fail
;
21744 swig_obj
[0] = args
;
21745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21746 if (!SWIG_IsOK(res1
)) {
21747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
21749 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (int)(arg1
)->GetImageCount();
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= SWIG_From_int(static_cast< int >(result
));
21763 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
= 0;
21765 wxImageList
*arg1
= (wxImageList
*) 0 ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 char * kwnames
[] = {
21775 (char *) "self",(char *) "index", NULL
21778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
21783 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21785 if (!SWIG_IsOK(ecode2
)) {
21786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
21788 arg2
= static_cast< int >(val2
);
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (bool)(arg1
)->Remove(arg2
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21804 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21805 PyObject
*resultobj
= 0;
21806 wxImageList
*arg1
= (wxImageList
*) 0 ;
21810 PyObject
*swig_obj
[1] ;
21812 if (!args
) SWIG_fail
;
21813 swig_obj
[0] = args
;
21814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21815 if (!SWIG_IsOK(res1
)) {
21816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
21818 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (bool)(arg1
)->RemoveAll();
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21834 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
= 0;
21836 wxImageList
*arg1
= (wxImageList
*) 0 ;
21845 int res3
= SWIG_TMPOBJ
;
21847 int res4
= SWIG_TMPOBJ
;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char * kwnames
[] = {
21851 (char *) "self",(char *) "index", NULL
21856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21858 if (!SWIG_IsOK(res1
)) {
21859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
21861 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21863 if (!SWIG_IsOK(ecode2
)) {
21864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
21866 arg2
= static_cast< int >(val2
);
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_Py_Void();
21874 if (SWIG_IsTmpObj(res3
)) {
21875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21877 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21880 if (SWIG_IsTmpObj(res4
)) {
21881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21883 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21892 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21895 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
21896 return SWIG_Py_Void();
21899 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21900 return SWIG_Python_InitShadowInstance(args
);
21903 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21904 PyObject
*resultobj
= 0;
21905 wxStockGDI
*result
= 0 ;
21907 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (wxStockGDI
*)new wxStockGDI();
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
21921 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21922 PyObject
*resultobj
= 0;
21923 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
21926 PyObject
*swig_obj
[1] ;
21928 if (!args
) SWIG_fail
;
21929 swig_obj
[0] = args
;
21930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
21931 if (!SWIG_IsOK(res1
)) {
21932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
21934 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 resultobj
= SWIG_Py_Void();
21949 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21950 PyObject
*resultobj
= 0;
21952 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 wxStockGDI::DeleteAll();
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= SWIG_Py_Void();
21966 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21967 PyObject
*resultobj
= 0;
21968 wxStockGDI
*result
= 0 ;
21970 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 wxStockGDI
&_result_ref
= wxStockGDI::instance();
21975 result
= (wxStockGDI
*) &_result_ref
;
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
21987 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
= 0;
21989 wxStockGDI::Item arg1
;
21990 wxBrush
*result
= 0 ;
21993 PyObject
* obj0
= 0 ;
21994 char * kwnames
[] = {
21995 (char *) "item", NULL
21998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
21999 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22000 if (!SWIG_IsOK(ecode1
)) {
22001 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22003 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22017 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
= 0;
22019 wxStockGDI::Item arg1
;
22020 wxColour
*result
= 0 ;
22023 PyObject
* obj0
= 0 ;
22024 char * kwnames
[] = {
22025 (char *) "item", NULL
22028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
22029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22030 if (!SWIG_IsOK(ecode1
)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22033 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22047 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
= 0;
22049 wxStockGDI::Item arg1
;
22050 wxCursor
*result
= 0 ;
22053 PyObject
* obj0
= 0 ;
22054 char * kwnames
[] = {
22055 (char *) "item", NULL
22058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
22059 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22060 if (!SWIG_IsOK(ecode1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22063 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
22077 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
= 0;
22079 wxStockGDI::Item arg1
;
22080 wxPen
*result
= 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char * kwnames
[] = {
22085 (char *) "item", NULL
22088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
22089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22090 if (!SWIG_IsOK(ecode1
)) {
22091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22093 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22107 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
= 0;
22109 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22110 wxStockGDI::Item arg2
;
22111 wxFont
*result
= 0 ;
22116 PyObject
* obj0
= 0 ;
22117 PyObject
* obj1
= 0 ;
22118 char * kwnames
[] = {
22119 (char *) "self",(char *) "item", NULL
22122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22124 if (!SWIG_IsOK(res1
)) {
22125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22127 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22129 if (!SWIG_IsOK(ecode2
)) {
22130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
22132 arg2
= static_cast< wxStockGDI::Item
>(val2
);
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22146 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22149 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
22150 return SWIG_Py_Void();
22153 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22154 return SWIG_Python_InitShadowInstance(args
);
22157 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22158 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22163 SWIGINTERN PyObject
*NullBitmap_get(void) {
22164 PyObject
*pyobj
= 0;
22166 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22171 SWIGINTERN
int NullIcon_set(PyObject
*) {
22172 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22177 SWIGINTERN PyObject
*NullIcon_get(void) {
22178 PyObject
*pyobj
= 0;
22180 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22185 SWIGINTERN
int NullCursor_set(PyObject
*) {
22186 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22191 SWIGINTERN PyObject
*NullCursor_get(void) {
22192 PyObject
*pyobj
= 0;
22194 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22199 SWIGINTERN
int NullPen_set(PyObject
*) {
22200 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22205 SWIGINTERN PyObject
*NullPen_get(void) {
22206 PyObject
*pyobj
= 0;
22208 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22213 SWIGINTERN
int NullBrush_set(PyObject
*) {
22214 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22219 SWIGINTERN PyObject
*NullBrush_get(void) {
22220 PyObject
*pyobj
= 0;
22222 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22227 SWIGINTERN
int NullPalette_set(PyObject
*) {
22228 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22233 SWIGINTERN PyObject
*NullPalette_get(void) {
22234 PyObject
*pyobj
= 0;
22236 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22241 SWIGINTERN
int NullFont_set(PyObject
*) {
22242 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22247 SWIGINTERN PyObject
*NullFont_get(void) {
22248 PyObject
*pyobj
= 0;
22250 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22255 SWIGINTERN
int NullColour_set(PyObject
*) {
22256 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22261 SWIGINTERN PyObject
*NullColour_get(void) {
22262 PyObject
*pyobj
= 0;
22264 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22269 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22270 PyObject
*resultobj
= 0;
22271 wxGDIObjListBase
*result
= 0 ;
22273 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
22287 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22288 PyObject
*resultobj
= 0;
22289 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
22292 PyObject
*swig_obj
[1] ;
22294 if (!args
) SWIG_fail
;
22295 swig_obj
[0] = args
;
22296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
22297 if (!SWIG_IsOK(res1
)) {
22298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
22300 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_Py_Void();
22315 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22318 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
22319 return SWIG_Py_Void();
22322 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22323 return SWIG_Python_InitShadowInstance(args
);
22326 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
= 0;
22328 wxPenList
*arg1
= (wxPenList
*) 0 ;
22329 wxColour
*arg2
= 0 ;
22332 wxPen
*result
= 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 PyObject
* obj2
= 0 ;
22343 PyObject
* obj3
= 0 ;
22344 char * kwnames
[] = {
22345 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22353 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22359 if (!SWIG_IsOK(ecode3
)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22362 arg3
= static_cast< int >(val3
);
22363 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22364 if (!SWIG_IsOK(ecode4
)) {
22365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22367 arg4
= static_cast< int >(val4
);
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22381 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
= 0;
22383 wxPenList
*arg1
= (wxPenList
*) 0 ;
22384 wxPen
*arg2
= (wxPen
*) 0 ;
22389 PyObject
* obj0
= 0 ;
22390 PyObject
* obj1
= 0 ;
22391 char * kwnames
[] = {
22392 (char *) "self",(char *) "pen", NULL
22395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22397 if (!SWIG_IsOK(res1
)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22400 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22402 if (!SWIG_IsOK(res2
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22405 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->AddPen(arg2
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_Py_Void();
22419 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
= 0;
22421 wxPenList
*arg1
= (wxPenList
*) 0 ;
22422 wxPen
*arg2
= (wxPen
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 PyObject
* obj1
= 0 ;
22429 char * kwnames
[] = {
22430 (char *) "self",(char *) "pen", NULL
22433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22435 if (!SWIG_IsOK(res1
)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22438 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22440 if (!SWIG_IsOK(res2
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22443 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 (arg1
)->RemovePen(arg2
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 resultobj
= SWIG_Py_Void();
22457 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22460 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22461 return SWIG_Py_Void();
22464 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
= 0;
22466 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22467 wxColour
*arg2
= 0 ;
22468 int arg3
= (int) wxSOLID
;
22469 wxBrush
*result
= 0 ;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 PyObject
* obj2
= 0 ;
22478 char * kwnames
[] = {
22479 (char *) "self",(char *) "colour",(char *) "style", NULL
22482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22484 if (!SWIG_IsOK(res1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22487 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22494 if (!SWIG_IsOK(ecode3
)) {
22495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22497 arg3
= static_cast< int >(val3
);
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22512 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
= 0;
22514 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22515 wxBrush
*arg2
= (wxBrush
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 char * kwnames
[] = {
22523 (char *) "self",(char *) "brush", NULL
22526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22528 if (!SWIG_IsOK(res1
)) {
22529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22531 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22533 if (!SWIG_IsOK(res2
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22536 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 (arg1
)->AddBrush(arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_Py_Void();
22550 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
= 0;
22552 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22553 wxBrush
*arg2
= (wxBrush
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 char * kwnames
[] = {
22561 (char *) "self",(char *) "brush", NULL
22564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22566 if (!SWIG_IsOK(res1
)) {
22567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22569 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22571 if (!SWIG_IsOK(res2
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22574 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 (arg1
)->RemoveBrush(arg2
);
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_Py_Void();
22588 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22591 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
22592 return SWIG_Py_Void();
22595 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
= 0;
22597 wxFontList
*arg1
= (wxFontList
*) 0 ;
22602 bool arg6
= (bool) false ;
22603 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22605 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
22606 wxFont
*result
= 0 ;
22619 bool temp7
= false ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 PyObject
* obj2
= 0 ;
22625 PyObject
* obj3
= 0 ;
22626 PyObject
* obj4
= 0 ;
22627 PyObject
* obj5
= 0 ;
22628 PyObject
* obj6
= 0 ;
22629 PyObject
* obj7
= 0 ;
22630 char * kwnames
[] = {
22631 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
22634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22639 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22641 if (!SWIG_IsOK(ecode2
)) {
22642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
22644 arg2
= static_cast< int >(val2
);
22645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22646 if (!SWIG_IsOK(ecode3
)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
22649 arg3
= static_cast< int >(val3
);
22650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22651 if (!SWIG_IsOK(ecode4
)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
22654 arg4
= static_cast< int >(val4
);
22655 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22656 if (!SWIG_IsOK(ecode5
)) {
22657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
22659 arg5
= static_cast< int >(val5
);
22661 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
22662 if (!SWIG_IsOK(ecode6
)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
22665 arg6
= static_cast< bool >(val6
);
22669 arg7
= wxString_in_helper(obj6
);
22670 if (arg7
== NULL
) SWIG_fail
;
22675 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
22676 if (!SWIG_IsOK(ecode8
)) {
22677 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
22679 arg8
= static_cast< wxFontEncoding
>(val8
);
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22702 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
= 0;
22704 wxFontList
*arg1
= (wxFontList
*) 0 ;
22705 wxFont
*arg2
= (wxFont
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 char * kwnames
[] = {
22713 (char *) "self",(char *) "font", NULL
22716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22718 if (!SWIG_IsOK(res1
)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22721 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22723 if (!SWIG_IsOK(res2
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
22726 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 (arg1
)->AddFont(arg2
);
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= SWIG_Py_Void();
22740 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
= 0;
22742 wxFontList
*arg1
= (wxFontList
*) 0 ;
22743 wxFont
*arg2
= (wxFont
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22750 char * kwnames
[] = {
22751 (char *) "self",(char *) "font", NULL
22754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22756 if (!SWIG_IsOK(res1
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22759 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22761 if (!SWIG_IsOK(res2
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
22764 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 (arg1
)->RemoveFont(arg2
);
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_Py_Void();
22778 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22781 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
22782 return SWIG_Py_Void();
22785 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22786 PyObject
*resultobj
= 0;
22787 wxColourDatabase
*result
= 0 ;
22789 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
22791 if (!wxPyCheckForApp()) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= (wxColourDatabase
*)new wxColourDatabase();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
22804 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22805 PyObject
*resultobj
= 0;
22806 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22809 PyObject
*swig_obj
[1] ;
22811 if (!args
) SWIG_fail
;
22812 swig_obj
[0] = args
;
22813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
22814 if (!SWIG_IsOK(res1
)) {
22815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
22817 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_Py_Void();
22832 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
= 0;
22834 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22835 wxString
*arg2
= 0 ;
22839 bool temp2
= false ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 char * kwnames
[] = {
22843 (char *) "self",(char *) "name", NULL
22846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22851 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22853 arg2
= wxString_in_helper(obj1
);
22854 if (arg2
== NULL
) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
22878 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22879 PyObject
*resultobj
= 0;
22880 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22881 wxColour
*arg2
= 0 ;
22886 PyObject
* obj0
= 0 ;
22887 PyObject
* obj1
= 0 ;
22888 char * kwnames
[] = {
22889 (char *) "self",(char *) "colour", NULL
22892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22894 if (!SWIG_IsOK(res1
)) {
22895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22897 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22900 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22921 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
= 0;
22923 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22924 wxString
*arg2
= 0 ;
22925 wxColour
*arg3
= 0 ;
22928 bool temp2
= false ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 PyObject
* obj2
= 0 ;
22933 char * kwnames
[] = {
22934 (char *) "self",(char *) "name",(char *) "colour", NULL
22937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22939 if (!SWIG_IsOK(res1
)) {
22940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
22942 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22944 arg2
= wxString_in_helper(obj1
);
22945 if (arg2
== NULL
) SWIG_fail
;
22950 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= SWIG_Py_Void();
22973 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
= 0;
22975 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22976 wxString
*arg2
= 0 ;
22982 bool temp2
= false ;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 PyObject
* obj2
= 0 ;
22992 PyObject
* obj3
= 0 ;
22993 PyObject
* obj4
= 0 ;
22994 char * kwnames
[] = {
22995 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
22998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23000 if (!SWIG_IsOK(res1
)) {
23001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23003 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23005 arg2
= wxString_in_helper(obj1
);
23006 if (arg2
== NULL
) SWIG_fail
;
23009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23010 if (!SWIG_IsOK(ecode3
)) {
23011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23013 arg3
= static_cast< int >(val3
);
23014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23015 if (!SWIG_IsOK(ecode4
)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23018 arg4
= static_cast< int >(val4
);
23019 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23020 if (!SWIG_IsOK(ecode5
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23023 arg5
= static_cast< int >(val5
);
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_Py_Void();
23045 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23048 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23049 return SWIG_Py_Void();
23052 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23053 return SWIG_Python_InitShadowInstance(args
);
23056 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23057 PyObject
*resultobj
= 0;
23058 wxFontList
*result
= 0 ;
23060 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (wxFontList
*)_wxPyInitTheFontList();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
23074 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23075 PyObject
*resultobj
= 0;
23076 wxPenList
*result
= 0 ;
23078 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (wxPenList
*)_wxPyInitThePenList();
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
23092 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23093 PyObject
*resultobj
= 0;
23094 wxBrushList
*result
= 0 ;
23096 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (wxBrushList
*)_wxPyInitTheBrushList();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
23110 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23111 PyObject
*resultobj
= 0;
23112 wxColourDatabase
*result
= 0 ;
23114 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23128 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23129 PyObject
*resultobj
= 0;
23130 wxEffects
*result
= 0 ;
23132 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 result
= (wxEffects
*)new wxEffects();
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23146 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23147 PyObject
*resultobj
= 0;
23148 wxEffects
*arg1
= (wxEffects
*) 0 ;
23152 PyObject
*swig_obj
[1] ;
23154 if (!args
) SWIG_fail
;
23155 swig_obj
[0] = args
;
23156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23157 if (!SWIG_IsOK(res1
)) {
23158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23160 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23174 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23175 PyObject
*resultobj
= 0;
23176 wxEffects
*arg1
= (wxEffects
*) 0 ;
23180 PyObject
*swig_obj
[1] ;
23182 if (!args
) SWIG_fail
;
23183 swig_obj
[0] = args
;
23184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23185 if (!SWIG_IsOK(res1
)) {
23186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23188 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23202 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23203 PyObject
*resultobj
= 0;
23204 wxEffects
*arg1
= (wxEffects
*) 0 ;
23208 PyObject
*swig_obj
[1] ;
23210 if (!args
) SWIG_fail
;
23211 swig_obj
[0] = args
;
23212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23213 if (!SWIG_IsOK(res1
)) {
23214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23216 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23230 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23231 PyObject
*resultobj
= 0;
23232 wxEffects
*arg1
= (wxEffects
*) 0 ;
23236 PyObject
*swig_obj
[1] ;
23238 if (!args
) SWIG_fail
;
23239 swig_obj
[0] = args
;
23240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23241 if (!SWIG_IsOK(res1
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23244 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23258 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23259 PyObject
*resultobj
= 0;
23260 wxEffects
*arg1
= (wxEffects
*) 0 ;
23264 PyObject
*swig_obj
[1] ;
23266 if (!args
) SWIG_fail
;
23267 swig_obj
[0] = args
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23272 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23286 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
= 0;
23288 wxEffects
*arg1
= (wxEffects
*) 0 ;
23289 wxColour
*arg2
= 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char * kwnames
[] = {
23296 (char *) "self",(char *) "c", NULL
23299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23304 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23307 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_Py_Void();
23322 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
= 0;
23324 wxEffects
*arg1
= (wxEffects
*) 0 ;
23325 wxColour
*arg2
= 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char * kwnames
[] = {
23332 (char *) "self",(char *) "c", NULL
23335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23340 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= SWIG_Py_Void();
23358 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
= 0;
23360 wxEffects
*arg1
= (wxEffects
*) 0 ;
23361 wxColour
*arg2
= 0 ;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 char * kwnames
[] = {
23368 (char *) "self",(char *) "c", NULL
23371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23373 if (!SWIG_IsOK(res1
)) {
23374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23376 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23379 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_Py_Void();
23394 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
= 0;
23396 wxEffects
*arg1
= (wxEffects
*) 0 ;
23397 wxColour
*arg2
= 0 ;
23401 PyObject
* obj0
= 0 ;
23402 PyObject
* obj1
= 0 ;
23403 char * kwnames
[] = {
23404 (char *) "self",(char *) "c", NULL
23407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23409 if (!SWIG_IsOK(res1
)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23412 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_Py_Void();
23430 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
= 0;
23432 wxEffects
*arg1
= (wxEffects
*) 0 ;
23433 wxColour
*arg2
= 0 ;
23437 PyObject
* obj0
= 0 ;
23438 PyObject
* obj1
= 0 ;
23439 char * kwnames
[] = {
23440 (char *) "self",(char *) "c", NULL
23443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23445 if (!SWIG_IsOK(res1
)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23448 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23451 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_Py_Void();
23466 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
= 0;
23468 wxEffects
*arg1
= (wxEffects
*) 0 ;
23469 wxColour
*arg2
= 0 ;
23470 wxColour
*arg3
= 0 ;
23471 wxColour
*arg4
= 0 ;
23472 wxColour
*arg5
= 0 ;
23473 wxColour
*arg6
= 0 ;
23481 PyObject
* obj0
= 0 ;
23482 PyObject
* obj1
= 0 ;
23483 PyObject
* obj2
= 0 ;
23484 PyObject
* obj3
= 0 ;
23485 PyObject
* obj4
= 0 ;
23486 PyObject
* obj5
= 0 ;
23487 char * kwnames
[] = {
23488 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23493 if (!SWIG_IsOK(res1
)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23496 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23503 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23507 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23511 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
23515 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_Py_Void();
23530 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
= 0;
23532 wxEffects
*arg1
= (wxEffects
*) 0 ;
23535 int arg4
= (int) 1 ;
23543 PyObject
* obj0
= 0 ;
23544 PyObject
* obj1
= 0 ;
23545 PyObject
* obj2
= 0 ;
23546 PyObject
* obj3
= 0 ;
23547 char * kwnames
[] = {
23548 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
23551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23553 if (!SWIG_IsOK(res1
)) {
23554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
23556 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
23558 if (!SWIG_IsOK(res2
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23564 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23567 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
23570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23571 if (!SWIG_IsOK(ecode4
)) {
23572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
23574 arg4
= static_cast< int >(val4
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_Py_Void();
23589 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
= 0;
23591 wxEffects
*arg1
= (wxEffects
*) 0 ;
23594 wxBitmap
*arg4
= 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 PyObject
* obj2
= 0 ;
23606 PyObject
* obj3
= 0 ;
23607 char * kwnames
[] = {
23608 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
23611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23613 if (!SWIG_IsOK(res1
)) {
23614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
23616 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23621 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
23622 if (!SWIG_IsOK(res3
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23628 arg3
= reinterpret_cast< wxDC
* >(argp3
);
23629 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
23630 if (!SWIG_IsOK(res4
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23636 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23652 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23655 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
23656 return SWIG_Py_Void();
23659 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23660 return SWIG_Python_InitShadowInstance(args
);
23663 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
= 0;
23668 wxSplitterRenderParams
*result
= 0 ;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 PyObject
* obj2
= 0 ;
23678 char * kwnames
[] = {
23679 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
23682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23683 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23684 if (!SWIG_IsOK(ecode1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
23687 arg1
= static_cast< int >(val1
);
23688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23689 if (!SWIG_IsOK(ecode2
)) {
23690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
23692 arg2
= static_cast< int >(val2
);
23693 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23694 if (!SWIG_IsOK(ecode3
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
23697 arg3
= static_cast< bool >(val3
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
23711 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23712 PyObject
*resultobj
= 0;
23713 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23716 PyObject
*swig_obj
[1] ;
23718 if (!args
) SWIG_fail
;
23719 swig_obj
[0] = args
;
23720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
23721 if (!SWIG_IsOK(res1
)) {
23722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23724 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= SWIG_Py_Void();
23739 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23740 PyObject
*resultobj
= 0;
23741 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23745 PyObject
*swig_obj
[1] ;
23747 if (!args
) SWIG_fail
;
23748 swig_obj
[0] = args
;
23749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23750 if (!SWIG_IsOK(res1
)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23753 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23754 result
= (int)(int) ((arg1
)->widthSash
);
23755 resultobj
= SWIG_From_int(static_cast< int >(result
));
23762 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23763 PyObject
*resultobj
= 0;
23764 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23768 PyObject
*swig_obj
[1] ;
23770 if (!args
) SWIG_fail
;
23771 swig_obj
[0] = args
;
23772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23773 if (!SWIG_IsOK(res1
)) {
23774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23776 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23777 result
= (int)(int) ((arg1
)->border
);
23778 resultobj
= SWIG_From_int(static_cast< int >(result
));
23785 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23786 PyObject
*resultobj
= 0;
23787 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23791 PyObject
*swig_obj
[1] ;
23793 if (!args
) SWIG_fail
;
23794 swig_obj
[0] = args
;
23795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23799 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23800 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
23801 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
23808 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23811 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
23812 return SWIG_Py_Void();
23815 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23816 return SWIG_Python_InitShadowInstance(args
);
23819 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
= 0;
23823 wxRendererVersion
*result
= 0 ;
23828 PyObject
* obj0
= 0 ;
23829 PyObject
* obj1
= 0 ;
23830 char * kwnames
[] = {
23831 (char *) "version_",(char *) "age_", NULL
23834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23835 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23836 if (!SWIG_IsOK(ecode1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
23839 arg1
= static_cast< int >(val1
);
23840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23841 if (!SWIG_IsOK(ecode2
)) {
23842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
23844 arg2
= static_cast< int >(val2
);
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
23858 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23859 PyObject
*resultobj
= 0;
23860 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
23863 PyObject
*swig_obj
[1] ;
23865 if (!args
) SWIG_fail
;
23866 swig_obj
[0] = args
;
23867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
23868 if (!SWIG_IsOK(res1
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
23871 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_Py_Void();
23886 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
= 0;
23888 wxRendererVersion
*arg1
= 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "ver", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
23898 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
23903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
23905 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23921 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23922 PyObject
*resultobj
= 0;
23923 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
23927 PyObject
*swig_obj
[1] ;
23929 if (!args
) SWIG_fail
;
23930 swig_obj
[0] = args
;
23931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
23935 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23936 result
= (int)(int) ((arg1
)->version
);
23937 resultobj
= SWIG_From_int(static_cast< int >(result
));
23944 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23945 PyObject
*resultobj
= 0;
23946 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
23950 PyObject
*swig_obj
[1] ;
23952 if (!args
) SWIG_fail
;
23953 swig_obj
[0] = args
;
23954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
23955 if (!SWIG_IsOK(res1
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
23958 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23959 result
= (int)(int) ((arg1
)->age
);
23960 resultobj
= SWIG_From_int(static_cast< int >(result
));
23967 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23970 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
23971 return SWIG_Py_Void();
23974 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23975 return SWIG_Python_InitShadowInstance(args
);
23978 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
= 0;
23980 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
23981 wxWindow
*arg2
= (wxWindow
*) 0 ;
23984 int arg5
= (int) 0 ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 PyObject
* obj2
= 0 ;
23997 PyObject
* obj3
= 0 ;
23998 PyObject
* obj4
= 0 ;
23999 char * kwnames
[] = {
24000 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24005 if (!SWIG_IsOK(res1
)) {
24006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24008 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24009 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24010 if (!SWIG_IsOK(res2
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24013 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24014 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24015 if (!SWIG_IsOK(res3
)) {
24016 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24021 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24024 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24027 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24028 if (!SWIG_IsOK(ecode5
)) {
24029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24031 arg5
= static_cast< int >(val5
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_Py_Void();
24046 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
= 0;
24048 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24049 wxWindow
*arg2
= (wxWindow
*) 0 ;
24052 int arg5
= (int) 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 PyObject
* obj2
= 0 ;
24065 PyObject
* obj3
= 0 ;
24066 PyObject
* obj4
= 0 ;
24067 char * kwnames
[] = {
24068 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24073 if (!SWIG_IsOK(res1
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24076 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24078 if (!SWIG_IsOK(res2
)) {
24079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24081 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24082 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24083 if (!SWIG_IsOK(res3
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24089 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24092 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24095 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24096 if (!SWIG_IsOK(ecode5
)) {
24097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24099 arg5
= static_cast< int >(val5
);
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= SWIG_Py_Void();
24114 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
= 0;
24116 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24117 wxWindow
*arg2
= (wxWindow
*) 0 ;
24120 int arg5
= (int) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 PyObject
* obj2
= 0 ;
24133 PyObject
* obj3
= 0 ;
24134 PyObject
* obj4
= 0 ;
24135 char * kwnames
[] = {
24136 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24141 if (!SWIG_IsOK(res1
)) {
24142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24144 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24146 if (!SWIG_IsOK(res2
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24150 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24151 if (!SWIG_IsOK(res3
)) {
24152 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24157 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24160 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24163 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24164 if (!SWIG_IsOK(ecode5
)) {
24165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24167 arg5
= static_cast< int >(val5
);
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_Py_Void();
24182 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
= 0;
24184 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24185 wxWindow
*arg2
= (wxWindow
*) 0 ;
24189 wxOrientation arg6
;
24190 int arg7
= (int) 0 ;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 PyObject
* obj2
= 0 ;
24207 PyObject
* obj3
= 0 ;
24208 PyObject
* obj4
= 0 ;
24209 PyObject
* obj5
= 0 ;
24210 PyObject
* obj6
= 0 ;
24211 char * kwnames
[] = {
24212 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24220 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24222 if (!SWIG_IsOK(res2
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24225 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24226 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24227 if (!SWIG_IsOK(res3
)) {
24228 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24233 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24236 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24238 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24239 if (!SWIG_IsOK(ecode5
)) {
24240 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24242 arg5
= static_cast< int >(val5
);
24243 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24244 if (!SWIG_IsOK(ecode6
)) {
24245 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24247 arg6
= static_cast< wxOrientation
>(val6
);
24249 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24250 if (!SWIG_IsOK(ecode7
)) {
24251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24253 arg7
= static_cast< int >(val7
);
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_Py_Void();
24268 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
= 0;
24270 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24271 wxWindow
*arg2
= (wxWindow
*) 0 ;
24274 int arg5
= (int) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 PyObject
* obj2
= 0 ;
24287 PyObject
* obj3
= 0 ;
24288 PyObject
* obj4
= 0 ;
24289 char * kwnames
[] = {
24290 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24295 if (!SWIG_IsOK(res1
)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24298 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24300 if (!SWIG_IsOK(res2
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24303 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24304 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24305 if (!SWIG_IsOK(res3
)) {
24306 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24311 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24314 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24318 if (!SWIG_IsOK(ecode5
)) {
24319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24321 arg5
= static_cast< int >(val5
);
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_Py_Void();
24336 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
= 0;
24338 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24339 wxWindow
*arg2
= (wxWindow
*) 0 ;
24342 int arg5
= (int) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 PyObject
* obj2
= 0 ;
24355 PyObject
* obj3
= 0 ;
24356 PyObject
* obj4
= 0 ;
24357 char * kwnames
[] = {
24358 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24363 if (!SWIG_IsOK(res1
)) {
24364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24366 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24368 if (!SWIG_IsOK(res2
)) {
24369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24371 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24372 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24373 if (!SWIG_IsOK(res3
)) {
24374 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24379 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24382 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24385 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24386 if (!SWIG_IsOK(ecode5
)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24389 arg5
= static_cast< int >(val5
);
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_Py_Void();
24404 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
= 0;
24406 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24407 wxWindow
*arg2
= (wxWindow
*) 0 ;
24410 int arg5
= (int) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 PyObject
* obj2
= 0 ;
24423 PyObject
* obj3
= 0 ;
24424 PyObject
* obj4
= 0 ;
24425 char * kwnames
[] = {
24426 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24434 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24436 if (!SWIG_IsOK(res2
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24439 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24440 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24441 if (!SWIG_IsOK(res3
)) {
24442 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckButton" "', expected argument " "3"" of type '" "wxDC &""'");
24445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckButton" "', expected argument " "3"" of type '" "wxDC &""'");
24447 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24450 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24453 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24454 if (!SWIG_IsOK(ecode5
)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckButton" "', expected argument " "5"" of type '" "int""'");
24457 arg5
= static_cast< int >(val5
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 (arg1
)->DrawCheckButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_Py_Void();
24472 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
= 0;
24474 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24475 wxWindow
*arg2
= (wxWindow
*) 0 ;
24476 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 char * kwnames
[] = {
24484 (char *) "self",(char *) "win", NULL
24487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24489 if (!SWIG_IsOK(res1
)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24492 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24494 if (!SWIG_IsOK(res2
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24497 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24511 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24512 PyObject
*resultobj
= 0;
24513 wxRendererNative
*result
= 0 ;
24515 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24520 result
= (wxRendererNative
*) &_result_ref
;
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24532 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24533 PyObject
*resultobj
= 0;
24534 wxRendererNative
*result
= 0 ;
24536 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24541 result
= (wxRendererNative
*) &_result_ref
;
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24553 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24554 PyObject
*resultobj
= 0;
24555 wxRendererNative
*result
= 0 ;
24557 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24562 result
= (wxRendererNative
*) &_result_ref
;
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24574 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
= 0;
24576 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24577 wxRendererNative
*result
= 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char * kwnames
[] = {
24582 (char *) "renderer", NULL
24585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
24586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24587 if (!SWIG_IsOK(res1
)) {
24588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24590 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24604 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24605 PyObject
*resultobj
= 0;
24606 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24607 SwigValueWrapper
<wxRendererVersion
> result
;
24610 PyObject
*swig_obj
[1] ;
24612 if (!args
) SWIG_fail
;
24613 swig_obj
[0] = args
;
24614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24615 if (!SWIG_IsOK(res1
)) {
24616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
24618 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
24632 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24635 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
24636 return SWIG_Py_Void();
24639 static PyMethodDef SwigMethods
[] = {
24640 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
24641 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
24642 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
24643 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
24644 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
24645 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24646 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24647 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24648 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
24649 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
24650 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
24651 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
24652 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
24653 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24654 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24655 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24656 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
24657 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24658 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24659 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
24660 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
24661 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
24662 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
24663 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24664 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
24665 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24666 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24667 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
24668 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
24669 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
24670 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
24671 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24672 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
24673 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
24674 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
24675 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
24676 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
24677 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
24678 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
24679 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24680 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24681 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24682 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24683 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24684 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24685 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
24686 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24687 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
24688 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24689 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24690 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
24691 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
24692 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24693 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24694 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
24695 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24696 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24697 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24698 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
24699 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
24700 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
24701 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
24702 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
24703 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
24704 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
24705 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24706 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
24707 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24708 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24709 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24710 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24711 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24712 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
24713 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
24714 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
24715 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
24716 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
24717 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
24718 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
24719 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24720 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24721 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24722 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24723 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24724 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
24725 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24726 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24727 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24728 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24729 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24730 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24731 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24732 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
24733 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
24734 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24735 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
24736 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
24737 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
24738 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24739 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
24740 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
24741 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24742 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24743 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24744 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24745 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
24746 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
24747 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
24748 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
24749 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24750 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24751 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24752 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24753 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
24754 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
24755 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24756 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
24757 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
24758 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24759 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
24760 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24761 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
24762 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
24763 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
24764 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
24765 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24766 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24767 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
24768 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24769 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24770 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24771 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
24772 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
24773 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24774 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
24775 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24776 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24777 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
24778 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
24779 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
24780 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24781 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24782 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24783 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24784 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
24785 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
24786 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24787 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24788 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24789 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24790 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24791 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
24792 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24793 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24794 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24795 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
24796 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24797 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24798 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24799 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24800 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24801 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24802 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24803 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24804 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24805 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
24806 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24807 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24808 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
24809 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
24810 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24811 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
24812 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
24813 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
24814 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
24815 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
24816 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
24817 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
24818 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
24819 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
24820 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
24821 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
24822 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
24823 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
24824 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
24825 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
24826 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
24827 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
24828 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24829 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
24830 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
24831 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
24832 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
24833 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
24834 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
24835 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
24836 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24837 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24838 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24839 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24840 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24841 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24842 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24843 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24844 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
24845 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
24846 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24847 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
24848 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
24849 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
24850 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
24851 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
24852 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
24853 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
24854 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
24855 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
24856 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24857 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
24858 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
24859 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
24860 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24861 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24862 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
24863 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
24864 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
24865 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24866 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24867 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
24868 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24869 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24870 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24871 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24872 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24873 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
24874 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24875 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24876 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24877 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24878 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
24879 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
24880 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24881 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
24882 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24883 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24884 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24885 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24886 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24887 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
24888 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24889 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24890 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
24891 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
24892 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
24893 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
24894 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
24895 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
24896 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
24897 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
24898 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
24899 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
24900 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
24901 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
24902 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
24903 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24904 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24905 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24906 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24907 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24908 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24909 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24910 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24911 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24912 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24913 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24914 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
24915 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
24916 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
24917 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24918 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
24919 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
24920 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24921 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
24922 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
24923 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
24924 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
24925 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24926 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24927 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24928 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
24929 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
24930 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
24931 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
24932 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
24933 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
24934 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
24935 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
24936 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
24937 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
24938 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
24939 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24940 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
24941 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24942 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24943 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
24944 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
24945 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
24946 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
24947 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
24948 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
24949 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
24950 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
24951 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24952 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24953 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24954 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24955 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24956 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24957 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24958 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24959 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
24960 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
24961 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
24962 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
24963 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
24964 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
24965 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
24966 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24967 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24968 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24969 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24970 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24971 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
24972 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
24973 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
24974 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24975 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24976 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24977 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24978 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24979 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24980 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24981 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24982 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24983 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24984 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24985 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24986 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24987 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24988 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24989 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24990 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24991 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24992 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24993 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24994 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24995 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24996 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24997 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24998 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24999 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25000 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25001 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25002 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25003 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25004 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25005 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25006 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25007 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25008 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25009 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25010 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25011 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25012 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25013 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25014 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25015 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25016 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25017 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25018 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25019 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25020 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25021 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25022 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
25023 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25024 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
25025 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
25026 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
25027 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25028 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25029 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25030 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25031 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25032 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25033 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
25034 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
25035 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
25036 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
25037 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
25038 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25039 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25040 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25041 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25042 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
25043 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
25044 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
25045 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
25046 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25047 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25048 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25049 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25050 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25051 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25052 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25053 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25054 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
25055 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
25056 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
25057 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
25058 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
25059 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
25060 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
25061 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
25062 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
25063 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
25064 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
25065 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
25066 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25067 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25068 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
25069 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25070 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
25071 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25072 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
25073 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25074 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
25075 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
25076 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25077 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25078 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
25079 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
25080 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25081 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25082 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25083 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
25084 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25085 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
25086 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25087 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25088 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
25089 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
25090 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
25091 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
25092 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
25093 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
25094 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25095 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25096 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25097 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25098 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25099 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25100 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
25101 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
25102 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25103 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25104 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
25105 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
25106 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
25107 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
25108 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
25109 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
25110 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
25111 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25112 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
25113 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
25114 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
25115 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25116 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25117 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
25118 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
25119 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
25120 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25121 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
25122 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
25123 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25124 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
25125 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
25126 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25127 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
25128 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
25129 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25130 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
25131 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
25132 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
25134 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25135 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25136 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
25137 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
25138 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
25139 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
25141 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
25142 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
25144 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
25145 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25146 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
25147 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
25148 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25149 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
25150 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25151 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25152 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25156 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25157 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
25158 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
25160 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25161 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
25162 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
25163 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
25164 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
25165 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
25166 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
25167 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25169 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25171 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
25173 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
25174 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
25175 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
25176 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
25177 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
25178 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
25182 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
25186 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
25190 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
25191 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
25192 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25194 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
25197 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
25198 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
25199 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
25200 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
25201 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
25202 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
25203 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
25204 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
25205 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
25206 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
25207 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
25208 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
25217 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
25218 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
25220 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
25221 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
25222 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
25223 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
25224 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
25225 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
25227 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
25229 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
25230 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
25231 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
25232 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"RendererNative_DrawCheckButton", (PyCFunction
) _wrap_RendererNative_DrawCheckButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
25241 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
25242 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
25243 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
25245 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
25246 { NULL
, NULL
, 0, NULL
}
25250 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25252 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
25253 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
25255 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
25256 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25258 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
25259 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
25261 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
25262 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
25264 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
25265 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
25267 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
25268 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
25270 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
25271 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
25273 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
25274 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
25276 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
25277 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
25279 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
25280 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
25282 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
25283 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
25285 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
25286 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
25288 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
25289 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
25291 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
25292 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
25294 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
25295 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
25297 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
25298 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
25300 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
25301 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25303 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
25304 return (void *)((wxDC
*) ((wxClientDC
*) x
));
25306 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
25307 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
25309 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
25310 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
25312 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
25313 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
25315 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
25316 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
25318 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
25319 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
25321 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
25322 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
25324 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
25325 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25327 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25328 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25330 static void *_p_wxPenTo_p_wxObject(void *x
) {
25331 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
25333 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
25334 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
25336 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25337 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25339 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25340 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25342 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25343 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25345 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25346 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25348 static void *_p_wxIconTo_p_wxObject(void *x
) {
25349 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
25351 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25352 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25354 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25355 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25357 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25358 return (void *)((wxObject
*) ((wxSizer
*) x
));
25360 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25361 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25363 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25364 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25366 static void *_p_wxEventTo_p_wxObject(void *x
) {
25367 return (void *)((wxObject
*) ((wxEvent
*) x
));
25369 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25370 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25372 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25373 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25375 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25376 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25378 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25379 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25381 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25382 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25384 static void *_p_wxDCTo_p_wxObject(void *x
) {
25385 return (void *)((wxObject
*) ((wxDC
*) x
));
25387 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25388 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25390 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25391 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25393 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25394 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25396 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25397 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25399 static void *_p_wxControlTo_p_wxObject(void *x
) {
25400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25402 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25403 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25405 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
25406 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
25408 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25409 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25411 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
25412 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
25414 static void *_p_wxRegionTo_p_wxObject(void *x
) {
25415 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
25417 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25418 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25420 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
25421 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
25423 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
25424 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
25426 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
25427 return (void *)((wxObject
*) ((wxEffects
*) x
));
25429 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25430 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25432 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25435 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
25436 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
25438 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25439 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25441 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25442 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25444 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
25445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
25447 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25448 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25450 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25453 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25454 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25456 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25457 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25459 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25460 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25462 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25463 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25465 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25466 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25468 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25469 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25471 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25474 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25477 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25478 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25480 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25483 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25486 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25487 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25489 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25490 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25492 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25493 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25495 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25498 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
25499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
25501 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25502 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25504 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25507 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25510 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25511 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25513 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
25514 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25516 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
25517 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
25519 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
25520 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
25522 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
25523 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
25525 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
25526 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
25528 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25529 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25531 static void *_p_wxImageTo_p_wxObject(void *x
) {
25532 return (void *)((wxObject
*) ((wxImage
*) x
));
25534 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25535 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25537 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
25538 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
25540 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
25541 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
25543 static void *_p_wxImageListTo_p_wxObject(void *x
) {
25544 return (void *)((wxObject
*) ((wxImageList
*) x
));
25546 static void *_p_wxCursorTo_p_wxObject(void *x
) {
25547 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
25549 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
25550 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
25552 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
25553 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
25555 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25558 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25559 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25561 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25562 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25564 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25565 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25567 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25568 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25570 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25573 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
25574 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
25576 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25577 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25579 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
25580 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
25582 static void *_p_wxMaskTo_p_wxObject(void *x
) {
25583 return (void *)((wxObject
*) ((wxMask
*) x
));
25585 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25588 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25589 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25591 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25592 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25594 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25595 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25597 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25598 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25600 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25601 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25603 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25606 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25607 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25609 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25610 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25612 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25613 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25615 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25618 static void *_p_wxFontTo_p_wxObject(void *x
) {
25619 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
25621 static void *_p_wxBrushTo_p_wxObject(void *x
) {
25622 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
25624 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
25625 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
25627 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25630 static void *_p_wxColourTo_p_wxObject(void *x
) {
25631 return (void *)((wxObject
*) ((wxColour
*) x
));
25633 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25636 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25637 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25639 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25640 return (void *)((wxWindow
*) ((wxControl
*) x
));
25642 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25643 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25645 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25646 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25648 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
25649 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
25650 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
25651 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
25652 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
25653 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
25654 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
25655 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
25656 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
25657 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
25658 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
25659 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
25660 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
25661 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
25662 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
25663 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
25664 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
25665 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
25666 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
25667 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
25668 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
25669 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
25670 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
25671 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
25672 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
25673 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
25674 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
25675 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
25676 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
25677 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
25678 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
25679 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
25680 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
25681 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
25682 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
25683 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
25684 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
25685 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
25686 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
25687 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
25688 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
25689 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
25690 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
25691 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
25692 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
25693 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
25694 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
25695 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
25696 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
25697 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
25698 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
25699 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
25700 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
25701 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
25702 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
25703 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
25704 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
25705 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
25706 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
25707 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
25708 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
25709 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
25710 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
25711 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
25712 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
25713 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
25714 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
25715 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
25716 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
25717 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
25718 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
25719 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
25720 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
25721 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
25722 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
25723 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
25724 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
25725 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
25726 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
25727 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
25728 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
25729 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
25730 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
25731 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
25732 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
25733 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
25734 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
25735 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
25736 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
25737 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
25738 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
25739 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
25740 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
25741 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
25742 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
25743 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
25744 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
25745 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
25746 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
25747 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
25748 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
25749 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
25750 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
25751 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
25752 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
25753 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
25754 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
25755 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
25756 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
25757 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
25758 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
25759 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
25760 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
25761 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
25762 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
25763 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
25764 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
25765 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
25766 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
25767 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
25768 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
25769 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
25770 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
25771 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
25772 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
25773 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
25774 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
25775 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
25776 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
25777 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
25778 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
25779 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
25780 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
25781 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
25782 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
25783 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
25784 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
25786 static swig_type_info
*swig_type_initial
[] = {
25789 &_swigt__p_form_ops_t
,
25791 &_swigt__p_unsigned_char
,
25792 &_swigt__p_unsigned_int
,
25793 &_swigt__p_unsigned_long
,
25794 &_swigt__p_wxANIHandler
,
25795 &_swigt__p_wxAcceleratorTable
,
25796 &_swigt__p_wxActivateEvent
,
25797 &_swigt__p_wxBMPHandler
,
25798 &_swigt__p_wxBitmap
,
25799 &_swigt__p_wxBoxSizer
,
25800 &_swigt__p_wxBrush
,
25801 &_swigt__p_wxBrushList
,
25802 &_swigt__p_wxBufferedDC
,
25803 &_swigt__p_wxBufferedPaintDC
,
25804 &_swigt__p_wxCURHandler
,
25805 &_swigt__p_wxChildFocusEvent
,
25806 &_swigt__p_wxClientDC
,
25807 &_swigt__p_wxCloseEvent
,
25808 &_swigt__p_wxColour
,
25809 &_swigt__p_wxColourDatabase
,
25810 &_swigt__p_wxCommandEvent
,
25811 &_swigt__p_wxContextMenuEvent
,
25812 &_swigt__p_wxControl
,
25813 &_swigt__p_wxControlWithItems
,
25814 &_swigt__p_wxCursor
,
25817 &_swigt__p_wxDateEvent
,
25818 &_swigt__p_wxDisplayChangedEvent
,
25819 &_swigt__p_wxDropFilesEvent
,
25820 &_swigt__p_wxDuplexMode
,
25821 &_swigt__p_wxEffects
,
25822 &_swigt__p_wxEncodingConverter
,
25823 &_swigt__p_wxEraseEvent
,
25824 &_swigt__p_wxEvent
,
25825 &_swigt__p_wxEvtHandler
,
25826 &_swigt__p_wxFSFile
,
25827 &_swigt__p_wxFileSystem
,
25828 &_swigt__p_wxFlexGridSizer
,
25829 &_swigt__p_wxFocusEvent
,
25831 &_swigt__p_wxFontList
,
25832 &_swigt__p_wxFontMapper
,
25833 &_swigt__p_wxGBSizerItem
,
25834 &_swigt__p_wxGDIObjListBase
,
25835 &_swigt__p_wxGDIObject
,
25836 &_swigt__p_wxGIFHandler
,
25837 &_swigt__p_wxGridBagSizer
,
25838 &_swigt__p_wxGridSizer
,
25839 &_swigt__p_wxICOHandler
,
25841 &_swigt__p_wxIconBundle
,
25842 &_swigt__p_wxIconLocation
,
25843 &_swigt__p_wxIconizeEvent
,
25844 &_swigt__p_wxIdleEvent
,
25845 &_swigt__p_wxImage
,
25846 &_swigt__p_wxImageHandler
,
25847 &_swigt__p_wxImageList
,
25848 &_swigt__p_wxIndividualLayoutConstraint
,
25849 &_swigt__p_wxInitDialogEvent
,
25850 &_swigt__p_wxJPEGHandler
,
25851 &_swigt__p_wxKeyEvent
,
25852 &_swigt__p_wxLanguageInfo
,
25853 &_swigt__p_wxLayoutConstraints
,
25854 &_swigt__p_wxLocale
,
25856 &_swigt__p_wxMaximizeEvent
,
25857 &_swigt__p_wxMemoryDC
,
25859 &_swigt__p_wxMenuBar
,
25860 &_swigt__p_wxMenuEvent
,
25861 &_swigt__p_wxMenuItem
,
25862 &_swigt__p_wxMetaFile
,
25863 &_swigt__p_wxMetaFileDC
,
25864 &_swigt__p_wxMirrorDC
,
25865 &_swigt__p_wxMouseCaptureChangedEvent
,
25866 &_swigt__p_wxMouseEvent
,
25867 &_swigt__p_wxMoveEvent
,
25868 &_swigt__p_wxNativeEncodingInfo
,
25869 &_swigt__p_wxNativeFontInfo
,
25870 &_swigt__p_wxNavigationKeyEvent
,
25871 &_swigt__p_wxNcPaintEvent
,
25872 &_swigt__p_wxNotifyEvent
,
25873 &_swigt__p_wxObject
,
25874 &_swigt__p_wxPCXHandler
,
25875 &_swigt__p_wxPNGHandler
,
25876 &_swigt__p_wxPNMHandler
,
25877 &_swigt__p_wxPaintDC
,
25878 &_swigt__p_wxPaintEvent
,
25879 &_swigt__p_wxPalette
,
25880 &_swigt__p_wxPaletteChangedEvent
,
25881 &_swigt__p_wxPaperSize
,
25883 &_swigt__p_wxPenList
,
25884 &_swigt__p_wxPoint
,
25885 &_swigt__p_wxPostScriptDC
,
25886 &_swigt__p_wxPrintData
,
25887 &_swigt__p_wxPrinterDC
,
25888 &_swigt__p_wxPyApp
,
25889 &_swigt__p_wxPyCommandEvent
,
25890 &_swigt__p_wxPyEvent
,
25891 &_swigt__p_wxPyFontEnumerator
,
25892 &_swigt__p_wxPyImageHandler
,
25893 &_swigt__p_wxPySizer
,
25894 &_swigt__p_wxPyValidator
,
25895 &_swigt__p_wxQueryNewPaletteEvent
,
25897 &_swigt__p_wxRegion
,
25898 &_swigt__p_wxRegionIterator
,
25899 &_swigt__p_wxRendererNative
,
25900 &_swigt__p_wxRendererVersion
,
25901 &_swigt__p_wxScreenDC
,
25902 &_swigt__p_wxScrollEvent
,
25903 &_swigt__p_wxScrollWinEvent
,
25904 &_swigt__p_wxSetCursorEvent
,
25905 &_swigt__p_wxShowEvent
,
25907 &_swigt__p_wxSizeEvent
,
25908 &_swigt__p_wxSizer
,
25909 &_swigt__p_wxSizerItem
,
25910 &_swigt__p_wxSplitterRenderParams
,
25911 &_swigt__p_wxStaticBoxSizer
,
25912 &_swigt__p_wxStdDialogButtonSizer
,
25913 &_swigt__p_wxStockGDI
,
25914 &_swigt__p_wxString
,
25915 &_swigt__p_wxSysColourChangedEvent
,
25916 &_swigt__p_wxTIFFHandler
,
25917 &_swigt__p_wxUpdateUIEvent
,
25918 &_swigt__p_wxValidator
,
25919 &_swigt__p_wxWindow
,
25920 &_swigt__p_wxWindowCreateEvent
,
25921 &_swigt__p_wxWindowDC
,
25922 &_swigt__p_wxWindowDestroyEvent
,
25923 &_swigt__p_wxXPMHandler
,
25926 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
25927 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
25928 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
25929 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
25930 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
25931 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
25932 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
25933 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
25934 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
25935 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
25936 static swig_cast_info _swigc__p_wxBufferedDC
[] = { {&_swigt__p_wxBufferedDC
, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxBufferedDC
, 0, 0},{0, 0, 0, 0}};
25937 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
25938 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
25939 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
25940 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
25941 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
25942 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
25943 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
25944 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
25945 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
25946 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
25947 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
25948 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
25949 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
25950 static swig_cast_info _swigc__p_wxGDIObjListBase
[] = { {&_swigt__p_wxGDIObjListBase
, 0, 0, 0}, {&_swigt__p_wxBrushList
, _p_wxBrushListTo_p_wxGDIObjListBase
, 0, 0}, {&_swigt__p_wxFontList
, _p_wxFontListTo_p_wxGDIObjListBase
, 0, 0}, {&_swigt__p_wxPenList
, _p_wxPenListTo_p_wxGDIObjListBase
, 0, 0},{0, 0, 0, 0}};
25951 static swig_cast_info _swigc__p_wxGDIObject
[] = { {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxGDIObject
, 0, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxGDIObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxGDIObject
, 0, 0},{0, 0, 0, 0}};
25952 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
25953 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
25954 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
25955 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
25956 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
25957 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
25958 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
25959 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
25960 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0},{0, 0, 0, 0}};
25961 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
25962 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
25963 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
25964 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
25965 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
25966 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
25967 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
25968 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
25969 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
25970 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
25971 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
25972 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
25973 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
25974 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
25975 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
25976 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
25977 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
25978 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
25979 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
25980 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
25981 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
25982 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
25983 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
25984 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
25985 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
25986 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
25987 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
25988 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
25989 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
25990 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
25991 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
25992 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
25993 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
25994 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
25995 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
25996 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
25997 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
25998 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
25999 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26000 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26001 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26002 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
26003 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26004 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26005 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26006 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
26007 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
26008 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
26009 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
26010 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26011 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26012 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26013 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26014 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
26015 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
26016 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26017 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26018 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
26019 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
26020 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
26021 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26022 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26023 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26024 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
26025 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
26026 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26027 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26028 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
26029 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26030 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26031 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26032 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26033 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26034 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
26035 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26036 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26037 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
26038 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
26039 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
26040 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
26041 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26042 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
26043 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
26044 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
26045 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
26046 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
26047 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
26048 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
26049 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
26050 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
26051 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
26052 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
26053 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
26054 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
26055 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
26056 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
26057 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
26058 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
26059 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
26060 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
26061 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
26062 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
26064 static swig_cast_info
*swig_cast_initial
[] = {
26067 _swigc__p_form_ops_t
,
26069 _swigc__p_unsigned_char
,
26070 _swigc__p_unsigned_int
,
26071 _swigc__p_unsigned_long
,
26072 _swigc__p_wxANIHandler
,
26073 _swigc__p_wxAcceleratorTable
,
26074 _swigc__p_wxActivateEvent
,
26075 _swigc__p_wxBMPHandler
,
26076 _swigc__p_wxBitmap
,
26077 _swigc__p_wxBoxSizer
,
26079 _swigc__p_wxBrushList
,
26080 _swigc__p_wxBufferedDC
,
26081 _swigc__p_wxBufferedPaintDC
,
26082 _swigc__p_wxCURHandler
,
26083 _swigc__p_wxChildFocusEvent
,
26084 _swigc__p_wxClientDC
,
26085 _swigc__p_wxCloseEvent
,
26086 _swigc__p_wxColour
,
26087 _swigc__p_wxColourDatabase
,
26088 _swigc__p_wxCommandEvent
,
26089 _swigc__p_wxContextMenuEvent
,
26090 _swigc__p_wxControl
,
26091 _swigc__p_wxControlWithItems
,
26092 _swigc__p_wxCursor
,
26095 _swigc__p_wxDateEvent
,
26096 _swigc__p_wxDisplayChangedEvent
,
26097 _swigc__p_wxDropFilesEvent
,
26098 _swigc__p_wxDuplexMode
,
26099 _swigc__p_wxEffects
,
26100 _swigc__p_wxEncodingConverter
,
26101 _swigc__p_wxEraseEvent
,
26103 _swigc__p_wxEvtHandler
,
26104 _swigc__p_wxFSFile
,
26105 _swigc__p_wxFileSystem
,
26106 _swigc__p_wxFlexGridSizer
,
26107 _swigc__p_wxFocusEvent
,
26109 _swigc__p_wxFontList
,
26110 _swigc__p_wxFontMapper
,
26111 _swigc__p_wxGBSizerItem
,
26112 _swigc__p_wxGDIObjListBase
,
26113 _swigc__p_wxGDIObject
,
26114 _swigc__p_wxGIFHandler
,
26115 _swigc__p_wxGridBagSizer
,
26116 _swigc__p_wxGridSizer
,
26117 _swigc__p_wxICOHandler
,
26119 _swigc__p_wxIconBundle
,
26120 _swigc__p_wxIconLocation
,
26121 _swigc__p_wxIconizeEvent
,
26122 _swigc__p_wxIdleEvent
,
26124 _swigc__p_wxImageHandler
,
26125 _swigc__p_wxImageList
,
26126 _swigc__p_wxIndividualLayoutConstraint
,
26127 _swigc__p_wxInitDialogEvent
,
26128 _swigc__p_wxJPEGHandler
,
26129 _swigc__p_wxKeyEvent
,
26130 _swigc__p_wxLanguageInfo
,
26131 _swigc__p_wxLayoutConstraints
,
26132 _swigc__p_wxLocale
,
26134 _swigc__p_wxMaximizeEvent
,
26135 _swigc__p_wxMemoryDC
,
26137 _swigc__p_wxMenuBar
,
26138 _swigc__p_wxMenuEvent
,
26139 _swigc__p_wxMenuItem
,
26140 _swigc__p_wxMetaFile
,
26141 _swigc__p_wxMetaFileDC
,
26142 _swigc__p_wxMirrorDC
,
26143 _swigc__p_wxMouseCaptureChangedEvent
,
26144 _swigc__p_wxMouseEvent
,
26145 _swigc__p_wxMoveEvent
,
26146 _swigc__p_wxNativeEncodingInfo
,
26147 _swigc__p_wxNativeFontInfo
,
26148 _swigc__p_wxNavigationKeyEvent
,
26149 _swigc__p_wxNcPaintEvent
,
26150 _swigc__p_wxNotifyEvent
,
26151 _swigc__p_wxObject
,
26152 _swigc__p_wxPCXHandler
,
26153 _swigc__p_wxPNGHandler
,
26154 _swigc__p_wxPNMHandler
,
26155 _swigc__p_wxPaintDC
,
26156 _swigc__p_wxPaintEvent
,
26157 _swigc__p_wxPalette
,
26158 _swigc__p_wxPaletteChangedEvent
,
26159 _swigc__p_wxPaperSize
,
26161 _swigc__p_wxPenList
,
26163 _swigc__p_wxPostScriptDC
,
26164 _swigc__p_wxPrintData
,
26165 _swigc__p_wxPrinterDC
,
26167 _swigc__p_wxPyCommandEvent
,
26168 _swigc__p_wxPyEvent
,
26169 _swigc__p_wxPyFontEnumerator
,
26170 _swigc__p_wxPyImageHandler
,
26171 _swigc__p_wxPySizer
,
26172 _swigc__p_wxPyValidator
,
26173 _swigc__p_wxQueryNewPaletteEvent
,
26175 _swigc__p_wxRegion
,
26176 _swigc__p_wxRegionIterator
,
26177 _swigc__p_wxRendererNative
,
26178 _swigc__p_wxRendererVersion
,
26179 _swigc__p_wxScreenDC
,
26180 _swigc__p_wxScrollEvent
,
26181 _swigc__p_wxScrollWinEvent
,
26182 _swigc__p_wxSetCursorEvent
,
26183 _swigc__p_wxShowEvent
,
26185 _swigc__p_wxSizeEvent
,
26187 _swigc__p_wxSizerItem
,
26188 _swigc__p_wxSplitterRenderParams
,
26189 _swigc__p_wxStaticBoxSizer
,
26190 _swigc__p_wxStdDialogButtonSizer
,
26191 _swigc__p_wxStockGDI
,
26192 _swigc__p_wxString
,
26193 _swigc__p_wxSysColourChangedEvent
,
26194 _swigc__p_wxTIFFHandler
,
26195 _swigc__p_wxUpdateUIEvent
,
26196 _swigc__p_wxValidator
,
26197 _swigc__p_wxWindow
,
26198 _swigc__p_wxWindowCreateEvent
,
26199 _swigc__p_wxWindowDC
,
26200 _swigc__p_wxWindowDestroyEvent
,
26201 _swigc__p_wxXPMHandler
,
26205 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26207 static swig_const_info swig_const_table
[] = {
26208 {0, 0, 0, 0.0, 0, 0}};
26213 /* -----------------------------------------------------------------------------
26214 * Type initialization:
26215 * This problem is tough by the requirement that no dynamic
26216 * memory is used. Also, since swig_type_info structures store pointers to
26217 * swig_cast_info structures and swig_cast_info structures store pointers back
26218 * to swig_type_info structures, we need some lookup code at initialization.
26219 * The idea is that swig generates all the structures that are needed.
26220 * The runtime then collects these partially filled structures.
26221 * The SWIG_InitializeModule function takes these initial arrays out of
26222 * swig_module, and does all the lookup, filling in the swig_module.types
26223 * array with the correct data and linking the correct swig_cast_info
26224 * structures together.
26226 * The generated swig_type_info structures are assigned staticly to an initial
26227 * array. We just loop though that array, and handle each type individually.
26228 * First we lookup if this type has been already loaded, and if so, use the
26229 * loaded structure instead of the generated one. Then we have to fill in the
26230 * cast linked list. The cast data is initially stored in something like a
26231 * two-dimensional array. Each row corresponds to a type (there are the same
26232 * number of rows as there are in the swig_type_initial array). Each entry in
26233 * a column is one of the swig_cast_info structures for that type.
26234 * The cast_initial array is actually an array of arrays, because each row has
26235 * a variable number of columns. So to actually build the cast linked list,
26236 * we find the array of casts associated with the type, and loop through it
26237 * adding the casts to the list. The one last trick we need to do is making
26238 * sure the type pointer in the swig_cast_info struct is correct.
26240 * First off, we lookup the cast->type name to see if it is already loaded.
26241 * There are three cases to handle:
26242 * 1) If the cast->type has already been loaded AND the type we are adding
26243 * casting info to has not been loaded (it is in this module), THEN we
26244 * replace the cast->type pointer with the type pointer that has already
26246 * 2) If BOTH types (the one we are adding casting info to, and the
26247 * cast->type) are loaded, THEN the cast info has already been loaded by
26248 * the previous module so we just ignore it.
26249 * 3) Finally, if cast->type has not already been loaded, then we add that
26250 * swig_cast_info to the linked list (because the cast->type) pointer will
26252 * ----------------------------------------------------------------------------- */
26262 #define SWIGRUNTIME_DEBUG
26266 SWIG_InitializeModule(void *clientdata
) {
26268 swig_module_info
*module_head
;
26269 static int init_run
= 0;
26271 clientdata
= clientdata
;
26273 if (init_run
) return;
26276 /* Initialize the swig_module */
26277 swig_module
.type_initial
= swig_type_initial
;
26278 swig_module
.cast_initial
= swig_cast_initial
;
26280 /* Try and load any already created modules */
26281 module_head
= SWIG_GetModule(clientdata
);
26283 swig_module
.next
= module_head
->next
;
26284 module_head
->next
= &swig_module
;
26286 /* This is the first module loaded */
26287 swig_module
.next
= &swig_module
;
26288 SWIG_SetModule(clientdata
, &swig_module
);
26291 /* Now work on filling in swig_module.types */
26292 #ifdef SWIGRUNTIME_DEBUG
26293 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
26295 for (i
= 0; i
< swig_module
.size
; ++i
) {
26296 swig_type_info
*type
= 0;
26297 swig_type_info
*ret
;
26298 swig_cast_info
*cast
;
26300 #ifdef SWIGRUNTIME_DEBUG
26301 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26304 /* if there is another module already loaded */
26305 if (swig_module
.next
!= &swig_module
) {
26306 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
26309 /* Overwrite clientdata field */
26310 #ifdef SWIGRUNTIME_DEBUG
26311 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
26313 if (swig_module
.type_initial
[i
]->clientdata
) {
26314 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
26315 #ifdef SWIGRUNTIME_DEBUG
26316 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
26320 type
= swig_module
.type_initial
[i
];
26323 /* Insert casting types */
26324 cast
= swig_module
.cast_initial
[i
];
26325 while (cast
->type
) {
26326 /* Don't need to add information already in the list */
26328 #ifdef SWIGRUNTIME_DEBUG
26329 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
26331 if (swig_module
.next
!= &swig_module
) {
26332 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
26333 #ifdef SWIGRUNTIME_DEBUG
26334 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
26338 if (type
== swig_module
.type_initial
[i
]) {
26339 #ifdef SWIGRUNTIME_DEBUG
26340 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
26345 /* Check for casting already in the list */
26346 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
26347 #ifdef SWIGRUNTIME_DEBUG
26348 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
26350 if (!ocast
) ret
= 0;
26355 #ifdef SWIGRUNTIME_DEBUG
26356 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
26359 type
->cast
->prev
= cast
;
26360 cast
->next
= type
->cast
;
26366 /* Set entry in modules->types array equal to the type */
26367 swig_module
.types
[i
] = type
;
26369 swig_module
.types
[i
] = 0;
26371 #ifdef SWIGRUNTIME_DEBUG
26372 printf("**** SWIG_InitializeModule: Cast List ******\n");
26373 for (i
= 0; i
< swig_module
.size
; ++i
) {
26375 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
26376 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26377 while (cast
->type
) {
26378 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
26382 printf("---- Total casts: %d\n",j
);
26384 printf("**** SWIG_InitializeModule: Cast List ******\n");
26388 /* This function will propagate the clientdata field of type to
26389 * any new swig_type_info structures that have been added into the list
26390 * of equivalent types. It is like calling
26391 * SWIG_TypeClientData(type, clientdata) a second time.
26394 SWIG_PropagateClientData(void) {
26396 swig_cast_info
*equiv
;
26397 static int init_run
= 0;
26399 if (init_run
) return;
26402 for (i
= 0; i
< swig_module
.size
; i
++) {
26403 if (swig_module
.types
[i
]->clientdata
) {
26404 equiv
= swig_module
.types
[i
]->cast
;
26406 if (!equiv
->converter
) {
26407 if (equiv
->type
&& !equiv
->type
->clientdata
)
26408 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
26410 equiv
= equiv
->next
;
26430 /* Python-specific SWIG API */
26431 #define SWIG_newvarlink() SWIG_Python_newvarlink()
26432 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
26433 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
26435 /* -----------------------------------------------------------------------------
26436 * global variable support code.
26437 * ----------------------------------------------------------------------------- */
26439 typedef struct swig_globalvar
{
26440 char *name
; /* Name of global variable */
26441 PyObject
*(*get_attr
)(void); /* Return the current value */
26442 int (*set_attr
)(PyObject
*); /* Set the value */
26443 struct swig_globalvar
*next
;
26446 typedef struct swig_varlinkobject
{
26448 swig_globalvar
*vars
;
26449 } swig_varlinkobject
;
26451 SWIGINTERN PyObject
*
26452 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
26453 return PyString_FromString("<Swig global variables>");
26456 SWIGINTERN PyObject
*
26457 swig_varlink_str(swig_varlinkobject
*v
) {
26458 PyObject
*str
= PyString_FromString("(");
26459 swig_globalvar
*var
;
26460 for (var
= v
->vars
; var
; var
=var
->next
) {
26461 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
26462 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
26464 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
26469 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
26470 PyObject
*str
= swig_varlink_str(v
);
26471 fprintf(fp
,"Swig global variables ");
26472 fprintf(fp
,"%s\n", PyString_AsString(str
));
26478 swig_varlink_dealloc(swig_varlinkobject
*v
) {
26479 swig_globalvar
*var
= v
->vars
;
26481 swig_globalvar
*n
= var
->next
;
26488 SWIGINTERN PyObject
*
26489 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
26490 PyObject
*res
= NULL
;
26491 swig_globalvar
*var
= v
->vars
;
26493 if (strcmp(var
->name
,n
) == 0) {
26494 res
= (*var
->get_attr
)();
26499 if (res
== NULL
&& !PyErr_Occurred()) {
26500 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26506 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
26508 swig_globalvar
*var
= v
->vars
;
26510 if (strcmp(var
->name
,n
) == 0) {
26511 res
= (*var
->set_attr
)(p
);
26516 if (res
== 1 && !PyErr_Occurred()) {
26517 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26522 SWIGINTERN PyTypeObject
*
26523 swig_varlink_type(void) {
26524 static char varlink__doc__
[] = "Swig var link object";
26525 static PyTypeObject varlink_type
;
26526 static int type_init
= 0;
26528 const PyTypeObject tmp
26530 PyObject_HEAD_INIT(NULL
)
26531 0, /* Number of items in variable part (ob_size) */
26532 (char *)"swigvarlink", /* Type name (tp_name) */
26533 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
26534 0, /* Itemsize (tp_itemsize) */
26535 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
26536 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
26537 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
26538 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
26539 0, /* tp_compare */
26540 (reprfunc
) swig_varlink_repr
, /* tp_repr */
26541 0, /* tp_as_number */
26542 0, /* tp_as_sequence */
26543 0, /* tp_as_mapping */
26546 (reprfunc
)swig_varlink_str
, /* tp_str */
26547 0, /* tp_getattro */
26548 0, /* tp_setattro */
26549 0, /* tp_as_buffer */
26551 varlink__doc__
, /* tp_doc */
26552 0, /* tp_traverse */
26554 0, /* tp_richcompare */
26555 0, /* tp_weaklistoffset */
26556 #if PY_VERSION_HEX >= 0x02020000
26557 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
26559 #if PY_VERSION_HEX >= 0x02030000
26562 #ifdef COUNT_ALLOCS
26563 0,0,0,0 /* tp_alloc -> tp_next */
26566 varlink_type
= tmp
;
26567 varlink_type
.ob_type
= &PyType_Type
;
26570 return &varlink_type
;
26573 /* Create a variable linking object for use later */
26574 SWIGINTERN PyObject
*
26575 SWIG_Python_newvarlink(void) {
26576 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
26580 return ((PyObject
*) result
);
26584 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
26585 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
26586 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
26588 size_t size
= strlen(name
)+1;
26589 gv
->name
= (char *)malloc(size
);
26591 strncpy(gv
->name
,name
,size
);
26592 gv
->get_attr
= get_attr
;
26593 gv
->set_attr
= set_attr
;
26594 gv
->next
= v
->vars
;
26600 SWIGINTERN PyObject
*
26602 static PyObject
*_SWIG_globals
= 0;
26603 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
26604 return _SWIG_globals
;
26607 /* -----------------------------------------------------------------------------
26608 * constants/methods manipulation
26609 * ----------------------------------------------------------------------------- */
26611 /* Install Constants */
26613 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
26616 for (i
= 0; constants
[i
].type
; ++i
) {
26617 switch(constants
[i
].type
) {
26618 case SWIG_PY_POINTER
:
26619 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
26621 case SWIG_PY_BINARY
:
26622 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
26629 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
26635 /* -----------------------------------------------------------------------------*/
26636 /* Fix SwigMethods to carry the callback ptrs when needed */
26637 /* -----------------------------------------------------------------------------*/
26640 SWIG_Python_FixMethods(PyMethodDef
*methods
,
26641 swig_const_info
*const_table
,
26642 swig_type_info
**types
,
26643 swig_type_info
**types_initial
) {
26645 for (i
= 0; methods
[i
].ml_name
; ++i
) {
26646 char *c
= methods
[i
].ml_doc
;
26647 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
26649 swig_const_info
*ci
= 0;
26650 char *name
= c
+ 10;
26651 for (j
= 0; const_table
[j
].type
; ++j
) {
26652 if (strncmp(const_table
[j
].name
, name
,
26653 strlen(const_table
[j
].name
)) == 0) {
26654 ci
= &(const_table
[j
]);
26659 size_t shift
= (ci
->ptype
) - types
;
26660 swig_type_info
*ty
= types_initial
[shift
];
26661 size_t ldoc
= (c
- methods
[i
].ml_doc
);
26662 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
26663 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
26666 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
26668 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
26670 strncpy(buff
, "swig_ptr: ", 10);
26672 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
26673 methods
[i
].ml_doc
= ndoc
;
26685 /* -----------------------------------------------------------------------------*
26686 * Partial Init method
26687 * -----------------------------------------------------------------------------*/
26692 SWIGEXPORT
void SWIG_init(void) {
26695 /* Fix SwigMethods to carry the callback ptrs when needed */
26696 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
26698 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26699 d
= PyModule_GetDict(m
);
26701 SWIG_InitializeModule(0);
26702 SWIG_InstallConstants(d
,swig_const_table
);
26705 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
26706 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
26707 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
26708 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
26709 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
26710 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
26711 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
26712 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
26713 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
26714 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
26715 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
26716 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
26717 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
26718 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
26719 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
26720 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
26721 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
26722 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
26723 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
26724 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
26725 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
26726 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
26727 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
26728 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
26729 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
26730 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
26731 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
26732 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
26733 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
26734 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
26735 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
26736 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
26737 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
26738 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
26739 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
26740 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
26741 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
26742 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
26743 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
26744 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
26745 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
26746 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
26747 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
26748 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
26749 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
26750 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
26751 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
26752 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
26753 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
26754 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
26755 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
26756 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
26757 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
26758 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
26759 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
26760 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
26761 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
26762 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
26763 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
26764 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
26765 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
26766 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
26767 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
26768 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
26769 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
26770 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
26771 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
26772 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
26773 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
26774 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
26775 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
26776 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
26777 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
26778 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
26779 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
26780 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
26781 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
26782 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
26783 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
26784 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
26785 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
26786 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
26787 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
26788 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
26789 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
26790 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
26791 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
26792 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
26793 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
26794 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
26795 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
26796 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
26797 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
26798 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
26799 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
26800 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
26801 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
26802 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
26803 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
26804 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
26805 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
26806 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
26807 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
26808 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
26809 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
26810 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
26811 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
26812 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
26813 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
26814 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
26815 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
26816 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
26817 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
26818 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
26819 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
26820 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
26821 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
26822 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
26823 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
26824 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
26825 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
26826 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
26827 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
26828 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
26829 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
26830 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
26831 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
26833 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
26835 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
26836 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
26837 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
26838 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
26839 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
26840 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
26841 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
26842 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
26843 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
26844 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
26845 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
26846 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
26847 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
26848 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
26849 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
26850 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
26851 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
26852 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
26853 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
26854 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
26855 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
26856 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
26857 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
26858 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
26859 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
26860 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
26861 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
26862 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
26863 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
26864 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
26865 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
26866 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
26867 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
26868 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
26869 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
26870 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
26871 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
26872 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
26873 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
26874 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
26875 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
26876 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
26877 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
26878 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
26879 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
26880 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
26881 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
26882 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
26883 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
26884 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
26885 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
26886 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
26887 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
26888 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
26889 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
26890 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
26891 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
26892 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
26893 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
26894 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
26895 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
26896 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
26897 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
26898 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
26899 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
26900 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
26901 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
26902 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
26903 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
26904 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
26905 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
26906 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
26907 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
26908 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
26909 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
26910 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
26911 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
26912 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
26913 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
26914 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
26915 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
26916 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
26917 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
26918 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
26919 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
26920 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
26921 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
26922 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
26923 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
26924 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
26925 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
26926 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
26927 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
26928 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
26929 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
26930 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
26931 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
26932 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
26933 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
26934 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
26935 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
26936 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
26937 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
26938 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
26939 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
26940 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
26941 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
26942 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
26943 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
26944 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
26945 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
26946 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
26947 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
26948 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
26949 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
26950 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
26951 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
26952 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
26953 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
26954 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
26955 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
26956 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
26957 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
26958 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
26959 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
26960 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
26961 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
26962 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
26963 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
26964 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
26965 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
26966 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
26967 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
26968 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
26969 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
26970 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
26971 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
26972 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
26973 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
26974 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
26975 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
26976 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
26977 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
26978 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
26979 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
26980 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
26981 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
26982 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
26983 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
26984 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
26985 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
26986 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
26987 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
26988 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
26989 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
26990 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
26991 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
26992 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
26993 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
26994 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
26995 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
26996 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
26997 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
26998 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
26999 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
27000 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
27001 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
27002 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
27003 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
27004 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
27005 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
27006 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
27007 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
27008 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
27009 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
27010 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
27011 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
27012 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
27013 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
27014 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
27015 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
27016 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
27017 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
27018 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
27019 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
27020 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
27021 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
27022 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
27023 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
27024 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
27025 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
27026 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
27027 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
27028 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
27029 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
27030 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
27031 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
27032 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
27033 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
27034 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
27035 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
27036 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
27037 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
27038 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
27039 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
27040 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
27041 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
27042 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
27043 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
27044 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
27045 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
27046 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
27047 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
27048 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
27049 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
27050 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
27051 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
27052 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
27053 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
27054 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
27055 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
27056 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
27057 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
27058 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
27059 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
27060 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
27061 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
27062 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
27063 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
27064 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
27065 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
27066 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
27067 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
27068 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
27069 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
27070 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
27071 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
27072 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
27073 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
27074 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
27075 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
27076 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
27077 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
27078 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
27079 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
27080 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
27081 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
27082 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
27083 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
27084 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
27085 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
27086 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
27087 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
27088 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
27089 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
27090 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
27091 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
27092 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
27093 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
27094 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
27095 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
27096 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
27097 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
27098 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
27099 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
27100 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
27101 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
27102 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
27103 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
27104 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
27105 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
27106 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
27107 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
27108 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
27109 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
27110 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
27111 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
27112 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
27113 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
27114 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
27115 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
27116 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
27117 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
27118 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
27119 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
27120 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
27121 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
27122 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
27123 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
27124 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
27125 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
27126 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
27127 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
27128 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
27129 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
27130 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
27131 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
27132 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
27133 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
27134 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
27135 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
27136 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
27137 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
27138 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
27139 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
27140 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
27141 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
27142 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
27143 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
27144 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
27145 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
27146 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
27147 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
27148 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
27150 // Work around a chicken/egg problem in drawlist.cpp
27151 wxPyDrawList_SetAPIPtr();