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_wxGDIObject swig_types[47]
2510 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2511 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
2512 #define SWIGTYPE_p_wxGridSizer swig_types[50]
2513 #define SWIGTYPE_p_wxICOHandler swig_types[51]
2514 #define SWIGTYPE_p_wxIcon swig_types[52]
2515 #define SWIGTYPE_p_wxIconBundle swig_types[53]
2516 #define SWIGTYPE_p_wxIconLocation swig_types[54]
2517 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2518 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2519 #define SWIGTYPE_p_wxImage swig_types[57]
2520 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2521 #define SWIGTYPE_p_wxImageList swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLanguageInfo swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxLocale swig_types[66]
2529 #define SWIGTYPE_p_wxMask swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMemoryDC swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMetaFile swig_types[74]
2537 #define SWIGTYPE_p_wxMetaFileDC swig_types[75]
2538 #define SWIGTYPE_p_wxMirrorDC swig_types[76]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80]
2543 #define SWIGTYPE_p_wxNativeFontInfo swig_types[81]
2544 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
2546 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxObject swig_types[85]
2548 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2550 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPaintDC swig_types[89]
2552 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPalette swig_types[91]
2554 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2555 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2556 #define SWIGTYPE_p_wxPen swig_types[94]
2557 #define SWIGTYPE_p_wxPenList swig_types[95]
2558 #define SWIGTYPE_p_wxPoint swig_types[96]
2559 #define SWIGTYPE_p_wxPostScriptDC swig_types[97]
2560 #define SWIGTYPE_p_wxPrintData swig_types[98]
2561 #define SWIGTYPE_p_wxPrinterDC swig_types[99]
2562 #define SWIGTYPE_p_wxPyApp swig_types[100]
2563 #define SWIGTYPE_p_wxPyCommandEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[103]
2566 #define SWIGTYPE_p_wxPyImageHandler swig_types[104]
2567 #define SWIGTYPE_p_wxPySizer swig_types[105]
2568 #define SWIGTYPE_p_wxPyValidator swig_types[106]
2569 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
2570 #define SWIGTYPE_p_wxRect swig_types[108]
2571 #define SWIGTYPE_p_wxRegion swig_types[109]
2572 #define SWIGTYPE_p_wxRegionIterator swig_types[110]
2573 #define SWIGTYPE_p_wxRendererNative swig_types[111]
2574 #define SWIGTYPE_p_wxRendererVersion swig_types[112]
2575 #define SWIGTYPE_p_wxScreenDC swig_types[113]
2576 #define SWIGTYPE_p_wxScrollEvent swig_types[114]
2577 #define SWIGTYPE_p_wxScrollWinEvent swig_types[115]
2578 #define SWIGTYPE_p_wxSetCursorEvent swig_types[116]
2579 #define SWIGTYPE_p_wxShowEvent swig_types[117]
2580 #define SWIGTYPE_p_wxSize swig_types[118]
2581 #define SWIGTYPE_p_wxSizeEvent swig_types[119]
2582 #define SWIGTYPE_p_wxSizer swig_types[120]
2583 #define SWIGTYPE_p_wxSizerItem swig_types[121]
2584 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[122]
2585 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
2586 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
2587 #define SWIGTYPE_p_wxString swig_types[125]
2588 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126]
2589 #define SWIGTYPE_p_wxTIFFHandler swig_types[127]
2590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
2591 #define SWIGTYPE_p_wxValidator swig_types[129]
2592 #define SWIGTYPE_p_wxWindow swig_types[130]
2593 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
2594 #define SWIGTYPE_p_wxWindowDC swig_types[132]
2595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
2596 #define SWIGTYPE_p_wxXPMHandler swig_types[134]
2597 static swig_type_info
*swig_types
[136];
2598 static swig_module_info swig_module
= {swig_types
, 135, 0, 0, 0, 0};
2599 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2600 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2602 /* -------- TYPES TABLE (END) -------- */
2604 #if (PY_VERSION_HEX <= 0x02000000)
2605 # if !defined(SWIG_PYTHON_CLASSIC)
2606 # error "This python version requires to use swig with the '-classic' option"
2609 #if (PY_VERSION_HEX <= 0x02020000)
2610 # error "This python version requires to use swig with the '-nomodern' option"
2612 #if (PY_VERSION_HEX <= 0x02020000)
2613 # error "This python version requires to use swig with the '-nomodernargs' option"
2616 # error "This python version requires to use swig with the '-nofastunpack' option"
2619 /*-----------------------------------------------
2620 @(target):= _gdi_.so
2621 ------------------------------------------------*/
2622 #define SWIG_init init_gdi_
2624 #define SWIG_name "_gdi_"
2626 #define SWIGVERSION 0x010329
2629 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2630 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2633 #include <stdexcept>
2637 class PyObject_ptr
{
2642 PyObject_ptr() :_obj(0)
2646 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2651 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2653 if (initial_ref
) Py_XINCREF(_obj
);
2656 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2658 Py_XINCREF(item
._obj
);
2669 operator PyObject
*() const
2674 PyObject
*operator->() const
2683 struct PyObject_var
: PyObject_ptr
{
2684 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2686 PyObject_var
& operator = (PyObject
* obj
)
2696 #include "wx/wxPython/wxPython.h"
2697 #include "wx/wxPython/pyclasses.h"
2700 static const wxString
wxPyEmptyString(wxEmptyString
);
2703 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2705 if (PyNumber_Check(obj
)) {
2706 if (val
) *val
= PyInt_AsLong(obj
);
2709 return SWIG_TypeError
;
2714 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2716 if (obj
== Py_True
) {
2717 if (val
) *val
= true;
2719 } else if (obj
== Py_False
) {
2720 if (val
) *val
= false;
2724 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2725 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2733 # define LLONG_MIN LONG_LONG_MIN
2736 # define LLONG_MAX LONG_LONG_MAX
2739 # define ULLONG_MAX ULONG_LONG_MAX
2744 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2747 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2748 return SWIG_TypeError
;
2751 *val
= (unsigned long)v
;
2757 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2760 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
> UCHAR_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< unsigned char >(v
);
2772 #define SWIG_From_long PyInt_FromLong
2775 SWIGINTERNINLINE PyObject
*
2776 SWIG_From_unsigned_SS_long (unsigned long value
)
2778 return (value
> LONG_MAX
) ?
2779 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2783 SWIGINTERNINLINE PyObject
*
2784 SWIG_From_unsigned_SS_char (unsigned char value
)
2786 return SWIG_From_unsigned_SS_long (value
);
2789 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2790 PyObject
* rv
= PyTuple_New(3);
2796 green
= self
->Green();
2797 blue
= self
->Blue();
2799 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2800 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2801 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2804 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2805 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2809 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2812 int res
= SWIG_AsVal_long (obj
, &v
);
2813 if (SWIG_IsOK(res
)) {
2814 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2815 return SWIG_OverflowError
;
2817 if (val
) *val
= static_cast< int >(v
);
2824 SWIGINTERNINLINE PyObject
*
2825 SWIG_From_int (int value
)
2827 return SWIG_From_long (value
);
2830 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2832 int count
= self
->GetDashes(&dashes
);
2833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2834 PyObject
* retval
= PyList_New(0);
2835 for (int x
=0; x
<count
; x
++) {
2836 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2837 PyList_Append(retval
, pyint
);
2840 wxPyEndBlockThreads(blocked
);
2843 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2845 int size
= PyList_Size(pyDashes
);
2846 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2848 // black magic warning! The array of wxDashes needs to exist as
2849 // long as the pen does because wxPen does not copy the array. So
2850 // stick a copy in a Python string object and attach it to _self,
2851 // and then call SetDashes with a pointer to that array. Then
2852 // when the Python pen object is destroyed the array will be
2854 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2855 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2857 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2859 Py_DECREF(strDashes
);
2860 wxPyEndBlockThreads(blocked
);
2862 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2863 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2865 SWIGINTERNINLINE PyObject
*
2866 SWIG_From_short (short value
)
2868 return SWIG_From_long (value
);
2873 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2876 int res
= SWIG_AsVal_long (obj
, &v
);
2877 if (SWIG_IsOK(res
)) {
2878 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2879 return SWIG_OverflowError
;
2881 if (val
) *val
= static_cast< short >(v
);
2888 #include <wx/image.h>
2890 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2891 char** cArray
= NULL
;
2894 if (!PyList_Check(listOfStrings
)) {
2895 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2898 count
= PyList_Size(listOfStrings
);
2899 cArray
= new char*[count
];
2901 for(int x
=0; x
<count
; x
++) {
2902 // TODO: Need some validation and error checking here
2903 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2909 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2910 char** cArray
= NULL
;
2913 cArray
= ConvertListOfStrings(listOfStrings
);
2916 bmp
= new wxBitmap(cArray
);
2920 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2923 PyString_AsStringAndSize(bits
, &buf
, &length
);
2924 return new wxBitmap(buf
, width
, height
, depth
);
2926 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2927 wxSize
size(self
->GetWidth(), self
->GetHeight());
2930 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2931 wxMask
*mask
= new wxMask(*self
, colour
);
2932 self
->SetMask(mask
);
2934 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2935 self
->SetWidth(size
.x
);
2936 self
->SetHeight(size
.y
);
2938 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2939 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2940 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2942 return new wxMask(bitmap
, *wxBLACK
);
2944 return new wxMask(bitmap
, colour
);
2947 #include <wx/iconbndl.h>
2949 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2950 wxIcon
* icon
= new wxIcon();
2951 icon
->CopyFromBitmap(bmp
);
2954 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2955 char** cArray
= NULL
;
2958 cArray
= ConvertListOfStrings(listOfStrings
);
2961 icon
= new wxIcon(cArray
);
2965 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2969 return new wxIconLocation(*filename
);
2972 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2979 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2986 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2988 wxImage
img(cursorName
, type
);
2989 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2990 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2991 return new wxCursor(img
);
2993 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2998 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3001 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3002 return self
->operator bool();
3005 #include <wx/fontutil.h>
3006 #include <wx/fontmap.h>
3007 #include <wx/fontenum.h>
3009 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3010 return self
->ToString();
3013 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3014 static wxNativeEncodingInfo info
;
3015 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3022 SWIGINTERNINLINE PyObject
*
3023 SWIG_From_size_t (size_t value
)
3025 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3029 SWIGINTERNINLINE
int
3030 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3033 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3034 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3038 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3039 wxFontEncoding alt_enc
;
3040 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3041 return PyInt_FromLong(alt_enc
);
3047 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3048 wxNativeFontInfo nfi
;
3049 nfi
.FromString(info
);
3050 return new wxFont(nfi
);
3052 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3053 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3055 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3056 return wxFontBase::New(pixelSize
, family
,
3057 style
, weight
, underlined
,
3060 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3061 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3063 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3064 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3066 class wxPyFontEnumerator
: public wxFontEnumerator
{
3068 wxPyFontEnumerator() {}
3069 ~wxPyFontEnumerator() {}
3071 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3072 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3077 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3078 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3081 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3082 wxArrayString
* arr
= self
->GetEncodings();
3084 return wxArrayString2PyList_helper(*arr
);
3086 return PyList_New(0);
3088 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3089 wxArrayString
* arr
= self
->GetFacenames();
3091 return wxArrayString2PyList_helper(*arr
);
3093 return PyList_New(0);
3098 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3101 loc
= new wxLocale();
3103 loc
= new wxLocale(language
, flags
);
3104 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3105 // for the floating point conversions and such to work right.
3106 #if PY_VERSION_HEX < 0x02040000
3107 setlocale(LC_NUMERIC
, "C");
3111 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3112 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3113 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3114 // for the floating point conversions and such to work right.
3115 #if PY_VERSION_HEX < 0x02040000
3116 setlocale(LC_NUMERIC
, "C");
3120 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3121 bool rc
= self
->Init(language
, flags
);
3122 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3123 // for the floating point conversions and such to work right.
3124 #if PY_VERSION_HEX < 0x02040000
3125 setlocale(LC_NUMERIC
, "C");
3130 #include "wx/wxPython/pydrawxxx.h"
3132 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3134 self
->GetPixel(x
, y
, &col
);
3137 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3139 self
->GetPixel(pt
, &col
);
3144 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3146 if (PyNumber_Check(obj
)) {
3147 if (val
) *val
= PyFloat_AsDouble(obj
);
3150 return SWIG_TypeError
;
3153 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3155 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3158 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3160 self
->GetClippingBox(rect
);
3163 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3165 self
->GetPartialTextExtents(text
, widths
);
3169 #define SWIG_From_double PyFloat_FromDouble
3171 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3172 self
->SetLogicalOrigin(point
.x
, point
.y
);
3174 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3175 self
->SetDeviceOrigin(point
.x
, point
.y
);
3177 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3178 self
->CalcBoundingBox(point
.x
, point
.y
);
3180 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3181 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3183 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3184 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3186 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3187 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3189 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3190 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3192 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3193 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3195 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3196 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3199 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3207 #include <wx/dcbuffer.h>
3210 #include <wx/dcps.h>
3213 #include <wx/metafile.h>
3217 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3218 self
->AddColour(name
, wxColour(red
, green
, blue
));
3221 #include <wx/effects.h>
3224 #include "wx/renderer.h"
3227 SWIGINTERNINLINE PyObject
*
3228 SWIG_From_bool (bool value
)
3230 return PyBool_FromLong(value
? 1 : 0);
3236 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3237 PyObject
*resultobj
= 0;
3238 wxGDIObject
*result
= 0 ;
3240 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3242 if (!wxPyCheckForApp()) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= (wxGDIObject
*)new wxGDIObject();
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3255 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3256 PyObject
*resultobj
= 0;
3257 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3260 PyObject
*swig_obj
[1] ;
3262 if (!args
) SWIG_fail
;
3264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3265 if (!SWIG_IsOK(res1
)) {
3266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3268 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= SWIG_Py_Void();
3283 SWIGINTERN PyObject
*_wrap_GDIObject_GetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3284 PyObject
*resultobj
= 0;
3285 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3289 PyObject
*swig_obj
[1] ;
3291 if (!args
) SWIG_fail
;
3293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3294 if (!SWIG_IsOK(res1
)) {
3295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_GetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3297 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= (bool)(arg1
)->GetVisible();
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3313 SWIGINTERN PyObject
*_wrap_GDIObject_SetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
= 0;
3315 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3323 char * kwnames
[] = {
3324 (char *) "self",(char *) "visible", NULL
3327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3329 if (!SWIG_IsOK(res1
)) {
3330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_SetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3332 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3333 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
3334 if (!SWIG_IsOK(ecode2
)) {
3335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GDIObject_SetVisible" "', expected argument " "2"" of type '" "bool""'");
3337 arg2
= static_cast< bool >(val2
);
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 (arg1
)->SetVisible(arg2
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= SWIG_Py_Void();
3351 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3352 PyObject
*resultobj
= 0;
3353 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3357 PyObject
*swig_obj
[1] ;
3359 if (!args
) SWIG_fail
;
3361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3362 if (!SWIG_IsOK(res1
)) {
3363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3365 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 result
= (bool)(arg1
)->IsNull();
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3381 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3384 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3385 return SWIG_Py_Void();
3388 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3389 return SWIG_Python_InitShadowInstance(args
);
3392 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
= 0;
3394 byte arg1
= (byte
) 0 ;
3395 byte arg2
= (byte
) 0 ;
3396 byte arg3
= (byte
) 0 ;
3397 wxColour
*result
= 0 ;
3398 unsigned char val1
;
3400 unsigned char val2
;
3402 unsigned char val3
;
3404 PyObject
* obj0
= 0 ;
3405 PyObject
* obj1
= 0 ;
3406 PyObject
* obj2
= 0 ;
3407 char * kwnames
[] = {
3408 (char *) "red",(char *) "green",(char *) "blue", NULL
3411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3413 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3414 if (!SWIG_IsOK(ecode1
)) {
3415 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3417 arg1
= static_cast< byte
>(val1
);
3420 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3421 if (!SWIG_IsOK(ecode2
)) {
3422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3424 arg2
= static_cast< byte
>(val2
);
3427 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3428 if (!SWIG_IsOK(ecode3
)) {
3429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3431 arg3
= static_cast< byte
>(val3
);
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3446 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
= 0;
3448 wxString
*arg1
= 0 ;
3449 wxColour
*result
= 0 ;
3450 bool temp1
= false ;
3451 PyObject
* obj0
= 0 ;
3452 char * kwnames
[] = {
3453 (char *) "colorName", NULL
3456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3458 arg1
= wxString_in_helper(obj0
);
3459 if (arg1
== NULL
) SWIG_fail
;
3463 if (!wxPyCheckForApp()) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (wxColour
*)new wxColour((wxString
const &)*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 );
3484 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
= 0;
3486 unsigned long arg1
;
3487 wxColour
*result
= 0 ;
3488 unsigned long val1
;
3490 PyObject
* obj0
= 0 ;
3491 char * kwnames
[] = {
3492 (char *) "colRGB", NULL
3495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3496 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3497 if (!SWIG_IsOK(ecode1
)) {
3498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3500 arg1
= static_cast< unsigned long >(val1
);
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (wxColour
*)new wxColour(arg1
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3514 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3515 PyObject
*resultobj
= 0;
3516 wxColour
*arg1
= (wxColour
*) 0 ;
3519 PyObject
*swig_obj
[1] ;
3521 if (!args
) SWIG_fail
;
3523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3524 if (!SWIG_IsOK(res1
)) {
3525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3527 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_Py_Void();
3542 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3543 PyObject
*resultobj
= 0;
3544 wxColour
*arg1
= (wxColour
*) 0 ;
3548 PyObject
*swig_obj
[1] ;
3550 if (!args
) SWIG_fail
;
3552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3553 if (!SWIG_IsOK(res1
)) {
3554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3556 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (byte
)(arg1
)->Red();
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3570 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3571 PyObject
*resultobj
= 0;
3572 wxColour
*arg1
= (wxColour
*) 0 ;
3576 PyObject
*swig_obj
[1] ;
3578 if (!args
) SWIG_fail
;
3580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3581 if (!SWIG_IsOK(res1
)) {
3582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3584 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (byte
)(arg1
)->Green();
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3598 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3599 PyObject
*resultobj
= 0;
3600 wxColour
*arg1
= (wxColour
*) 0 ;
3604 PyObject
*swig_obj
[1] ;
3606 if (!args
) SWIG_fail
;
3608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3609 if (!SWIG_IsOK(res1
)) {
3610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3612 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (byte
)(arg1
)->Blue();
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3626 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3627 PyObject
*resultobj
= 0;
3628 wxColour
*arg1
= (wxColour
*) 0 ;
3632 PyObject
*swig_obj
[1] ;
3634 if (!args
) SWIG_fail
;
3636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3637 if (!SWIG_IsOK(res1
)) {
3638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3640 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (bool)(arg1
)->Ok();
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3656 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
= 0;
3658 wxColour
*arg1
= (wxColour
*) 0 ;
3664 unsigned char val2
;
3666 unsigned char val3
;
3668 unsigned char val4
;
3670 PyObject
* obj0
= 0 ;
3671 PyObject
* obj1
= 0 ;
3672 PyObject
* obj2
= 0 ;
3673 PyObject
* obj3
= 0 ;
3674 char * kwnames
[] = {
3675 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3680 if (!SWIG_IsOK(res1
)) {
3681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3683 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3684 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3685 if (!SWIG_IsOK(ecode2
)) {
3686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3688 arg2
= static_cast< byte
>(val2
);
3689 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3690 if (!SWIG_IsOK(ecode3
)) {
3691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3693 arg3
= static_cast< byte
>(val3
);
3694 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3695 if (!SWIG_IsOK(ecode4
)) {
3696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3698 arg4
= static_cast< byte
>(val4
);
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 (arg1
)->Set(arg2
,arg3
,arg4
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= SWIG_Py_Void();
3712 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
= 0;
3714 wxColour
*arg1
= (wxColour
*) 0 ;
3715 unsigned long arg2
;
3718 unsigned long val2
;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3722 char * kwnames
[] = {
3723 (char *) "self",(char *) "colRGB", NULL
3726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3728 if (!SWIG_IsOK(res1
)) {
3729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3731 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3732 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3733 if (!SWIG_IsOK(ecode2
)) {
3734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3736 arg2
= static_cast< unsigned long >(val2
);
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_Py_Void();
3750 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
= 0;
3752 wxColour
*arg1
= (wxColour
*) 0 ;
3753 wxString
*arg2
= 0 ;
3756 bool temp2
= false ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3759 char * kwnames
[] = {
3760 (char *) "self",(char *) "colourName", NULL
3763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3765 if (!SWIG_IsOK(res1
)) {
3766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3768 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3770 arg2
= wxString_in_helper(obj1
);
3771 if (arg2
== NULL
) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 (arg1
)->InitFromName((wxString
const &)*arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= SWIG_Py_Void();
3795 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3796 PyObject
*resultobj
= 0;
3797 wxColour
*arg1
= (wxColour
*) 0 ;
3801 PyObject
*swig_obj
[1] ;
3803 if (!args
) SWIG_fail
;
3805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3806 if (!SWIG_IsOK(res1
)) {
3807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3809 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3816 resultobj
= SWIG_From_long(static_cast< long >(result
));
3823 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
= 0;
3825 wxColour
*arg1
= (wxColour
*) 0 ;
3826 wxColour
*arg2
= 0 ;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3833 char * kwnames
[] = {
3834 (char *) "self",(char *) "colour", NULL
3837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3839 if (!SWIG_IsOK(res1
)) {
3840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour const *""'");
3842 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3862 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
= 0;
3864 wxColour
*arg1
= (wxColour
*) 0 ;
3865 wxColour
*arg2
= 0 ;
3870 PyObject
* obj0
= 0 ;
3871 PyObject
* obj1
= 0 ;
3872 char * kwnames
[] = {
3873 (char *) "self",(char *) "colour", NULL
3876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3878 if (!SWIG_IsOK(res1
)) {
3879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour const *""'");
3881 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3884 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3901 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3902 PyObject
*resultobj
= 0;
3903 wxColour
*arg1
= (wxColour
*) 0 ;
3904 PyObject
*result
= 0 ;
3907 PyObject
*swig_obj
[1] ;
3909 if (!args
) SWIG_fail
;
3911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3912 if (!SWIG_IsOK(res1
)) {
3913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3915 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 result
= (PyObject
*)wxColour_Get(arg1
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3929 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3930 PyObject
*resultobj
= 0;
3931 wxColour
*arg1
= (wxColour
*) 0 ;
3932 unsigned long result
;
3935 PyObject
*swig_obj
[1] ;
3937 if (!args
) SWIG_fail
;
3939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3940 if (!SWIG_IsOK(res1
)) {
3941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3943 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (unsigned long)wxColour_GetRGB(arg1
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3957 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3959 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3960 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3961 return SWIG_Py_Void();
3964 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 return SWIG_Python_InitShadowInstance(args
);
3968 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
= 0;
3971 unsigned char *arg2
= (unsigned char *) 0 ;
3972 unsigned char *arg3
= (unsigned char *) 0 ;
3973 unsigned char *arg4
= (unsigned char *) 0 ;
3974 wxPalette
*result
= 0 ;
3983 PyObject
* obj0
= 0 ;
3984 PyObject
* obj1
= 0 ;
3985 PyObject
* obj2
= 0 ;
3986 PyObject
* obj3
= 0 ;
3987 char * kwnames
[] = {
3988 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3992 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3993 if (!SWIG_IsOK(ecode1
)) {
3994 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3996 arg1
= static_cast< int >(val1
);
3997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3998 if (!SWIG_IsOK(res2
)) {
3999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4001 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4002 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4003 if (!SWIG_IsOK(res3
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4006 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4007 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4008 if (!SWIG_IsOK(res4
)) {
4009 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4011 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4013 if (!wxPyCheckForApp()) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4026 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4027 PyObject
*resultobj
= 0;
4028 wxPalette
*arg1
= (wxPalette
*) 0 ;
4031 PyObject
*swig_obj
[1] ;
4033 if (!args
) SWIG_fail
;
4035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4036 if (!SWIG_IsOK(res1
)) {
4037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4039 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 resultobj
= SWIG_Py_Void();
4054 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
*resultobj
= 0;
4056 wxPalette
*arg1
= (wxPalette
*) 0 ;
4063 unsigned char val2
;
4065 unsigned char val3
;
4067 unsigned char val4
;
4069 PyObject
* obj0
= 0 ;
4070 PyObject
* obj1
= 0 ;
4071 PyObject
* obj2
= 0 ;
4072 PyObject
* obj3
= 0 ;
4073 char * kwnames
[] = {
4074 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4082 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4083 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4084 if (!SWIG_IsOK(ecode2
)) {
4085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4087 arg2
= static_cast< byte
>(val2
);
4088 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4089 if (!SWIG_IsOK(ecode3
)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4092 arg3
= static_cast< byte
>(val3
);
4093 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4094 if (!SWIG_IsOK(ecode4
)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4097 arg4
= static_cast< byte
>(val4
);
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= SWIG_From_int(static_cast< int >(result
));
4111 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
= 0;
4113 wxPalette
*arg1
= (wxPalette
*) 0 ;
4115 byte
*arg3
= (byte
*) 0 ;
4116 byte
*arg4
= (byte
*) 0 ;
4117 byte
*arg5
= (byte
*) 0 ;
4124 int res3
= SWIG_TMPOBJ
;
4126 int res4
= SWIG_TMPOBJ
;
4128 int res5
= SWIG_TMPOBJ
;
4129 PyObject
* obj0
= 0 ;
4130 PyObject
* obj1
= 0 ;
4131 char * kwnames
[] = {
4132 (char *) "self",(char *) "pixel", NULL
4138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4140 if (!SWIG_IsOK(res1
)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4143 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4145 if (!SWIG_IsOK(ecode2
)) {
4146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4148 arg2
= static_cast< int >(val2
);
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4158 if (SWIG_IsTmpObj(res3
)) {
4159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4161 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4164 if (SWIG_IsTmpObj(res4
)) {
4165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4167 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4170 if (SWIG_IsTmpObj(res5
)) {
4171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4173 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4182 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4183 PyObject
*resultobj
= 0;
4184 wxPalette
*arg1
= (wxPalette
*) 0 ;
4188 PyObject
*swig_obj
[1] ;
4190 if (!args
) SWIG_fail
;
4192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4193 if (!SWIG_IsOK(res1
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4196 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_From_int(static_cast< int >(result
));
4210 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4211 PyObject
*resultobj
= 0;
4212 wxPalette
*arg1
= (wxPalette
*) 0 ;
4216 PyObject
*swig_obj
[1] ;
4218 if (!args
) SWIG_fail
;
4220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4221 if (!SWIG_IsOK(res1
)) {
4222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4224 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)(arg1
)->Ok();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4240 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4243 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4244 return SWIG_Py_Void();
4247 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4248 return SWIG_Python_InitShadowInstance(args
);
4251 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
= 0;
4253 wxColour
*arg1
= 0 ;
4254 int arg2
= (int) 1 ;
4255 int arg3
= (int) wxSOLID
;
4262 PyObject
* obj0
= 0 ;
4263 PyObject
* obj1
= 0 ;
4264 PyObject
* obj2
= 0 ;
4265 char * kwnames
[] = {
4266 (char *) "colour",(char *) "width",(char *) "style", NULL
4269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4272 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4276 if (!SWIG_IsOK(ecode2
)) {
4277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4279 arg2
= static_cast< int >(val2
);
4282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4283 if (!SWIG_IsOK(ecode3
)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4286 arg3
= static_cast< int >(val3
);
4289 if (!wxPyCheckForApp()) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4302 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4303 PyObject
*resultobj
= 0;
4304 wxPen
*arg1
= (wxPen
*) 0 ;
4307 PyObject
*swig_obj
[1] ;
4309 if (!args
) SWIG_fail
;
4311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4312 if (!SWIG_IsOK(res1
)) {
4313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4315 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_Py_Void();
4330 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4331 PyObject
*resultobj
= 0;
4332 wxPen
*arg1
= (wxPen
*) 0 ;
4336 PyObject
*swig_obj
[1] ;
4338 if (!args
) SWIG_fail
;
4340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4341 if (!SWIG_IsOK(res1
)) {
4342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4344 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (int)(arg1
)->GetCap();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_From_int(static_cast< int >(result
));
4358 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4359 PyObject
*resultobj
= 0;
4360 wxPen
*arg1
= (wxPen
*) 0 ;
4364 PyObject
*swig_obj
[1] ;
4366 if (!args
) SWIG_fail
;
4368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4369 if (!SWIG_IsOK(res1
)) {
4370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4372 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (arg1
)->GetColour();
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4386 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4387 PyObject
*resultobj
= 0;
4388 wxPen
*arg1
= (wxPen
*) 0 ;
4392 PyObject
*swig_obj
[1] ;
4394 if (!args
) SWIG_fail
;
4396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4397 if (!SWIG_IsOK(res1
)) {
4398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4400 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (int)(arg1
)->GetJoin();
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= SWIG_From_int(static_cast< int >(result
));
4414 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4415 PyObject
*resultobj
= 0;
4416 wxPen
*arg1
= (wxPen
*) 0 ;
4420 PyObject
*swig_obj
[1] ;
4422 if (!args
) SWIG_fail
;
4424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4425 if (!SWIG_IsOK(res1
)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4428 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= (int)(arg1
)->GetStyle();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= SWIG_From_int(static_cast< int >(result
));
4442 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4443 PyObject
*resultobj
= 0;
4444 wxPen
*arg1
= (wxPen
*) 0 ;
4448 PyObject
*swig_obj
[1] ;
4450 if (!args
) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4456 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (int)(arg1
)->GetWidth();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_From_int(static_cast< int >(result
));
4470 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4471 PyObject
*resultobj
= 0;
4472 wxPen
*arg1
= (wxPen
*) 0 ;
4476 PyObject
*swig_obj
[1] ;
4478 if (!args
) SWIG_fail
;
4480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4481 if (!SWIG_IsOK(res1
)) {
4482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4484 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (bool)(arg1
)->Ok();
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4500 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
= 0;
4502 wxPen
*arg1
= (wxPen
*) 0 ;
4508 PyObject
* obj0
= 0 ;
4509 PyObject
* obj1
= 0 ;
4510 char * kwnames
[] = {
4511 (char *) "self",(char *) "cap_style", NULL
4514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4516 if (!SWIG_IsOK(res1
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4519 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4521 if (!SWIG_IsOK(ecode2
)) {
4522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4524 arg2
= static_cast< int >(val2
);
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 (arg1
)->SetCap(arg2
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= SWIG_Py_Void();
4538 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
= 0;
4540 wxPen
*arg1
= (wxPen
*) 0 ;
4541 wxColour
*arg2
= 0 ;
4545 PyObject
* obj0
= 0 ;
4546 PyObject
* obj1
= 0 ;
4547 char * kwnames
[] = {
4548 (char *) "self",(char *) "colour", NULL
4551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4553 if (!SWIG_IsOK(res1
)) {
4554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4556 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 (arg1
)->SetColour(*arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4567 resultobj
= SWIG_Py_Void();
4574 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxPen
*arg1
= (wxPen
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4584 char * kwnames
[] = {
4585 (char *) "self",(char *) "join_style", NULL
4588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4590 if (!SWIG_IsOK(res1
)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4593 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4595 if (!SWIG_IsOK(ecode2
)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4598 arg2
= static_cast< int >(val2
);
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 (arg1
)->SetJoin(arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= SWIG_Py_Void();
4612 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
= 0;
4614 wxPen
*arg1
= (wxPen
*) 0 ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4622 char * kwnames
[] = {
4623 (char *) "self",(char *) "style", NULL
4626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4628 if (!SWIG_IsOK(res1
)) {
4629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4631 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4633 if (!SWIG_IsOK(ecode2
)) {
4634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4636 arg2
= static_cast< int >(val2
);
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 (arg1
)->SetStyle(arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 resultobj
= SWIG_Py_Void();
4650 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
= 0;
4652 wxPen
*arg1
= (wxPen
*) 0 ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4660 char * kwnames
[] = {
4661 (char *) "self",(char *) "width", NULL
4664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4666 if (!SWIG_IsOK(res1
)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4669 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4671 if (!SWIG_IsOK(ecode2
)) {
4672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4674 arg2
= static_cast< int >(val2
);
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 (arg1
)->SetWidth(arg2
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 resultobj
= SWIG_Py_Void();
4688 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
= 0;
4690 wxPen
*arg1
= (wxPen
*) 0 ;
4692 wxDash
*arg3
= (wxDash
*) 0 ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 char * kwnames
[] = {
4698 (char *) "self",(char *) "dashes", NULL
4701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4703 if (!SWIG_IsOK(res1
)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4706 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4708 arg2
= PyList_Size(obj1
);
4709 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4710 if (arg3
== NULL
) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 (arg1
)->SetDashes(arg2
,arg3
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= SWIG_Py_Void();
4720 if (arg3
) delete [] arg3
;
4725 if (arg3
) delete [] arg3
;
4731 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxPen
*arg1
= (wxPen
*) 0 ;
4734 PyObject
*result
= 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4745 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4759 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
= 0;
4761 wxPen
*arg1
= (wxPen
*) 0 ;
4762 PyObject
*arg2
= (PyObject
*) 0 ;
4763 PyObject
*arg3
= (PyObject
*) 0 ;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 PyObject
* obj2
= 0 ;
4769 char * kwnames
[] = {
4770 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4775 if (!SWIG_IsOK(res1
)) {
4776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4778 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 wxPen__SetDashes(arg1
,arg2
,arg3
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= SWIG_Py_Void();
4794 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
= 0;
4796 wxPen
*arg1
= (wxPen
*) 0 ;
4797 wxPen
*arg2
= (wxPen
*) 0 ;
4803 PyObject
* obj0
= 0 ;
4804 PyObject
* obj1
= 0 ;
4805 char * kwnames
[] = {
4806 (char *) "self",(char *) "other", NULL
4809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4814 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4816 if (!SWIG_IsOK(res2
)) {
4817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4819 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4835 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
= 0;
4837 wxPen
*arg1
= (wxPen
*) 0 ;
4838 wxPen
*arg2
= (wxPen
*) 0 ;
4844 PyObject
* obj0
= 0 ;
4845 PyObject
* obj1
= 0 ;
4846 char * kwnames
[] = {
4847 (char *) "self",(char *) "other", NULL
4850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4852 if (!SWIG_IsOK(res1
)) {
4853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4855 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4857 if (!SWIG_IsOK(res2
)) {
4858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4860 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4876 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4879 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4880 return SWIG_Py_Void();
4883 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4884 return SWIG_Python_InitShadowInstance(args
);
4887 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
= 0;
4889 wxColour
*arg1
= 0 ;
4890 int arg2
= (int) wxSOLID
;
4891 wxBrush
*result
= 0 ;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4897 char * kwnames
[] = {
4898 (char *) "colour",(char *) "style", NULL
4901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4904 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4908 if (!SWIG_IsOK(ecode2
)) {
4909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4911 arg2
= static_cast< int >(val2
);
4914 if (!wxPyCheckForApp()) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4927 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
= 0;
4929 wxBitmap
*arg1
= 0 ;
4930 wxBrush
*result
= 0 ;
4933 PyObject
* obj0
= 0 ;
4934 char * kwnames
[] = {
4935 (char *) "stippleBitmap", NULL
4938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4939 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4940 if (!SWIG_IsOK(res1
)) {
4941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4946 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4948 if (!wxPyCheckForApp()) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4961 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxBrush
*arg1
= (wxBrush
*) 0 ;
4966 PyObject
*swig_obj
[1] ;
4968 if (!args
) SWIG_fail
;
4970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4971 if (!SWIG_IsOK(res1
)) {
4972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
4974 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_Py_Void();
4989 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
= 0;
4991 wxBrush
*arg1
= (wxBrush
*) 0 ;
4992 wxColour
*arg2
= 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 char * kwnames
[] = {
4999 (char *) "self",(char *) "col", NULL
5002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5007 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 (arg1
)->SetColour((wxColour
const &)*arg2
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_Py_Void();
5025 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
= 0;
5027 wxBrush
*arg1
= (wxBrush
*) 0 ;
5033 PyObject
* obj0
= 0 ;
5034 PyObject
* obj1
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "self",(char *) "style", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5041 if (!SWIG_IsOK(res1
)) {
5042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5044 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5046 if (!SWIG_IsOK(ecode2
)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5049 arg2
= static_cast< int >(val2
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 (arg1
)->SetStyle(arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_Py_Void();
5063 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxBrush
*arg1
= (wxBrush
*) 0 ;
5066 wxBitmap
*arg2
= 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "stipple", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5082 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5084 if (!SWIG_IsOK(res2
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5090 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 resultobj
= SWIG_Py_Void();
5104 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5105 PyObject
*resultobj
= 0;
5106 wxBrush
*arg1
= (wxBrush
*) 0 ;
5110 PyObject
*swig_obj
[1] ;
5112 if (!args
) SWIG_fail
;
5114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5115 if (!SWIG_IsOK(res1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5118 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= ((wxBrush
const *)arg1
)->GetColour();
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5132 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5133 PyObject
*resultobj
= 0;
5134 wxBrush
*arg1
= (wxBrush
*) 0 ;
5138 PyObject
*swig_obj
[1] ;
5140 if (!args
) SWIG_fail
;
5142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5143 if (!SWIG_IsOK(res1
)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5146 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_From_int(static_cast< int >(result
));
5160 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5161 PyObject
*resultobj
= 0;
5162 wxBrush
*arg1
= (wxBrush
*) 0 ;
5163 wxBitmap
*result
= 0 ;
5166 PyObject
*swig_obj
[1] ;
5168 if (!args
) SWIG_fail
;
5170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5171 if (!SWIG_IsOK(res1
)) {
5172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5174 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5188 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5189 PyObject
*resultobj
= 0;
5190 wxBrush
*arg1
= (wxBrush
*) 0 ;
5194 PyObject
*swig_obj
[1] ;
5196 if (!args
) SWIG_fail
;
5198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5199 if (!SWIG_IsOK(res1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5202 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5218 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5219 PyObject
*resultobj
= 0;
5220 wxBrush
*arg1
= (wxBrush
*) 0 ;
5224 PyObject
*swig_obj
[1] ;
5226 if (!args
) SWIG_fail
;
5228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5229 if (!SWIG_IsOK(res1
)) {
5230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5232 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (bool)(arg1
)->Ok();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5249 PyObject
*resultobj
= 0;
5250 wxBrush
*arg1
= (wxBrush
*) 0 ;
5254 PyObject
*swig_obj
[1] ;
5256 if (!args
) SWIG_fail
;
5258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5259 if (!SWIG_IsOK(res1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5262 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (short)(arg1
)->MacGetTheme();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_From_short(static_cast< short >(result
));
5276 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
= 0;
5278 wxBrush
*arg1
= (wxBrush
*) 0 ;
5284 PyObject
* obj0
= 0 ;
5285 PyObject
* obj1
= 0 ;
5286 char * kwnames
[] = {
5287 (char *) "self",(char *) "macThemeBrush", NULL
5290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5292 if (!SWIG_IsOK(res1
)) {
5293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5295 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5296 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5297 if (!SWIG_IsOK(ecode2
)) {
5298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5300 arg2
= static_cast< short >(val2
);
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 (arg1
)->MacSetTheme(arg2
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_Py_Void();
5314 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5317 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5318 return SWIG_Py_Void();
5321 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5322 return SWIG_Python_InitShadowInstance(args
);
5325 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
= 0;
5327 wxString
*arg1
= 0 ;
5328 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5329 wxBitmap
*result
= 0 ;
5330 bool temp1
= false ;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5335 char * kwnames
[] = {
5336 (char *) "name",(char *) "type", NULL
5339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5341 arg1
= wxString_in_helper(obj0
);
5342 if (arg1
== NULL
) SWIG_fail
;
5346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5347 if (!SWIG_IsOK(ecode2
)) {
5348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5350 arg2
= static_cast< wxBitmapType
>(val2
);
5353 if (!wxPyCheckForApp()) SWIG_fail
;
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5374 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5375 PyObject
*resultobj
= 0;
5376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5379 PyObject
*swig_obj
[1] ;
5381 if (!args
) SWIG_fail
;
5383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5384 if (!SWIG_IsOK(res1
)) {
5385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5387 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_Py_Void();
5402 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
= 0;
5406 int arg3
= (int) -1 ;
5407 wxBitmap
*result
= 0 ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5416 PyObject
* obj2
= 0 ;
5417 char * kwnames
[] = {
5418 (char *) "width",(char *) "height",(char *) "depth", NULL
5421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5423 if (!SWIG_IsOK(ecode1
)) {
5424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5426 arg1
= static_cast< int >(val1
);
5427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5428 if (!SWIG_IsOK(ecode2
)) {
5429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5431 arg2
= static_cast< int >(val2
);
5433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5434 if (!SWIG_IsOK(ecode3
)) {
5435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5437 arg3
= static_cast< int >(val3
);
5440 if (!wxPyCheckForApp()) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5453 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
= 0;
5456 wxBitmap
*result
= 0 ;
5459 PyObject
* obj0
= 0 ;
5460 char * kwnames
[] = {
5461 (char *) "icon", NULL
5464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5465 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5466 if (!SWIG_IsOK(res1
)) {
5467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5472 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5474 if (!wxPyCheckForApp()) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5487 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
= 0;
5490 int arg2
= (int) -1 ;
5491 wxBitmap
*result
= 0 ;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5498 char * kwnames
[] = {
5499 (char *) "image",(char *) "depth", NULL
5502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5503 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5504 if (!SWIG_IsOK(res1
)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5510 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5513 if (!SWIG_IsOK(ecode2
)) {
5514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5516 arg2
= static_cast< int >(val2
);
5519 if (!wxPyCheckForApp()) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5532 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
= 0;
5534 PyObject
*arg1
= (PyObject
*) 0 ;
5535 wxBitmap
*result
= 0 ;
5536 PyObject
* obj0
= 0 ;
5537 char * kwnames
[] = {
5538 (char *) "listOfStrings", NULL
5541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5544 if (!wxPyCheckForApp()) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5557 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
= 0;
5559 PyObject
*arg1
= (PyObject
*) 0 ;
5562 int arg4
= (int) 1 ;
5563 wxBitmap
*result
= 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 PyObject
* obj2
= 0 ;
5573 PyObject
* obj3
= 0 ;
5574 char * kwnames
[] = {
5575 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5581 if (!SWIG_IsOK(ecode2
)) {
5582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5584 arg2
= static_cast< int >(val2
);
5585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5586 if (!SWIG_IsOK(ecode3
)) {
5587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5589 arg3
= static_cast< int >(val3
);
5591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5592 if (!SWIG_IsOK(ecode4
)) {
5593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5595 arg4
= static_cast< int >(val4
);
5598 if (!wxPyCheckForApp()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5611 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5617 PyObject
*swig_obj
[1] ;
5619 if (!args
) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5625 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (bool)(arg1
)->Ok();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5641 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5642 PyObject
*resultobj
= 0;
5643 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5647 PyObject
*swig_obj
[1] ;
5649 if (!args
) SWIG_fail
;
5651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5652 if (!SWIG_IsOK(res1
)) {
5653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5655 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 result
= (int)(arg1
)->GetWidth();
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_From_int(static_cast< int >(result
));
5669 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5670 PyObject
*resultobj
= 0;
5671 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5675 PyObject
*swig_obj
[1] ;
5677 if (!args
) SWIG_fail
;
5679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5680 if (!SWIG_IsOK(res1
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5683 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (int)(arg1
)->GetHeight();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_From_int(static_cast< int >(result
));
5697 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5698 PyObject
*resultobj
= 0;
5699 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5703 PyObject
*swig_obj
[1] ;
5705 if (!args
) SWIG_fail
;
5707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5708 if (!SWIG_IsOK(res1
)) {
5709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5711 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= (int)(arg1
)->GetDepth();
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_From_int(static_cast< int >(result
));
5725 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5726 PyObject
*resultobj
= 0;
5727 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5731 PyObject
*swig_obj
[1] ;
5733 if (!args
) SWIG_fail
;
5735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5736 if (!SWIG_IsOK(res1
)) {
5737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5739 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 result
= wxBitmap_GetSize(arg1
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5753 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5754 PyObject
*resultobj
= 0;
5755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5756 SwigValueWrapper
<wxImage
> result
;
5759 PyObject
*swig_obj
[1] ;
5761 if (!args
) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5767 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5781 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5782 PyObject
*resultobj
= 0;
5783 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5784 wxMask
*result
= 0 ;
5787 PyObject
*swig_obj
[1] ;
5789 if (!args
) SWIG_fail
;
5791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5792 if (!SWIG_IsOK(res1
)) {
5793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5795 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5809 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
= 0;
5811 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5812 wxMask
*arg2
= (wxMask
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5817 PyObject
* obj1
= 0 ;
5818 char * kwnames
[] = {
5819 (char *) "self",(char *) "mask", NULL
5822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5824 if (!SWIG_IsOK(res1
)) {
5825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5827 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5828 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5829 if (!SWIG_IsOK(res2
)) {
5830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 (arg1
)->SetMask(arg2
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= SWIG_Py_Void();
5845 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
= 0;
5847 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5848 wxColour
*arg2
= 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 char * kwnames
[] = {
5855 (char *) "self",(char *) "colour", NULL
5858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5860 if (!SWIG_IsOK(res1
)) {
5861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5863 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5866 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= SWIG_Py_Void();
5881 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
= 0;
5883 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5885 SwigValueWrapper
<wxBitmap
> result
;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5891 char * kwnames
[] = {
5892 (char *) "self",(char *) "rect", NULL
5895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5897 if (!SWIG_IsOK(res1
)) {
5898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5900 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5903 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5918 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
= 0;
5920 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5921 wxString
*arg2
= 0 ;
5923 wxPalette
*arg4
= (wxPalette
*) NULL
;
5927 bool temp2
= false ;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5934 PyObject
* obj2
= 0 ;
5935 PyObject
* obj3
= 0 ;
5936 char * kwnames
[] = {
5937 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5942 if (!SWIG_IsOK(res1
)) {
5943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5945 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5947 arg2
= wxString_in_helper(obj1
);
5948 if (arg2
== NULL
) SWIG_fail
;
5951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5952 if (!SWIG_IsOK(ecode3
)) {
5953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5955 arg3
= static_cast< wxBitmapType
>(val3
);
5957 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5958 if (!SWIG_IsOK(res4
)) {
5959 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5961 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5986 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
= 0;
5988 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5989 wxString
*arg2
= 0 ;
5994 bool temp2
= false ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
5999 PyObject
* obj2
= 0 ;
6000 char * kwnames
[] = {
6001 (char *) "self",(char *) "name",(char *) "type", NULL
6004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6009 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6011 arg2
= wxString_in_helper(obj1
);
6012 if (arg2
== NULL
) SWIG_fail
;
6015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6016 if (!SWIG_IsOK(ecode3
)) {
6017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6019 arg3
= static_cast< wxBitmapType
>(val3
);
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6043 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6044 PyObject
*resultobj
= 0;
6045 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6046 wxPalette
*result
= 0 ;
6049 PyObject
*swig_obj
[1] ;
6051 if (!args
) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6071 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
= 0;
6073 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 char * kwnames
[] = {
6083 (char *) "self",(char *) "icon", NULL
6086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6088 if (!SWIG_IsOK(res1
)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6091 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6093 if (!SWIG_IsOK(res2
)) {
6094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6099 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6115 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
= 0;
6117 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "self",(char *) "height", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6134 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6136 if (!SWIG_IsOK(ecode2
)) {
6137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6139 arg2
= static_cast< int >(val2
);
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 (arg1
)->SetHeight(arg2
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= SWIG_Py_Void();
6153 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
= 0;
6155 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 char * kwnames
[] = {
6164 (char *) "self",(char *) "width", NULL
6167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6169 if (!SWIG_IsOK(res1
)) {
6170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6172 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6174 if (!SWIG_IsOK(ecode2
)) {
6175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6177 arg2
= static_cast< int >(val2
);
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 (arg1
)->SetWidth(arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= SWIG_Py_Void();
6191 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
= 0;
6193 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6201 char * kwnames
[] = {
6202 (char *) "self",(char *) "depth", NULL
6205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6207 if (!SWIG_IsOK(res1
)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6210 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6212 if (!SWIG_IsOK(ecode2
)) {
6213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6215 arg2
= static_cast< int >(val2
);
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 (arg1
)->SetDepth(arg2
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_Py_Void();
6229 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
= 0;
6231 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 char * kwnames
[] = {
6239 (char *) "self",(char *) "size", NULL
6242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6244 if (!SWIG_IsOK(res1
)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6247 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_Py_Void();
6265 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
= 0;
6267 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6268 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6276 char * kwnames
[] = {
6277 (char *) "self",(char *) "other", NULL
6280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6282 if (!SWIG_IsOK(res1
)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6285 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6287 if (!SWIG_IsOK(res2
)) {
6288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6290 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6306 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
= 0;
6308 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6309 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "self",(char *) "other", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6323 if (!SWIG_IsOK(res1
)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6326 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6328 if (!SWIG_IsOK(res2
)) {
6329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6347 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6350 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6351 return SWIG_Py_Void();
6354 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6355 return SWIG_Python_InitShadowInstance(args
);
6358 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
= 0;
6360 wxBitmap
*arg1
= 0 ;
6361 wxColour
const &arg2_defvalue
= wxNullColour
;
6362 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6363 wxMask
*result
= 0 ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 char * kwnames
[] = {
6370 (char *) "bitmap",(char *) "colour", NULL
6373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6374 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6375 if (!SWIG_IsOK(res1
)) {
6376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6381 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6385 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6389 if (!wxPyCheckForApp()) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6402 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6403 PyObject
*resultobj
= 0;
6404 wxMask
*arg1
= (wxMask
*) 0 ;
6407 PyObject
*swig_obj
[1] ;
6409 if (!args
) SWIG_fail
;
6411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6412 if (!SWIG_IsOK(res1
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6415 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_Py_Void();
6430 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6433 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6434 return SWIG_Py_Void();
6437 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6438 return SWIG_Python_InitShadowInstance(args
);
6441 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
*resultobj
= 0;
6443 wxString
*arg1
= 0 ;
6445 int arg3
= (int) -1 ;
6446 int arg4
= (int) -1 ;
6447 wxIcon
*result
= 0 ;
6448 bool temp1
= false ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6457 PyObject
* obj2
= 0 ;
6458 PyObject
* obj3
= 0 ;
6459 char * kwnames
[] = {
6460 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6465 arg1
= wxString_in_helper(obj0
);
6466 if (arg1
== NULL
) SWIG_fail
;
6469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6470 if (!SWIG_IsOK(ecode2
)) {
6471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6473 arg2
= static_cast< wxBitmapType
>(val2
);
6475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6476 if (!SWIG_IsOK(ecode3
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6479 arg3
= static_cast< int >(val3
);
6482 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6483 if (!SWIG_IsOK(ecode4
)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6486 arg4
= static_cast< int >(val4
);
6489 if (!wxPyCheckForApp()) SWIG_fail
;
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6510 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxIcon
*arg1
= (wxIcon
*) 0 ;
6515 PyObject
*swig_obj
[1] ;
6517 if (!args
) SWIG_fail
;
6519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6520 if (!SWIG_IsOK(res1
)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6523 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 resultobj
= SWIG_Py_Void();
6538 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6539 PyObject
*resultobj
= 0;
6540 wxIcon
*result
= 0 ;
6542 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6544 if (!wxPyCheckForApp()) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (wxIcon
*)new wxIcon();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6557 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
= 0;
6559 wxIconLocation
*arg1
= 0 ;
6560 wxIcon
*result
= 0 ;
6563 PyObject
* obj0
= 0 ;
6564 char * kwnames
[] = {
6565 (char *) "loc", NULL
6568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6569 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6570 if (!SWIG_IsOK(res1
)) {
6571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6576 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6578 if (!wxPyCheckForApp()) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6591 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
= 0;
6593 wxBitmap
*arg1
= 0 ;
6594 wxIcon
*result
= 0 ;
6597 PyObject
* obj0
= 0 ;
6598 char * kwnames
[] = {
6599 (char *) "bmp", NULL
6602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6603 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6604 if (!SWIG_IsOK(res1
)) {
6605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6610 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6612 if (!wxPyCheckForApp()) SWIG_fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6625 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
= 0;
6627 PyObject
*arg1
= (PyObject
*) 0 ;
6628 wxIcon
*result
= 0 ;
6629 PyObject
* obj0
= 0 ;
6630 char * kwnames
[] = {
6631 (char *) "listOfStrings", NULL
6634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6637 if (!wxPyCheckForApp()) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (wxIcon
*)new_wxIcon(arg1
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6650 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6651 PyObject
*resultobj
= 0;
6652 wxIcon
*arg1
= (wxIcon
*) 0 ;
6656 PyObject
*swig_obj
[1] ;
6658 if (!args
) SWIG_fail
;
6660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6661 if (!SWIG_IsOK(res1
)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6664 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (bool)(arg1
)->Ok();
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6680 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6681 PyObject
*resultobj
= 0;
6682 wxIcon
*arg1
= (wxIcon
*) 0 ;
6686 PyObject
*swig_obj
[1] ;
6688 if (!args
) SWIG_fail
;
6690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6691 if (!SWIG_IsOK(res1
)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6694 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= (int)(arg1
)->GetWidth();
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= SWIG_From_int(static_cast< int >(result
));
6708 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 PyObject
*resultobj
= 0;
6710 wxIcon
*arg1
= (wxIcon
*) 0 ;
6714 PyObject
*swig_obj
[1] ;
6716 if (!args
) SWIG_fail
;
6718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6719 if (!SWIG_IsOK(res1
)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6722 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (int)(arg1
)->GetHeight();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_From_int(static_cast< int >(result
));
6736 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6737 PyObject
*resultobj
= 0;
6738 wxIcon
*arg1
= (wxIcon
*) 0 ;
6742 PyObject
*swig_obj
[1] ;
6744 if (!args
) SWIG_fail
;
6746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6747 if (!SWIG_IsOK(res1
)) {
6748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6750 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (int)(arg1
)->GetDepth();
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_From_int(static_cast< int >(result
));
6764 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
= 0;
6766 wxIcon
*arg1
= (wxIcon
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6774 char * kwnames
[] = {
6775 (char *) "self",(char *) "w", NULL
6778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6780 if (!SWIG_IsOK(res1
)) {
6781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6783 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6785 if (!SWIG_IsOK(ecode2
)) {
6786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6788 arg2
= static_cast< int >(val2
);
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 (arg1
)->SetWidth(arg2
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= SWIG_Py_Void();
6802 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxIcon
*arg1
= (wxIcon
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6812 char * kwnames
[] = {
6813 (char *) "self",(char *) "h", NULL
6816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6818 if (!SWIG_IsOK(res1
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6821 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6823 if (!SWIG_IsOK(ecode2
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6826 arg2
= static_cast< int >(val2
);
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 (arg1
)->SetHeight(arg2
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= SWIG_Py_Void();
6840 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
= 0;
6842 wxIcon
*arg1
= (wxIcon
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6850 char * kwnames
[] = {
6851 (char *) "self",(char *) "d", NULL
6854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6856 if (!SWIG_IsOK(res1
)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6859 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6861 if (!SWIG_IsOK(ecode2
)) {
6862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6864 arg2
= static_cast< int >(val2
);
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetDepth(arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_Py_Void();
6878 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
= 0;
6880 wxIcon
*arg1
= (wxIcon
*) 0 ;
6881 wxBitmap
*arg2
= 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6888 char * kwnames
[] = {
6889 (char *) "self",(char *) "bmp", NULL
6892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6894 if (!SWIG_IsOK(res1
)) {
6895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6897 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6899 if (!SWIG_IsOK(res2
)) {
6900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6905 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_Py_Void();
6919 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6922 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6923 return SWIG_Py_Void();
6926 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6927 return SWIG_Python_InitShadowInstance(args
);
6930 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
= 0;
6932 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6933 int arg2
= (int) 0 ;
6934 wxIconLocation
*result
= 0 ;
6935 bool temp1
= false ;
6938 PyObject
* obj0
= 0 ;
6939 PyObject
* obj1
= 0 ;
6940 char * kwnames
[] = {
6941 (char *) "filename",(char *) "num", NULL
6944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6947 arg1
= wxString_in_helper(obj0
);
6948 if (arg1
== NULL
) SWIG_fail
;
6953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6954 if (!SWIG_IsOK(ecode2
)) {
6955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6957 arg2
= static_cast< int >(val2
);
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6980 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6981 PyObject
*resultobj
= 0;
6982 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6985 PyObject
*swig_obj
[1] ;
6987 if (!args
) SWIG_fail
;
6989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
6990 if (!SWIG_IsOK(res1
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
6993 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_Py_Void();
7008 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7009 PyObject
*resultobj
= 0;
7010 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7014 PyObject
*swig_obj
[1] ;
7016 if (!args
) SWIG_fail
;
7018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7019 if (!SWIG_IsOK(res1
)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7022 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7038 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7041 wxString
*arg2
= 0 ;
7044 bool temp2
= false ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 char * kwnames
[] = {
7048 (char *) "self",(char *) "filename", NULL
7051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7056 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7058 arg2
= wxString_in_helper(obj1
);
7059 if (arg2
== NULL
) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 (arg1
)->SetFileName((wxString
const &)*arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_Py_Void();
7083 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7084 PyObject
*resultobj
= 0;
7085 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7086 wxString
*result
= 0 ;
7089 PyObject
*swig_obj
[1] ;
7091 if (!args
) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7097 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7102 result
= (wxString
*) &_result_ref
;
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7111 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7120 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
= 0;
7122 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7130 char * kwnames
[] = {
7131 (char *) "self",(char *) "num", NULL
7134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7136 if (!SWIG_IsOK(res1
)) {
7137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7139 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7141 if (!SWIG_IsOK(ecode2
)) {
7142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7144 arg2
= static_cast< int >(val2
);
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 wxIconLocation_SetIndex(arg1
,arg2
);
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= SWIG_Py_Void();
7158 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7159 PyObject
*resultobj
= 0;
7160 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7164 PyObject
*swig_obj
[1] ;
7166 if (!args
) SWIG_fail
;
7168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7169 if (!SWIG_IsOK(res1
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7172 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 result
= (int)wxIconLocation_GetIndex(arg1
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_From_int(static_cast< int >(result
));
7186 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7189 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7190 return SWIG_Py_Void();
7193 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7194 return SWIG_Python_InitShadowInstance(args
);
7197 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7198 PyObject
*resultobj
= 0;
7199 wxIconBundle
*result
= 0 ;
7201 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 result
= (wxIconBundle
*)new wxIconBundle();
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7215 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
= 0;
7217 wxString
*arg1
= 0 ;
7219 wxIconBundle
*result
= 0 ;
7220 bool temp1
= false ;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7225 char * kwnames
[] = {
7226 (char *) "file",(char *) "type", NULL
7229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7231 arg1
= wxString_in_helper(obj0
);
7232 if (arg1
== NULL
) SWIG_fail
;
7235 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7236 if (!SWIG_IsOK(ecode2
)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7239 arg2
= static_cast< long >(val2
);
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7261 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
= 0;
7264 wxIconBundle
*result
= 0 ;
7267 PyObject
* obj0
= 0 ;
7268 char * kwnames
[] = {
7269 (char *) "icon", NULL
7272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7280 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7294 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7295 PyObject
*resultobj
= 0;
7296 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7299 PyObject
*swig_obj
[1] ;
7301 if (!args
) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7307 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_Py_Void();
7322 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
= 0;
7324 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 char * kwnames
[] = {
7333 (char *) "self",(char *) "icon", NULL
7336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7341 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7343 if (!SWIG_IsOK(res2
)) {
7344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7349 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_Py_Void();
7363 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
= 0;
7365 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7366 wxString
*arg2
= 0 ;
7370 bool temp2
= false ;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7375 PyObject
* obj2
= 0 ;
7376 char * kwnames
[] = {
7377 (char *) "self",(char *) "file",(char *) "type", NULL
7380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7382 if (!SWIG_IsOK(res1
)) {
7383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7385 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7387 arg2
= wxString_in_helper(obj1
);
7388 if (arg2
== NULL
) SWIG_fail
;
7391 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7392 if (!SWIG_IsOK(ecode3
)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7395 arg3
= static_cast< long >(val3
);
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_Py_Void();
7417 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
= 0;
7419 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7421 wxIcon
*result
= 0 ;
7425 PyObject
* obj0
= 0 ;
7426 PyObject
* obj1
= 0 ;
7427 char * kwnames
[] = {
7428 (char *) "self",(char *) "size", NULL
7431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7433 if (!SWIG_IsOK(res1
)) {
7434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7436 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7445 result
= (wxIcon
*) &_result_ref
;
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7451 wxIcon
* resultptr
= new wxIcon(*result
);
7452 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7460 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7463 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7464 return SWIG_Py_Void();
7467 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7468 return SWIG_Python_InitShadowInstance(args
);
7471 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
= 0;
7473 wxString
*arg1
= 0 ;
7475 int arg3
= (int) 0 ;
7476 int arg4
= (int) 0 ;
7477 wxCursor
*result
= 0 ;
7478 bool temp1
= false ;
7485 PyObject
* obj0
= 0 ;
7486 PyObject
* obj1
= 0 ;
7487 PyObject
* obj2
= 0 ;
7488 PyObject
* obj3
= 0 ;
7489 char * kwnames
[] = {
7490 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7495 arg1
= wxString_in_helper(obj0
);
7496 if (arg1
== NULL
) SWIG_fail
;
7499 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7500 if (!SWIG_IsOK(ecode2
)) {
7501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7503 arg2
= static_cast< long >(val2
);
7505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7506 if (!SWIG_IsOK(ecode3
)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7509 arg3
= static_cast< int >(val3
);
7512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7513 if (!SWIG_IsOK(ecode4
)) {
7514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7516 arg4
= static_cast< int >(val4
);
7519 if (!wxPyCheckForApp()) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7540 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7541 PyObject
*resultobj
= 0;
7542 wxCursor
*arg1
= (wxCursor
*) 0 ;
7545 PyObject
*swig_obj
[1] ;
7547 if (!args
) SWIG_fail
;
7549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7550 if (!SWIG_IsOK(res1
)) {
7551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7553 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_Py_Void();
7568 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= 0;
7571 wxCursor
*result
= 0 ;
7574 PyObject
* obj0
= 0 ;
7575 char * kwnames
[] = {
7579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7580 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7581 if (!SWIG_IsOK(ecode1
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7584 arg1
= static_cast< int >(val1
);
7586 if (!wxPyCheckForApp()) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (wxCursor
*)new wxCursor(arg1
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7599 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
= 0;
7602 wxCursor
*result
= 0 ;
7605 PyObject
* obj0
= 0 ;
7606 char * kwnames
[] = {
7607 (char *) "image", NULL
7610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7611 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7612 if (!SWIG_IsOK(res1
)) {
7613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7618 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7620 if (!wxPyCheckForApp()) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7633 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7634 PyObject
*resultobj
= 0;
7635 wxCursor
*arg1
= (wxCursor
*) 0 ;
7639 PyObject
*swig_obj
[1] ;
7641 if (!args
) SWIG_fail
;
7643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7644 if (!SWIG_IsOK(res1
)) {
7645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7647 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (bool)(arg1
)->Ok();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7663 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7666 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7667 return SWIG_Py_Void();
7670 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 return SWIG_Python_InitShadowInstance(args
);
7674 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
= 0;
7676 int arg1
= (int) 0 ;
7677 int arg2
= (int) 0 ;
7678 int arg3
= (int) 0 ;
7679 int arg4
= (int) 0 ;
7680 wxRegion
*result
= 0 ;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7691 PyObject
* obj2
= 0 ;
7692 PyObject
* obj3
= 0 ;
7693 char * kwnames
[] = {
7694 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7700 if (!SWIG_IsOK(ecode1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7703 arg1
= static_cast< int >(val1
);
7706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7707 if (!SWIG_IsOK(ecode2
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7710 arg2
= static_cast< int >(val2
);
7713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7714 if (!SWIG_IsOK(ecode3
)) {
7715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7717 arg3
= static_cast< int >(val3
);
7720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7721 if (!SWIG_IsOK(ecode4
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7724 arg4
= static_cast< int >(val4
);
7727 if (!wxPyCheckForApp()) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7740 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
= 0;
7742 wxBitmap
*arg1
= 0 ;
7743 wxRegion
*result
= 0 ;
7746 PyObject
* obj0
= 0 ;
7747 char * kwnames
[] = {
7748 (char *) "bmp", NULL
7751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7752 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7753 if (!SWIG_IsOK(res1
)) {
7754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7759 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7761 if (!wxPyCheckForApp()) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7774 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
= 0;
7776 wxBitmap
*arg1
= 0 ;
7777 wxColour
*arg2
= 0 ;
7778 int arg3
= (int) 0 ;
7779 wxRegion
*result
= 0 ;
7785 PyObject
* obj0
= 0 ;
7786 PyObject
* obj1
= 0 ;
7787 PyObject
* obj2
= 0 ;
7788 char * kwnames
[] = {
7789 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7793 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7794 if (!SWIG_IsOK(res1
)) {
7795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7803 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7807 if (!SWIG_IsOK(ecode3
)) {
7808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7810 arg3
= static_cast< int >(val3
);
7813 if (!wxPyCheckForApp()) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7826 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
= 0;
7829 wxPoint
*arg2
= (wxPoint
*) 0 ;
7830 int arg3
= (int) wxWINDING_RULE
;
7831 wxRegion
*result
= 0 ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7836 char * kwnames
[] = {
7837 (char *) "points",(char *) "fillStyle", NULL
7840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7842 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7843 if (arg2
== NULL
) SWIG_fail
;
7846 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7847 if (!SWIG_IsOK(ecode3
)) {
7848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7850 arg3
= static_cast< int >(val3
);
7853 if (!wxPyCheckForApp()) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7861 if (arg2
) delete [] arg2
;
7866 if (arg2
) delete [] arg2
;
7872 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7873 PyObject
*resultobj
= 0;
7874 wxRegion
*arg1
= (wxRegion
*) 0 ;
7877 PyObject
*swig_obj
[1] ;
7879 if (!args
) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7885 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= SWIG_Py_Void();
7900 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7901 PyObject
*resultobj
= 0;
7902 wxRegion
*arg1
= (wxRegion
*) 0 ;
7905 PyObject
*swig_obj
[1] ;
7907 if (!args
) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7913 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= SWIG_Py_Void();
7927 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
*resultobj
= 0;
7929 wxRegion
*arg1
= (wxRegion
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7941 PyObject
* obj2
= 0 ;
7942 char * kwnames
[] = {
7943 (char *) "self",(char *) "x",(char *) "y", NULL
7946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7948 if (!SWIG_IsOK(res1
)) {
7949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7951 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7953 if (!SWIG_IsOK(ecode2
)) {
7954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7956 arg2
= static_cast< int >(val2
);
7957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7958 if (!SWIG_IsOK(ecode3
)) {
7959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7961 arg3
= static_cast< int >(val3
);
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
= 0;
7979 wxRegion
*arg1
= (wxRegion
*) 0 ;
7982 wxRegionContain result
;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 PyObject
* obj2
= 0 ;
7992 char * kwnames
[] = {
7993 (char *) "self",(char *) "x",(char *) "y", NULL
7996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7998 if (!SWIG_IsOK(res1
)) {
7999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8001 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8003 if (!SWIG_IsOK(ecode2
)) {
8004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8006 arg2
= static_cast< int >(val2
);
8007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8008 if (!SWIG_IsOK(ecode3
)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8011 arg3
= static_cast< int >(val3
);
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= SWIG_From_int(static_cast< int >(result
));
8025 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
= 0;
8027 wxRegion
*arg1
= (wxRegion
*) 0 ;
8029 wxRegionContain result
;
8033 PyObject
* obj0
= 0 ;
8034 PyObject
* obj1
= 0 ;
8035 char * kwnames
[] = {
8036 (char *) "self",(char *) "pt", NULL
8039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8041 if (!SWIG_IsOK(res1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8044 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_From_int(static_cast< int >(result
));
8062 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxRegion
*arg1
= (wxRegion
*) 0 ;
8066 wxRegionContain result
;
8070 PyObject
* obj0
= 0 ;
8071 PyObject
* obj1
= 0 ;
8072 char * kwnames
[] = {
8073 (char *) "self",(char *) "rect", NULL
8076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8078 if (!SWIG_IsOK(res1
)) {
8079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8081 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8084 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_From_int(static_cast< int >(result
));
8099 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
= 0;
8101 wxRegion
*arg1
= (wxRegion
*) 0 ;
8106 wxRegionContain result
;
8117 PyObject
* obj0
= 0 ;
8118 PyObject
* obj1
= 0 ;
8119 PyObject
* obj2
= 0 ;
8120 PyObject
* obj3
= 0 ;
8121 PyObject
* obj4
= 0 ;
8122 char * kwnames
[] = {
8123 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8128 if (!SWIG_IsOK(res1
)) {
8129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8131 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8133 if (!SWIG_IsOK(ecode2
)) {
8134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8136 arg2
= static_cast< int >(val2
);
8137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8138 if (!SWIG_IsOK(ecode3
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8141 arg3
= static_cast< int >(val3
);
8142 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8143 if (!SWIG_IsOK(ecode4
)) {
8144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8146 arg4
= static_cast< int >(val4
);
8147 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8148 if (!SWIG_IsOK(ecode5
)) {
8149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8151 arg5
= static_cast< int >(val5
);
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= SWIG_From_int(static_cast< int >(result
));
8165 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8166 PyObject
*resultobj
= 0;
8167 wxRegion
*arg1
= (wxRegion
*) 0 ;
8171 PyObject
*swig_obj
[1] ;
8173 if (!args
) SWIG_fail
;
8175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8176 if (!SWIG_IsOK(res1
)) {
8177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8179 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 result
= (arg1
)->GetBox();
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8193 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
= 0;
8195 wxRegion
*arg1
= (wxRegion
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 PyObject
* obj2
= 0 ;
8214 PyObject
* obj3
= 0 ;
8215 PyObject
* obj4
= 0 ;
8216 char * kwnames
[] = {
8217 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8222 if (!SWIG_IsOK(res1
)) {
8223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8225 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8227 if (!SWIG_IsOK(ecode2
)) {
8228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8230 arg2
= static_cast< int >(val2
);
8231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8232 if (!SWIG_IsOK(ecode3
)) {
8233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8235 arg3
= static_cast< int >(val3
);
8236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8237 if (!SWIG_IsOK(ecode4
)) {
8238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8240 arg4
= static_cast< int >(val4
);
8241 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8242 if (!SWIG_IsOK(ecode5
)) {
8243 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8245 arg5
= static_cast< int >(val5
);
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8261 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
= 0;
8263 wxRegion
*arg1
= (wxRegion
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 char * kwnames
[] = {
8272 (char *) "self",(char *) "rect", NULL
8275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8277 if (!SWIG_IsOK(res1
)) {
8278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8280 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8283 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8300 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
= 0;
8302 wxRegion
*arg1
= (wxRegion
*) 0 ;
8303 wxRegion
*arg2
= 0 ;
8309 PyObject
* obj0
= 0 ;
8310 PyObject
* obj1
= 0 ;
8311 char * kwnames
[] = {
8312 (char *) "self",(char *) "region", NULL
8315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8317 if (!SWIG_IsOK(res1
)) {
8318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8320 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8322 if (!SWIG_IsOK(res2
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8328 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8344 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8345 PyObject
*resultobj
= 0;
8346 wxRegion
*arg1
= (wxRegion
*) 0 ;
8350 PyObject
*swig_obj
[1] ;
8352 if (!args
) SWIG_fail
;
8354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8355 if (!SWIG_IsOK(res1
)) {
8356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8358 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (bool)(arg1
)->IsEmpty();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8374 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
= 0;
8376 wxRegion
*arg1
= (wxRegion
*) 0 ;
8392 PyObject
* obj0
= 0 ;
8393 PyObject
* obj1
= 0 ;
8394 PyObject
* obj2
= 0 ;
8395 PyObject
* obj3
= 0 ;
8396 PyObject
* obj4
= 0 ;
8397 char * kwnames
[] = {
8398 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8403 if (!SWIG_IsOK(res1
)) {
8404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8406 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8408 if (!SWIG_IsOK(ecode2
)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8411 arg2
= static_cast< int >(val2
);
8412 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8413 if (!SWIG_IsOK(ecode3
)) {
8414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8416 arg3
= static_cast< int >(val3
);
8417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8418 if (!SWIG_IsOK(ecode4
)) {
8419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8421 arg4
= static_cast< int >(val4
);
8422 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8423 if (!SWIG_IsOK(ecode5
)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8426 arg5
= static_cast< int >(val5
);
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8442 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
= 0;
8444 wxRegion
*arg1
= (wxRegion
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8452 char * kwnames
[] = {
8453 (char *) "self",(char *) "rect", NULL
8456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8458 if (!SWIG_IsOK(res1
)) {
8459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8461 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8464 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8481 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
= 0;
8483 wxRegion
*arg1
= (wxRegion
*) 0 ;
8484 wxRegion
*arg2
= 0 ;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8492 char * kwnames
[] = {
8493 (char *) "self",(char *) "region", NULL
8496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8498 if (!SWIG_IsOK(res1
)) {
8499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8501 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8503 if (!SWIG_IsOK(res2
)) {
8504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8509 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8525 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
= 0;
8527 wxRegion
*arg1
= (wxRegion
*) 0 ;
8543 PyObject
* obj0
= 0 ;
8544 PyObject
* obj1
= 0 ;
8545 PyObject
* obj2
= 0 ;
8546 PyObject
* obj3
= 0 ;
8547 PyObject
* obj4
= 0 ;
8548 char * kwnames
[] = {
8549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8554 if (!SWIG_IsOK(res1
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8557 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8559 if (!SWIG_IsOK(ecode2
)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8562 arg2
= static_cast< int >(val2
);
8563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8564 if (!SWIG_IsOK(ecode3
)) {
8565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8567 arg3
= static_cast< int >(val3
);
8568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8569 if (!SWIG_IsOK(ecode4
)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8572 arg4
= static_cast< int >(val4
);
8573 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8574 if (!SWIG_IsOK(ecode5
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8577 arg5
= static_cast< int >(val5
);
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8593 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
= 0;
8595 wxRegion
*arg1
= (wxRegion
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8603 char * kwnames
[] = {
8604 (char *) "self",(char *) "rect", NULL
8607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8609 if (!SWIG_IsOK(res1
)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8612 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8615 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8632 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
= 0;
8634 wxRegion
*arg1
= (wxRegion
*) 0 ;
8635 wxRegion
*arg2
= 0 ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8643 char * kwnames
[] = {
8644 (char *) "self",(char *) "region", NULL
8647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8652 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8654 if (!SWIG_IsOK(res2
)) {
8655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8660 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8676 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= 0;
8678 wxRegion
*arg1
= (wxRegion
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 PyObject
* obj2
= 0 ;
8697 PyObject
* obj3
= 0 ;
8698 PyObject
* obj4
= 0 ;
8699 char * kwnames
[] = {
8700 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8705 if (!SWIG_IsOK(res1
)) {
8706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8708 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8710 if (!SWIG_IsOK(ecode2
)) {
8711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8713 arg2
= static_cast< int >(val2
);
8714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8715 if (!SWIG_IsOK(ecode3
)) {
8716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8718 arg3
= static_cast< int >(val3
);
8719 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8720 if (!SWIG_IsOK(ecode4
)) {
8721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8723 arg4
= static_cast< int >(val4
);
8724 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8725 if (!SWIG_IsOK(ecode5
)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8728 arg5
= static_cast< int >(val5
);
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8744 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
= 0;
8746 wxRegion
*arg1
= (wxRegion
*) 0 ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 char * kwnames
[] = {
8755 (char *) "self",(char *) "rect", NULL
8758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8760 if (!SWIG_IsOK(res1
)) {
8761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8763 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8766 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8783 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
= 0;
8785 wxRegion
*arg1
= (wxRegion
*) 0 ;
8786 wxRegion
*arg2
= 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 char * kwnames
[] = {
8795 (char *) "self",(char *) "region", NULL
8798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8800 if (!SWIG_IsOK(res1
)) {
8801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8803 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8805 if (!SWIG_IsOK(res2
)) {
8806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8811 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8827 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8828 PyObject
*resultobj
= 0;
8829 wxRegion
*arg1
= (wxRegion
*) 0 ;
8830 SwigValueWrapper
<wxBitmap
> result
;
8833 PyObject
*swig_obj
[1] ;
8835 if (!args
) SWIG_fail
;
8837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8838 if (!SWIG_IsOK(res1
)) {
8839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8841 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (arg1
)->ConvertToBitmap();
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8855 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
= 0;
8857 wxRegion
*arg1
= (wxRegion
*) 0 ;
8858 wxBitmap
*arg2
= 0 ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 char * kwnames
[] = {
8867 (char *) "self",(char *) "bmp", NULL
8870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8875 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8877 if (!SWIG_IsOK(res2
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8883 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8899 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
= 0;
8901 wxRegion
*arg1
= (wxRegion
*) 0 ;
8902 wxBitmap
*arg2
= 0 ;
8903 wxColour
*arg3
= 0 ;
8904 int arg4
= (int) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 PyObject
* obj2
= 0 ;
8916 PyObject
* obj3
= 0 ;
8917 char * kwnames
[] = {
8918 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8923 if (!SWIG_IsOK(res1
)) {
8924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8926 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8928 if (!SWIG_IsOK(res2
)) {
8929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8934 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8937 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8941 if (!SWIG_IsOK(ecode4
)) {
8942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8944 arg4
= static_cast< int >(val4
);
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8961 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8964 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8965 return SWIG_Py_Void();
8968 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8969 return SWIG_Python_InitShadowInstance(args
);
8972 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
= 0;
8974 wxRegion
*arg1
= 0 ;
8975 wxRegionIterator
*result
= 0 ;
8978 PyObject
* obj0
= 0 ;
8979 char * kwnames
[] = {
8980 (char *) "region", NULL
8983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
8984 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
8985 if (!SWIG_IsOK(res1
)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
8989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
8991 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8993 if (!wxPyCheckForApp()) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9006 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9007 PyObject
*resultobj
= 0;
9008 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9011 PyObject
*swig_obj
[1] ;
9013 if (!args
) SWIG_fail
;
9015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9016 if (!SWIG_IsOK(res1
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9019 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= SWIG_Py_Void();
9034 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9035 PyObject
*resultobj
= 0;
9036 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9040 PyObject
*swig_obj
[1] ;
9042 if (!args
) SWIG_fail
;
9044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9045 if (!SWIG_IsOK(res1
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9048 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (int)(arg1
)->GetX();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_From_int(static_cast< int >(result
));
9062 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9063 PyObject
*resultobj
= 0;
9064 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9068 PyObject
*swig_obj
[1] ;
9070 if (!args
) SWIG_fail
;
9072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9073 if (!SWIG_IsOK(res1
)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9076 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (int)(arg1
)->GetY();
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_From_int(static_cast< int >(result
));
9090 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9091 PyObject
*resultobj
= 0;
9092 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9096 PyObject
*swig_obj
[1] ;
9098 if (!args
) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9104 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= (int)(arg1
)->GetW();
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_From_int(static_cast< int >(result
));
9118 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9119 PyObject
*resultobj
= 0;
9120 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9124 PyObject
*swig_obj
[1] ;
9126 if (!args
) SWIG_fail
;
9128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9129 if (!SWIG_IsOK(res1
)) {
9130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9132 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (int)(arg1
)->GetWidth();
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= SWIG_From_int(static_cast< int >(result
));
9146 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9147 PyObject
*resultobj
= 0;
9148 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9152 PyObject
*swig_obj
[1] ;
9154 if (!args
) SWIG_fail
;
9156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9157 if (!SWIG_IsOK(res1
)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9160 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (int)(arg1
)->GetH();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_From_int(static_cast< int >(result
));
9174 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9175 PyObject
*resultobj
= 0;
9176 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9180 PyObject
*swig_obj
[1] ;
9182 if (!args
) SWIG_fail
;
9184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9185 if (!SWIG_IsOK(res1
)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9188 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (int)(arg1
)->GetHeight();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_From_int(static_cast< int >(result
));
9202 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9203 PyObject
*resultobj
= 0;
9204 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9208 PyObject
*swig_obj
[1] ;
9210 if (!args
) SWIG_fail
;
9212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9213 if (!SWIG_IsOK(res1
)) {
9214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9216 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (arg1
)->GetRect();
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9230 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9231 PyObject
*resultobj
= 0;
9232 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9236 PyObject
*swig_obj
[1] ;
9238 if (!args
) SWIG_fail
;
9240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9241 if (!SWIG_IsOK(res1
)) {
9242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9244 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (bool)(arg1
)->HaveRects();
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9260 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9261 PyObject
*resultobj
= 0;
9262 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9265 PyObject
*swig_obj
[1] ;
9267 if (!args
) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9273 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9287 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9288 PyObject
*resultobj
= 0;
9289 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9292 PyObject
*swig_obj
[1] ;
9294 if (!args
) SWIG_fail
;
9296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9297 if (!SWIG_IsOK(res1
)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9300 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 wxRegionIterator_Next(arg1
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_Py_Void();
9314 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9315 PyObject
*resultobj
= 0;
9316 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9320 PyObject
*swig_obj
[1] ;
9322 if (!args
) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9328 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9344 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9347 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9348 return SWIG_Py_Void();
9351 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9352 return SWIG_Python_InitShadowInstance(args
);
9355 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9356 PyObject
*resultobj
= 0;
9357 wxNativeFontInfo
*result
= 0 ;
9359 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9373 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9374 PyObject
*resultobj
= 0;
9375 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9378 PyObject
*swig_obj
[1] ;
9380 if (!args
) SWIG_fail
;
9382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9383 if (!SWIG_IsOK(res1
)) {
9384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9386 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= SWIG_Py_Void();
9401 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9402 PyObject
*resultobj
= 0;
9403 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9406 PyObject
*swig_obj
[1] ;
9408 if (!args
) SWIG_fail
;
9410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9411 if (!SWIG_IsOK(res1
)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9414 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_Py_Void();
9428 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
= 0;
9430 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 char * kwnames
[] = {
9439 (char *) "self",(char *) "font", NULL
9442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9444 if (!SWIG_IsOK(res1
)) {
9445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9447 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9449 if (!SWIG_IsOK(res2
)) {
9450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9455 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_Py_Void();
9469 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9470 PyObject
*resultobj
= 0;
9471 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9475 PyObject
*swig_obj
[1] ;
9477 if (!args
) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9483 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_From_int(static_cast< int >(result
));
9497 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9498 PyObject
*resultobj
= 0;
9499 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9503 PyObject
*swig_obj
[1] ;
9505 if (!args
) SWIG_fail
;
9507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9508 if (!SWIG_IsOK(res1
)) {
9509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9511 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_From_int(static_cast< int >(result
));
9525 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 PyObject
*resultobj
= 0;
9527 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9528 wxFontWeight result
;
9531 PyObject
*swig_obj
[1] ;
9533 if (!args
) SWIG_fail
;
9535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9536 if (!SWIG_IsOK(res1
)) {
9537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9539 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= SWIG_From_int(static_cast< int >(result
));
9553 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9554 PyObject
*resultobj
= 0;
9555 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9559 PyObject
*swig_obj
[1] ;
9561 if (!args
) SWIG_fail
;
9563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9564 if (!SWIG_IsOK(res1
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9567 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 PyObject
*resultobj
= 0;
9585 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9589 PyObject
*swig_obj
[1] ;
9591 if (!args
) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9597 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9617 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9618 PyObject
*resultobj
= 0;
9619 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9620 wxFontFamily result
;
9623 PyObject
*swig_obj
[1] ;
9625 if (!args
) SWIG_fail
;
9627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9628 if (!SWIG_IsOK(res1
)) {
9629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9631 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= SWIG_From_int(static_cast< int >(result
));
9645 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9646 PyObject
*resultobj
= 0;
9647 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9648 wxFontEncoding result
;
9651 PyObject
*swig_obj
[1] ;
9653 if (!args
) SWIG_fail
;
9655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9656 if (!SWIG_IsOK(res1
)) {
9657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9659 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_From_int(static_cast< int >(result
));
9673 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
= 0;
9675 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9683 char * kwnames
[] = {
9684 (char *) "self",(char *) "pointsize", NULL
9687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9692 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9694 if (!SWIG_IsOK(ecode2
)) {
9695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9697 arg2
= static_cast< int >(val2
);
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->SetPointSize(arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_Py_Void();
9711 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
= 0;
9713 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9721 char * kwnames
[] = {
9722 (char *) "self",(char *) "style", NULL
9725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9727 if (!SWIG_IsOK(res1
)) {
9728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9730 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9732 if (!SWIG_IsOK(ecode2
)) {
9733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9735 arg2
= static_cast< wxFontStyle
>(val2
);
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 (arg1
)->SetStyle(arg2
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_Py_Void();
9749 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
= 0;
9751 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 char * kwnames
[] = {
9760 (char *) "self",(char *) "weight", NULL
9763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9765 if (!SWIG_IsOK(res1
)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9768 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9770 if (!SWIG_IsOK(ecode2
)) {
9771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9773 arg2
= static_cast< wxFontWeight
>(val2
);
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 (arg1
)->SetWeight(arg2
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= SWIG_Py_Void();
9787 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
= 0;
9789 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9797 char * kwnames
[] = {
9798 (char *) "self",(char *) "underlined", NULL
9801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9803 if (!SWIG_IsOK(res1
)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9806 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9807 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9808 if (!SWIG_IsOK(ecode2
)) {
9809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9811 arg2
= static_cast< bool >(val2
);
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 (arg1
)->SetUnderlined(arg2
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_Py_Void();
9825 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
= 0;
9827 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9833 char * kwnames
[] = {
9834 (char *) "self",(char *) "facename", NULL
9837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9839 if (!SWIG_IsOK(res1
)) {
9840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9842 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9844 wxString
* sptr
= wxString_in_helper(obj1
);
9845 if (sptr
== NULL
) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 (arg1
)->SetFaceName(arg2
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_Py_Void();
9862 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 char * kwnames
[] = {
9873 (char *) "self",(char *) "family", NULL
9876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9878 if (!SWIG_IsOK(res1
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9881 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9883 if (!SWIG_IsOK(ecode2
)) {
9884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9886 arg2
= static_cast< wxFontFamily
>(val2
);
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 (arg1
)->SetFamily(arg2
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= SWIG_Py_Void();
9900 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
= 0;
9902 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9903 wxFontEncoding arg2
;
9908 PyObject
* obj0
= 0 ;
9909 PyObject
* obj1
= 0 ;
9910 char * kwnames
[] = {
9911 (char *) "self",(char *) "encoding", NULL
9914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9916 if (!SWIG_IsOK(res1
)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9919 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9921 if (!SWIG_IsOK(ecode2
)) {
9922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9924 arg2
= static_cast< wxFontEncoding
>(val2
);
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 (arg1
)->SetEncoding(arg2
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= SWIG_Py_Void();
9938 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
= 0;
9940 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9941 wxString
*arg2
= 0 ;
9945 bool temp2
= false ;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9948 char * kwnames
[] = {
9949 (char *) "self",(char *) "s", NULL
9952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9954 if (!SWIG_IsOK(res1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9957 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9959 arg2
= wxString_in_helper(obj1
);
9960 if (arg2
== NULL
) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9986 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9987 PyObject
*resultobj
= 0;
9988 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9992 PyObject
*swig_obj
[1] ;
9994 if (!args
) SWIG_fail
;
9996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9997 if (!SWIG_IsOK(res1
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10000 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10020 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10021 PyObject
*resultobj
= 0;
10022 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10026 PyObject
*swig_obj
[1] ;
10028 if (!args
) SWIG_fail
;
10029 swig_obj
[0] = args
;
10030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10031 if (!SWIG_IsOK(res1
)) {
10032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10034 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= wxNativeFontInfo___str__(arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10054 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
= 0;
10056 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10057 wxString
*arg2
= 0 ;
10061 bool temp2
= false ;
10062 PyObject
* obj0
= 0 ;
10063 PyObject
* obj1
= 0 ;
10064 char * kwnames
[] = {
10065 (char *) "self",(char *) "s", NULL
10068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10070 if (!SWIG_IsOK(res1
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10073 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10075 arg2
= wxString_in_helper(obj1
);
10076 if (arg2
== NULL
) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10102 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10103 PyObject
*resultobj
= 0;
10104 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10108 PyObject
*swig_obj
[1] ;
10110 if (!args
) SWIG_fail
;
10111 swig_obj
[0] = args
;
10112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10113 if (!SWIG_IsOK(res1
)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10116 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10136 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10139 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10140 return SWIG_Py_Void();
10143 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10144 return SWIG_Python_InitShadowInstance(args
);
10147 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10148 PyObject
*resultobj
= 0;
10149 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10150 wxString
*arg2
= (wxString
*) 0 ;
10153 bool temp2
= false ;
10154 PyObject
*swig_obj
[2] ;
10156 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10158 if (!SWIG_IsOK(res1
)) {
10159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10161 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10163 arg2
= wxString_in_helper(swig_obj
[1]);
10164 if (arg2
== NULL
) SWIG_fail
;
10167 if (arg1
) (arg1
)->facename
= *arg2
;
10169 resultobj
= SWIG_Py_Void();
10184 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10185 PyObject
*resultobj
= 0;
10186 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10187 wxString
*result
= 0 ;
10190 PyObject
*swig_obj
[1] ;
10192 if (!args
) SWIG_fail
;
10193 swig_obj
[0] = args
;
10194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10195 if (!SWIG_IsOK(res1
)) {
10196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10198 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10199 result
= (wxString
*)& ((arg1
)->facename
);
10202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10213 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10214 PyObject
*resultobj
= 0;
10215 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10216 wxFontEncoding arg2
;
10221 PyObject
*swig_obj
[2] ;
10223 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10225 if (!SWIG_IsOK(res1
)) {
10226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10228 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10229 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10230 if (!SWIG_IsOK(ecode2
)) {
10231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10233 arg2
= static_cast< wxFontEncoding
>(val2
);
10234 if (arg1
) (arg1
)->encoding
= arg2
;
10236 resultobj
= SWIG_Py_Void();
10243 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10244 PyObject
*resultobj
= 0;
10245 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10246 wxFontEncoding result
;
10249 PyObject
*swig_obj
[1] ;
10251 if (!args
) SWIG_fail
;
10252 swig_obj
[0] = args
;
10253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10254 if (!SWIG_IsOK(res1
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10257 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10258 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10259 resultobj
= SWIG_From_int(static_cast< int >(result
));
10266 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10267 PyObject
*resultobj
= 0;
10268 wxNativeEncodingInfo
*result
= 0 ;
10270 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10284 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10285 PyObject
*resultobj
= 0;
10286 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10289 PyObject
*swig_obj
[1] ;
10291 if (!args
) SWIG_fail
;
10292 swig_obj
[0] = args
;
10293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10294 if (!SWIG_IsOK(res1
)) {
10295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10297 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10305 resultobj
= SWIG_Py_Void();
10312 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
= 0;
10314 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10315 wxString
*arg2
= 0 ;
10319 bool temp2
= false ;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 char * kwnames
[] = {
10323 (char *) "self",(char *) "s", NULL
10326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10328 if (!SWIG_IsOK(res1
)) {
10329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10331 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10333 arg2
= wxString_in_helper(obj1
);
10334 if (arg2
== NULL
) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10360 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10361 PyObject
*resultobj
= 0;
10362 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10366 PyObject
*swig_obj
[1] ;
10368 if (!args
) SWIG_fail
;
10369 swig_obj
[0] = args
;
10370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10371 if (!SWIG_IsOK(res1
)) {
10372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10374 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10394 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10397 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10398 return SWIG_Py_Void();
10401 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 return SWIG_Python_InitShadowInstance(args
);
10405 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
= 0;
10407 wxFontEncoding arg1
;
10408 wxNativeEncodingInfo
*result
= 0 ;
10411 PyObject
* obj0
= 0 ;
10412 char * kwnames
[] = {
10413 (char *) "encoding", NULL
10416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10417 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10418 if (!SWIG_IsOK(ecode1
)) {
10419 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10421 arg1
= static_cast< wxFontEncoding
>(val1
);
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10435 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
= 0;
10437 wxNativeEncodingInfo
*arg1
= 0 ;
10441 PyObject
* obj0
= 0 ;
10442 char * kwnames
[] = {
10443 (char *) "info", NULL
10446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10447 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10454 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10470 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10471 PyObject
*resultobj
= 0;
10472 wxFontMapper
*result
= 0 ;
10474 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxFontMapper
*)new wxFontMapper();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10488 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10489 PyObject
*resultobj
= 0;
10490 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10493 PyObject
*swig_obj
[1] ;
10495 if (!args
) SWIG_fail
;
10496 swig_obj
[0] = args
;
10497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10498 if (!SWIG_IsOK(res1
)) {
10499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10501 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_Py_Void();
10516 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxFontMapper
*result
= 0 ;
10520 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (wxFontMapper
*)wxFontMapper::Get();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10534 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
= 0;
10536 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10537 wxFontMapper
*result
= 0 ;
10540 PyObject
* obj0
= 0 ;
10541 char * kwnames
[] = {
10542 (char *) "mapper", NULL
10545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10547 if (!SWIG_IsOK(res1
)) {
10548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10550 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10564 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
= 0;
10566 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10567 wxString
*arg2
= 0 ;
10568 bool arg3
= (bool) true ;
10569 wxFontEncoding result
;
10572 bool temp2
= false ;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 PyObject
* obj2
= 0 ;
10578 char * kwnames
[] = {
10579 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10584 if (!SWIG_IsOK(res1
)) {
10585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10587 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10589 arg2
= wxString_in_helper(obj1
);
10590 if (arg2
== NULL
) SWIG_fail
;
10594 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10595 if (!SWIG_IsOK(ecode3
)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10598 arg3
= static_cast< bool >(val3
);
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_From_int(static_cast< int >(result
));
10621 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10622 PyObject
*resultobj
= 0;
10625 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10639 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
= 0;
10642 wxFontEncoding result
;
10645 PyObject
* obj0
= 0 ;
10646 char * kwnames
[] = {
10650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10651 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10652 if (!SWIG_IsOK(ecode1
)) {
10653 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10655 arg1
= static_cast< size_t >(val1
);
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_From_int(static_cast< int >(result
));
10669 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
= 0;
10671 wxFontEncoding arg1
;
10675 PyObject
* obj0
= 0 ;
10676 char * kwnames
[] = {
10677 (char *) "encoding", NULL
10680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10681 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10682 if (!SWIG_IsOK(ecode1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10685 arg1
= static_cast< wxFontEncoding
>(val1
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= wxFontMapper::GetEncodingName(arg1
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10705 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
= 0;
10707 wxFontEncoding arg1
;
10711 PyObject
* obj0
= 0 ;
10712 char * kwnames
[] = {
10713 (char *) "encoding", NULL
10716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10718 if (!SWIG_IsOK(ecode1
)) {
10719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10721 arg1
= static_cast< wxFontEncoding
>(val1
);
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= wxFontMapper::GetEncodingDescription(arg1
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10741 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
= 0;
10743 wxString
*arg1
= 0 ;
10744 wxFontEncoding result
;
10745 bool temp1
= false ;
10746 PyObject
* obj0
= 0 ;
10747 char * kwnames
[] = {
10748 (char *) "name", NULL
10751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10753 arg1
= wxString_in_helper(obj0
);
10754 if (arg1
== NULL
) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_From_int(static_cast< int >(result
));
10778 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
= 0;
10780 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10781 wxString
*arg2
= 0 ;
10784 bool temp2
= false ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char * kwnames
[] = {
10788 (char *) "self",(char *) "prefix", NULL
10791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10796 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10798 arg2
= wxString_in_helper(obj1
);
10799 if (arg2
== NULL
) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= SWIG_Py_Void();
10823 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10824 PyObject
*resultobj
= 0;
10827 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 result
= wxFontMapper::GetDefaultConfigPath();
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10847 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
= 0;
10849 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10850 wxFontEncoding arg2
;
10851 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10852 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10853 bool arg4
= (bool) true ;
10854 PyObject
*result
= 0 ;
10859 bool temp3
= false ;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 PyObject
* obj2
= 0 ;
10865 PyObject
* obj3
= 0 ;
10866 char * kwnames
[] = {
10867 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10875 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10877 if (!SWIG_IsOK(ecode2
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10880 arg2
= static_cast< wxFontEncoding
>(val2
);
10883 arg3
= wxString_in_helper(obj2
);
10884 if (arg3
== NULL
) SWIG_fail
;
10889 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10890 if (!SWIG_IsOK(ecode4
)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10893 arg4
= static_cast< bool >(val4
);
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= result
;
10916 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
= 0;
10918 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10919 wxFontEncoding arg2
;
10920 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10921 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10927 bool temp3
= false ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10940 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10942 if (!SWIG_IsOK(ecode2
)) {
10943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10945 arg2
= static_cast< wxFontEncoding
>(val2
);
10948 arg3
= wxString_in_helper(obj2
);
10949 if (arg3
== NULL
) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10976 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10979 wxWindow
*arg2
= (wxWindow
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char * kwnames
[] = {
10987 (char *) "self",(char *) "parent", NULL
10990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10992 if (!SWIG_IsOK(res1
)) {
10993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10995 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10997 if (!SWIG_IsOK(res2
)) {
10998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 (arg1
)->SetDialogParent(arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= SWIG_Py_Void();
11014 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
= 0;
11016 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11017 wxString
*arg2
= 0 ;
11020 bool temp2
= false ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 char * kwnames
[] = {
11024 (char *) "self",(char *) "title", NULL
11027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11029 if (!SWIG_IsOK(res1
)) {
11030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11032 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11034 arg2
= wxString_in_helper(obj1
);
11035 if (arg2
== NULL
) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= SWIG_Py_Void();
11059 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11062 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11063 return SWIG_Py_Void();
11066 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11067 return SWIG_Python_InitShadowInstance(args
);
11070 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
= 0;
11076 bool arg5
= (bool) false ;
11077 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11078 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11079 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11080 wxFont
*result
= 0 ;
11091 bool temp6
= false ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 PyObject
* obj2
= 0 ;
11097 PyObject
* obj3
= 0 ;
11098 PyObject
* obj4
= 0 ;
11099 PyObject
* obj5
= 0 ;
11100 PyObject
* obj6
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11107 if (!SWIG_IsOK(ecode1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11110 arg1
= static_cast< int >(val1
);
11111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11112 if (!SWIG_IsOK(ecode2
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11115 arg2
= static_cast< int >(val2
);
11116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11117 if (!SWIG_IsOK(ecode3
)) {
11118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11120 arg3
= static_cast< int >(val3
);
11121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11122 if (!SWIG_IsOK(ecode4
)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11125 arg4
= static_cast< int >(val4
);
11127 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11128 if (!SWIG_IsOK(ecode5
)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11131 arg5
= static_cast< bool >(val5
);
11135 arg6
= wxString_in_helper(obj5
);
11136 if (arg6
== NULL
) SWIG_fail
;
11141 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11142 if (!SWIG_IsOK(ecode7
)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11145 arg7
= static_cast< wxFontEncoding
>(val7
);
11148 if (!wxPyCheckForApp()) SWIG_fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11169 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 PyObject
*resultobj
= 0;
11171 wxFont
*arg1
= (wxFont
*) 0 ;
11174 PyObject
*swig_obj
[1] ;
11176 if (!args
) SWIG_fail
;
11177 swig_obj
[0] = args
;
11178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11179 if (!SWIG_IsOK(res1
)) {
11180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11182 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= SWIG_Py_Void();
11197 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
= 0;
11199 wxNativeFontInfo
*arg1
= 0 ;
11200 wxFont
*result
= 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char * kwnames
[] = {
11205 (char *) "info", NULL
11208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11209 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11210 if (!SWIG_IsOK(res1
)) {
11211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11216 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11218 if (!wxPyCheckForApp()) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11231 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
= 0;
11233 wxString
*arg1
= 0 ;
11234 wxFont
*result
= 0 ;
11235 bool temp1
= false ;
11236 PyObject
* obj0
= 0 ;
11237 char * kwnames
[] = {
11238 (char *) "info", NULL
11241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11243 arg1
= wxString_in_helper(obj0
);
11244 if (arg1
== NULL
) SWIG_fail
;
11248 if (!wxPyCheckForApp()) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11269 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
= 0;
11272 wxFontFamily arg2
;
11273 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11274 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11275 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11276 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11277 wxFont
*result
= 0 ;
11284 bool temp4
= false ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 PyObject
* obj2
= 0 ;
11290 PyObject
* obj3
= 0 ;
11291 PyObject
* obj4
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11297 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11298 if (!SWIG_IsOK(ecode1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11301 arg1
= static_cast< int >(val1
);
11302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11303 if (!SWIG_IsOK(ecode2
)) {
11304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11306 arg2
= static_cast< wxFontFamily
>(val2
);
11308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11309 if (!SWIG_IsOK(ecode3
)) {
11310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11312 arg3
= static_cast< int >(val3
);
11316 arg4
= wxString_in_helper(obj3
);
11317 if (arg4
== NULL
) SWIG_fail
;
11322 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11323 if (!SWIG_IsOK(ecode5
)) {
11324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11326 arg5
= static_cast< wxFontEncoding
>(val5
);
11329 if (!wxPyCheckForApp()) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11350 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
= 0;
11356 bool arg5
= (bool) false ;
11357 wxString
const &arg6_defvalue
= wxEmptyString
;
11358 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11359 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11360 wxFont
*result
= 0 ;
11370 bool temp6
= false ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 PyObject
* obj2
= 0 ;
11376 PyObject
* obj3
= 0 ;
11377 PyObject
* obj4
= 0 ;
11378 PyObject
* obj5
= 0 ;
11379 PyObject
* obj6
= 0 ;
11380 char * kwnames
[] = {
11381 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11387 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11390 if (!SWIG_IsOK(ecode2
)) {
11391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11393 arg2
= static_cast< int >(val2
);
11394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11395 if (!SWIG_IsOK(ecode3
)) {
11396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11398 arg3
= static_cast< int >(val3
);
11399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11400 if (!SWIG_IsOK(ecode4
)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11403 arg4
= static_cast< int >(val4
);
11405 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11406 if (!SWIG_IsOK(ecode5
)) {
11407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11409 arg5
= static_cast< bool >(val5
);
11413 arg6
= wxString_in_helper(obj5
);
11414 if (arg6
== NULL
) SWIG_fail
;
11419 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11420 if (!SWIG_IsOK(ecode7
)) {
11421 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11423 arg7
= static_cast< wxFontEncoding
>(val7
);
11426 if (!wxPyCheckForApp()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11447 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
= 0;
11450 wxFontFamily arg2
;
11451 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11452 wxString
const &arg4_defvalue
= wxEmptyString
;
11453 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11454 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11455 wxFont
*result
= 0 ;
11461 bool temp4
= false ;
11464 PyObject
* obj0
= 0 ;
11465 PyObject
* obj1
= 0 ;
11466 PyObject
* obj2
= 0 ;
11467 PyObject
* obj3
= 0 ;
11468 PyObject
* obj4
= 0 ;
11469 char * kwnames
[] = {
11470 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11476 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11479 if (!SWIG_IsOK(ecode2
)) {
11480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11482 arg2
= static_cast< wxFontFamily
>(val2
);
11484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11485 if (!SWIG_IsOK(ecode3
)) {
11486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11488 arg3
= static_cast< int >(val3
);
11492 arg4
= wxString_in_helper(obj3
);
11493 if (arg4
== NULL
) SWIG_fail
;
11498 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11499 if (!SWIG_IsOK(ecode5
)) {
11500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11502 arg5
= static_cast< wxFontEncoding
>(val5
);
11505 if (!wxPyCheckForApp()) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11526 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11527 PyObject
*resultobj
= 0;
11528 wxFont
*arg1
= (wxFont
*) 0 ;
11532 PyObject
*swig_obj
[1] ;
11534 if (!args
) SWIG_fail
;
11535 swig_obj
[0] = args
;
11536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11537 if (!SWIG_IsOK(res1
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11540 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (bool)((wxFont
const *)arg1
)->Ok();
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11556 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxFont
*arg1
= (wxFont
*) 0 ;
11559 wxFont
*arg2
= (wxFont
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 char * kwnames
[] = {
11568 (char *) "self",(char *) "other", NULL
11571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11576 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11578 if (!SWIG_IsOK(res2
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11581 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11597 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
= 0;
11599 wxFont
*arg1
= (wxFont
*) 0 ;
11600 wxFont
*arg2
= (wxFont
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 char * kwnames
[] = {
11609 (char *) "self",(char *) "other", NULL
11612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11614 if (!SWIG_IsOK(res1
)) {
11615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11617 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11619 if (!SWIG_IsOK(res2
)) {
11620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11622 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11638 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11639 PyObject
*resultobj
= 0;
11640 wxFont
*arg1
= (wxFont
*) 0 ;
11644 PyObject
*swig_obj
[1] ;
11646 if (!args
) SWIG_fail
;
11647 swig_obj
[0] = args
;
11648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11652 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_From_int(static_cast< int >(result
));
11666 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 PyObject
*resultobj
= 0;
11668 wxFont
*arg1
= (wxFont
*) 0 ;
11672 PyObject
*swig_obj
[1] ;
11674 if (!args
) SWIG_fail
;
11675 swig_obj
[0] = args
;
11676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11680 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11694 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 PyObject
*resultobj
= 0;
11696 wxFont
*arg1
= (wxFont
*) 0 ;
11700 PyObject
*swig_obj
[1] ;
11702 if (!args
) SWIG_fail
;
11703 swig_obj
[0] = args
;
11704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11708 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11724 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11725 PyObject
*resultobj
= 0;
11726 wxFont
*arg1
= (wxFont
*) 0 ;
11730 PyObject
*swig_obj
[1] ;
11732 if (!args
) SWIG_fail
;
11733 swig_obj
[0] = args
;
11734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11735 if (!SWIG_IsOK(res1
)) {
11736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11738 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_From_int(static_cast< int >(result
));
11752 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11753 PyObject
*resultobj
= 0;
11754 wxFont
*arg1
= (wxFont
*) 0 ;
11758 PyObject
*swig_obj
[1] ;
11760 if (!args
) SWIG_fail
;
11761 swig_obj
[0] = args
;
11762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11766 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_From_int(static_cast< int >(result
));
11780 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11781 PyObject
*resultobj
= 0;
11782 wxFont
*arg1
= (wxFont
*) 0 ;
11786 PyObject
*swig_obj
[1] ;
11788 if (!args
) SWIG_fail
;
11789 swig_obj
[0] = args
;
11790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11791 if (!SWIG_IsOK(res1
)) {
11792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11794 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_From_int(static_cast< int >(result
));
11808 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11809 PyObject
*resultobj
= 0;
11810 wxFont
*arg1
= (wxFont
*) 0 ;
11814 PyObject
*swig_obj
[1] ;
11816 if (!args
) SWIG_fail
;
11817 swig_obj
[0] = args
;
11818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11819 if (!SWIG_IsOK(res1
)) {
11820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11822 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11838 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11839 PyObject
*resultobj
= 0;
11840 wxFont
*arg1
= (wxFont
*) 0 ;
11844 PyObject
*swig_obj
[1] ;
11846 if (!args
) SWIG_fail
;
11847 swig_obj
[0] = args
;
11848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11849 if (!SWIG_IsOK(res1
)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11852 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= ((wxFont
const *)arg1
)->GetFaceName();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11872 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11873 PyObject
*resultobj
= 0;
11874 wxFont
*arg1
= (wxFont
*) 0 ;
11875 wxFontEncoding result
;
11878 PyObject
*swig_obj
[1] ;
11880 if (!args
) SWIG_fail
;
11881 swig_obj
[0] = args
;
11882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11886 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_From_int(static_cast< int >(result
));
11900 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11901 PyObject
*resultobj
= 0;
11902 wxFont
*arg1
= (wxFont
*) 0 ;
11903 wxNativeFontInfo
*result
= 0 ;
11906 PyObject
*swig_obj
[1] ;
11908 if (!args
) SWIG_fail
;
11909 swig_obj
[0] = args
;
11910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11911 if (!SWIG_IsOK(res1
)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11914 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11928 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11929 PyObject
*resultobj
= 0;
11930 wxFont
*arg1
= (wxFont
*) 0 ;
11934 PyObject
*swig_obj
[1] ;
11936 if (!args
) SWIG_fail
;
11937 swig_obj
[0] = args
;
11938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11939 if (!SWIG_IsOK(res1
)) {
11940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11942 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11958 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11959 PyObject
*resultobj
= 0;
11960 wxFont
*arg1
= (wxFont
*) 0 ;
11964 PyObject
*swig_obj
[1] ;
11966 if (!args
) SWIG_fail
;
11967 swig_obj
[0] = args
;
11968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11969 if (!SWIG_IsOK(res1
)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11972 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11992 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11993 PyObject
*resultobj
= 0;
11994 wxFont
*arg1
= (wxFont
*) 0 ;
11998 PyObject
*swig_obj
[1] ;
12000 if (!args
) SWIG_fail
;
12001 swig_obj
[0] = args
;
12002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12006 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12026 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
= 0;
12028 wxFont
*arg1
= (wxFont
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 PyObject
* obj1
= 0 ;
12036 char * kwnames
[] = {
12037 (char *) "self",(char *) "pointSize", NULL
12040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12045 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12047 if (!SWIG_IsOK(ecode2
)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12050 arg2
= static_cast< int >(val2
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 (arg1
)->SetPointSize(arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_Py_Void();
12064 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
= 0;
12066 wxFont
*arg1
= (wxFont
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 char * kwnames
[] = {
12074 (char *) "self",(char *) "pixelSize", NULL
12077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12079 if (!SWIG_IsOK(res1
)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12082 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_Py_Void();
12100 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
= 0;
12102 wxFont
*arg1
= (wxFont
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 PyObject
* obj1
= 0 ;
12110 char * kwnames
[] = {
12111 (char *) "self",(char *) "family", NULL
12114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12116 if (!SWIG_IsOK(res1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12119 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12121 if (!SWIG_IsOK(ecode2
)) {
12122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12124 arg2
= static_cast< int >(val2
);
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 (arg1
)->SetFamily(arg2
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= SWIG_Py_Void();
12138 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
= 0;
12140 wxFont
*arg1
= (wxFont
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 char * kwnames
[] = {
12149 (char *) "self",(char *) "style", NULL
12152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12157 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12159 if (!SWIG_IsOK(ecode2
)) {
12160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12162 arg2
= static_cast< int >(val2
);
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->SetStyle(arg2
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_Py_Void();
12176 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
= 0;
12178 wxFont
*arg1
= (wxFont
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 char * kwnames
[] = {
12187 (char *) "self",(char *) "weight", NULL
12190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12192 if (!SWIG_IsOK(res1
)) {
12193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12195 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12197 if (!SWIG_IsOK(ecode2
)) {
12198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12200 arg2
= static_cast< int >(val2
);
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 (arg1
)->SetWeight(arg2
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= SWIG_Py_Void();
12214 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
= 0;
12216 wxFont
*arg1
= (wxFont
*) 0 ;
12217 wxString
*arg2
= 0 ;
12220 bool temp2
= false ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 char * kwnames
[] = {
12224 (char *) "self",(char *) "faceName", NULL
12227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12229 if (!SWIG_IsOK(res1
)) {
12230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12232 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12234 arg2
= wxString_in_helper(obj1
);
12235 if (arg2
== NULL
) SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= SWIG_Py_Void();
12259 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
= 0;
12261 wxFont
*arg1
= (wxFont
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 PyObject
* obj1
= 0 ;
12269 char * kwnames
[] = {
12270 (char *) "self",(char *) "underlined", NULL
12273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12275 if (!SWIG_IsOK(res1
)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12278 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12279 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12280 if (!SWIG_IsOK(ecode2
)) {
12281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12283 arg2
= static_cast< bool >(val2
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 (arg1
)->SetUnderlined(arg2
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_Py_Void();
12297 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
= 0;
12299 wxFont
*arg1
= (wxFont
*) 0 ;
12300 wxFontEncoding arg2
;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 char * kwnames
[] = {
12308 (char *) "self",(char *) "encoding", NULL
12311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12316 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12318 if (!SWIG_IsOK(ecode2
)) {
12319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12321 arg2
= static_cast< wxFontEncoding
>(val2
);
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 (arg1
)->SetEncoding(arg2
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_Py_Void();
12335 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
= 0;
12337 wxFont
*arg1
= (wxFont
*) 0 ;
12338 wxNativeFontInfo
*arg2
= 0 ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 char * kwnames
[] = {
12346 (char *) "self",(char *) "info", NULL
12349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12351 if (!SWIG_IsOK(res1
)) {
12352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12354 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12356 if (!SWIG_IsOK(res2
)) {
12357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12362 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_Py_Void();
12376 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
= 0;
12378 wxFont
*arg1
= (wxFont
*) 0 ;
12379 wxString
*arg2
= 0 ;
12382 bool temp2
= false ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "self",(char *) "info", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12394 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12396 arg2
= wxString_in_helper(obj1
);
12397 if (arg2
== NULL
) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_Py_Void();
12421 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
= 0;
12423 wxFont
*arg1
= (wxFont
*) 0 ;
12424 wxString
*arg2
= 0 ;
12427 bool temp2
= false ;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 char * kwnames
[] = {
12431 (char *) "self",(char *) "info", NULL
12434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12436 if (!SWIG_IsOK(res1
)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12439 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12441 arg2
= wxString_in_helper(obj1
);
12442 if (arg2
== NULL
) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_Py_Void();
12466 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12467 PyObject
*resultobj
= 0;
12468 wxFont
*arg1
= (wxFont
*) 0 ;
12472 PyObject
*swig_obj
[1] ;
12474 if (!args
) SWIG_fail
;
12475 swig_obj
[0] = args
;
12476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12480 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12500 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12501 PyObject
*resultobj
= 0;
12502 wxFont
*arg1
= (wxFont
*) 0 ;
12506 PyObject
*swig_obj
[1] ;
12508 if (!args
) SWIG_fail
;
12509 swig_obj
[0] = args
;
12510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12511 if (!SWIG_IsOK(res1
)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12514 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= ((wxFont
const *)arg1
)->GetStyleString();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12534 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12535 PyObject
*resultobj
= 0;
12536 wxFont
*arg1
= (wxFont
*) 0 ;
12540 PyObject
*swig_obj
[1] ;
12542 if (!args
) SWIG_fail
;
12543 swig_obj
[0] = args
;
12544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12548 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= ((wxFont
const *)arg1
)->GetWeightString();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12568 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
= 0;
12570 wxFont
*arg1
= (wxFont
*) 0 ;
12571 bool arg2
= (bool) true ;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 char * kwnames
[] = {
12579 (char *) "self",(char *) "no", NULL
12582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12587 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12589 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12590 if (!SWIG_IsOK(ecode2
)) {
12591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12593 arg2
= static_cast< bool >(val2
);
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->SetNoAntiAliasing(arg2
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_Py_Void();
12608 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12609 PyObject
*resultobj
= 0;
12610 wxFont
*arg1
= (wxFont
*) 0 ;
12614 PyObject
*swig_obj
[1] ;
12616 if (!args
) SWIG_fail
;
12617 swig_obj
[0] = args
;
12618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12622 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12639 PyObject
*resultobj
= 0;
12640 wxFontEncoding result
;
12642 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12644 if (!wxPyCheckForApp()) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= SWIG_From_int(static_cast< int >(result
));
12657 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
= 0;
12659 wxFontEncoding arg1
;
12662 PyObject
* obj0
= 0 ;
12663 char * kwnames
[] = {
12664 (char *) "encoding", NULL
12667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12668 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12669 if (!SWIG_IsOK(ecode1
)) {
12670 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12672 arg1
= static_cast< wxFontEncoding
>(val1
);
12674 if (!wxPyCheckForApp()) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 wxFont::SetDefaultEncoding(arg1
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_Py_Void();
12687 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12690 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12691 return SWIG_Py_Void();
12694 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12695 return SWIG_Python_InitShadowInstance(args
);
12698 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12699 PyObject
*resultobj
= 0;
12700 wxPyFontEnumerator
*result
= 0 ;
12702 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12704 if (!wxPyCheckForApp()) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12717 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12718 PyObject
*resultobj
= 0;
12719 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12722 PyObject
*swig_obj
[1] ;
12724 if (!args
) SWIG_fail
;
12725 swig_obj
[0] = args
;
12726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12727 if (!SWIG_IsOK(res1
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12730 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_Py_Void();
12745 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
= 0;
12747 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12748 PyObject
*arg2
= (PyObject
*) 0 ;
12749 PyObject
*arg3
= (PyObject
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 PyObject
* obj2
= 0 ;
12758 PyObject
* obj3
= 0 ;
12759 char * kwnames
[] = {
12760 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12768 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12771 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12772 if (!SWIG_IsOK(ecode4
)) {
12773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12775 arg4
= static_cast< bool >(val4
);
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_Py_Void();
12789 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12792 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12793 bool arg3
= (bool) false ;
12801 PyObject
* obj0
= 0 ;
12802 PyObject
* obj1
= 0 ;
12803 PyObject
* obj2
= 0 ;
12804 char * kwnames
[] = {
12805 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12813 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12816 if (!SWIG_IsOK(ecode2
)) {
12817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12819 arg2
= static_cast< wxFontEncoding
>(val2
);
12822 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12823 if (!SWIG_IsOK(ecode3
)) {
12824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12826 arg3
= static_cast< bool >(val3
);
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12843 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12845 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12846 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12847 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12851 bool temp2
= false ;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 char * kwnames
[] = {
12855 (char *) "self",(char *) "facename", NULL
12858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12860 if (!SWIG_IsOK(res1
)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12863 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12866 arg2
= wxString_in_helper(obj1
);
12867 if (arg2
== NULL
) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12894 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12895 PyObject
*resultobj
= 0;
12896 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12897 PyObject
*result
= 0 ;
12900 PyObject
*swig_obj
[1] ;
12902 if (!args
) SWIG_fail
;
12903 swig_obj
[0] = args
;
12904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12905 if (!SWIG_IsOK(res1
)) {
12906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12908 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
;
12922 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12923 PyObject
*resultobj
= 0;
12924 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12925 PyObject
*result
= 0 ;
12928 PyObject
*swig_obj
[1] ;
12930 if (!args
) SWIG_fail
;
12931 swig_obj
[0] = args
;
12932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12933 if (!SWIG_IsOK(res1
)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12936 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= result
;
12950 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12953 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
12954 return SWIG_Py_Void();
12957 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12958 return SWIG_Python_InitShadowInstance(args
);
12961 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12962 PyObject
*resultobj
= 0;
12963 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12969 PyObject
*swig_obj
[2] ;
12971 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
12972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
12976 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
12977 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12978 if (!SWIG_IsOK(ecode2
)) {
12979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
12981 arg2
= static_cast< int >(val2
);
12982 if (arg1
) (arg1
)->Language
= arg2
;
12984 resultobj
= SWIG_Py_Void();
12991 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12992 PyObject
*resultobj
= 0;
12993 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12997 PyObject
*swig_obj
[1] ;
12999 if (!args
) SWIG_fail
;
13000 swig_obj
[0] = args
;
13001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13002 if (!SWIG_IsOK(res1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13005 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13006 result
= (int) ((arg1
)->Language
);
13007 resultobj
= SWIG_From_int(static_cast< int >(result
));
13014 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13015 PyObject
*resultobj
= 0;
13016 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13017 wxString
*arg2
= (wxString
*) 0 ;
13020 bool temp2
= false ;
13021 PyObject
*swig_obj
[2] ;
13023 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13025 if (!SWIG_IsOK(res1
)) {
13026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13028 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13030 arg2
= wxString_in_helper(swig_obj
[1]);
13031 if (arg2
== NULL
) SWIG_fail
;
13034 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13036 resultobj
= SWIG_Py_Void();
13051 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13052 PyObject
*resultobj
= 0;
13053 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13054 wxString
*result
= 0 ;
13057 PyObject
*swig_obj
[1] ;
13059 if (!args
) SWIG_fail
;
13060 swig_obj
[0] = args
;
13061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13062 if (!SWIG_IsOK(res1
)) {
13063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13065 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13066 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13080 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13081 PyObject
*resultobj
= 0;
13082 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13083 wxString
*arg2
= (wxString
*) 0 ;
13086 bool temp2
= false ;
13087 PyObject
*swig_obj
[2] ;
13089 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13094 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13096 arg2
= wxString_in_helper(swig_obj
[1]);
13097 if (arg2
== NULL
) SWIG_fail
;
13100 if (arg1
) (arg1
)->Description
= *arg2
;
13102 resultobj
= SWIG_Py_Void();
13117 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13118 PyObject
*resultobj
= 0;
13119 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13120 wxString
*result
= 0 ;
13123 PyObject
*swig_obj
[1] ;
13125 if (!args
) SWIG_fail
;
13126 swig_obj
[0] = args
;
13127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13128 if (!SWIG_IsOK(res1
)) {
13129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13131 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13132 result
= (wxString
*)& ((arg1
)->Description
);
13135 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13137 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13146 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13149 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13150 return SWIG_Py_Void();
13153 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
= 0;
13155 int arg1
= (int) -1 ;
13156 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13157 wxLocale
*result
= 0 ;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 char * kwnames
[] = {
13165 (char *) "language",(char *) "flags", NULL
13168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13170 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13171 if (!SWIG_IsOK(ecode1
)) {
13172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13174 arg1
= static_cast< int >(val1
);
13177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13178 if (!SWIG_IsOK(ecode2
)) {
13179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13181 arg2
= static_cast< int >(val2
);
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13196 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13197 PyObject
*resultobj
= 0;
13198 wxLocale
*arg1
= (wxLocale
*) 0 ;
13201 PyObject
*swig_obj
[1] ;
13203 if (!args
) SWIG_fail
;
13204 swig_obj
[0] = args
;
13205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13209 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_Py_Void();
13224 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
= 0;
13226 wxLocale
*arg1
= (wxLocale
*) 0 ;
13227 wxString
*arg2
= 0 ;
13228 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13229 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13230 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13231 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13232 bool arg5
= (bool) true ;
13233 bool arg6
= (bool) false ;
13237 bool temp2
= false ;
13238 bool temp3
= false ;
13239 bool temp4
= false ;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 PyObject
* obj2
= 0 ;
13247 PyObject
* obj3
= 0 ;
13248 PyObject
* obj4
= 0 ;
13249 PyObject
* obj5
= 0 ;
13250 char * kwnames
[] = {
13251 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13256 if (!SWIG_IsOK(res1
)) {
13257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13259 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13261 arg2
= wxString_in_helper(obj1
);
13262 if (arg2
== NULL
) SWIG_fail
;
13267 arg3
= wxString_in_helper(obj2
);
13268 if (arg3
== NULL
) SWIG_fail
;
13274 arg4
= wxString_in_helper(obj3
);
13275 if (arg4
== NULL
) SWIG_fail
;
13280 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13281 if (!SWIG_IsOK(ecode5
)) {
13282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13284 arg5
= static_cast< bool >(val5
);
13287 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13288 if (!SWIG_IsOK(ecode6
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13291 arg6
= static_cast< bool >(val6
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13332 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
= 0;
13334 wxLocale
*arg1
= (wxLocale
*) 0 ;
13335 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13336 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 PyObject
* obj2
= 0 ;
13347 char * kwnames
[] = {
13348 (char *) "self",(char *) "language",(char *) "flags", NULL
13351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13353 if (!SWIG_IsOK(res1
)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13356 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13359 if (!SWIG_IsOK(ecode2
)) {
13360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13362 arg2
= static_cast< int >(val2
);
13365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13366 if (!SWIG_IsOK(ecode3
)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13369 arg3
= static_cast< int >(val3
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13386 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13390 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (int)wxLocale::GetSystemLanguage();
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_From_int(static_cast< int >(result
));
13404 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13405 PyObject
*resultobj
= 0;
13406 wxFontEncoding result
;
13408 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_From_int(static_cast< int >(result
));
13422 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13423 PyObject
*resultobj
= 0;
13426 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= wxLocale::GetSystemEncodingName();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13446 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13447 PyObject
*resultobj
= 0;
13448 wxLocale
*arg1
= (wxLocale
*) 0 ;
13452 PyObject
*swig_obj
[1] ;
13454 if (!args
) SWIG_fail
;
13455 swig_obj
[0] = args
;
13456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13457 if (!SWIG_IsOK(res1
)) {
13458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13460 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13476 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13477 PyObject
*resultobj
= 0;
13478 wxLocale
*arg1
= (wxLocale
*) 0 ;
13482 PyObject
*swig_obj
[1] ;
13484 if (!args
) SWIG_fail
;
13485 swig_obj
[0] = args
;
13486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13487 if (!SWIG_IsOK(res1
)) {
13488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13490 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= ((wxLocale
const *)arg1
)->GetLocale();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13510 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 PyObject
*resultobj
= 0;
13512 wxLocale
*arg1
= (wxLocale
*) 0 ;
13516 PyObject
*swig_obj
[1] ;
13518 if (!args
) SWIG_fail
;
13519 swig_obj
[0] = args
;
13520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13521 if (!SWIG_IsOK(res1
)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13524 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_From_int(static_cast< int >(result
));
13538 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13539 PyObject
*resultobj
= 0;
13540 wxLocale
*arg1
= (wxLocale
*) 0 ;
13544 PyObject
*swig_obj
[1] ;
13546 if (!args
) SWIG_fail
;
13547 swig_obj
[0] = args
;
13548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13549 if (!SWIG_IsOK(res1
)) {
13550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13552 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= ((wxLocale
const *)arg1
)->GetSysName();
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13572 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13573 PyObject
*resultobj
= 0;
13574 wxLocale
*arg1
= (wxLocale
*) 0 ;
13578 PyObject
*swig_obj
[1] ;
13580 if (!args
) SWIG_fail
;
13581 swig_obj
[0] = args
;
13582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13583 if (!SWIG_IsOK(res1
)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13586 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13606 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
= 0;
13608 wxString
*arg1
= 0 ;
13609 bool temp1
= false ;
13610 PyObject
* obj0
= 0 ;
13611 char * kwnames
[] = {
13612 (char *) "prefix", NULL
13615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13617 arg1
= wxString_in_helper(obj0
);
13618 if (arg1
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_Py_Void();
13642 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
= 0;
13644 wxLocale
*arg1
= (wxLocale
*) 0 ;
13645 wxString
*arg2
= 0 ;
13649 bool temp2
= false ;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 char * kwnames
[] = {
13653 (char *) "self",(char *) "szDomain", NULL
13656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13661 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13663 arg2
= wxString_in_helper(obj1
);
13664 if (arg2
== NULL
) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13690 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
= 0;
13692 wxLocale
*arg1
= (wxLocale
*) 0 ;
13693 wxString
*arg2
= 0 ;
13697 bool temp2
= false ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 char * kwnames
[] = {
13701 (char *) "self",(char *) "szDomain", NULL
13704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13709 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13711 arg2
= wxString_in_helper(obj1
);
13712 if (arg2
== NULL
) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13738 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
= 0;
13741 wxLanguageInfo
*result
= 0 ;
13744 PyObject
* obj0
= 0 ;
13745 char * kwnames
[] = {
13746 (char *) "lang", NULL
13749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13750 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13751 if (!SWIG_IsOK(ecode1
)) {
13752 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13754 arg1
= static_cast< int >(val1
);
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13768 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
= 0;
13774 PyObject
* obj0
= 0 ;
13775 char * kwnames
[] = {
13776 (char *) "lang", NULL
13779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13780 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13781 if (!SWIG_IsOK(ecode1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13784 arg1
= static_cast< int >(val1
);
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 result
= wxLocale::GetLanguageName(arg1
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13804 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxString
*arg1
= 0 ;
13807 wxLanguageInfo
*result
= 0 ;
13808 bool temp1
= false ;
13809 PyObject
* obj0
= 0 ;
13810 char * kwnames
[] = {
13811 (char *) "locale", NULL
13814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13816 arg1
= wxString_in_helper(obj0
);
13817 if (arg1
== NULL
) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13841 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
= 0;
13843 wxLanguageInfo
*arg1
= 0 ;
13846 PyObject
* obj0
= 0 ;
13847 char * kwnames
[] = {
13848 (char *) "info", NULL
13851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13852 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13853 if (!SWIG_IsOK(res1
)) {
13854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13859 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_Py_Void();
13873 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
= 0;
13875 wxLocale
*arg1
= (wxLocale
*) 0 ;
13876 wxString
*arg2
= 0 ;
13877 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13878 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13882 bool temp2
= false ;
13883 bool temp3
= false ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 PyObject
* obj2
= 0 ;
13887 char * kwnames
[] = {
13888 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13893 if (!SWIG_IsOK(res1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13896 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13898 arg2
= wxString_in_helper(obj1
);
13899 if (arg2
== NULL
) SWIG_fail
;
13904 arg3
= wxString_in_helper(obj2
);
13905 if (arg3
== NULL
) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13944 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13945 PyObject
*resultobj
= 0;
13946 wxLocale
*arg1
= (wxLocale
*) 0 ;
13947 wxString
*result
= 0 ;
13950 PyObject
*swig_obj
[1] ;
13952 if (!args
) SWIG_fail
;
13953 swig_obj
[0] = args
;
13954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13955 if (!SWIG_IsOK(res1
)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13958 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
13963 result
= (wxString
*) &_result_ref
;
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13972 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13981 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13984 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
13985 return SWIG_Py_Void();
13988 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 return SWIG_Python_InitShadowInstance(args
);
13992 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13993 PyObject
*resultobj
= 0;
13994 wxLocale
*result
= 0 ;
13996 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 result
= (wxLocale
*)wxGetLocale();
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14010 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14011 PyObject
*resultobj
= 0;
14012 wxString
*arg1
= 0 ;
14014 bool temp1
= false ;
14016 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14018 arg1
= wxString_in_helper(swig_obj
[0]);
14019 if (arg1
== NULL
) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= wxGetTranslation((wxString
const &)*arg1
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14049 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14050 PyObject
*resultobj
= 0;
14051 wxString
*arg1
= 0 ;
14052 wxString
*arg2
= 0 ;
14055 bool temp1
= false ;
14056 bool temp2
= false ;
14060 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14062 arg1
= wxString_in_helper(swig_obj
[0]);
14063 if (arg1
== NULL
) SWIG_fail
;
14067 arg2
= wxString_in_helper(swig_obj
[1]);
14068 if (arg2
== NULL
) SWIG_fail
;
14071 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14072 if (!SWIG_IsOK(ecode3
)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14075 arg3
= static_cast< size_t >(val3
);
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14111 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14115 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14118 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14121 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14125 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14130 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14131 PyObject
*resultobj
= 0;
14132 wxEncodingConverter
*result
= 0 ;
14134 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14148 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14149 PyObject
*resultobj
= 0;
14150 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14153 PyObject
*swig_obj
[1] ;
14155 if (!args
) SWIG_fail
;
14156 swig_obj
[0] = args
;
14157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14158 if (!SWIG_IsOK(res1
)) {
14159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14161 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 resultobj
= SWIG_Py_Void();
14176 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
= 0;
14178 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14179 wxFontEncoding arg2
;
14180 wxFontEncoding arg3
;
14181 int arg4
= (int) wxCONVERT_STRICT
;
14191 PyObject
* obj0
= 0 ;
14192 PyObject
* obj1
= 0 ;
14193 PyObject
* obj2
= 0 ;
14194 PyObject
* obj3
= 0 ;
14195 char * kwnames
[] = {
14196 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14204 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14206 if (!SWIG_IsOK(ecode2
)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14209 arg2
= static_cast< wxFontEncoding
>(val2
);
14210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14211 if (!SWIG_IsOK(ecode3
)) {
14212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14214 arg3
= static_cast< wxFontEncoding
>(val3
);
14216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14217 if (!SWIG_IsOK(ecode4
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14220 arg4
= static_cast< int >(val4
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14237 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
= 0;
14239 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14240 wxString
*arg2
= 0 ;
14244 bool temp2
= false ;
14245 PyObject
* obj0
= 0 ;
14246 PyObject
* obj1
= 0 ;
14247 char * kwnames
[] = {
14248 (char *) "self",(char *) "input", NULL
14251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14253 if (!SWIG_IsOK(res1
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14256 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14258 arg2
= wxString_in_helper(obj1
);
14259 if (arg2
== NULL
) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14289 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= 0;
14291 wxFontEncoding arg1
;
14292 int arg2
= (int) wxPLATFORM_CURRENT
;
14293 wxFontEncodingArray result
;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char * kwnames
[] = {
14301 (char *) "enc",(char *) "platform", NULL
14304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14305 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14306 if (!SWIG_IsOK(ecode1
)) {
14307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14309 arg1
= static_cast< wxFontEncoding
>(val1
);
14311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14312 if (!SWIG_IsOK(ecode2
)) {
14313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14315 arg2
= static_cast< int >(val2
);
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= PyList_New(0);
14325 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14326 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14327 PyList_Append(resultobj
, number
);
14337 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
= 0;
14339 wxFontEncoding arg1
;
14340 wxFontEncodingArray result
;
14343 PyObject
* obj0
= 0 ;
14344 char * kwnames
[] = {
14345 (char *) "enc", NULL
14348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14350 if (!SWIG_IsOK(ecode1
)) {
14351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14353 arg1
= static_cast< wxFontEncoding
>(val1
);
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= PyList_New(0);
14362 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14363 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14364 PyList_Append(resultobj
, number
);
14374 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
= 0;
14376 wxFontEncoding arg1
;
14377 wxFontEncoding arg2
;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 char * kwnames
[] = {
14386 (char *) "encIn",(char *) "encOut", NULL
14389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14390 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14391 if (!SWIG_IsOK(ecode1
)) {
14392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14394 arg1
= static_cast< wxFontEncoding
>(val1
);
14395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14396 if (!SWIG_IsOK(ecode2
)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14399 arg2
= static_cast< wxFontEncoding
>(val2
);
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14415 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14418 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14419 return SWIG_Py_Void();
14422 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14423 return SWIG_Python_InitShadowInstance(args
);
14426 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14427 PyObject
*resultobj
= 0;
14428 wxDC
*arg1
= (wxDC
*) 0 ;
14431 PyObject
*swig_obj
[1] ;
14433 if (!args
) SWIG_fail
;
14434 swig_obj
[0] = args
;
14435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14436 if (!SWIG_IsOK(res1
)) {
14437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= SWIG_Py_Void();
14454 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
= 0;
14456 wxDC
*arg1
= (wxDC
*) 0 ;
14459 wxColour
*arg4
= 0 ;
14460 int arg5
= (int) wxFLOOD_SURFACE
;
14471 PyObject
* obj0
= 0 ;
14472 PyObject
* obj1
= 0 ;
14473 PyObject
* obj2
= 0 ;
14474 PyObject
* obj3
= 0 ;
14475 PyObject
* obj4
= 0 ;
14476 char * kwnames
[] = {
14477 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14482 if (!SWIG_IsOK(res1
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14487 if (!SWIG_IsOK(ecode2
)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14490 arg2
= static_cast< int >(val2
);
14491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14492 if (!SWIG_IsOK(ecode3
)) {
14493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14495 arg3
= static_cast< int >(val3
);
14498 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14501 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14502 if (!SWIG_IsOK(ecode5
)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14505 arg5
= static_cast< int >(val5
);
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14522 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
= 0;
14524 wxDC
*arg1
= (wxDC
*) 0 ;
14525 wxPoint
*arg2
= 0 ;
14526 wxColour
*arg3
= 0 ;
14527 int arg4
= (int) wxFLOOD_SURFACE
;
14535 PyObject
* obj0
= 0 ;
14536 PyObject
* obj1
= 0 ;
14537 PyObject
* obj2
= 0 ;
14538 PyObject
* obj3
= 0 ;
14539 char * kwnames
[] = {
14540 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14545 if (!SWIG_IsOK(res1
)) {
14546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14555 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14558 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14559 if (!SWIG_IsOK(ecode4
)) {
14560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14562 arg4
= static_cast< int >(val4
);
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14579 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
= 0;
14581 wxDC
*arg1
= (wxDC
*) 0 ;
14583 wxColour
*arg3
= 0 ;
14584 wxColour
*arg4
= 0 ;
14585 wxPoint
*arg5
= 0 ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 PyObject
* obj2
= 0 ;
14595 PyObject
* obj3
= 0 ;
14596 PyObject
* obj4
= 0 ;
14597 char * kwnames
[] = {
14598 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14609 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14613 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14617 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14621 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_Py_Void();
14636 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
= 0;
14638 wxDC
*arg1
= (wxDC
*) 0 ;
14640 wxColour
*arg3
= 0 ;
14641 wxColour
*arg4
= 0 ;
14642 wxDirection arg5
= (wxDirection
) wxEAST
;
14650 PyObject
* obj0
= 0 ;
14651 PyObject
* obj1
= 0 ;
14652 PyObject
* obj2
= 0 ;
14653 PyObject
* obj3
= 0 ;
14654 PyObject
* obj4
= 0 ;
14655 char * kwnames
[] = {
14656 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14661 if (!SWIG_IsOK(res1
)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14667 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14671 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14675 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14678 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14679 if (!SWIG_IsOK(ecode5
)) {
14680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14682 arg5
= static_cast< wxDirection
>(val5
);
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_Py_Void();
14697 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
= 0;
14699 wxDC
*arg1
= (wxDC
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 PyObject
* obj2
= 0 ;
14712 char * kwnames
[] = {
14713 (char *) "self",(char *) "x",(char *) "y", NULL
14716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14718 if (!SWIG_IsOK(res1
)) {
14719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14723 if (!SWIG_IsOK(ecode2
)) {
14724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14726 arg2
= static_cast< int >(val2
);
14727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14728 if (!SWIG_IsOK(ecode3
)) {
14729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14731 arg3
= static_cast< int >(val3
);
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14745 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
= 0;
14747 wxDC
*arg1
= (wxDC
*) 0 ;
14748 wxPoint
*arg2
= 0 ;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 char * kwnames
[] = {
14756 (char *) "self",(char *) "pt", NULL
14759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14761 if (!SWIG_IsOK(res1
)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14767 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14782 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
= 0;
14784 wxDC
*arg1
= (wxDC
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 PyObject
* obj2
= 0 ;
14802 PyObject
* obj3
= 0 ;
14803 PyObject
* obj4
= 0 ;
14804 char * kwnames
[] = {
14805 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14810 if (!SWIG_IsOK(res1
)) {
14811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14815 if (!SWIG_IsOK(ecode2
)) {
14816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14818 arg2
= static_cast< int >(val2
);
14819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14820 if (!SWIG_IsOK(ecode3
)) {
14821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14823 arg3
= static_cast< int >(val3
);
14824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14825 if (!SWIG_IsOK(ecode4
)) {
14826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14828 arg4
= static_cast< int >(val4
);
14829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14830 if (!SWIG_IsOK(ecode5
)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14833 arg5
= static_cast< int >(val5
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_Py_Void();
14847 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
= 0;
14849 wxDC
*arg1
= (wxDC
*) 0 ;
14850 wxPoint
*arg2
= 0 ;
14851 wxPoint
*arg3
= 0 ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 PyObject
* obj2
= 0 ;
14859 char * kwnames
[] = {
14860 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14865 if (!SWIG_IsOK(res1
)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14871 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14875 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= SWIG_Py_Void();
14890 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
= 0;
14892 wxDC
*arg1
= (wxDC
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 PyObject
* obj2
= 0 ;
14904 char * kwnames
[] = {
14905 (char *) "self",(char *) "x",(char *) "y", NULL
14908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14910 if (!SWIG_IsOK(res1
)) {
14911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14915 if (!SWIG_IsOK(ecode2
)) {
14916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14918 arg2
= static_cast< int >(val2
);
14919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14920 if (!SWIG_IsOK(ecode3
)) {
14921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14923 arg3
= static_cast< int >(val3
);
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 (arg1
)->CrossHair(arg2
,arg3
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_Py_Void();
14937 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
= 0;
14939 wxDC
*arg1
= (wxDC
*) 0 ;
14940 wxPoint
*arg2
= 0 ;
14944 PyObject
* obj0
= 0 ;
14945 PyObject
* obj1
= 0 ;
14946 char * kwnames
[] = {
14947 (char *) "self",(char *) "pt", NULL
14950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14952 if (!SWIG_IsOK(res1
)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_Py_Void();
14973 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
= 0;
14975 wxDC
*arg1
= (wxDC
*) 0 ;
14996 PyObject
* obj0
= 0 ;
14997 PyObject
* obj1
= 0 ;
14998 PyObject
* obj2
= 0 ;
14999 PyObject
* obj3
= 0 ;
15000 PyObject
* obj4
= 0 ;
15001 PyObject
* obj5
= 0 ;
15002 PyObject
* obj6
= 0 ;
15003 char * kwnames
[] = {
15004 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15009 if (!SWIG_IsOK(res1
)) {
15010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15014 if (!SWIG_IsOK(ecode2
)) {
15015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15017 arg2
= static_cast< int >(val2
);
15018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15019 if (!SWIG_IsOK(ecode3
)) {
15020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15022 arg3
= static_cast< int >(val3
);
15023 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15024 if (!SWIG_IsOK(ecode4
)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15027 arg4
= static_cast< int >(val4
);
15028 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15029 if (!SWIG_IsOK(ecode5
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15032 arg5
= static_cast< int >(val5
);
15033 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15034 if (!SWIG_IsOK(ecode6
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15037 arg6
= static_cast< int >(val6
);
15038 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15039 if (!SWIG_IsOK(ecode7
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15042 arg7
= static_cast< int >(val7
);
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_Py_Void();
15056 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
= 0;
15058 wxDC
*arg1
= (wxDC
*) 0 ;
15059 wxPoint
*arg2
= 0 ;
15060 wxPoint
*arg3
= 0 ;
15061 wxPoint
*arg4
= 0 ;
15067 PyObject
* obj0
= 0 ;
15068 PyObject
* obj1
= 0 ;
15069 PyObject
* obj2
= 0 ;
15070 PyObject
* obj3
= 0 ;
15071 char * kwnames
[] = {
15072 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15077 if (!SWIG_IsOK(res1
)) {
15078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15091 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_Py_Void();
15106 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
= 0;
15108 wxDC
*arg1
= (wxDC
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 PyObject
* obj1
= 0 ;
15125 PyObject
* obj2
= 0 ;
15126 PyObject
* obj3
= 0 ;
15127 PyObject
* obj4
= 0 ;
15128 char * kwnames
[] = {
15129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15134 if (!SWIG_IsOK(res1
)) {
15135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15139 if (!SWIG_IsOK(ecode2
)) {
15140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15142 arg2
= static_cast< int >(val2
);
15143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15144 if (!SWIG_IsOK(ecode3
)) {
15145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15147 arg3
= static_cast< int >(val3
);
15148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15149 if (!SWIG_IsOK(ecode4
)) {
15150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15152 arg4
= static_cast< int >(val4
);
15153 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15154 if (!SWIG_IsOK(ecode5
)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15157 arg5
= static_cast< int >(val5
);
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= SWIG_Py_Void();
15171 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
= 0;
15173 wxDC
*arg1
= (wxDC
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 char * kwnames
[] = {
15181 (char *) "self",(char *) "rect", NULL
15184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15186 if (!SWIG_IsOK(res1
)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15192 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= SWIG_Py_Void();
15207 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
= 0;
15209 wxDC
*arg1
= (wxDC
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 PyObject
* obj2
= 0 ;
15233 PyObject
* obj3
= 0 ;
15234 PyObject
* obj4
= 0 ;
15235 PyObject
* obj5
= 0 ;
15236 PyObject
* obj6
= 0 ;
15237 char * kwnames
[] = {
15238 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15243 if (!SWIG_IsOK(res1
)) {
15244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15248 if (!SWIG_IsOK(ecode2
)) {
15249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15251 arg2
= static_cast< int >(val2
);
15252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15253 if (!SWIG_IsOK(ecode3
)) {
15254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15256 arg3
= static_cast< int >(val3
);
15257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15258 if (!SWIG_IsOK(ecode4
)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15261 arg4
= static_cast< int >(val4
);
15262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15263 if (!SWIG_IsOK(ecode5
)) {
15264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15266 arg5
= static_cast< int >(val5
);
15267 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15268 if (!SWIG_IsOK(ecode6
)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15271 arg6
= static_cast< double >(val6
);
15272 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15273 if (!SWIG_IsOK(ecode7
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15276 arg7
= static_cast< double >(val7
);
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_Py_Void();
15290 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
= 0;
15292 wxDC
*arg1
= (wxDC
*) 0 ;
15293 wxPoint
*arg2
= 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 PyObject
* obj2
= 0 ;
15308 PyObject
* obj3
= 0 ;
15309 PyObject
* obj4
= 0 ;
15310 char * kwnames
[] = {
15311 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15316 if (!SWIG_IsOK(res1
)) {
15317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15326 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15328 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15329 if (!SWIG_IsOK(ecode4
)) {
15330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15332 arg4
= static_cast< double >(val4
);
15333 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15334 if (!SWIG_IsOK(ecode5
)) {
15335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15337 arg5
= static_cast< double >(val5
);
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= SWIG_Py_Void();
15351 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
= 0;
15353 wxDC
*arg1
= (wxDC
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 PyObject
* obj2
= 0 ;
15365 char * kwnames
[] = {
15366 (char *) "self",(char *) "x",(char *) "y", NULL
15369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15371 if (!SWIG_IsOK(res1
)) {
15372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15376 if (!SWIG_IsOK(ecode2
)) {
15377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15379 arg2
= static_cast< int >(val2
);
15380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15381 if (!SWIG_IsOK(ecode3
)) {
15382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15384 arg3
= static_cast< int >(val3
);
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 (arg1
)->DrawPoint(arg2
,arg3
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= SWIG_Py_Void();
15398 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
= 0;
15400 wxDC
*arg1
= (wxDC
*) 0 ;
15401 wxPoint
*arg2
= 0 ;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 char * kwnames
[] = {
15408 (char *) "self",(char *) "pt", NULL
15411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15413 if (!SWIG_IsOK(res1
)) {
15414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= SWIG_Py_Void();
15434 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
= 0;
15436 wxDC
*arg1
= (wxDC
*) 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 PyObject
* obj2
= 0 ;
15454 PyObject
* obj3
= 0 ;
15455 PyObject
* obj4
= 0 ;
15456 char * kwnames
[] = {
15457 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15462 if (!SWIG_IsOK(res1
)) {
15463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15467 if (!SWIG_IsOK(ecode2
)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15470 arg2
= static_cast< int >(val2
);
15471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15472 if (!SWIG_IsOK(ecode3
)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15475 arg3
= static_cast< int >(val3
);
15476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15477 if (!SWIG_IsOK(ecode4
)) {
15478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15480 arg4
= static_cast< int >(val4
);
15481 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15482 if (!SWIG_IsOK(ecode5
)) {
15483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15485 arg5
= static_cast< int >(val5
);
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= SWIG_Py_Void();
15499 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
= 0;
15501 wxDC
*arg1
= (wxDC
*) 0 ;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 char * kwnames
[] = {
15509 (char *) "self",(char *) "rect", NULL
15512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15514 if (!SWIG_IsOK(res1
)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15520 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_Py_Void();
15535 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
= 0;
15537 wxDC
*arg1
= (wxDC
*) 0 ;
15538 wxPoint
*arg2
= 0 ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 PyObject
* obj2
= 0 ;
15547 char * kwnames
[] = {
15548 (char *) "self",(char *) "pt",(char *) "sz", NULL
15551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15553 if (!SWIG_IsOK(res1
)) {
15554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15563 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_Py_Void();
15578 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
= 0;
15580 wxDC
*arg1
= (wxDC
*) 0 ;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 PyObject
* obj2
= 0 ;
15601 PyObject
* obj3
= 0 ;
15602 PyObject
* obj4
= 0 ;
15603 PyObject
* obj5
= 0 ;
15604 char * kwnames
[] = {
15605 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15610 if (!SWIG_IsOK(res1
)) {
15611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15615 if (!SWIG_IsOK(ecode2
)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15618 arg2
= static_cast< int >(val2
);
15619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15620 if (!SWIG_IsOK(ecode3
)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15623 arg3
= static_cast< int >(val3
);
15624 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15625 if (!SWIG_IsOK(ecode4
)) {
15626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15628 arg4
= static_cast< int >(val4
);
15629 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15630 if (!SWIG_IsOK(ecode5
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15633 arg5
= static_cast< int >(val5
);
15634 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15635 if (!SWIG_IsOK(ecode6
)) {
15636 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15638 arg6
= static_cast< double >(val6
);
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_Py_Void();
15652 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
= 0;
15654 wxDC
*arg1
= (wxDC
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 PyObject
* obj2
= 0 ;
15665 char * kwnames
[] = {
15666 (char *) "self",(char *) "r",(char *) "radius", NULL
15669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15671 if (!SWIG_IsOK(res1
)) {
15672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15677 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15679 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15680 if (!SWIG_IsOK(ecode3
)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15683 arg3
= static_cast< double >(val3
);
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_Py_Void();
15697 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
= 0;
15699 wxDC
*arg1
= (wxDC
*) 0 ;
15700 wxPoint
*arg2
= 0 ;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 PyObject
* obj2
= 0 ;
15712 PyObject
* obj3
= 0 ;
15713 char * kwnames
[] = {
15714 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15725 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15729 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15731 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15732 if (!SWIG_IsOK(ecode4
)) {
15733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15735 arg4
= static_cast< double >(val4
);
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_Py_Void();
15749 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
= 0;
15751 wxDC
*arg1
= (wxDC
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 PyObject
* obj2
= 0 ;
15766 PyObject
* obj3
= 0 ;
15767 char * kwnames
[] = {
15768 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15773 if (!SWIG_IsOK(res1
)) {
15774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15778 if (!SWIG_IsOK(ecode2
)) {
15779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15781 arg2
= static_cast< int >(val2
);
15782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15783 if (!SWIG_IsOK(ecode3
)) {
15784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15786 arg3
= static_cast< int >(val3
);
15787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15788 if (!SWIG_IsOK(ecode4
)) {
15789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15791 arg4
= static_cast< int >(val4
);
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= SWIG_Py_Void();
15805 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
= 0;
15807 wxDC
*arg1
= (wxDC
*) 0 ;
15808 wxPoint
*arg2
= 0 ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 PyObject
* obj2
= 0 ;
15818 char * kwnames
[] = {
15819 (char *) "self",(char *) "pt",(char *) "radius", NULL
15822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15833 if (!SWIG_IsOK(ecode3
)) {
15834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15836 arg3
= static_cast< int >(val3
);
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_Py_Void();
15850 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
= 0;
15852 wxDC
*arg1
= (wxDC
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 PyObject
* obj2
= 0 ;
15870 PyObject
* obj3
= 0 ;
15871 PyObject
* obj4
= 0 ;
15872 char * kwnames
[] = {
15873 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15878 if (!SWIG_IsOK(res1
)) {
15879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15883 if (!SWIG_IsOK(ecode2
)) {
15884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15886 arg2
= static_cast< int >(val2
);
15887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15888 if (!SWIG_IsOK(ecode3
)) {
15889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15891 arg3
= static_cast< int >(val3
);
15892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15893 if (!SWIG_IsOK(ecode4
)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15896 arg4
= static_cast< int >(val4
);
15897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15898 if (!SWIG_IsOK(ecode5
)) {
15899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15901 arg5
= static_cast< int >(val5
);
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= SWIG_Py_Void();
15915 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
= 0;
15917 wxDC
*arg1
= (wxDC
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 PyObject
* obj1
= 0 ;
15924 char * kwnames
[] = {
15925 (char *) "self",(char *) "rect", NULL
15928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15930 if (!SWIG_IsOK(res1
)) {
15931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15936 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= SWIG_Py_Void();
15951 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
= 0;
15953 wxDC
*arg1
= (wxDC
*) 0 ;
15954 wxPoint
*arg2
= 0 ;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 PyObject
* obj2
= 0 ;
15963 char * kwnames
[] = {
15964 (char *) "self",(char *) "pt",(char *) "sz", NULL
15967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15969 if (!SWIG_IsOK(res1
)) {
15970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15979 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= SWIG_Py_Void();
15994 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
= 0;
15996 wxDC
*arg1
= (wxDC
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 PyObject
* obj2
= 0 ;
16011 PyObject
* obj3
= 0 ;
16012 char * kwnames
[] = {
16013 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16018 if (!SWIG_IsOK(res1
)) {
16019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16023 if (!SWIG_IsOK(res2
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16029 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16031 if (!SWIG_IsOK(ecode3
)) {
16032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16034 arg3
= static_cast< int >(val3
);
16035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16036 if (!SWIG_IsOK(ecode4
)) {
16037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16039 arg4
= static_cast< int >(val4
);
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_Py_Void();
16053 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16055 wxDC
*arg1
= (wxDC
*) 0 ;
16057 wxPoint
*arg3
= 0 ;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 char * kwnames
[] = {
16067 (char *) "self",(char *) "icon",(char *) "pt", NULL
16070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16072 if (!SWIG_IsOK(res1
)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16077 if (!SWIG_IsOK(res2
)) {
16078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16083 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16090 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= SWIG_Py_Void();
16101 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
= 0;
16103 wxDC
*arg1
= (wxDC
*) 0 ;
16104 wxBitmap
*arg2
= 0 ;
16107 bool arg5
= (bool) false ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 PyObject
* obj2
= 0 ;
16121 PyObject
* obj3
= 0 ;
16122 PyObject
* obj4
= 0 ;
16123 char * kwnames
[] = {
16124 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16129 if (!SWIG_IsOK(res1
)) {
16130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16134 if (!SWIG_IsOK(res2
)) {
16135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16140 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16142 if (!SWIG_IsOK(ecode3
)) {
16143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16145 arg3
= static_cast< int >(val3
);
16146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16147 if (!SWIG_IsOK(ecode4
)) {
16148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16150 arg4
= static_cast< int >(val4
);
16152 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16153 if (!SWIG_IsOK(ecode5
)) {
16154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16156 arg5
= static_cast< bool >(val5
);
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= SWIG_Py_Void();
16171 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
= 0;
16173 wxDC
*arg1
= (wxDC
*) 0 ;
16174 wxBitmap
*arg2
= 0 ;
16175 wxPoint
*arg3
= 0 ;
16176 bool arg4
= (bool) false ;
16184 PyObject
* obj0
= 0 ;
16185 PyObject
* obj1
= 0 ;
16186 PyObject
* obj2
= 0 ;
16187 PyObject
* obj3
= 0 ;
16188 char * kwnames
[] = {
16189 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16194 if (!SWIG_IsOK(res1
)) {
16195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16199 if (!SWIG_IsOK(res2
)) {
16200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16205 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16211 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16212 if (!SWIG_IsOK(ecode4
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16215 arg4
= static_cast< bool >(val4
);
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_Py_Void();
16230 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
= 0;
16232 wxDC
*arg1
= (wxDC
*) 0 ;
16233 wxString
*arg2
= 0 ;
16238 bool temp2
= false ;
16243 PyObject
* obj0
= 0 ;
16244 PyObject
* obj1
= 0 ;
16245 PyObject
* obj2
= 0 ;
16246 PyObject
* obj3
= 0 ;
16247 char * kwnames
[] = {
16248 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16253 if (!SWIG_IsOK(res1
)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16258 arg2
= wxString_in_helper(obj1
);
16259 if (arg2
== NULL
) SWIG_fail
;
16262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16263 if (!SWIG_IsOK(ecode3
)) {
16264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16266 arg3
= static_cast< int >(val3
);
16267 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16268 if (!SWIG_IsOK(ecode4
)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16271 arg4
= static_cast< int >(val4
);
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_Py_Void();
16293 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
= 0;
16295 wxDC
*arg1
= (wxDC
*) 0 ;
16296 wxString
*arg2
= 0 ;
16297 wxPoint
*arg3
= 0 ;
16300 bool temp2
= false ;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 PyObject
* obj2
= 0 ;
16305 char * kwnames
[] = {
16306 (char *) "self",(char *) "text",(char *) "pt", NULL
16309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16311 if (!SWIG_IsOK(res1
)) {
16312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16316 arg2
= wxString_in_helper(obj1
);
16317 if (arg2
== NULL
) SWIG_fail
;
16322 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16330 resultobj
= SWIG_Py_Void();
16345 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
= 0;
16347 wxDC
*arg1
= (wxDC
*) 0 ;
16348 wxString
*arg2
= 0 ;
16354 bool temp2
= false ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 PyObject
* obj2
= 0 ;
16364 PyObject
* obj3
= 0 ;
16365 PyObject
* obj4
= 0 ;
16366 char * kwnames
[] = {
16367 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16372 if (!SWIG_IsOK(res1
)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16377 arg2
= wxString_in_helper(obj1
);
16378 if (arg2
== NULL
) SWIG_fail
;
16381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16382 if (!SWIG_IsOK(ecode3
)) {
16383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16385 arg3
= static_cast< int >(val3
);
16386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16387 if (!SWIG_IsOK(ecode4
)) {
16388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16390 arg4
= static_cast< int >(val4
);
16391 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16392 if (!SWIG_IsOK(ecode5
)) {
16393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16395 arg5
= static_cast< double >(val5
);
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= SWIG_Py_Void();
16417 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
= 0;
16419 wxDC
*arg1
= (wxDC
*) 0 ;
16420 wxString
*arg2
= 0 ;
16421 wxPoint
*arg3
= 0 ;
16425 bool temp2
= false ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 PyObject
* obj2
= 0 ;
16432 PyObject
* obj3
= 0 ;
16433 char * kwnames
[] = {
16434 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16439 if (!SWIG_IsOK(res1
)) {
16440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16444 arg2
= wxString_in_helper(obj1
);
16445 if (arg2
== NULL
) SWIG_fail
;
16450 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16452 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16453 if (!SWIG_IsOK(ecode4
)) {
16454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16456 arg4
= static_cast< double >(val4
);
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= SWIG_Py_Void();
16478 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
= 0;
16480 wxDC
*arg1
= (wxDC
*) 0 ;
16485 wxDC
*arg6
= (wxDC
*) 0 ;
16488 int arg9
= (int) wxCOPY
;
16489 bool arg10
= (bool) false ;
16490 int arg11
= (int) -1 ;
16491 int arg12
= (int) -1 ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 PyObject
* obj2
= 0 ;
16520 PyObject
* obj3
= 0 ;
16521 PyObject
* obj4
= 0 ;
16522 PyObject
* obj5
= 0 ;
16523 PyObject
* obj6
= 0 ;
16524 PyObject
* obj7
= 0 ;
16525 PyObject
* obj8
= 0 ;
16526 PyObject
* obj9
= 0 ;
16527 PyObject
* obj10
= 0 ;
16528 PyObject
* obj11
= 0 ;
16529 char * kwnames
[] = {
16530 (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
16533 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
;
16534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16535 if (!SWIG_IsOK(res1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16540 if (!SWIG_IsOK(ecode2
)) {
16541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16543 arg2
= static_cast< int >(val2
);
16544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16545 if (!SWIG_IsOK(ecode3
)) {
16546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16548 arg3
= static_cast< int >(val3
);
16549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16550 if (!SWIG_IsOK(ecode4
)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16553 arg4
= static_cast< int >(val4
);
16554 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16555 if (!SWIG_IsOK(ecode5
)) {
16556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16558 arg5
= static_cast< int >(val5
);
16559 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16560 if (!SWIG_IsOK(res6
)) {
16561 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16563 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16564 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16565 if (!SWIG_IsOK(ecode7
)) {
16566 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16568 arg7
= static_cast< int >(val7
);
16569 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16570 if (!SWIG_IsOK(ecode8
)) {
16571 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16573 arg8
= static_cast< int >(val8
);
16575 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16576 if (!SWIG_IsOK(ecode9
)) {
16577 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16579 arg9
= static_cast< int >(val9
);
16582 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16583 if (!SWIG_IsOK(ecode10
)) {
16584 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16586 arg10
= static_cast< bool >(val10
);
16589 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16590 if (!SWIG_IsOK(ecode11
)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16593 arg11
= static_cast< int >(val11
);
16596 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16597 if (!SWIG_IsOK(ecode12
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16600 arg12
= static_cast< int >(val12
);
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16617 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
= 0;
16619 wxDC
*arg1
= (wxDC
*) 0 ;
16620 wxPoint
*arg2
= 0 ;
16622 wxDC
*arg4
= (wxDC
*) 0 ;
16623 wxPoint
*arg5
= 0 ;
16624 int arg6
= (int) wxCOPY
;
16625 bool arg7
= (bool) false ;
16626 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16627 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 PyObject
* obj2
= 0 ;
16644 PyObject
* obj3
= 0 ;
16645 PyObject
* obj4
= 0 ;
16646 PyObject
* obj5
= 0 ;
16647 PyObject
* obj6
= 0 ;
16648 PyObject
* obj7
= 0 ;
16649 char * kwnames
[] = {
16650 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16655 if (!SWIG_IsOK(res1
)) {
16656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16665 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16667 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16668 if (!SWIG_IsOK(res4
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16671 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16674 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16677 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16678 if (!SWIG_IsOK(ecode6
)) {
16679 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16681 arg6
= static_cast< int >(val6
);
16684 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16685 if (!SWIG_IsOK(ecode7
)) {
16686 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16688 arg7
= static_cast< bool >(val7
);
16693 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16711 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
= 0;
16713 wxDC
*arg1
= (wxDC
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 PyObject
* obj2
= 0 ;
16731 PyObject
* obj3
= 0 ;
16732 PyObject
* obj4
= 0 ;
16733 char * kwnames
[] = {
16734 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16739 if (!SWIG_IsOK(res1
)) {
16740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16744 if (!SWIG_IsOK(ecode2
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16747 arg2
= static_cast< int >(val2
);
16748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16749 if (!SWIG_IsOK(ecode3
)) {
16750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16752 arg3
= static_cast< int >(val3
);
16753 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16754 if (!SWIG_IsOK(ecode4
)) {
16755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16757 arg4
= static_cast< int >(val4
);
16758 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16759 if (!SWIG_IsOK(ecode5
)) {
16760 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16762 arg5
= static_cast< int >(val5
);
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= SWIG_Py_Void();
16776 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
= 0;
16778 wxDC
*arg1
= (wxDC
*) 0 ;
16779 wxPoint
*arg2
= 0 ;
16785 PyObject
* obj0
= 0 ;
16786 PyObject
* obj1
= 0 ;
16787 PyObject
* obj2
= 0 ;
16788 char * kwnames
[] = {
16789 (char *) "self",(char *) "pt",(char *) "sz", NULL
16792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16794 if (!SWIG_IsOK(res1
)) {
16795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16804 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_Py_Void();
16819 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxDC
*arg1
= (wxDC
*) 0 ;
16822 wxRegion
*arg2
= 0 ;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 char * kwnames
[] = {
16830 (char *) "self",(char *) "region", NULL
16833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16835 if (!SWIG_IsOK(res1
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16840 if (!SWIG_IsOK(res2
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16846 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_Py_Void();
16860 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
= 0;
16862 wxDC
*arg1
= (wxDC
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char * kwnames
[] = {
16870 (char *) "self",(char *) "rect", NULL
16873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16875 if (!SWIG_IsOK(res1
)) {
16876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16881 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16889 resultobj
= SWIG_Py_Void();
16896 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
= 0;
16898 wxDC
*arg1
= (wxDC
*) 0 ;
16900 wxPoint
*arg3
= (wxPoint
*) 0 ;
16901 int arg4
= (int) 0 ;
16902 int arg5
= (int) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 PyObject
* obj2
= 0 ;
16912 PyObject
* obj3
= 0 ;
16913 char * kwnames
[] = {
16914 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16924 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16925 if (arg3
== NULL
) SWIG_fail
;
16928 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16929 if (!SWIG_IsOK(ecode4
)) {
16930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16932 arg4
= static_cast< int >(val4
);
16935 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16936 if (!SWIG_IsOK(ecode5
)) {
16937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16939 arg5
= static_cast< int >(val5
);
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_Py_Void();
16949 if (arg3
) delete [] arg3
;
16954 if (arg3
) delete [] arg3
;
16960 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
= 0;
16962 wxDC
*arg1
= (wxDC
*) 0 ;
16964 wxPoint
*arg3
= (wxPoint
*) 0 ;
16965 int arg4
= (int) 0 ;
16966 int arg5
= (int) 0 ;
16967 int arg6
= (int) wxODDEVEN_RULE
;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 PyObject
* obj2
= 0 ;
16979 PyObject
* obj3
= 0 ;
16980 PyObject
* obj4
= 0 ;
16981 char * kwnames
[] = {
16982 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
16985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16987 if (!SWIG_IsOK(res1
)) {
16988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
16990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16992 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16993 if (arg3
== NULL
) SWIG_fail
;
16996 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16997 if (!SWIG_IsOK(ecode4
)) {
16998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17000 arg4
= static_cast< int >(val4
);
17003 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17004 if (!SWIG_IsOK(ecode5
)) {
17005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17007 arg5
= static_cast< int >(val5
);
17010 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17011 if (!SWIG_IsOK(ecode6
)) {
17012 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17014 arg6
= static_cast< int >(val6
);
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 resultobj
= SWIG_Py_Void();
17024 if (arg3
) delete [] arg3
;
17029 if (arg3
) delete [] arg3
;
17035 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
= 0;
17037 wxDC
*arg1
= (wxDC
*) 0 ;
17038 wxString
*arg2
= 0 ;
17040 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17041 int arg5
= (int) -1 ;
17044 bool temp2
= false ;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 PyObject
* obj2
= 0 ;
17053 PyObject
* obj3
= 0 ;
17054 PyObject
* obj4
= 0 ;
17055 char * kwnames
[] = {
17056 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17061 if (!SWIG_IsOK(res1
)) {
17062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17066 arg2
= wxString_in_helper(obj1
);
17067 if (arg2
== NULL
) SWIG_fail
;
17072 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17076 if (!SWIG_IsOK(ecode4
)) {
17077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17079 arg4
= static_cast< int >(val4
);
17082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17083 if (!SWIG_IsOK(ecode5
)) {
17084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17086 arg5
= static_cast< int >(val5
);
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= SWIG_Py_Void();
17109 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
= 0;
17111 wxDC
*arg1
= (wxDC
*) 0 ;
17112 wxString
*arg2
= 0 ;
17113 wxBitmap
*arg3
= 0 ;
17115 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17116 int arg6
= (int) -1 ;
17120 bool temp2
= false ;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 PyObject
* obj2
= 0 ;
17131 PyObject
* obj3
= 0 ;
17132 PyObject
* obj4
= 0 ;
17133 PyObject
* obj5
= 0 ;
17134 char * kwnames
[] = {
17135 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17140 if (!SWIG_IsOK(res1
)) {
17141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17145 arg2
= wxString_in_helper(obj1
);
17146 if (arg2
== NULL
) SWIG_fail
;
17149 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17150 if (!SWIG_IsOK(res3
)) {
17151 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17156 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17159 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17162 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17163 if (!SWIG_IsOK(ecode5
)) {
17164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17166 arg5
= static_cast< int >(val5
);
17169 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17170 if (!SWIG_IsOK(ecode6
)) {
17171 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17173 arg6
= static_cast< int >(val6
);
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17196 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
= 0;
17198 wxDC
*arg1
= (wxDC
*) 0 ;
17200 wxPoint
*arg3
= (wxPoint
*) 0 ;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 char * kwnames
[] = {
17206 (char *) "self",(char *) "points", NULL
17209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17211 if (!SWIG_IsOK(res1
)) {
17212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17216 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17217 if (arg3
== NULL
) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->DrawSpline(arg2
,arg3
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_Py_Void();
17227 if (arg3
) delete [] arg3
;
17232 if (arg3
) delete [] arg3
;
17238 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17239 PyObject
*resultobj
= 0;
17240 wxDC
*arg1
= (wxDC
*) 0 ;
17243 PyObject
*swig_obj
[1] ;
17245 if (!args
) SWIG_fail
;
17246 swig_obj
[0] = args
;
17247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17248 if (!SWIG_IsOK(res1
)) {
17249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_Py_Void();
17265 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
= 0;
17267 wxDC
*arg1
= (wxDC
*) 0 ;
17268 wxString
*arg2
= 0 ;
17272 bool temp2
= false ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 char * kwnames
[] = {
17276 (char *) "self",(char *) "message", NULL
17279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17281 if (!SWIG_IsOK(res1
)) {
17282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17286 arg2
= wxString_in_helper(obj1
);
17287 if (arg2
== NULL
) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17313 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17314 PyObject
*resultobj
= 0;
17315 wxDC
*arg1
= (wxDC
*) 0 ;
17318 PyObject
*swig_obj
[1] ;
17320 if (!args
) SWIG_fail
;
17321 swig_obj
[0] = args
;
17322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17323 if (!SWIG_IsOK(res1
)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_Py_Void();
17340 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17341 PyObject
*resultobj
= 0;
17342 wxDC
*arg1
= (wxDC
*) 0 ;
17345 PyObject
*swig_obj
[1] ;
17347 if (!args
) SWIG_fail
;
17348 swig_obj
[0] = args
;
17349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17350 if (!SWIG_IsOK(res1
)) {
17351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 (arg1
)->StartPage();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= SWIG_Py_Void();
17367 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17368 PyObject
*resultobj
= 0;
17369 wxDC
*arg1
= (wxDC
*) 0 ;
17372 PyObject
*swig_obj
[1] ;
17374 if (!args
) SWIG_fail
;
17375 swig_obj
[0] = args
;
17376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17377 if (!SWIG_IsOK(res1
)) {
17378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= SWIG_Py_Void();
17394 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
= 0;
17396 wxDC
*arg1
= (wxDC
*) 0 ;
17402 PyObject
* obj0
= 0 ;
17403 PyObject
* obj1
= 0 ;
17404 char * kwnames
[] = {
17405 (char *) "self",(char *) "font", NULL
17408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17410 if (!SWIG_IsOK(res1
)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17415 if (!SWIG_IsOK(res2
)) {
17416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17421 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 (arg1
)->SetFont((wxFont
const &)*arg2
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= SWIG_Py_Void();
17435 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
= 0;
17437 wxDC
*arg1
= (wxDC
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 char * kwnames
[] = {
17446 (char *) "self",(char *) "pen", NULL
17449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17451 if (!SWIG_IsOK(res1
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17456 if (!SWIG_IsOK(res2
)) {
17457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17462 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 (arg1
)->SetPen((wxPen
const &)*arg2
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= SWIG_Py_Void();
17476 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
= 0;
17478 wxDC
*arg1
= (wxDC
*) 0 ;
17479 wxBrush
*arg2
= 0 ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 char * kwnames
[] = {
17487 (char *) "self",(char *) "brush", NULL
17490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17492 if (!SWIG_IsOK(res1
)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17497 if (!SWIG_IsOK(res2
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17503 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_Py_Void();
17517 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
= 0;
17519 wxDC
*arg1
= (wxDC
*) 0 ;
17520 wxBrush
*arg2
= 0 ;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 char * kwnames
[] = {
17528 (char *) "self",(char *) "brush", NULL
17531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17533 if (!SWIG_IsOK(res1
)) {
17534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17538 if (!SWIG_IsOK(res2
)) {
17539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17544 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= SWIG_Py_Void();
17558 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
= 0;
17560 wxDC
*arg1
= (wxDC
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 char * kwnames
[] = {
17569 (char *) "self",(char *) "mode", NULL
17572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17574 if (!SWIG_IsOK(res1
)) {
17575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17579 if (!SWIG_IsOK(ecode2
)) {
17580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17582 arg2
= static_cast< int >(val2
);
17584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 (arg1
)->SetBackgroundMode(arg2
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= SWIG_Py_Void();
17596 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
= 0;
17598 wxDC
*arg1
= (wxDC
*) 0 ;
17599 wxPalette
*arg2
= 0 ;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 char * kwnames
[] = {
17607 (char *) "self",(char *) "palette", NULL
17610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17612 if (!SWIG_IsOK(res1
)) {
17613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17617 if (!SWIG_IsOK(res2
)) {
17618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17623 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= SWIG_Py_Void();
17637 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17638 PyObject
*resultobj
= 0;
17639 wxDC
*arg1
= (wxDC
*) 0 ;
17642 PyObject
*swig_obj
[1] ;
17644 if (!args
) SWIG_fail
;
17645 swig_obj
[0] = args
;
17646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17647 if (!SWIG_IsOK(res1
)) {
17648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 (arg1
)->DestroyClippingRegion();
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= SWIG_Py_Void();
17664 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17665 PyObject
*resultobj
= 0;
17666 wxDC
*arg1
= (wxDC
*) 0 ;
17667 int *arg2
= (int *) 0 ;
17668 int *arg3
= (int *) 0 ;
17669 int *arg4
= (int *) 0 ;
17670 int *arg5
= (int *) 0 ;
17674 int res2
= SWIG_TMPOBJ
;
17676 int res3
= SWIG_TMPOBJ
;
17678 int res4
= SWIG_TMPOBJ
;
17680 int res5
= SWIG_TMPOBJ
;
17681 PyObject
*swig_obj
[1] ;
17687 if (!args
) SWIG_fail
;
17688 swig_obj
[0] = args
;
17689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17690 if (!SWIG_IsOK(res1
)) {
17691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_Py_Void();
17701 if (SWIG_IsTmpObj(res2
)) {
17702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17704 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17707 if (SWIG_IsTmpObj(res3
)) {
17708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17710 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17713 if (SWIG_IsTmpObj(res4
)) {
17714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17716 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17719 if (SWIG_IsTmpObj(res5
)) {
17720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17722 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17731 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17732 PyObject
*resultobj
= 0;
17733 wxDC
*arg1
= (wxDC
*) 0 ;
17737 PyObject
*swig_obj
[1] ;
17739 if (!args
) SWIG_fail
;
17740 swig_obj
[0] = args
;
17741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17742 if (!SWIG_IsOK(res1
)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= wxDC_GetClippingRect(arg1
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17759 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17760 PyObject
*resultobj
= 0;
17761 wxDC
*arg1
= (wxDC
*) 0 ;
17765 PyObject
*swig_obj
[1] ;
17767 if (!args
) SWIG_fail
;
17768 swig_obj
[0] = args
;
17769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17770 if (!SWIG_IsOK(res1
)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= SWIG_From_int(static_cast< int >(result
));
17787 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17788 PyObject
*resultobj
= 0;
17789 wxDC
*arg1
= (wxDC
*) 0 ;
17793 PyObject
*swig_obj
[1] ;
17795 if (!args
) SWIG_fail
;
17796 swig_obj
[0] = args
;
17797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17798 if (!SWIG_IsOK(res1
)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_From_int(static_cast< int >(result
));
17815 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
= 0;
17817 wxDC
*arg1
= (wxDC
*) 0 ;
17818 wxString
*arg2
= 0 ;
17819 int *arg3
= (int *) 0 ;
17820 int *arg4
= (int *) 0 ;
17823 bool temp2
= false ;
17825 int res3
= SWIG_TMPOBJ
;
17827 int res4
= SWIG_TMPOBJ
;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 char * kwnames
[] = {
17831 (char *) "self",(char *) "string", NULL
17836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17838 if (!SWIG_IsOK(res1
)) {
17839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17843 arg2
= wxString_in_helper(obj1
);
17844 if (arg2
== NULL
) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= SWIG_Py_Void();
17854 if (SWIG_IsTmpObj(res3
)) {
17855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17857 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17860 if (SWIG_IsTmpObj(res4
)) {
17861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17863 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17880 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
= 0;
17882 wxDC
*arg1
= (wxDC
*) 0 ;
17883 wxString
*arg2
= 0 ;
17884 int *arg3
= (int *) 0 ;
17885 int *arg4
= (int *) 0 ;
17886 int *arg5
= (int *) 0 ;
17887 int *arg6
= (int *) 0 ;
17888 wxFont
*arg7
= (wxFont
*) NULL
;
17891 bool temp2
= false ;
17893 int res3
= SWIG_TMPOBJ
;
17895 int res4
= SWIG_TMPOBJ
;
17897 int res5
= SWIG_TMPOBJ
;
17899 int res6
= SWIG_TMPOBJ
;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 PyObject
* obj2
= 0 ;
17905 char * kwnames
[] = {
17906 (char *) "self",(char *) "string",(char *) "font", NULL
17913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17915 if (!SWIG_IsOK(res1
)) {
17916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17920 arg2
= wxString_in_helper(obj1
);
17921 if (arg2
== NULL
) SWIG_fail
;
17925 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17926 if (!SWIG_IsOK(res7
)) {
17927 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17929 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_Py_Void();
17938 if (SWIG_IsTmpObj(res3
)) {
17939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17941 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17944 if (SWIG_IsTmpObj(res4
)) {
17945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17947 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17950 if (SWIG_IsTmpObj(res5
)) {
17951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17953 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17956 if (SWIG_IsTmpObj(res6
)) {
17957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
17959 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
17976 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
= 0;
17978 wxDC
*arg1
= (wxDC
*) 0 ;
17979 wxString
*arg2
= 0 ;
17980 int *arg3
= (int *) 0 ;
17981 int *arg4
= (int *) 0 ;
17982 int *arg5
= (int *) 0 ;
17983 wxFont
*arg6
= (wxFont
*) NULL
;
17986 bool temp2
= false ;
17988 int res3
= SWIG_TMPOBJ
;
17990 int res4
= SWIG_TMPOBJ
;
17992 int res5
= SWIG_TMPOBJ
;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 PyObject
* obj2
= 0 ;
17998 char * kwnames
[] = {
17999 (char *) "self",(char *) "text",(char *) "font", NULL
18005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18007 if (!SWIG_IsOK(res1
)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18012 arg2
= wxString_in_helper(obj1
);
18013 if (arg2
== NULL
) SWIG_fail
;
18017 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18018 if (!SWIG_IsOK(res6
)) {
18019 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18021 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_Py_Void();
18030 if (SWIG_IsTmpObj(res3
)) {
18031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18033 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18036 if (SWIG_IsTmpObj(res4
)) {
18037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18039 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18042 if (SWIG_IsTmpObj(res5
)) {
18043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18045 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18062 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
= 0;
18064 wxDC
*arg1
= (wxDC
*) 0 ;
18065 wxString
*arg2
= 0 ;
18069 bool temp2
= false ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "self",(char *) "text", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18083 arg2
= wxString_in_helper(obj1
);
18084 if (arg2
== NULL
) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= PyList_New(0);
18096 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18097 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18098 PyList_Append(resultobj
, val
);
18116 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18117 PyObject
*resultobj
= 0;
18118 wxDC
*arg1
= (wxDC
*) 0 ;
18122 PyObject
*swig_obj
[1] ;
18124 if (!args
) SWIG_fail
;
18125 swig_obj
[0] = args
;
18126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18127 if (!SWIG_IsOK(res1
)) {
18128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (arg1
)->GetSize();
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18144 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18145 PyObject
*resultobj
= 0;
18146 wxDC
*arg1
= (wxDC
*) 0 ;
18147 int *arg2
= (int *) 0 ;
18148 int *arg3
= (int *) 0 ;
18152 int res2
= SWIG_TMPOBJ
;
18154 int res3
= SWIG_TMPOBJ
;
18155 PyObject
*swig_obj
[1] ;
18159 if (!args
) SWIG_fail
;
18160 swig_obj
[0] = args
;
18161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18162 if (!SWIG_IsOK(res1
)) {
18163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 (arg1
)->GetSize(arg2
,arg3
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= SWIG_Py_Void();
18173 if (SWIG_IsTmpObj(res2
)) {
18174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18176 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18179 if (SWIG_IsTmpObj(res3
)) {
18180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18182 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18191 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18192 PyObject
*resultobj
= 0;
18193 wxDC
*arg1
= (wxDC
*) 0 ;
18197 PyObject
*swig_obj
[1] ;
18199 if (!args
) SWIG_fail
;
18200 swig_obj
[0] = args
;
18201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18219 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18220 PyObject
*resultobj
= 0;
18221 wxDC
*arg1
= (wxDC
*) 0 ;
18222 int *arg2
= (int *) 0 ;
18223 int *arg3
= (int *) 0 ;
18227 int res2
= SWIG_TMPOBJ
;
18229 int res3
= SWIG_TMPOBJ
;
18230 PyObject
*swig_obj
[1] ;
18234 if (!args
) SWIG_fail
;
18235 swig_obj
[0] = args
;
18236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18237 if (!SWIG_IsOK(res1
)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_Py_Void();
18248 if (SWIG_IsTmpObj(res2
)) {
18249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18251 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18254 if (SWIG_IsTmpObj(res3
)) {
18255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18257 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18266 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
= 0;
18268 wxDC
*arg1
= (wxDC
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "self",(char *) "x", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18288 if (!SWIG_IsOK(ecode2
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18291 arg2
= static_cast< int >(val2
);
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= SWIG_From_int(static_cast< int >(result
));
18305 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
= 0;
18307 wxDC
*arg1
= (wxDC
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 char * kwnames
[] = {
18317 (char *) "self",(char *) "y", NULL
18320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18322 if (!SWIG_IsOK(res1
)) {
18323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18327 if (!SWIG_IsOK(ecode2
)) {
18328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18330 arg2
= static_cast< int >(val2
);
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_From_int(static_cast< int >(result
));
18344 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
= 0;
18346 wxDC
*arg1
= (wxDC
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 char * kwnames
[] = {
18356 (char *) "self",(char *) "x", NULL
18359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18361 if (!SWIG_IsOK(res1
)) {
18362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18366 if (!SWIG_IsOK(ecode2
)) {
18367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18369 arg2
= static_cast< int >(val2
);
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_From_int(static_cast< int >(result
));
18383 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
= 0;
18385 wxDC
*arg1
= (wxDC
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char * kwnames
[] = {
18395 (char *) "self",(char *) "y", NULL
18398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18400 if (!SWIG_IsOK(res1
)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18405 if (!SWIG_IsOK(ecode2
)) {
18406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18408 arg2
= static_cast< int >(val2
);
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_From_int(static_cast< int >(result
));
18422 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
= 0;
18424 wxDC
*arg1
= (wxDC
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char * kwnames
[] = {
18434 (char *) "self",(char *) "x", NULL
18437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18444 if (!SWIG_IsOK(ecode2
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18447 arg2
= static_cast< int >(val2
);
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= SWIG_From_int(static_cast< int >(result
));
18461 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
= 0;
18463 wxDC
*arg1
= (wxDC
*) 0 ;
18470 PyObject
* obj0
= 0 ;
18471 PyObject
* obj1
= 0 ;
18472 char * kwnames
[] = {
18473 (char *) "self",(char *) "y", NULL
18476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18478 if (!SWIG_IsOK(res1
)) {
18479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18483 if (!SWIG_IsOK(ecode2
)) {
18484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18486 arg2
= static_cast< int >(val2
);
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_From_int(static_cast< int >(result
));
18500 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
= 0;
18502 wxDC
*arg1
= (wxDC
*) 0 ;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 char * kwnames
[] = {
18512 (char *) "self",(char *) "x", NULL
18515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18517 if (!SWIG_IsOK(res1
)) {
18518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18522 if (!SWIG_IsOK(ecode2
)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18525 arg2
= static_cast< int >(val2
);
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_From_int(static_cast< int >(result
));
18539 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
= 0;
18541 wxDC
*arg1
= (wxDC
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char * kwnames
[] = {
18551 (char *) "self",(char *) "y", NULL
18554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18556 if (!SWIG_IsOK(res1
)) {
18557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18561 if (!SWIG_IsOK(ecode2
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18564 arg2
= static_cast< int >(val2
);
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= SWIG_From_int(static_cast< int >(result
));
18578 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18579 PyObject
*resultobj
= 0;
18580 wxDC
*arg1
= (wxDC
*) 0 ;
18584 PyObject
*swig_obj
[1] ;
18586 if (!args
) SWIG_fail
;
18587 swig_obj
[0] = args
;
18588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18589 if (!SWIG_IsOK(res1
)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18608 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18609 PyObject
*resultobj
= 0;
18610 wxDC
*arg1
= (wxDC
*) 0 ;
18614 PyObject
*swig_obj
[1] ;
18616 if (!args
) SWIG_fail
;
18617 swig_obj
[0] = args
;
18618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18619 if (!SWIG_IsOK(res1
)) {
18620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18638 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18639 PyObject
*resultobj
= 0;
18640 wxDC
*arg1
= (wxDC
*) 0 ;
18644 PyObject
*swig_obj
[1] ;
18646 if (!args
) SWIG_fail
;
18647 swig_obj
[0] = args
;
18648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18649 if (!SWIG_IsOK(res1
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= SWIG_From_int(static_cast< int >(result
));
18666 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18667 PyObject
*resultobj
= 0;
18668 wxDC
*arg1
= (wxDC
*) 0 ;
18672 PyObject
*swig_obj
[1] ;
18674 if (!args
) SWIG_fail
;
18675 swig_obj
[0] = args
;
18676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18677 if (!SWIG_IsOK(res1
)) {
18678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 result
= ((wxDC
const *)arg1
)->GetPPI();
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18694 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18695 PyObject
*resultobj
= 0;
18696 wxDC
*arg1
= (wxDC
*) 0 ;
18700 PyObject
*swig_obj
[1] ;
18702 if (!args
) SWIG_fail
;
18703 swig_obj
[0] = args
;
18704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18705 if (!SWIG_IsOK(res1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (bool)((wxDC
const *)arg1
)->Ok();
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18724 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18725 PyObject
*resultobj
= 0;
18726 wxDC
*arg1
= (wxDC
*) 0 ;
18730 PyObject
*swig_obj
[1] ;
18732 if (!args
) SWIG_fail
;
18733 swig_obj
[0] = args
;
18734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_From_int(static_cast< int >(result
));
18752 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18753 PyObject
*resultobj
= 0;
18754 wxDC
*arg1
= (wxDC
*) 0 ;
18755 wxBrush
*result
= 0 ;
18758 PyObject
*swig_obj
[1] ;
18760 if (!args
) SWIG_fail
;
18761 swig_obj
[0] = args
;
18762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18763 if (!SWIG_IsOK(res1
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18771 result
= (wxBrush
*) &_result_ref
;
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18777 wxBrush
* resultptr
= new wxBrush(*result
);
18778 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18786 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18787 PyObject
*resultobj
= 0;
18788 wxDC
*arg1
= (wxDC
*) 0 ;
18789 wxBrush
*result
= 0 ;
18792 PyObject
*swig_obj
[1] ;
18794 if (!args
) SWIG_fail
;
18795 swig_obj
[0] = args
;
18796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18797 if (!SWIG_IsOK(res1
)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18805 result
= (wxBrush
*) &_result_ref
;
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18811 wxBrush
* resultptr
= new wxBrush(*result
);
18812 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18820 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18821 PyObject
*resultobj
= 0;
18822 wxDC
*arg1
= (wxDC
*) 0 ;
18823 wxFont
*result
= 0 ;
18826 PyObject
*swig_obj
[1] ;
18828 if (!args
) SWIG_fail
;
18829 swig_obj
[0] = args
;
18830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18831 if (!SWIG_IsOK(res1
)) {
18832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18839 result
= (wxFont
*) &_result_ref
;
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18845 wxFont
* resultptr
= new wxFont(*result
);
18846 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18854 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18855 PyObject
*resultobj
= 0;
18856 wxDC
*arg1
= (wxDC
*) 0 ;
18857 wxPen
*result
= 0 ;
18860 PyObject
*swig_obj
[1] ;
18862 if (!args
) SWIG_fail
;
18863 swig_obj
[0] = args
;
18864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18865 if (!SWIG_IsOK(res1
)) {
18866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18873 result
= (wxPen
*) &_result_ref
;
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18879 wxPen
* resultptr
= new wxPen(*result
);
18880 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18888 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(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_GetTextBackground" "', 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
)->GetTextBackground();
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_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18920 PyObject
*resultobj
= 0;
18921 wxDC
*arg1
= (wxDC
*) 0 ;
18922 wxColour
*result
= 0 ;
18925 PyObject
*swig_obj
[1] ;
18927 if (!args
) SWIG_fail
;
18928 swig_obj
[0] = args
;
18929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18930 if (!SWIG_IsOK(res1
)) {
18931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18938 result
= (wxColour
*) &_result_ref
;
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18950 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
= 0;
18952 wxDC
*arg1
= (wxDC
*) 0 ;
18953 wxColour
*arg2
= 0 ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 char * kwnames
[] = {
18960 (char *) "self",(char *) "colour", NULL
18963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18965 if (!SWIG_IsOK(res1
)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
18968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18971 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= SWIG_Py_Void();
18986 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
= 0;
18988 wxDC
*arg1
= (wxDC
*) 0 ;
18989 wxColour
*arg2
= 0 ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char * kwnames
[] = {
18996 (char *) "self",(char *) "colour", NULL
18999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19001 if (!SWIG_IsOK(res1
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19007 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_Py_Void();
19022 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19023 PyObject
*resultobj
= 0;
19024 wxDC
*arg1
= (wxDC
*) 0 ;
19028 PyObject
*swig_obj
[1] ;
19030 if (!args
) SWIG_fail
;
19031 swig_obj
[0] = args
;
19032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19033 if (!SWIG_IsOK(res1
)) {
19034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_From_int(static_cast< int >(result
));
19050 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
= 0;
19052 wxDC
*arg1
= (wxDC
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char * kwnames
[] = {
19061 (char *) "self",(char *) "mode", NULL
19064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19066 if (!SWIG_IsOK(res1
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19069 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19071 if (!SWIG_IsOK(ecode2
)) {
19072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19074 arg2
= static_cast< int >(val2
);
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 (arg1
)->SetMapMode(arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= SWIG_Py_Void();
19088 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19089 PyObject
*resultobj
= 0;
19090 wxDC
*arg1
= (wxDC
*) 0 ;
19091 double *arg2
= (double *) 0 ;
19092 double *arg3
= (double *) 0 ;
19096 int res2
= SWIG_TMPOBJ
;
19098 int res3
= SWIG_TMPOBJ
;
19099 PyObject
*swig_obj
[1] ;
19103 if (!args
) SWIG_fail
;
19104 swig_obj
[0] = args
;
19105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19106 if (!SWIG_IsOK(res1
)) {
19107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19112 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 resultobj
= SWIG_Py_Void();
19117 if (SWIG_IsTmpObj(res2
)) {
19118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19120 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19123 if (SWIG_IsTmpObj(res3
)) {
19124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19126 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19135 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxDC
*arg1
= (wxDC
*) 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 PyObject
* obj2
= 0 ;
19149 char * kwnames
[] = {
19150 (char *) "self",(char *) "x",(char *) "y", NULL
19153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19155 if (!SWIG_IsOK(res1
)) {
19156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19159 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19160 if (!SWIG_IsOK(ecode2
)) {
19161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19163 arg2
= static_cast< double >(val2
);
19164 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19165 if (!SWIG_IsOK(ecode3
)) {
19166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19168 arg3
= static_cast< double >(val3
);
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetUserScale(arg2
,arg3
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= SWIG_Py_Void();
19182 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19183 PyObject
*resultobj
= 0;
19184 wxDC
*arg1
= (wxDC
*) 0 ;
19185 double *arg2
= (double *) 0 ;
19186 double *arg3
= (double *) 0 ;
19190 int res2
= SWIG_TMPOBJ
;
19192 int res3
= SWIG_TMPOBJ
;
19193 PyObject
*swig_obj
[1] ;
19197 if (!args
) SWIG_fail
;
19198 swig_obj
[0] = args
;
19199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19200 if (!SWIG_IsOK(res1
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19206 (arg1
)->GetLogicalScale(arg2
,arg3
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= SWIG_Py_Void();
19211 if (SWIG_IsTmpObj(res2
)) {
19212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19214 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19217 if (SWIG_IsTmpObj(res3
)) {
19218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19220 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19229 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
= 0;
19231 wxDC
*arg1
= (wxDC
*) 0 ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 PyObject
* obj2
= 0 ;
19243 char * kwnames
[] = {
19244 (char *) "self",(char *) "x",(char *) "y", NULL
19247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19249 if (!SWIG_IsOK(res1
)) {
19250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19253 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19254 if (!SWIG_IsOK(ecode2
)) {
19255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19257 arg2
= static_cast< double >(val2
);
19258 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19259 if (!SWIG_IsOK(ecode3
)) {
19260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19262 arg3
= static_cast< double >(val3
);
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 (arg1
)->SetLogicalScale(arg2
,arg3
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_Py_Void();
19276 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19277 PyObject
*resultobj
= 0;
19278 wxDC
*arg1
= (wxDC
*) 0 ;
19282 PyObject
*swig_obj
[1] ;
19284 if (!args
) SWIG_fail
;
19285 swig_obj
[0] = args
;
19286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19287 if (!SWIG_IsOK(res1
)) {
19288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19290 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19304 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19305 PyObject
*resultobj
= 0;
19306 wxDC
*arg1
= (wxDC
*) 0 ;
19307 int *arg2
= (int *) 0 ;
19308 int *arg3
= (int *) 0 ;
19312 int res2
= SWIG_TMPOBJ
;
19314 int res3
= SWIG_TMPOBJ
;
19315 PyObject
*swig_obj
[1] ;
19319 if (!args
) SWIG_fail
;
19320 swig_obj
[0] = args
;
19321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19322 if (!SWIG_IsOK(res1
)) {
19323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_Py_Void();
19333 if (SWIG_IsTmpObj(res2
)) {
19334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19336 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19339 if (SWIG_IsTmpObj(res3
)) {
19340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19342 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19351 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
= 0;
19353 wxDC
*arg1
= (wxDC
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 PyObject
* obj2
= 0 ;
19365 char * kwnames
[] = {
19366 (char *) "self",(char *) "x",(char *) "y", NULL
19369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19371 if (!SWIG_IsOK(res1
)) {
19372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19376 if (!SWIG_IsOK(ecode2
)) {
19377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19379 arg2
= static_cast< int >(val2
);
19380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19381 if (!SWIG_IsOK(ecode3
)) {
19382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19384 arg3
= static_cast< int >(val3
);
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= SWIG_Py_Void();
19398 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
= 0;
19400 wxDC
*arg1
= (wxDC
*) 0 ;
19401 wxPoint
*arg2
= 0 ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 char * kwnames
[] = {
19408 (char *) "self",(char *) "point", NULL
19411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19413 if (!SWIG_IsOK(res1
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 resultobj
= SWIG_Py_Void();
19434 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19435 PyObject
*resultobj
= 0;
19436 wxDC
*arg1
= (wxDC
*) 0 ;
19440 PyObject
*swig_obj
[1] ;
19442 if (!args
) SWIG_fail
;
19443 swig_obj
[0] = args
;
19444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19445 if (!SWIG_IsOK(res1
)) {
19446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19462 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19463 PyObject
*resultobj
= 0;
19464 wxDC
*arg1
= (wxDC
*) 0 ;
19465 int *arg2
= (int *) 0 ;
19466 int *arg3
= (int *) 0 ;
19470 int res2
= SWIG_TMPOBJ
;
19472 int res3
= SWIG_TMPOBJ
;
19473 PyObject
*swig_obj
[1] ;
19477 if (!args
) SWIG_fail
;
19478 swig_obj
[0] = args
;
19479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= SWIG_Py_Void();
19491 if (SWIG_IsTmpObj(res2
)) {
19492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19494 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19497 if (SWIG_IsTmpObj(res3
)) {
19498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19500 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19509 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
= 0;
19511 wxDC
*arg1
= (wxDC
*) 0 ;
19520 PyObject
* obj0
= 0 ;
19521 PyObject
* obj1
= 0 ;
19522 PyObject
* obj2
= 0 ;
19523 char * kwnames
[] = {
19524 (char *) "self",(char *) "x",(char *) "y", NULL
19527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19529 if (!SWIG_IsOK(res1
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19534 if (!SWIG_IsOK(ecode2
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19537 arg2
= static_cast< int >(val2
);
19538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19539 if (!SWIG_IsOK(ecode3
)) {
19540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19542 arg3
= static_cast< int >(val3
);
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_Py_Void();
19556 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
= 0;
19558 wxDC
*arg1
= (wxDC
*) 0 ;
19559 wxPoint
*arg2
= 0 ;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 char * kwnames
[] = {
19566 (char *) "self",(char *) "point", NULL
19569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= SWIG_Py_Void();
19592 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
= 0;
19594 wxDC
*arg1
= (wxDC
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 PyObject
* obj2
= 0 ;
19606 char * kwnames
[] = {
19607 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19612 if (!SWIG_IsOK(res1
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19617 if (!SWIG_IsOK(ecode2
)) {
19618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19620 arg2
= static_cast< bool >(val2
);
19621 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19622 if (!SWIG_IsOK(ecode3
)) {
19623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19625 arg3
= static_cast< bool >(val3
);
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_Py_Void();
19639 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19640 PyObject
*resultobj
= 0;
19641 wxDC
*arg1
= (wxDC
*) 0 ;
19645 PyObject
*swig_obj
[1] ;
19647 if (!args
) SWIG_fail
;
19648 swig_obj
[0] = args
;
19649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19650 if (!SWIG_IsOK(res1
)) {
19651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_From_int(static_cast< int >(result
));
19667 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
= 0;
19669 wxDC
*arg1
= (wxDC
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 PyObject
* obj1
= 0 ;
19677 char * kwnames
[] = {
19678 (char *) "self",(char *) "function", NULL
19681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19683 if (!SWIG_IsOK(res1
)) {
19684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19686 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19688 if (!SWIG_IsOK(ecode2
)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19691 arg2
= static_cast< int >(val2
);
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 (arg1
)->SetLogicalFunction(arg2
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_Py_Void();
19705 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19706 PyObject
*resultobj
= 0;
19707 wxDC
*arg1
= (wxDC
*) 0 ;
19710 PyObject
*swig_obj
[1] ;
19712 if (!args
) SWIG_fail
;
19713 swig_obj
[0] = args
;
19714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19715 if (!SWIG_IsOK(res1
)) {
19716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 (arg1
)->ComputeScaleAndOrigin();
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_Py_Void();
19732 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
= 0;
19734 wxDC
*arg1
= (wxDC
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 PyObject
* obj2
= 0 ;
19746 char * kwnames
[] = {
19747 (char *) "self",(char *) "x",(char *) "y", NULL
19750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19752 if (!SWIG_IsOK(res1
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19757 if (!SWIG_IsOK(ecode2
)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19760 arg2
= static_cast< int >(val2
);
19761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19762 if (!SWIG_IsOK(ecode3
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19765 arg3
= static_cast< int >(val3
);
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_Py_Void();
19779 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
= 0;
19781 wxDC
*arg1
= (wxDC
*) 0 ;
19782 wxPoint
*arg2
= 0 ;
19786 PyObject
* obj0
= 0 ;
19787 PyObject
* obj1
= 0 ;
19788 char * kwnames
[] = {
19789 (char *) "self",(char *) "point", NULL
19792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19794 if (!SWIG_IsOK(res1
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 resultobj
= SWIG_Py_Void();
19815 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19816 PyObject
*resultobj
= 0;
19817 wxDC
*arg1
= (wxDC
*) 0 ;
19820 PyObject
*swig_obj
[1] ;
19822 if (!args
) SWIG_fail
;
19823 swig_obj
[0] = args
;
19824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19825 if (!SWIG_IsOK(res1
)) {
19826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->ResetBoundingBox();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_Py_Void();
19842 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19843 PyObject
*resultobj
= 0;
19844 wxDC
*arg1
= (wxDC
*) 0 ;
19848 PyObject
*swig_obj
[1] ;
19850 if (!args
) SWIG_fail
;
19851 swig_obj
[0] = args
;
19852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19853 if (!SWIG_IsOK(res1
)) {
19854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (int)((wxDC
const *)arg1
)->MinX();
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= SWIG_From_int(static_cast< int >(result
));
19870 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19871 PyObject
*resultobj
= 0;
19872 wxDC
*arg1
= (wxDC
*) 0 ;
19876 PyObject
*swig_obj
[1] ;
19878 if (!args
) SWIG_fail
;
19879 swig_obj
[0] = args
;
19880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (int)((wxDC
const *)arg1
)->MaxX();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_From_int(static_cast< int >(result
));
19898 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19899 PyObject
*resultobj
= 0;
19900 wxDC
*arg1
= (wxDC
*) 0 ;
19904 PyObject
*swig_obj
[1] ;
19906 if (!args
) SWIG_fail
;
19907 swig_obj
[0] = args
;
19908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19909 if (!SWIG_IsOK(res1
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (int)((wxDC
const *)arg1
)->MinY();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_From_int(static_cast< int >(result
));
19926 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19927 PyObject
*resultobj
= 0;
19928 wxDC
*arg1
= (wxDC
*) 0 ;
19932 PyObject
*swig_obj
[1] ;
19934 if (!args
) SWIG_fail
;
19935 swig_obj
[0] = args
;
19936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19937 if (!SWIG_IsOK(res1
)) {
19938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (int)((wxDC
const *)arg1
)->MaxY();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 resultobj
= SWIG_From_int(static_cast< int >(result
));
19954 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19955 PyObject
*resultobj
= 0;
19956 wxDC
*arg1
= (wxDC
*) 0 ;
19957 int *arg2
= (int *) 0 ;
19958 int *arg3
= (int *) 0 ;
19959 int *arg4
= (int *) 0 ;
19960 int *arg5
= (int *) 0 ;
19964 int res2
= SWIG_TMPOBJ
;
19966 int res3
= SWIG_TMPOBJ
;
19968 int res4
= SWIG_TMPOBJ
;
19970 int res5
= SWIG_TMPOBJ
;
19971 PyObject
*swig_obj
[1] ;
19977 if (!args
) SWIG_fail
;
19978 swig_obj
[0] = args
;
19979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19980 if (!SWIG_IsOK(res1
)) {
19981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_Py_Void();
19991 if (SWIG_IsTmpObj(res2
)) {
19992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19994 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19997 if (SWIG_IsTmpObj(res3
)) {
19998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20000 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20003 if (SWIG_IsTmpObj(res4
)) {
20004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20006 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20009 if (SWIG_IsTmpObj(res5
)) {
20010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20012 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20021 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
= 0;
20023 wxDC
*arg1
= (wxDC
*) 0 ;
20024 PyObject
*arg2
= (PyObject
*) 0 ;
20025 PyObject
*arg3
= (PyObject
*) 0 ;
20026 PyObject
*arg4
= (PyObject
*) 0 ;
20027 PyObject
*result
= 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 PyObject
* obj2
= 0 ;
20033 PyObject
* obj3
= 0 ;
20034 char * kwnames
[] = {
20035 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20040 if (!SWIG_IsOK(res1
)) {
20041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= result
;
20060 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
= 0;
20062 wxDC
*arg1
= (wxDC
*) 0 ;
20063 PyObject
*arg2
= (PyObject
*) 0 ;
20064 PyObject
*arg3
= (PyObject
*) 0 ;
20065 PyObject
*arg4
= (PyObject
*) 0 ;
20066 PyObject
*result
= 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 PyObject
* obj2
= 0 ;
20072 PyObject
* obj3
= 0 ;
20073 char * kwnames
[] = {
20074 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20079 if (!SWIG_IsOK(res1
)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= result
;
20099 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
= 0;
20101 wxDC
*arg1
= (wxDC
*) 0 ;
20102 PyObject
*arg2
= (PyObject
*) 0 ;
20103 PyObject
*arg3
= (PyObject
*) 0 ;
20104 PyObject
*arg4
= (PyObject
*) 0 ;
20105 PyObject
*result
= 0 ;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 PyObject
* obj2
= 0 ;
20111 PyObject
* obj3
= 0 ;
20112 char * kwnames
[] = {
20113 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20118 if (!SWIG_IsOK(res1
)) {
20119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= result
;
20138 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
= 0;
20140 wxDC
*arg1
= (wxDC
*) 0 ;
20141 PyObject
*arg2
= (PyObject
*) 0 ;
20142 PyObject
*arg3
= (PyObject
*) 0 ;
20143 PyObject
*arg4
= (PyObject
*) 0 ;
20144 PyObject
*result
= 0 ;
20147 PyObject
* obj0
= 0 ;
20148 PyObject
* obj1
= 0 ;
20149 PyObject
* obj2
= 0 ;
20150 PyObject
* obj3
= 0 ;
20151 char * kwnames
[] = {
20152 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20157 if (!SWIG_IsOK(res1
)) {
20158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= result
;
20177 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
= 0;
20179 wxDC
*arg1
= (wxDC
*) 0 ;
20180 PyObject
*arg2
= (PyObject
*) 0 ;
20181 PyObject
*arg3
= (PyObject
*) 0 ;
20182 PyObject
*arg4
= (PyObject
*) 0 ;
20183 PyObject
*result
= 0 ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 PyObject
* obj2
= 0 ;
20189 PyObject
* obj3
= 0 ;
20190 char * kwnames
[] = {
20191 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20196 if (!SWIG_IsOK(res1
)) {
20197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= result
;
20216 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
= 0;
20218 wxDC
*arg1
= (wxDC
*) 0 ;
20219 PyObject
*arg2
= (PyObject
*) 0 ;
20220 PyObject
*arg3
= (PyObject
*) 0 ;
20221 PyObject
*arg4
= (PyObject
*) 0 ;
20222 PyObject
*arg5
= (PyObject
*) 0 ;
20223 PyObject
*result
= 0 ;
20226 PyObject
* obj0
= 0 ;
20227 PyObject
* obj1
= 0 ;
20228 PyObject
* obj2
= 0 ;
20229 PyObject
* obj3
= 0 ;
20230 PyObject
* obj4
= 0 ;
20231 char * kwnames
[] = {
20232 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20237 if (!SWIG_IsOK(res1
)) {
20238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= result
;
20258 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20261 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20262 return SWIG_Py_Void();
20265 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20266 PyObject
*resultobj
= 0;
20267 wxMemoryDC
*result
= 0 ;
20269 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20271 if (!wxPyCheckForApp()) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (wxMemoryDC
*)new wxMemoryDC();
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20284 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
= 0;
20286 wxDC
*arg1
= (wxDC
*) 0 ;
20287 wxMemoryDC
*result
= 0 ;
20290 PyObject
* obj0
= 0 ;
20291 char * kwnames
[] = {
20292 (char *) "oldDC", NULL
20295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20297 if (!SWIG_IsOK(res1
)) {
20298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20302 if (!wxPyCheckForApp()) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20315 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
= 0;
20317 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20318 wxBitmap
*arg2
= 0 ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 char * kwnames
[] = {
20326 (char *) "self",(char *) "bitmap", NULL
20329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20334 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20336 if (!SWIG_IsOK(res2
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20342 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= SWIG_Py_Void();
20356 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20359 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20360 return SWIG_Py_Void();
20363 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20364 return SWIG_Python_InitShadowInstance(args
);
20367 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20368 PyObject
*resultobj
= 0;
20369 wxDC
*arg1
= (wxDC
*) 0 ;
20370 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20371 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20372 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20373 wxBufferedDC
*result
= 0 ;
20381 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20383 if (!SWIG_IsOK(res1
)) {
20384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20388 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20389 if (!SWIG_IsOK(res2
)) {
20390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20395 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20398 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20399 if (!SWIG_IsOK(ecode3
)) {
20400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20402 arg3
= static_cast< int >(val3
);
20405 if (!wxPyCheckForApp()) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20418 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20419 PyObject
*resultobj
= 0;
20420 wxDC
*arg1
= (wxDC
*) 0 ;
20422 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20423 wxBufferedDC
*result
= 0 ;
20430 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20432 if (!SWIG_IsOK(res1
)) {
20433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20435 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20438 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20441 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20442 if (!SWIG_IsOK(ecode3
)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20445 arg3
= static_cast< int >(val3
);
20448 if (!wxPyCheckForApp()) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20461 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20465 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20467 if ((argc
>= 1) && (argc
<= 3)) {
20471 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20472 _v
= SWIG_CheckState(res
);
20474 if (!_v
) goto check_1
;
20476 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20480 if ((argc
>= 2) && (argc
<= 3)) {
20481 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20485 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20490 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20491 PyObject
*resultobj
= 0;
20492 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20495 PyObject
*swig_obj
[1] ;
20497 if (!args
) SWIG_fail
;
20498 swig_obj
[0] = args
;
20499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20503 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_Py_Void();
20518 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20519 PyObject
*resultobj
= 0;
20520 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20523 PyObject
*swig_obj
[1] ;
20525 if (!args
) SWIG_fail
;
20526 swig_obj
[0] = args
;
20527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20528 if (!SWIG_IsOK(res1
)) {
20529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20531 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_Py_Void();
20545 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20548 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20549 return SWIG_Py_Void();
20552 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20553 return SWIG_Python_InitShadowInstance(args
);
20556 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
= 0;
20558 wxWindow
*arg1
= (wxWindow
*) 0 ;
20559 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20560 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20561 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20562 wxBufferedPaintDC
*result
= 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 PyObject
* obj2
= 0 ;
20572 char * kwnames
[] = {
20573 (char *) "window",(char *) "buffer",(char *) "style", NULL
20576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20578 if (!SWIG_IsOK(res1
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20584 if (!SWIG_IsOK(res2
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20590 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20594 if (!SWIG_IsOK(ecode3
)) {
20595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20597 arg3
= static_cast< int >(val3
);
20600 if (!wxPyCheckForApp()) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20613 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20616 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20617 return SWIG_Py_Void();
20620 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20621 return SWIG_Python_InitShadowInstance(args
);
20624 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20625 PyObject
*resultobj
= 0;
20626 wxScreenDC
*result
= 0 ;
20628 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20630 if (!wxPyCheckForApp()) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (wxScreenDC
*)new wxScreenDC();
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20643 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
= 0;
20645 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20646 wxWindow
*arg2
= (wxWindow
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20654 char * kwnames
[] = {
20655 (char *) "self",(char *) "window", NULL
20658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20663 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20665 if (!SWIG_IsOK(res2
)) {
20666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20684 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
= 0;
20686 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20687 wxRect
*arg2
= (wxRect
*) NULL
;
20693 PyObject
* obj0
= 0 ;
20694 PyObject
* obj1
= 0 ;
20695 char * kwnames
[] = {
20696 (char *) "self",(char *) "rect", NULL
20699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20701 if (!SWIG_IsOK(res1
)) {
20702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20704 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20707 if (!SWIG_IsOK(res2
)) {
20708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20710 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20727 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20728 PyObject
*resultobj
= 0;
20729 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20733 PyObject
*swig_obj
[1] ;
20735 if (!args
) SWIG_fail
;
20736 swig_obj
[0] = args
;
20737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20738 if (!SWIG_IsOK(res1
)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20741 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= (bool)(arg1
)->EndDrawingOnTop();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20757 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20760 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20761 return SWIG_Py_Void();
20764 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20765 return SWIG_Python_InitShadowInstance(args
);
20768 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
= 0;
20770 wxWindow
*arg1
= (wxWindow
*) 0 ;
20771 wxClientDC
*result
= 0 ;
20774 PyObject
* obj0
= 0 ;
20775 char * kwnames
[] = {
20776 (char *) "win", NULL
20779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20781 if (!SWIG_IsOK(res1
)) {
20782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20786 if (!wxPyCheckForApp()) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (wxClientDC
*)new wxClientDC(arg1
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20799 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20802 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20803 return SWIG_Py_Void();
20806 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20807 return SWIG_Python_InitShadowInstance(args
);
20810 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= 0;
20812 wxWindow
*arg1
= (wxWindow
*) 0 ;
20813 wxPaintDC
*result
= 0 ;
20816 PyObject
* obj0
= 0 ;
20817 char * kwnames
[] = {
20818 (char *) "win", NULL
20821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20823 if (!SWIG_IsOK(res1
)) {
20824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20828 if (!wxPyCheckForApp()) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20841 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20844 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20845 return SWIG_Py_Void();
20848 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20849 return SWIG_Python_InitShadowInstance(args
);
20852 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
= 0;
20854 wxWindow
*arg1
= (wxWindow
*) 0 ;
20855 wxWindowDC
*result
= 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char * kwnames
[] = {
20860 (char *) "win", NULL
20863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20870 if (!wxPyCheckForApp()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20883 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20886 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20887 return SWIG_Py_Void();
20890 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20891 return SWIG_Python_InitShadowInstance(args
);
20894 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
= 0;
20898 wxMirrorDC
*result
= 0 ;
20903 PyObject
* obj0
= 0 ;
20904 PyObject
* obj1
= 0 ;
20905 char * kwnames
[] = {
20906 (char *) "dc",(char *) "mirror", NULL
20909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20910 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20911 if (!SWIG_IsOK(res1
)) {
20912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20918 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20919 if (!SWIG_IsOK(ecode2
)) {
20920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20922 arg2
= static_cast< bool >(val2
);
20924 if (!wxPyCheckForApp()) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20937 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20940 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20941 return SWIG_Py_Void();
20944 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20945 return SWIG_Python_InitShadowInstance(args
);
20948 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
= 0;
20950 wxPrintData
*arg1
= 0 ;
20951 wxPostScriptDC
*result
= 0 ;
20954 PyObject
* obj0
= 0 ;
20955 char * kwnames
[] = {
20956 (char *) "printData", NULL
20959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
20960 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
20961 if (!SWIG_IsOK(res1
)) {
20962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20967 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
20969 if (!wxPyCheckForApp()) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
20982 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20983 PyObject
*resultobj
= 0;
20984 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
20985 wxPrintData
*result
= 0 ;
20988 PyObject
*swig_obj
[1] ;
20990 if (!args
) SWIG_fail
;
20991 swig_obj
[0] = args
;
20992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
20993 if (!SWIG_IsOK(res1
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
20996 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21001 result
= (wxPrintData
*) &_result_ref
;
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21013 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
= 0;
21015 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21016 wxPrintData
*arg2
= 0 ;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char * kwnames
[] = {
21024 (char *) "self",(char *) "data", NULL
21027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21029 if (!SWIG_IsOK(res1
)) {
21030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21032 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21034 if (!SWIG_IsOK(res2
)) {
21035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21040 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_Py_Void();
21054 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
= 0;
21059 PyObject
* obj0
= 0 ;
21060 char * kwnames
[] = {
21061 (char *) "ppi", NULL
21064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21065 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21066 if (!SWIG_IsOK(ecode1
)) {
21067 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21069 arg1
= static_cast< int >(val1
);
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 wxPostScriptDC::SetResolution(arg1
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_Py_Void();
21083 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21084 PyObject
*resultobj
= 0;
21087 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (int)wxPostScriptDC::GetResolution();
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= SWIG_From_int(static_cast< int >(result
));
21101 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21104 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21105 return SWIG_Py_Void();
21108 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21109 return SWIG_Python_InitShadowInstance(args
);
21112 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
= 0;
21114 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21115 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21116 wxMetaFile
*result
= 0 ;
21117 bool temp1
= false ;
21118 PyObject
* obj0
= 0 ;
21119 char * kwnames
[] = {
21120 (char *) "filename", NULL
21123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21126 arg1
= wxString_in_helper(obj0
);
21127 if (arg1
== NULL
) SWIG_fail
;
21132 if (!wxPyCheckForApp()) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21153 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21154 PyObject
*resultobj
= 0;
21155 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21158 PyObject
*swig_obj
[1] ;
21160 if (!args
) SWIG_fail
;
21161 swig_obj
[0] = args
;
21162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21163 if (!SWIG_IsOK(res1
)) {
21164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21166 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_Py_Void();
21181 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21182 PyObject
*resultobj
= 0;
21183 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21187 PyObject
*swig_obj
[1] ;
21189 if (!args
) SWIG_fail
;
21190 swig_obj
[0] = args
;
21191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21192 if (!SWIG_IsOK(res1
)) {
21193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21195 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (bool)(arg1
)->Ok();
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21211 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
= 0;
21213 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21214 int arg2
= (int) 0 ;
21215 int arg3
= (int) 0 ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 PyObject
* obj2
= 0 ;
21226 char * kwnames
[] = {
21227 (char *) "self",(char *) "width",(char *) "height", NULL
21230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21232 if (!SWIG_IsOK(res1
)) {
21233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21235 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21238 if (!SWIG_IsOK(ecode2
)) {
21239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21241 arg2
= static_cast< int >(val2
);
21244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21245 if (!SWIG_IsOK(ecode3
)) {
21246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21248 arg3
= static_cast< int >(val3
);
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21265 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21266 PyObject
*resultobj
= 0;
21267 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21271 PyObject
*swig_obj
[1] ;
21273 if (!args
) SWIG_fail
;
21274 swig_obj
[0] = args
;
21275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21276 if (!SWIG_IsOK(res1
)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21279 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (arg1
)->GetSize();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21293 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 PyObject
*resultobj
= 0;
21295 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21299 PyObject
*swig_obj
[1] ;
21301 if (!args
) SWIG_fail
;
21302 swig_obj
[0] = args
;
21303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21304 if (!SWIG_IsOK(res1
)) {
21305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21307 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (int)(arg1
)->GetWidth();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_From_int(static_cast< int >(result
));
21321 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21322 PyObject
*resultobj
= 0;
21323 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21327 PyObject
*swig_obj
[1] ;
21329 if (!args
) SWIG_fail
;
21330 swig_obj
[0] = args
;
21331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21332 if (!SWIG_IsOK(res1
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21335 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (int)(arg1
)->GetHeight();
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= SWIG_From_int(static_cast< int >(result
));
21349 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21352 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21353 return SWIG_Py_Void();
21356 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21357 return SWIG_Python_InitShadowInstance(args
);
21360 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
= 0;
21362 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21363 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21364 int arg2
= (int) 0 ;
21365 int arg3
= (int) 0 ;
21366 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21367 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21368 wxMetaFileDC
*result
= 0 ;
21369 bool temp1
= false ;
21374 bool temp4
= false ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 PyObject
* obj2
= 0 ;
21378 PyObject
* obj3
= 0 ;
21379 char * kwnames
[] = {
21380 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21386 arg1
= wxString_in_helper(obj0
);
21387 if (arg1
== NULL
) SWIG_fail
;
21392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21393 if (!SWIG_IsOK(ecode2
)) {
21394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21396 arg2
= static_cast< int >(val2
);
21399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21400 if (!SWIG_IsOK(ecode3
)) {
21401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21403 arg3
= static_cast< int >(val3
);
21407 arg4
= wxString_in_helper(obj3
);
21408 if (arg4
== NULL
) SWIG_fail
;
21413 if (!wxPyCheckForApp()) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21442 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21443 PyObject
*resultobj
= 0;
21444 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
21445 wxMetaFile
*result
= 0 ;
21448 PyObject
*swig_obj
[1] ;
21450 if (!args
) SWIG_fail
;
21451 swig_obj
[0] = args
;
21452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
21456 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (wxMetaFile
*)(arg1
)->Close();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21470 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21473 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21474 return SWIG_Py_Void();
21477 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21478 return SWIG_Python_InitShadowInstance(args
);
21481 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
= 0;
21483 wxPrintData
*arg1
= 0 ;
21484 wxPrinterDC
*result
= 0 ;
21487 PyObject
* obj0
= 0 ;
21488 char * kwnames
[] = {
21489 (char *) "printData", NULL
21492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21493 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21494 if (!SWIG_IsOK(res1
)) {
21495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21500 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21502 if (!wxPyCheckForApp()) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21515 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21518 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21519 return SWIG_Py_Void();
21522 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21523 return SWIG_Python_InitShadowInstance(args
);
21526 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
= 0;
21530 int arg3
= (int) true ;
21531 int arg4
= (int) 1 ;
21532 wxImageList
*result
= 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 PyObject
* obj2
= 0 ;
21544 PyObject
* obj3
= 0 ;
21545 char * kwnames
[] = {
21546 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21550 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21551 if (!SWIG_IsOK(ecode1
)) {
21552 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21554 arg1
= static_cast< int >(val1
);
21555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21556 if (!SWIG_IsOK(ecode2
)) {
21557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21559 arg2
= static_cast< int >(val2
);
21561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21562 if (!SWIG_IsOK(ecode3
)) {
21563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21565 arg3
= static_cast< int >(val3
);
21568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21569 if (!SWIG_IsOK(ecode4
)) {
21570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21572 arg4
= static_cast< int >(val4
);
21575 if (!wxPyCheckForApp()) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21590 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21591 PyObject
*resultobj
= 0;
21592 wxImageList
*arg1
= (wxImageList
*) 0 ;
21595 PyObject
*swig_obj
[1] ;
21597 if (!args
) SWIG_fail
;
21598 swig_obj
[0] = args
;
21599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21600 if (!SWIG_IsOK(res1
)) {
21601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21603 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_Py_Void();
21618 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
= 0;
21620 wxImageList
*arg1
= (wxImageList
*) 0 ;
21621 wxBitmap
*arg2
= 0 ;
21622 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21623 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 PyObject
* obj2
= 0 ;
21634 char * kwnames
[] = {
21635 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21643 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21645 if (!SWIG_IsOK(res2
)) {
21646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21651 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21653 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21654 if (!SWIG_IsOK(res3
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21660 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_From_int(static_cast< int >(result
));
21675 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
= 0;
21677 wxImageList
*arg1
= (wxImageList
*) 0 ;
21678 wxBitmap
*arg2
= 0 ;
21679 wxColour
*arg3
= 0 ;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 PyObject
* obj2
= 0 ;
21689 char * kwnames
[] = {
21690 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21695 if (!SWIG_IsOK(res1
)) {
21696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21698 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21700 if (!SWIG_IsOK(res2
)) {
21701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21706 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21709 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_From_int(static_cast< int >(result
));
21724 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
= 0;
21726 wxImageList
*arg1
= (wxImageList
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char * kwnames
[] = {
21736 (char *) "self",(char *) "icon", NULL
21739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21741 if (!SWIG_IsOK(res1
)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21744 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21746 if (!SWIG_IsOK(res2
)) {
21747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21752 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_From_int(static_cast< int >(result
));
21766 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21768 wxImageList
*arg1
= (wxImageList
*) 0 ;
21770 SwigValueWrapper
<wxBitmap
> result
;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "self",(char *) "index", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21786 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21788 if (!SWIG_IsOK(ecode2
)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21791 arg2
= static_cast< int >(val2
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21805 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= 0;
21807 wxImageList
*arg1
= (wxImageList
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 char * kwnames
[] = {
21817 (char *) "self",(char *) "index", NULL
21820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21822 if (!SWIG_IsOK(res1
)) {
21823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21825 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21827 if (!SWIG_IsOK(ecode2
)) {
21828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21830 arg2
= static_cast< int >(val2
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21844 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
= 0;
21846 wxImageList
*arg1
= (wxImageList
*) 0 ;
21848 wxBitmap
*arg3
= 0 ;
21856 PyObject
* obj0
= 0 ;
21857 PyObject
* obj1
= 0 ;
21858 PyObject
* obj2
= 0 ;
21859 char * kwnames
[] = {
21860 (char *) "self",(char *) "index",(char *) "bitmap", NULL
21863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21865 if (!SWIG_IsOK(res1
)) {
21866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21868 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21870 if (!SWIG_IsOK(ecode2
)) {
21871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21873 arg2
= static_cast< int >(val2
);
21874 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21875 if (!SWIG_IsOK(res3
)) {
21876 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21881 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21897 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
= 0;
21899 wxImageList
*arg1
= (wxImageList
*) 0 ;
21904 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21905 bool arg7
= (bool) (bool)false ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 PyObject
* obj2
= 0 ;
21924 PyObject
* obj3
= 0 ;
21925 PyObject
* obj4
= 0 ;
21926 PyObject
* obj5
= 0 ;
21927 PyObject
* obj6
= 0 ;
21928 char * kwnames
[] = {
21929 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21934 if (!SWIG_IsOK(res1
)) {
21935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21937 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21939 if (!SWIG_IsOK(ecode2
)) {
21940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21942 arg2
= static_cast< int >(val2
);
21943 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21944 if (!SWIG_IsOK(res3
)) {
21945 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21950 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21952 if (!SWIG_IsOK(ecode4
)) {
21953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21955 arg4
= static_cast< int >(val4
);
21956 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21957 if (!SWIG_IsOK(ecode5
)) {
21958 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21960 arg5
= static_cast< int >(val5
);
21962 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21963 if (!SWIG_IsOK(ecode6
)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21966 arg6
= static_cast< int >(val6
);
21969 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21970 if (!SWIG_IsOK(ecode7
)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21973 arg7
= static_cast< bool >(val7
);
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21990 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21991 PyObject
*resultobj
= 0;
21992 wxImageList
*arg1
= (wxImageList
*) 0 ;
21996 PyObject
*swig_obj
[1] ;
21998 if (!args
) SWIG_fail
;
21999 swig_obj
[0] = args
;
22000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22001 if (!SWIG_IsOK(res1
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22004 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (int)(arg1
)->GetImageCount();
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 resultobj
= SWIG_From_int(static_cast< int >(result
));
22018 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
= 0;
22020 wxImageList
*arg1
= (wxImageList
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char * kwnames
[] = {
22030 (char *) "self",(char *) "index", NULL
22033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22035 if (!SWIG_IsOK(res1
)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22038 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22040 if (!SWIG_IsOK(ecode2
)) {
22041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22043 arg2
= static_cast< int >(val2
);
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (bool)(arg1
)->Remove(arg2
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22059 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22060 PyObject
*resultobj
= 0;
22061 wxImageList
*arg1
= (wxImageList
*) 0 ;
22065 PyObject
*swig_obj
[1] ;
22067 if (!args
) SWIG_fail
;
22068 swig_obj
[0] = args
;
22069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22070 if (!SWIG_IsOK(res1
)) {
22071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22073 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)(arg1
)->RemoveAll();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22089 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
= 0;
22091 wxImageList
*arg1
= (wxImageList
*) 0 ;
22100 int res3
= SWIG_TMPOBJ
;
22102 int res4
= SWIG_TMPOBJ
;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 char * kwnames
[] = {
22106 (char *) "self",(char *) "index", NULL
22111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22113 if (!SWIG_IsOK(res1
)) {
22114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22116 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22118 if (!SWIG_IsOK(ecode2
)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22121 arg2
= static_cast< int >(val2
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_Py_Void();
22129 if (SWIG_IsTmpObj(res3
)) {
22130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22132 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22135 if (SWIG_IsTmpObj(res4
)) {
22136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22138 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22147 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22150 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22151 return SWIG_Py_Void();
22154 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22155 return SWIG_Python_InitShadowInstance(args
);
22158 SWIGINTERN
int NORMAL_FONT_set(PyObject
*) {
22159 SWIG_Error(SWIG_AttributeError
,"Variable NORMAL_FONT is read-only.");
22164 SWIGINTERN PyObject
*NORMAL_FONT_get(void) {
22165 PyObject
*pyobj
= 0;
22167 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0 );
22172 SWIGINTERN
int SMALL_FONT_set(PyObject
*) {
22173 SWIG_Error(SWIG_AttributeError
,"Variable SMALL_FONT is read-only.");
22178 SWIGINTERN PyObject
*SMALL_FONT_get(void) {
22179 PyObject
*pyobj
= 0;
22181 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0 );
22186 SWIGINTERN
int ITALIC_FONT_set(PyObject
*) {
22187 SWIG_Error(SWIG_AttributeError
,"Variable ITALIC_FONT is read-only.");
22192 SWIGINTERN PyObject
*ITALIC_FONT_get(void) {
22193 PyObject
*pyobj
= 0;
22195 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0 );
22200 SWIGINTERN
int SWISS_FONT_set(PyObject
*) {
22201 SWIG_Error(SWIG_AttributeError
,"Variable SWISS_FONT is read-only.");
22206 SWIGINTERN PyObject
*SWISS_FONT_get(void) {
22207 PyObject
*pyobj
= 0;
22209 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0 );
22214 SWIGINTERN
int RED_PEN_set(PyObject
*) {
22215 SWIG_Error(SWIG_AttributeError
,"Variable RED_PEN is read-only.");
22220 SWIGINTERN PyObject
*RED_PEN_get(void) {
22221 PyObject
*pyobj
= 0;
22223 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0 );
22228 SWIGINTERN
int CYAN_PEN_set(PyObject
*) {
22229 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_PEN is read-only.");
22234 SWIGINTERN PyObject
*CYAN_PEN_get(void) {
22235 PyObject
*pyobj
= 0;
22237 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0 );
22242 SWIGINTERN
int GREEN_PEN_set(PyObject
*) {
22243 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_PEN is read-only.");
22248 SWIGINTERN PyObject
*GREEN_PEN_get(void) {
22249 PyObject
*pyobj
= 0;
22251 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0 );
22256 SWIGINTERN
int BLACK_PEN_set(PyObject
*) {
22257 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_PEN is read-only.");
22262 SWIGINTERN PyObject
*BLACK_PEN_get(void) {
22263 PyObject
*pyobj
= 0;
22265 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0 );
22270 SWIGINTERN
int WHITE_PEN_set(PyObject
*) {
22271 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_PEN is read-only.");
22276 SWIGINTERN PyObject
*WHITE_PEN_get(void) {
22277 PyObject
*pyobj
= 0;
22279 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0 );
22284 SWIGINTERN
int TRANSPARENT_PEN_set(PyObject
*) {
22285 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_PEN is read-only.");
22290 SWIGINTERN PyObject
*TRANSPARENT_PEN_get(void) {
22291 PyObject
*pyobj
= 0;
22293 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0 );
22298 SWIGINTERN
int BLACK_DASHED_PEN_set(PyObject
*) {
22299 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_DASHED_PEN is read-only.");
22304 SWIGINTERN PyObject
*BLACK_DASHED_PEN_get(void) {
22305 PyObject
*pyobj
= 0;
22307 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0 );
22312 SWIGINTERN
int GREY_PEN_set(PyObject
*) {
22313 SWIG_Error(SWIG_AttributeError
,"Variable GREY_PEN is read-only.");
22318 SWIGINTERN PyObject
*GREY_PEN_get(void) {
22319 PyObject
*pyobj
= 0;
22321 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22326 SWIGINTERN
int MEDIUM_GREY_PEN_set(PyObject
*) {
22327 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_PEN is read-only.");
22332 SWIGINTERN PyObject
*MEDIUM_GREY_PEN_get(void) {
22333 PyObject
*pyobj
= 0;
22335 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22340 SWIGINTERN
int LIGHT_GREY_PEN_set(PyObject
*) {
22341 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_PEN is read-only.");
22346 SWIGINTERN PyObject
*LIGHT_GREY_PEN_get(void) {
22347 PyObject
*pyobj
= 0;
22349 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22354 SWIGINTERN
int BLUE_BRUSH_set(PyObject
*) {
22355 SWIG_Error(SWIG_AttributeError
,"Variable BLUE_BRUSH is read-only.");
22360 SWIGINTERN PyObject
*BLUE_BRUSH_get(void) {
22361 PyObject
*pyobj
= 0;
22363 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22368 SWIGINTERN
int GREEN_BRUSH_set(PyObject
*) {
22369 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_BRUSH is read-only.");
22374 SWIGINTERN PyObject
*GREEN_BRUSH_get(void) {
22375 PyObject
*pyobj
= 0;
22377 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22382 SWIGINTERN
int WHITE_BRUSH_set(PyObject
*) {
22383 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_BRUSH is read-only.");
22388 SWIGINTERN PyObject
*WHITE_BRUSH_get(void) {
22389 PyObject
*pyobj
= 0;
22391 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22396 SWIGINTERN
int BLACK_BRUSH_set(PyObject
*) {
22397 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_BRUSH is read-only.");
22402 SWIGINTERN PyObject
*BLACK_BRUSH_get(void) {
22403 PyObject
*pyobj
= 0;
22405 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22410 SWIGINTERN
int TRANSPARENT_BRUSH_set(PyObject
*) {
22411 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_BRUSH is read-only.");
22416 SWIGINTERN PyObject
*TRANSPARENT_BRUSH_get(void) {
22417 PyObject
*pyobj
= 0;
22419 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22424 SWIGINTERN
int CYAN_BRUSH_set(PyObject
*) {
22425 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_BRUSH is read-only.");
22430 SWIGINTERN PyObject
*CYAN_BRUSH_get(void) {
22431 PyObject
*pyobj
= 0;
22433 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22438 SWIGINTERN
int RED_BRUSH_set(PyObject
*) {
22439 SWIG_Error(SWIG_AttributeError
,"Variable RED_BRUSH is read-only.");
22444 SWIGINTERN PyObject
*RED_BRUSH_get(void) {
22445 PyObject
*pyobj
= 0;
22447 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22452 SWIGINTERN
int GREY_BRUSH_set(PyObject
*) {
22453 SWIG_Error(SWIG_AttributeError
,"Variable GREY_BRUSH is read-only.");
22458 SWIGINTERN PyObject
*GREY_BRUSH_get(void) {
22459 PyObject
*pyobj
= 0;
22461 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22466 SWIGINTERN
int MEDIUM_GREY_BRUSH_set(PyObject
*) {
22467 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
22472 SWIGINTERN PyObject
*MEDIUM_GREY_BRUSH_get(void) {
22473 PyObject
*pyobj
= 0;
22475 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22480 SWIGINTERN
int LIGHT_GREY_BRUSH_set(PyObject
*) {
22481 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
22486 SWIGINTERN PyObject
*LIGHT_GREY_BRUSH_get(void) {
22487 PyObject
*pyobj
= 0;
22489 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22494 SWIGINTERN
int BLACK_set(PyObject
*) {
22495 SWIG_Error(SWIG_AttributeError
,"Variable BLACK is read-only.");
22500 SWIGINTERN PyObject
*BLACK_get(void) {
22501 PyObject
*pyobj
= 0;
22503 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK
), SWIGTYPE_p_wxColour
, 0 );
22508 SWIGINTERN
int WHITE_set(PyObject
*) {
22509 SWIG_Error(SWIG_AttributeError
,"Variable WHITE is read-only.");
22514 SWIGINTERN PyObject
*WHITE_get(void) {
22515 PyObject
*pyobj
= 0;
22517 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE
), SWIGTYPE_p_wxColour
, 0 );
22522 SWIGINTERN
int RED_set(PyObject
*) {
22523 SWIG_Error(SWIG_AttributeError
,"Variable RED is read-only.");
22528 SWIGINTERN PyObject
*RED_get(void) {
22529 PyObject
*pyobj
= 0;
22531 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED
), SWIGTYPE_p_wxColour
, 0 );
22536 SWIGINTERN
int BLUE_set(PyObject
*) {
22537 SWIG_Error(SWIG_AttributeError
,"Variable BLUE is read-only.");
22542 SWIGINTERN PyObject
*BLUE_get(void) {
22543 PyObject
*pyobj
= 0;
22545 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE
), SWIGTYPE_p_wxColour
, 0 );
22550 SWIGINTERN
int GREEN_set(PyObject
*) {
22551 SWIG_Error(SWIG_AttributeError
,"Variable GREEN is read-only.");
22556 SWIGINTERN PyObject
*GREEN_get(void) {
22557 PyObject
*pyobj
= 0;
22559 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN
), SWIGTYPE_p_wxColour
, 0 );
22564 SWIGINTERN
int CYAN_set(PyObject
*) {
22565 SWIG_Error(SWIG_AttributeError
,"Variable CYAN is read-only.");
22570 SWIGINTERN PyObject
*CYAN_get(void) {
22571 PyObject
*pyobj
= 0;
22573 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN
), SWIGTYPE_p_wxColour
, 0 );
22578 SWIGINTERN
int LIGHT_GREY_set(PyObject
*) {
22579 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY is read-only.");
22584 SWIGINTERN PyObject
*LIGHT_GREY_get(void) {
22585 PyObject
*pyobj
= 0;
22587 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0 );
22592 SWIGINTERN
int STANDARD_CURSOR_set(PyObject
*) {
22593 SWIG_Error(SWIG_AttributeError
,"Variable STANDARD_CURSOR is read-only.");
22598 SWIGINTERN PyObject
*STANDARD_CURSOR_get(void) {
22599 PyObject
*pyobj
= 0;
22601 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22606 SWIGINTERN
int HOURGLASS_CURSOR_set(PyObject
*) {
22607 SWIG_Error(SWIG_AttributeError
,"Variable HOURGLASS_CURSOR is read-only.");
22612 SWIGINTERN PyObject
*HOURGLASS_CURSOR_get(void) {
22613 PyObject
*pyobj
= 0;
22615 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22620 SWIGINTERN
int CROSS_CURSOR_set(PyObject
*) {
22621 SWIG_Error(SWIG_AttributeError
,"Variable CROSS_CURSOR is read-only.");
22626 SWIGINTERN PyObject
*CROSS_CURSOR_get(void) {
22627 PyObject
*pyobj
= 0;
22629 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22634 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22635 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22640 SWIGINTERN PyObject
*NullBitmap_get(void) {
22641 PyObject
*pyobj
= 0;
22643 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22648 SWIGINTERN
int NullIcon_set(PyObject
*) {
22649 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22654 SWIGINTERN PyObject
*NullIcon_get(void) {
22655 PyObject
*pyobj
= 0;
22657 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22662 SWIGINTERN
int NullCursor_set(PyObject
*) {
22663 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22668 SWIGINTERN PyObject
*NullCursor_get(void) {
22669 PyObject
*pyobj
= 0;
22671 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22676 SWIGINTERN
int NullPen_set(PyObject
*) {
22677 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22682 SWIGINTERN PyObject
*NullPen_get(void) {
22683 PyObject
*pyobj
= 0;
22685 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22690 SWIGINTERN
int NullBrush_set(PyObject
*) {
22691 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22696 SWIGINTERN PyObject
*NullBrush_get(void) {
22697 PyObject
*pyobj
= 0;
22699 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22704 SWIGINTERN
int NullPalette_set(PyObject
*) {
22705 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22710 SWIGINTERN PyObject
*NullPalette_get(void) {
22711 PyObject
*pyobj
= 0;
22713 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22718 SWIGINTERN
int NullFont_set(PyObject
*) {
22719 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22724 SWIGINTERN PyObject
*NullFont_get(void) {
22725 PyObject
*pyobj
= 0;
22727 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22732 SWIGINTERN
int NullColour_set(PyObject
*) {
22733 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22738 SWIGINTERN PyObject
*NullColour_get(void) {
22739 PyObject
*pyobj
= 0;
22741 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22746 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
= 0;
22748 wxPenList
*arg1
= (wxPenList
*) 0 ;
22749 wxPen
*arg2
= (wxPen
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 char * kwnames
[] = {
22757 (char *) "self",(char *) "pen", NULL
22760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22762 if (!SWIG_IsOK(res1
)) {
22763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22765 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22767 if (!SWIG_IsOK(res2
)) {
22768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22770 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 (arg1
)->AddPen(arg2
);
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 resultobj
= SWIG_Py_Void();
22784 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
= 0;
22786 wxPenList
*arg1
= (wxPenList
*) 0 ;
22787 wxColour
*arg2
= 0 ;
22790 wxPen
*result
= 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 PyObject
* obj2
= 0 ;
22801 PyObject
* obj3
= 0 ;
22802 char * kwnames
[] = {
22803 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22811 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22817 if (!SWIG_IsOK(ecode3
)) {
22818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22820 arg3
= static_cast< int >(val3
);
22821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22822 if (!SWIG_IsOK(ecode4
)) {
22823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22825 arg4
= static_cast< int >(val4
);
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22839 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
= 0;
22841 wxPenList
*arg1
= (wxPenList
*) 0 ;
22842 wxPen
*arg2
= (wxPen
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 char * kwnames
[] = {
22850 (char *) "self",(char *) "pen", NULL
22853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22855 if (!SWIG_IsOK(res1
)) {
22856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22858 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22860 if (!SWIG_IsOK(res2
)) {
22861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22863 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22866 (arg1
)->RemovePen(arg2
);
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 resultobj
= SWIG_Py_Void();
22877 SWIGINTERN PyObject
*_wrap_PenList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22878 PyObject
*resultobj
= 0;
22879 wxPenList
*arg1
= (wxPenList
*) 0 ;
22883 PyObject
*swig_obj
[1] ;
22885 if (!args
) SWIG_fail
;
22886 swig_obj
[0] = args
;
22887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22888 if (!SWIG_IsOK(res1
)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_GetCount" "', expected argument " "1"" of type '" "wxPenList *""'");
22891 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= (int)(arg1
)->GetCount();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_From_int(static_cast< int >(result
));
22905 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22909 return SWIG_Py_Void();
22912 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
= 0;
22914 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22915 wxBrush
*arg2
= (wxBrush
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char * kwnames
[] = {
22923 (char *) "self",(char *) "brush", NULL
22926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22931 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22933 if (!SWIG_IsOK(res2
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22936 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 (arg1
)->AddBrush(arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_Py_Void();
22950 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
= 0;
22952 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22953 wxColour
*arg2
= 0 ;
22954 int arg3
= (int) wxSOLID
;
22955 wxBrush
*result
= 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 PyObject
* obj2
= 0 ;
22964 char * kwnames
[] = {
22965 (char *) "self",(char *) "colour",(char *) "style", NULL
22968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22973 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22976 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22980 if (!SWIG_IsOK(ecode3
)) {
22981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22983 arg3
= static_cast< int >(val3
);
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22998 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
= 0;
23000 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23001 wxBrush
*arg2
= (wxBrush
*) 0 ;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char * kwnames
[] = {
23009 (char *) "self",(char *) "brush", NULL
23012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23017 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23019 if (!SWIG_IsOK(res2
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23022 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 (arg1
)->RemoveBrush(arg2
);
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= SWIG_Py_Void();
23036 SWIGINTERN PyObject
*_wrap_BrushList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23037 PyObject
*resultobj
= 0;
23038 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23042 PyObject
*swig_obj
[1] ;
23044 if (!args
) SWIG_fail
;
23045 swig_obj
[0] = args
;
23046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23047 if (!SWIG_IsOK(res1
)) {
23048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_GetCount" "', expected argument " "1"" of type '" "wxBrushList *""'");
23050 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (int)(arg1
)->GetCount();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_From_int(static_cast< int >(result
));
23064 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23067 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23068 return SWIG_Py_Void();
23071 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23072 PyObject
*resultobj
= 0;
23073 wxColourDatabase
*result
= 0 ;
23075 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23077 if (!wxPyCheckForApp()) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (wxColourDatabase
*)new wxColourDatabase();
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23090 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23091 PyObject
*resultobj
= 0;
23092 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23095 PyObject
*swig_obj
[1] ;
23097 if (!args
) SWIG_fail
;
23098 swig_obj
[0] = args
;
23099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23100 if (!SWIG_IsOK(res1
)) {
23101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23103 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= SWIG_Py_Void();
23118 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
= 0;
23120 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23121 wxString
*arg2
= 0 ;
23125 bool temp2
= false ;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char * kwnames
[] = {
23129 (char *) "self",(char *) "name", NULL
23132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23137 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23139 arg2
= wxString_in_helper(obj1
);
23140 if (arg2
== NULL
) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23164 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
= 0;
23166 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23167 wxColour
*arg2
= 0 ;
23172 PyObject
* obj0
= 0 ;
23173 PyObject
* obj1
= 0 ;
23174 char * kwnames
[] = {
23175 (char *) "self",(char *) "colour", NULL
23178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23180 if (!SWIG_IsOK(res1
)) {
23181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23183 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23186 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23207 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
= 0;
23209 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23210 wxString
*arg2
= 0 ;
23211 wxColour
*arg3
= 0 ;
23214 bool temp2
= false ;
23216 PyObject
* obj0
= 0 ;
23217 PyObject
* obj1
= 0 ;
23218 PyObject
* obj2
= 0 ;
23219 char * kwnames
[] = {
23220 (char *) "self",(char *) "name",(char *) "colour", NULL
23223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23225 if (!SWIG_IsOK(res1
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23228 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23230 arg2
= wxString_in_helper(obj1
);
23231 if (arg2
== NULL
) SWIG_fail
;
23236 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_Py_Void();
23259 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
= 0;
23261 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23262 wxString
*arg2
= 0 ;
23268 bool temp2
= false ;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 PyObject
* obj2
= 0 ;
23278 PyObject
* obj3
= 0 ;
23279 PyObject
* obj4
= 0 ;
23280 char * kwnames
[] = {
23281 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23286 if (!SWIG_IsOK(res1
)) {
23287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23289 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23291 arg2
= wxString_in_helper(obj1
);
23292 if (arg2
== NULL
) SWIG_fail
;
23295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23296 if (!SWIG_IsOK(ecode3
)) {
23297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23299 arg3
= static_cast< int >(val3
);
23300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23301 if (!SWIG_IsOK(ecode4
)) {
23302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23304 arg4
= static_cast< int >(val4
);
23305 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23306 if (!SWIG_IsOK(ecode5
)) {
23307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23309 arg5
= static_cast< int >(val5
);
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= SWIG_Py_Void();
23331 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23334 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23335 return SWIG_Py_Void();
23338 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23339 return SWIG_Python_InitShadowInstance(args
);
23342 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
= 0;
23344 wxFontList
*arg1
= (wxFontList
*) 0 ;
23345 wxFont
*arg2
= (wxFont
*) 0 ;
23350 PyObject
* obj0
= 0 ;
23351 PyObject
* obj1
= 0 ;
23352 char * kwnames
[] = {
23353 (char *) "self",(char *) "font", NULL
23356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23358 if (!SWIG_IsOK(res1
)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23361 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23363 if (!SWIG_IsOK(res2
)) {
23364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23366 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 (arg1
)->AddFont(arg2
);
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= SWIG_Py_Void();
23380 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
= 0;
23382 wxFontList
*arg1
= (wxFontList
*) 0 ;
23387 bool arg6
= (bool) false ;
23388 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23389 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23390 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23391 wxFont
*result
= 0 ;
23404 bool temp7
= false ;
23407 PyObject
* obj0
= 0 ;
23408 PyObject
* obj1
= 0 ;
23409 PyObject
* obj2
= 0 ;
23410 PyObject
* obj3
= 0 ;
23411 PyObject
* obj4
= 0 ;
23412 PyObject
* obj5
= 0 ;
23413 PyObject
* obj6
= 0 ;
23414 PyObject
* obj7
= 0 ;
23415 char * kwnames
[] = {
23416 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23421 if (!SWIG_IsOK(res1
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23424 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23426 if (!SWIG_IsOK(ecode2
)) {
23427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23429 arg2
= static_cast< int >(val2
);
23430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23431 if (!SWIG_IsOK(ecode3
)) {
23432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23434 arg3
= static_cast< int >(val3
);
23435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23436 if (!SWIG_IsOK(ecode4
)) {
23437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23439 arg4
= static_cast< int >(val4
);
23440 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23441 if (!SWIG_IsOK(ecode5
)) {
23442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23444 arg5
= static_cast< int >(val5
);
23446 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23447 if (!SWIG_IsOK(ecode6
)) {
23448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23450 arg6
= static_cast< bool >(val6
);
23454 arg7
= wxString_in_helper(obj6
);
23455 if (arg7
== NULL
) SWIG_fail
;
23460 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23461 if (!SWIG_IsOK(ecode8
)) {
23462 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23464 arg8
= static_cast< wxFontEncoding
>(val8
);
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23487 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
= 0;
23489 wxFontList
*arg1
= (wxFontList
*) 0 ;
23490 wxFont
*arg2
= (wxFont
*) 0 ;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 char * kwnames
[] = {
23498 (char *) "self",(char *) "font", NULL
23501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23503 if (!SWIG_IsOK(res1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23506 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23508 if (!SWIG_IsOK(res2
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23511 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 (arg1
)->RemoveFont(arg2
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= SWIG_Py_Void();
23525 SWIGINTERN PyObject
*_wrap_FontList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 PyObject
*resultobj
= 0;
23527 wxFontList
*arg1
= (wxFontList
*) 0 ;
23531 PyObject
*swig_obj
[1] ;
23533 if (!args
) SWIG_fail
;
23534 swig_obj
[0] = args
;
23535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23536 if (!SWIG_IsOK(res1
)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_GetCount" "', expected argument " "1"" of type '" "wxFontList *""'");
23539 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= (int)(arg1
)->GetCount();
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= SWIG_From_int(static_cast< int >(result
));
23553 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23556 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23557 return SWIG_Py_Void();
23560 SWIGINTERN
int TheFontList_set(PyObject
*) {
23561 SWIG_Error(SWIG_AttributeError
,"Variable TheFontList is read-only.");
23566 SWIGINTERN PyObject
*TheFontList_get(void) {
23567 PyObject
*pyobj
= 0;
23569 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0 );
23574 SWIGINTERN
int ThePenList_set(PyObject
*) {
23575 SWIG_Error(SWIG_AttributeError
,"Variable ThePenList is read-only.");
23580 SWIGINTERN PyObject
*ThePenList_get(void) {
23581 PyObject
*pyobj
= 0;
23583 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxThePenList
), SWIGTYPE_p_wxPenList
, 0 );
23588 SWIGINTERN
int TheBrushList_set(PyObject
*) {
23589 SWIG_Error(SWIG_AttributeError
,"Variable TheBrushList is read-only.");
23594 SWIGINTERN PyObject
*TheBrushList_get(void) {
23595 PyObject
*pyobj
= 0;
23597 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0 );
23602 SWIGINTERN
int TheColourDatabase_set(PyObject
*) {
23603 SWIG_Error(SWIG_AttributeError
,"Variable TheColourDatabase is read-only.");
23608 SWIGINTERN PyObject
*TheColourDatabase_get(void) {
23609 PyObject
*pyobj
= 0;
23611 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0 );
23616 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23617 PyObject
*resultobj
= 0;
23618 wxEffects
*result
= 0 ;
23620 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (wxEffects
*)new wxEffects();
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23634 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23635 PyObject
*resultobj
= 0;
23636 wxEffects
*arg1
= (wxEffects
*) 0 ;
23640 PyObject
*swig_obj
[1] ;
23642 if (!args
) SWIG_fail
;
23643 swig_obj
[0] = args
;
23644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23648 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23662 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23663 PyObject
*resultobj
= 0;
23664 wxEffects
*arg1
= (wxEffects
*) 0 ;
23668 PyObject
*swig_obj
[1] ;
23670 if (!args
) SWIG_fail
;
23671 swig_obj
[0] = args
;
23672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23673 if (!SWIG_IsOK(res1
)) {
23674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23676 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23690 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23691 PyObject
*resultobj
= 0;
23692 wxEffects
*arg1
= (wxEffects
*) 0 ;
23696 PyObject
*swig_obj
[1] ;
23698 if (!args
) SWIG_fail
;
23699 swig_obj
[0] = args
;
23700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23701 if (!SWIG_IsOK(res1
)) {
23702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23704 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23718 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23719 PyObject
*resultobj
= 0;
23720 wxEffects
*arg1
= (wxEffects
*) 0 ;
23724 PyObject
*swig_obj
[1] ;
23726 if (!args
) SWIG_fail
;
23727 swig_obj
[0] = args
;
23728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23729 if (!SWIG_IsOK(res1
)) {
23730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23732 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23746 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23747 PyObject
*resultobj
= 0;
23748 wxEffects
*arg1
= (wxEffects
*) 0 ;
23752 PyObject
*swig_obj
[1] ;
23754 if (!args
) SWIG_fail
;
23755 swig_obj
[0] = args
;
23756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23760 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23774 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
= 0;
23776 wxEffects
*arg1
= (wxEffects
*) 0 ;
23777 wxColour
*arg2
= 0 ;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 char * kwnames
[] = {
23784 (char *) "self",(char *) "c", NULL
23787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23789 if (!SWIG_IsOK(res1
)) {
23790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23792 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23795 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= SWIG_Py_Void();
23810 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
= 0;
23812 wxEffects
*arg1
= (wxEffects
*) 0 ;
23813 wxColour
*arg2
= 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char * kwnames
[] = {
23820 (char *) "self",(char *) "c", NULL
23823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23825 if (!SWIG_IsOK(res1
)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23828 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= SWIG_Py_Void();
23846 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
= 0;
23848 wxEffects
*arg1
= (wxEffects
*) 0 ;
23849 wxColour
*arg2
= 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 char * kwnames
[] = {
23856 (char *) "self",(char *) "c", NULL
23859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23864 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23867 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_Py_Void();
23882 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23884 wxEffects
*arg1
= (wxEffects
*) 0 ;
23885 wxColour
*arg2
= 0 ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 char * kwnames
[] = {
23892 (char *) "self",(char *) "c", NULL
23895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23897 if (!SWIG_IsOK(res1
)) {
23898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23900 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= SWIG_Py_Void();
23918 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
= 0;
23920 wxEffects
*arg1
= (wxEffects
*) 0 ;
23921 wxColour
*arg2
= 0 ;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 char * kwnames
[] = {
23928 (char *) "self",(char *) "c", NULL
23931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23933 if (!SWIG_IsOK(res1
)) {
23934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23936 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23939 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= SWIG_Py_Void();
23954 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
= 0;
23956 wxEffects
*arg1
= (wxEffects
*) 0 ;
23957 wxColour
*arg2
= 0 ;
23958 wxColour
*arg3
= 0 ;
23959 wxColour
*arg4
= 0 ;
23960 wxColour
*arg5
= 0 ;
23961 wxColour
*arg6
= 0 ;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 PyObject
* obj2
= 0 ;
23972 PyObject
* obj3
= 0 ;
23973 PyObject
* obj4
= 0 ;
23974 PyObject
* obj5
= 0 ;
23975 char * kwnames
[] = {
23976 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23981 if (!SWIG_IsOK(res1
)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23984 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23991 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23995 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23999 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24003 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_Py_Void();
24018 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
= 0;
24020 wxEffects
*arg1
= (wxEffects
*) 0 ;
24023 int arg4
= (int) 1 ;
24031 PyObject
* obj0
= 0 ;
24032 PyObject
* obj1
= 0 ;
24033 PyObject
* obj2
= 0 ;
24034 PyObject
* obj3
= 0 ;
24035 char * kwnames
[] = {
24036 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24041 if (!SWIG_IsOK(res1
)) {
24042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24044 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24046 if (!SWIG_IsOK(res2
)) {
24047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24052 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24055 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24058 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24059 if (!SWIG_IsOK(ecode4
)) {
24060 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24062 arg4
= static_cast< int >(val4
);
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= SWIG_Py_Void();
24077 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
= 0;
24079 wxEffects
*arg1
= (wxEffects
*) 0 ;
24082 wxBitmap
*arg4
= 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 PyObject
* obj2
= 0 ;
24094 PyObject
* obj3
= 0 ;
24095 char * kwnames
[] = {
24096 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24104 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24107 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24109 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24110 if (!SWIG_IsOK(res3
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24116 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24117 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24118 if (!SWIG_IsOK(res4
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24124 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24140 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24143 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24144 return SWIG_Py_Void();
24147 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24148 return SWIG_Python_InitShadowInstance(args
);
24151 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
= 0;
24156 wxSplitterRenderParams
*result
= 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 PyObject
* obj2
= 0 ;
24166 char * kwnames
[] = {
24167 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24172 if (!SWIG_IsOK(ecode1
)) {
24173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24175 arg1
= static_cast< int >(val1
);
24176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24177 if (!SWIG_IsOK(ecode2
)) {
24178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24180 arg2
= static_cast< int >(val2
);
24181 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24182 if (!SWIG_IsOK(ecode3
)) {
24183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24185 arg3
= static_cast< bool >(val3
);
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24199 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24200 PyObject
*resultobj
= 0;
24201 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24204 PyObject
*swig_obj
[1] ;
24206 if (!args
) SWIG_fail
;
24207 swig_obj
[0] = args
;
24208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24209 if (!SWIG_IsOK(res1
)) {
24210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24212 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= SWIG_Py_Void();
24227 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24228 PyObject
*resultobj
= 0;
24229 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24233 PyObject
*swig_obj
[1] ;
24235 if (!args
) SWIG_fail
;
24236 swig_obj
[0] = args
;
24237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24238 if (!SWIG_IsOK(res1
)) {
24239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24241 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24242 result
= (int)(int) ((arg1
)->widthSash
);
24243 resultobj
= SWIG_From_int(static_cast< int >(result
));
24250 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24251 PyObject
*resultobj
= 0;
24252 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24256 PyObject
*swig_obj
[1] ;
24258 if (!args
) SWIG_fail
;
24259 swig_obj
[0] = args
;
24260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24261 if (!SWIG_IsOK(res1
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24264 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24265 result
= (int)(int) ((arg1
)->border
);
24266 resultobj
= SWIG_From_int(static_cast< int >(result
));
24273 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24274 PyObject
*resultobj
= 0;
24275 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24279 PyObject
*swig_obj
[1] ;
24281 if (!args
) SWIG_fail
;
24282 swig_obj
[0] = args
;
24283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24287 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24288 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24289 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24296 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24299 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24300 return SWIG_Py_Void();
24303 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24304 return SWIG_Python_InitShadowInstance(args
);
24307 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
= 0;
24311 wxRendererVersion
*result
= 0 ;
24316 PyObject
* obj0
= 0 ;
24317 PyObject
* obj1
= 0 ;
24318 char * kwnames
[] = {
24319 (char *) "version_",(char *) "age_", NULL
24322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24324 if (!SWIG_IsOK(ecode1
)) {
24325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24327 arg1
= static_cast< int >(val1
);
24328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24329 if (!SWIG_IsOK(ecode2
)) {
24330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24332 arg2
= static_cast< int >(val2
);
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24346 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24347 PyObject
*resultobj
= 0;
24348 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24351 PyObject
*swig_obj
[1] ;
24353 if (!args
) SWIG_fail
;
24354 swig_obj
[0] = args
;
24355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24356 if (!SWIG_IsOK(res1
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24359 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24367 resultobj
= SWIG_Py_Void();
24374 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
= 0;
24376 wxRendererVersion
*arg1
= 0 ;
24380 PyObject
* obj0
= 0 ;
24381 char * kwnames
[] = {
24382 (char *) "ver", NULL
24385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24386 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24387 if (!SWIG_IsOK(res1
)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24393 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24409 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24410 PyObject
*resultobj
= 0;
24411 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24415 PyObject
*swig_obj
[1] ;
24417 if (!args
) SWIG_fail
;
24418 swig_obj
[0] = args
;
24419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24423 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24424 result
= (int)(int) ((arg1
)->version
);
24425 resultobj
= SWIG_From_int(static_cast< int >(result
));
24432 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24433 PyObject
*resultobj
= 0;
24434 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24438 PyObject
*swig_obj
[1] ;
24440 if (!args
) SWIG_fail
;
24441 swig_obj
[0] = args
;
24442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24443 if (!SWIG_IsOK(res1
)) {
24444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24446 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24447 result
= (int)(int) ((arg1
)->age
);
24448 resultobj
= SWIG_From_int(static_cast< int >(result
));
24455 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24458 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24459 return SWIG_Py_Void();
24462 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24463 return SWIG_Python_InitShadowInstance(args
);
24466 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
= 0;
24468 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24469 wxWindow
*arg2
= (wxWindow
*) 0 ;
24472 int arg5
= (int) 0 ;
24482 PyObject
* obj0
= 0 ;
24483 PyObject
* obj1
= 0 ;
24484 PyObject
* obj2
= 0 ;
24485 PyObject
* obj3
= 0 ;
24486 PyObject
* obj4
= 0 ;
24487 char * kwnames
[] = {
24488 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24496 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24498 if (!SWIG_IsOK(res2
)) {
24499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24501 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24502 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24503 if (!SWIG_IsOK(res3
)) {
24504 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24509 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24512 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24515 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24516 if (!SWIG_IsOK(ecode5
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24519 arg5
= static_cast< int >(val5
);
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= SWIG_Py_Void();
24534 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
= 0;
24536 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24537 wxWindow
*arg2
= (wxWindow
*) 0 ;
24540 int arg5
= (int) 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 PyObject
* obj2
= 0 ;
24553 PyObject
* obj3
= 0 ;
24554 PyObject
* obj4
= 0 ;
24555 char * kwnames
[] = {
24556 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24561 if (!SWIG_IsOK(res1
)) {
24562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24564 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24566 if (!SWIG_IsOK(res2
)) {
24567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24570 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24571 if (!SWIG_IsOK(res3
)) {
24572 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24577 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24580 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24583 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24584 if (!SWIG_IsOK(ecode5
)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24587 arg5
= static_cast< int >(val5
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_Py_Void();
24602 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24603 PyObject
*resultobj
= 0;
24604 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24605 wxWindow
*arg2
= (wxWindow
*) 0 ;
24608 int arg5
= (int) 0 ;
24618 PyObject
* obj0
= 0 ;
24619 PyObject
* obj1
= 0 ;
24620 PyObject
* obj2
= 0 ;
24621 PyObject
* obj3
= 0 ;
24622 PyObject
* obj4
= 0 ;
24623 char * kwnames
[] = {
24624 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24632 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24634 if (!SWIG_IsOK(res2
)) {
24635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24638 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24639 if (!SWIG_IsOK(res3
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24645 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24648 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24651 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24652 if (!SWIG_IsOK(ecode5
)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24655 arg5
= static_cast< int >(val5
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= SWIG_Py_Void();
24670 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
= 0;
24672 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24673 wxWindow
*arg2
= (wxWindow
*) 0 ;
24677 wxOrientation arg6
;
24678 int arg7
= (int) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 PyObject
* obj2
= 0 ;
24695 PyObject
* obj3
= 0 ;
24696 PyObject
* obj4
= 0 ;
24697 PyObject
* obj5
= 0 ;
24698 PyObject
* obj6
= 0 ;
24699 char * kwnames
[] = {
24700 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24705 if (!SWIG_IsOK(res1
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24708 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24710 if (!SWIG_IsOK(res2
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24714 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24715 if (!SWIG_IsOK(res3
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24721 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24724 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24726 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24727 if (!SWIG_IsOK(ecode5
)) {
24728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24730 arg5
= static_cast< int >(val5
);
24731 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24732 if (!SWIG_IsOK(ecode6
)) {
24733 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24735 arg6
= static_cast< wxOrientation
>(val6
);
24737 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24738 if (!SWIG_IsOK(ecode7
)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24741 arg7
= static_cast< int >(val7
);
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= SWIG_Py_Void();
24756 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
= 0;
24758 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24759 wxWindow
*arg2
= (wxWindow
*) 0 ;
24762 int arg5
= (int) 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 PyObject
* obj2
= 0 ;
24775 PyObject
* obj3
= 0 ;
24776 PyObject
* obj4
= 0 ;
24777 char * kwnames
[] = {
24778 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24786 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24788 if (!SWIG_IsOK(res2
)) {
24789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24791 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24792 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24793 if (!SWIG_IsOK(res3
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24799 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24802 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24805 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24806 if (!SWIG_IsOK(ecode5
)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24809 arg5
= static_cast< int >(val5
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_Py_Void();
24824 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
= 0;
24826 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24827 wxWindow
*arg2
= (wxWindow
*) 0 ;
24830 int arg5
= (int) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 PyObject
* obj2
= 0 ;
24843 PyObject
* obj3
= 0 ;
24844 PyObject
* obj4
= 0 ;
24845 char * kwnames
[] = {
24846 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24851 if (!SWIG_IsOK(res1
)) {
24852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24854 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24856 if (!SWIG_IsOK(res2
)) {
24857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24860 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24861 if (!SWIG_IsOK(res3
)) {
24862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24867 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24870 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24873 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24874 if (!SWIG_IsOK(ecode5
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24877 arg5
= static_cast< int >(val5
);
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_Py_Void();
24892 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
= 0;
24894 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24895 wxWindow
*arg2
= (wxWindow
*) 0 ;
24896 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char * kwnames
[] = {
24904 (char *) "self",(char *) "win", NULL
24907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24909 if (!SWIG_IsOK(res1
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24912 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24914 if (!SWIG_IsOK(res2
)) {
24915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24917 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24931 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24932 PyObject
*resultobj
= 0;
24933 wxRendererNative
*result
= 0 ;
24935 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24940 result
= (wxRendererNative
*) &_result_ref
;
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24952 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24953 PyObject
*resultobj
= 0;
24954 wxRendererNative
*result
= 0 ;
24956 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24961 result
= (wxRendererNative
*) &_result_ref
;
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24973 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24974 PyObject
*resultobj
= 0;
24975 wxRendererNative
*result
= 0 ;
24977 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24982 result
= (wxRendererNative
*) &_result_ref
;
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24994 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= 0;
24996 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24997 wxRendererNative
*result
= 0 ;
25000 PyObject
* obj0
= 0 ;
25001 char * kwnames
[] = {
25002 (char *) "renderer", NULL
25005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25010 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25024 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25025 PyObject
*resultobj
= 0;
25026 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25027 SwigValueWrapper
<wxRendererVersion
> result
;
25030 PyObject
*swig_obj
[1] ;
25032 if (!args
) SWIG_fail
;
25033 swig_obj
[0] = args
;
25034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25035 if (!SWIG_IsOK(res1
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25038 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25042 wxPyEndAllowThreads(__tstate
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25045 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25052 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25055 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25056 return SWIG_Py_Void();
25059 static PyMethodDef SwigMethods
[] = {
25060 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25061 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25062 { (char *)"GDIObject_GetVisible", (PyCFunction
)_wrap_GDIObject_GetVisible
, METH_O
, NULL
},
25063 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25064 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25065 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25066 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25067 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25068 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25069 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25070 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25071 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25072 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25073 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25074 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25075 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25076 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25077 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25078 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25079 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25080 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25081 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25082 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25083 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25084 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25085 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25086 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25087 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25088 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25089 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25090 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25091 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25092 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25093 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25094 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25095 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25096 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25097 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25098 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25099 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25100 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25101 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25102 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25103 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25104 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25105 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25106 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25107 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25108 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25109 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25110 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25111 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25112 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25113 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25114 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25115 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25116 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25117 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25118 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25119 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25120 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25121 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25122 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25123 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25124 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
25125 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25126 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25127 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25128 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25129 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25130 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25131 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25132 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25134 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25135 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25136 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25137 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25138 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25139 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25140 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25141 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25142 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25144 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25145 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25146 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25147 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25148 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25149 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25150 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25151 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25152 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25156 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25157 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25158 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25159 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25160 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25161 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25162 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25163 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25164 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25165 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25166 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25168 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25169 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25170 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25171 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25173 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25174 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25175 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25176 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25177 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25179 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25180 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25182 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25184 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25185 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25186 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25187 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25190 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25194 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25195 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25197 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25200 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25201 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25202 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25207 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25208 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25214 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25218 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25228 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25231 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25232 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25234 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25235 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25236 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25237 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25238 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25239 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25240 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25241 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25242 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25243 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25244 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25245 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25246 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
25247 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
25248 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
25249 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
25250 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
25252 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
25253 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
25254 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
25255 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
25256 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
25257 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
25258 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25259 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25260 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25264 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
25267 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
25268 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
25270 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
25271 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
25272 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
25273 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
25274 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
25275 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
25276 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
25277 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
25278 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
25280 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
25281 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
25282 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
25285 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
25286 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
25287 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
25290 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
25296 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
25301 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
25302 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
25304 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
25310 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
25313 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
25314 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
25315 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
25316 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
25317 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
25318 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
25319 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
25320 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
25321 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
25322 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
25323 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
25324 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
25325 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
25337 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
25338 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
25339 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
25341 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
25342 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
25344 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
25345 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
25346 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
25347 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
25351 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
25352 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
25353 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
25354 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
25355 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
25356 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
25357 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
25358 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
25359 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
25360 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
25361 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
25363 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
25366 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
25367 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
25368 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
25369 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
25370 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
25371 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
25372 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
25373 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
25382 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
25383 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
25384 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
25385 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
25386 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
25387 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
25388 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
25394 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
25395 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
25396 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
25445 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
25447 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
25448 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
25449 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
25456 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
25457 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
25458 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
25459 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
25460 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
25465 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
25466 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
25467 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
25468 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
25477 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
25478 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
25479 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
25480 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
25481 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
25482 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
25483 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
25484 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
25485 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
25486 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
25487 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
25488 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
25491 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
25493 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
25495 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
25497 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
25498 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
25501 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
25502 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
25506 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
25508 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
25511 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
25512 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
25513 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
25514 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
25515 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
25516 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
25523 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
25524 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
25527 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
25528 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
25529 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
25530 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
25531 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
25532 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
25533 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
25535 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
25536 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
25537 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
25540 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
25541 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
25542 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
25544 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
25545 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
25547 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
25548 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
25550 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
25551 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
25553 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
25554 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
25556 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
25559 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
25560 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
25561 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
25563 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
25564 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
25566 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
25567 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
25568 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
25569 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
25570 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
25572 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
25573 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
25574 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
25576 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
25577 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
25579 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
25587 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
25589 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
25591 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
25592 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"PenList_GetCount", (PyCFunction
)_wrap_PenList_GetCount
, METH_O
, NULL
},
25596 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
25597 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"BrushList_GetCount", (PyCFunction
)_wrap_BrushList_GetCount
, METH_O
, NULL
},
25601 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
25602 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
25603 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
25604 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
25609 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
25610 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"FontList_GetCount", (PyCFunction
)_wrap_FontList_GetCount
, METH_O
, NULL
},
25614 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
25615 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
25616 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
25617 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
25618 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
25619 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
25620 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
25621 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
25630 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
25631 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
25633 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
25634 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
25635 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
25636 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
25637 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
25638 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
25640 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
25642 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
25643 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
25644 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
25645 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
25653 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
25654 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
25655 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
25657 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
25658 { NULL
, NULL
, 0, NULL
}
25662 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25664 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
25665 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
25667 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
25668 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25670 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
25671 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
25673 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
25674 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
25676 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
25677 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
25679 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
25680 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
25682 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
25683 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
25685 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
25686 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
25688 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
25689 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
25691 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
25692 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
25694 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
25695 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
25697 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
25698 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
25700 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
25701 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
25703 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
25704 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
25706 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
25707 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
25709 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
25710 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
25712 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
25713 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25715 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
25716 return (void *)((wxDC
*) ((wxClientDC
*) x
));
25718 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
25719 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
25721 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
25722 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
25724 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
25725 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
25727 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
25728 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25730 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25731 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25733 static void *_p_wxPenTo_p_wxObject(void *x
) {
25734 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
25736 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
25737 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
25739 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25740 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25742 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25743 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25745 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
25746 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
25748 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25749 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25751 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25752 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25754 static void *_p_wxIconTo_p_wxObject(void *x
) {
25755 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
25757 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25758 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25760 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25761 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25763 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25764 return (void *)((wxObject
*) ((wxSizer
*) x
));
25766 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25769 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25772 static void *_p_wxPenListTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) ((wxPenList
*) x
));
25775 static void *_p_wxEventTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) ((wxEvent
*) x
));
25778 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25781 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25784 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25787 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25790 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25793 static void *_p_wxDCTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) ((wxDC
*) x
));
25796 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25799 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25802 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25805 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25808 static void *_p_wxControlTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25811 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25814 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
25817 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25820 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
25823 static void *_p_wxRegionTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
25826 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25829 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
25830 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
25832 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
25833 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
25835 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
25836 return (void *)((wxObject
*) ((wxEffects
*) x
));
25838 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25839 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25841 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25844 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
25845 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
25847 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25848 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25850 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25851 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25853 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
25854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
25856 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25857 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25859 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25862 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25863 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25865 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25866 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25868 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25869 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25871 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25872 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25874 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25875 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25877 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25878 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25880 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25881 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25883 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25886 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25889 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25890 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25892 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25895 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25896 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25898 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25899 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25901 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25902 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25904 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25907 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
25908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
25910 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25911 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25913 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25916 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25919 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25920 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25922 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
25923 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25925 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
25926 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
25928 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
25929 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
25931 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
25932 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
25934 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
25935 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
25937 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25938 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25940 static void *_p_wxImageTo_p_wxObject(void *x
) {
25941 return (void *)((wxObject
*) ((wxImage
*) x
));
25943 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25944 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25946 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
25947 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
25949 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
25950 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
25952 static void *_p_wxImageListTo_p_wxObject(void *x
) {
25953 return (void *)((wxObject
*) ((wxImageList
*) x
));
25955 static void *_p_wxCursorTo_p_wxObject(void *x
) {
25956 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
25958 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
25959 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
25961 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
25962 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
25964 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25967 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25968 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25970 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25971 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25973 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25974 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25976 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25977 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25979 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25982 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
25983 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
25985 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
25986 return (void *)((wxObject
*) ((wxBrushList
*) x
));
25988 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25989 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25991 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
25992 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
25994 static void *_p_wxMaskTo_p_wxObject(void *x
) {
25995 return (void *)((wxObject
*) ((wxMask
*) x
));
25997 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25998 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26000 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26001 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26003 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26004 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26006 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26007 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26009 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26010 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26012 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26013 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26015 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26018 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26019 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26021 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26022 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26024 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26025 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26027 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26030 static void *_p_wxFontTo_p_wxObject(void *x
) {
26031 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26033 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26034 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26036 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26037 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26039 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26042 static void *_p_wxColourTo_p_wxObject(void *x
) {
26043 return (void *)((wxObject
*) ((wxColour
*) x
));
26045 static void *_p_wxFontListTo_p_wxObject(void *x
) {
26046 return (void *)((wxObject
*) ((wxFontList
*) x
));
26048 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26051 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26052 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26054 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26055 return (void *)((wxWindow
*) ((wxControl
*) x
));
26057 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26058 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26060 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26061 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26063 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26064 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26065 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};
26066 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26067 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26068 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26069 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26070 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26071 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26072 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26073 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26074 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26075 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26076 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26077 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26078 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26079 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26080 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26081 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26082 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26083 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26084 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26085 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26086 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26087 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26088 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26089 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26090 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26091 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26092 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26093 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26094 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26095 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26096 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26097 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26098 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26099 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26100 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26101 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26102 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26103 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26104 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26105 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26106 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26107 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26108 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26109 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26110 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26111 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26112 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26113 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26114 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26115 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26116 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26117 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26118 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26119 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26120 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26121 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26122 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26123 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26124 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26125 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26126 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26127 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26128 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26129 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26130 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26131 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26132 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26133 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26134 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26135 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26136 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26137 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26138 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26139 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26140 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26141 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26142 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26143 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26144 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26145 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26146 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26147 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26148 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26149 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26150 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26151 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26152 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26153 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26154 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26155 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26156 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26157 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26158 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26159 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26160 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26161 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26162 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26163 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26164 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26165 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26166 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26167 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26168 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26169 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26170 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26171 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26172 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26173 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26174 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26175 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26176 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26177 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26178 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26179 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26180 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26181 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26182 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26183 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26184 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26185 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26186 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26187 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26188 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26189 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26190 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26191 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26192 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26193 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26194 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26195 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26196 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26197 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26199 static swig_type_info
*swig_type_initial
[] = {
26202 &_swigt__p_form_ops_t
,
26204 &_swigt__p_unsigned_char
,
26205 &_swigt__p_unsigned_int
,
26206 &_swigt__p_unsigned_long
,
26207 &_swigt__p_wxANIHandler
,
26208 &_swigt__p_wxAcceleratorTable
,
26209 &_swigt__p_wxActivateEvent
,
26210 &_swigt__p_wxBMPHandler
,
26211 &_swigt__p_wxBitmap
,
26212 &_swigt__p_wxBoxSizer
,
26213 &_swigt__p_wxBrush
,
26214 &_swigt__p_wxBrushList
,
26215 &_swigt__p_wxBufferedDC
,
26216 &_swigt__p_wxBufferedPaintDC
,
26217 &_swigt__p_wxCURHandler
,
26218 &_swigt__p_wxChildFocusEvent
,
26219 &_swigt__p_wxClientDC
,
26220 &_swigt__p_wxCloseEvent
,
26221 &_swigt__p_wxColour
,
26222 &_swigt__p_wxColourDatabase
,
26223 &_swigt__p_wxCommandEvent
,
26224 &_swigt__p_wxContextMenuEvent
,
26225 &_swigt__p_wxControl
,
26226 &_swigt__p_wxControlWithItems
,
26227 &_swigt__p_wxCursor
,
26230 &_swigt__p_wxDateEvent
,
26231 &_swigt__p_wxDisplayChangedEvent
,
26232 &_swigt__p_wxDropFilesEvent
,
26233 &_swigt__p_wxDuplexMode
,
26234 &_swigt__p_wxEffects
,
26235 &_swigt__p_wxEncodingConverter
,
26236 &_swigt__p_wxEraseEvent
,
26237 &_swigt__p_wxEvent
,
26238 &_swigt__p_wxEvtHandler
,
26239 &_swigt__p_wxFSFile
,
26240 &_swigt__p_wxFileSystem
,
26241 &_swigt__p_wxFlexGridSizer
,
26242 &_swigt__p_wxFocusEvent
,
26244 &_swigt__p_wxFontList
,
26245 &_swigt__p_wxFontMapper
,
26246 &_swigt__p_wxGBSizerItem
,
26247 &_swigt__p_wxGDIObject
,
26248 &_swigt__p_wxGIFHandler
,
26249 &_swigt__p_wxGridBagSizer
,
26250 &_swigt__p_wxGridSizer
,
26251 &_swigt__p_wxICOHandler
,
26253 &_swigt__p_wxIconBundle
,
26254 &_swigt__p_wxIconLocation
,
26255 &_swigt__p_wxIconizeEvent
,
26256 &_swigt__p_wxIdleEvent
,
26257 &_swigt__p_wxImage
,
26258 &_swigt__p_wxImageHandler
,
26259 &_swigt__p_wxImageList
,
26260 &_swigt__p_wxIndividualLayoutConstraint
,
26261 &_swigt__p_wxInitDialogEvent
,
26262 &_swigt__p_wxJPEGHandler
,
26263 &_swigt__p_wxKeyEvent
,
26264 &_swigt__p_wxLanguageInfo
,
26265 &_swigt__p_wxLayoutConstraints
,
26266 &_swigt__p_wxLocale
,
26268 &_swigt__p_wxMaximizeEvent
,
26269 &_swigt__p_wxMemoryDC
,
26271 &_swigt__p_wxMenuBar
,
26272 &_swigt__p_wxMenuEvent
,
26273 &_swigt__p_wxMenuItem
,
26274 &_swigt__p_wxMetaFile
,
26275 &_swigt__p_wxMetaFileDC
,
26276 &_swigt__p_wxMirrorDC
,
26277 &_swigt__p_wxMouseCaptureChangedEvent
,
26278 &_swigt__p_wxMouseEvent
,
26279 &_swigt__p_wxMoveEvent
,
26280 &_swigt__p_wxNativeEncodingInfo
,
26281 &_swigt__p_wxNativeFontInfo
,
26282 &_swigt__p_wxNavigationKeyEvent
,
26283 &_swigt__p_wxNcPaintEvent
,
26284 &_swigt__p_wxNotifyEvent
,
26285 &_swigt__p_wxObject
,
26286 &_swigt__p_wxPCXHandler
,
26287 &_swigt__p_wxPNGHandler
,
26288 &_swigt__p_wxPNMHandler
,
26289 &_swigt__p_wxPaintDC
,
26290 &_swigt__p_wxPaintEvent
,
26291 &_swigt__p_wxPalette
,
26292 &_swigt__p_wxPaletteChangedEvent
,
26293 &_swigt__p_wxPaperSize
,
26295 &_swigt__p_wxPenList
,
26296 &_swigt__p_wxPoint
,
26297 &_swigt__p_wxPostScriptDC
,
26298 &_swigt__p_wxPrintData
,
26299 &_swigt__p_wxPrinterDC
,
26300 &_swigt__p_wxPyApp
,
26301 &_swigt__p_wxPyCommandEvent
,
26302 &_swigt__p_wxPyEvent
,
26303 &_swigt__p_wxPyFontEnumerator
,
26304 &_swigt__p_wxPyImageHandler
,
26305 &_swigt__p_wxPySizer
,
26306 &_swigt__p_wxPyValidator
,
26307 &_swigt__p_wxQueryNewPaletteEvent
,
26309 &_swigt__p_wxRegion
,
26310 &_swigt__p_wxRegionIterator
,
26311 &_swigt__p_wxRendererNative
,
26312 &_swigt__p_wxRendererVersion
,
26313 &_swigt__p_wxScreenDC
,
26314 &_swigt__p_wxScrollEvent
,
26315 &_swigt__p_wxScrollWinEvent
,
26316 &_swigt__p_wxSetCursorEvent
,
26317 &_swigt__p_wxShowEvent
,
26319 &_swigt__p_wxSizeEvent
,
26320 &_swigt__p_wxSizer
,
26321 &_swigt__p_wxSizerItem
,
26322 &_swigt__p_wxSplitterRenderParams
,
26323 &_swigt__p_wxStaticBoxSizer
,
26324 &_swigt__p_wxStdDialogButtonSizer
,
26325 &_swigt__p_wxString
,
26326 &_swigt__p_wxSysColourChangedEvent
,
26327 &_swigt__p_wxTIFFHandler
,
26328 &_swigt__p_wxUpdateUIEvent
,
26329 &_swigt__p_wxValidator
,
26330 &_swigt__p_wxWindow
,
26331 &_swigt__p_wxWindowCreateEvent
,
26332 &_swigt__p_wxWindowDC
,
26333 &_swigt__p_wxWindowDestroyEvent
,
26334 &_swigt__p_wxXPMHandler
,
26337 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
26338 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
26339 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
26340 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
26341 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
26342 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
26343 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
26344 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
26345 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
26346 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
26347 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}};
26348 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26349 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
26350 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
26351 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
26352 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
26353 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}};
26354 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
26355 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
26356 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
26357 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
26358 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
26359 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
26360 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
26361 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}};
26362 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
26363 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
26364 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
26365 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
26366 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
26367 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
26368 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
26369 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
26370 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}};
26371 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
26372 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
26373 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
26374 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
26375 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
26376 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
26377 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26378 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26379 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
26380 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
26381 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26382 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26383 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26384 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
26385 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
26386 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
26387 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
26388 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26389 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26390 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
26391 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26392 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26393 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26394 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26395 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26396 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26397 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
26398 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
26399 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
26400 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
26401 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26402 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26403 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
26404 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
26405 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26406 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
26407 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26408 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
26409 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26410 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26411 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26412 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
26413 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26414 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
26415 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
26416 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
26417 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
26418 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26419 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26420 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26421 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26422 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
26423 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26424 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26425 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
26426 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26427 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26428 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
26429 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
26430 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
26431 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26432 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26433 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26434 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
26435 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
26436 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26437 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26438 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
26439 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26440 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26441 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26442 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26443 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26444 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
26445 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26446 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26447 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
26448 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
26449 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
26450 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_wxColourDatabase
, _p_wxColourDatabaseTo_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_wxPenList
, _p_wxPenListTo_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_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_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_wxBrushList
, _p_wxBrushListTo_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_wxFontList
, _p_wxFontListTo_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}};
26451 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26452 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
26453 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
26454 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
26455 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
26456 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
26457 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
26458 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
26459 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
26460 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
26461 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
26462 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
26463 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
26464 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
26465 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
26466 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
26467 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
26468 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
26469 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
26470 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}};
26471 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
26473 static swig_cast_info
*swig_cast_initial
[] = {
26476 _swigc__p_form_ops_t
,
26478 _swigc__p_unsigned_char
,
26479 _swigc__p_unsigned_int
,
26480 _swigc__p_unsigned_long
,
26481 _swigc__p_wxANIHandler
,
26482 _swigc__p_wxAcceleratorTable
,
26483 _swigc__p_wxActivateEvent
,
26484 _swigc__p_wxBMPHandler
,
26485 _swigc__p_wxBitmap
,
26486 _swigc__p_wxBoxSizer
,
26488 _swigc__p_wxBrushList
,
26489 _swigc__p_wxBufferedDC
,
26490 _swigc__p_wxBufferedPaintDC
,
26491 _swigc__p_wxCURHandler
,
26492 _swigc__p_wxChildFocusEvent
,
26493 _swigc__p_wxClientDC
,
26494 _swigc__p_wxCloseEvent
,
26495 _swigc__p_wxColour
,
26496 _swigc__p_wxColourDatabase
,
26497 _swigc__p_wxCommandEvent
,
26498 _swigc__p_wxContextMenuEvent
,
26499 _swigc__p_wxControl
,
26500 _swigc__p_wxControlWithItems
,
26501 _swigc__p_wxCursor
,
26504 _swigc__p_wxDateEvent
,
26505 _swigc__p_wxDisplayChangedEvent
,
26506 _swigc__p_wxDropFilesEvent
,
26507 _swigc__p_wxDuplexMode
,
26508 _swigc__p_wxEffects
,
26509 _swigc__p_wxEncodingConverter
,
26510 _swigc__p_wxEraseEvent
,
26512 _swigc__p_wxEvtHandler
,
26513 _swigc__p_wxFSFile
,
26514 _swigc__p_wxFileSystem
,
26515 _swigc__p_wxFlexGridSizer
,
26516 _swigc__p_wxFocusEvent
,
26518 _swigc__p_wxFontList
,
26519 _swigc__p_wxFontMapper
,
26520 _swigc__p_wxGBSizerItem
,
26521 _swigc__p_wxGDIObject
,
26522 _swigc__p_wxGIFHandler
,
26523 _swigc__p_wxGridBagSizer
,
26524 _swigc__p_wxGridSizer
,
26525 _swigc__p_wxICOHandler
,
26527 _swigc__p_wxIconBundle
,
26528 _swigc__p_wxIconLocation
,
26529 _swigc__p_wxIconizeEvent
,
26530 _swigc__p_wxIdleEvent
,
26532 _swigc__p_wxImageHandler
,
26533 _swigc__p_wxImageList
,
26534 _swigc__p_wxIndividualLayoutConstraint
,
26535 _swigc__p_wxInitDialogEvent
,
26536 _swigc__p_wxJPEGHandler
,
26537 _swigc__p_wxKeyEvent
,
26538 _swigc__p_wxLanguageInfo
,
26539 _swigc__p_wxLayoutConstraints
,
26540 _swigc__p_wxLocale
,
26542 _swigc__p_wxMaximizeEvent
,
26543 _swigc__p_wxMemoryDC
,
26545 _swigc__p_wxMenuBar
,
26546 _swigc__p_wxMenuEvent
,
26547 _swigc__p_wxMenuItem
,
26548 _swigc__p_wxMetaFile
,
26549 _swigc__p_wxMetaFileDC
,
26550 _swigc__p_wxMirrorDC
,
26551 _swigc__p_wxMouseCaptureChangedEvent
,
26552 _swigc__p_wxMouseEvent
,
26553 _swigc__p_wxMoveEvent
,
26554 _swigc__p_wxNativeEncodingInfo
,
26555 _swigc__p_wxNativeFontInfo
,
26556 _swigc__p_wxNavigationKeyEvent
,
26557 _swigc__p_wxNcPaintEvent
,
26558 _swigc__p_wxNotifyEvent
,
26559 _swigc__p_wxObject
,
26560 _swigc__p_wxPCXHandler
,
26561 _swigc__p_wxPNGHandler
,
26562 _swigc__p_wxPNMHandler
,
26563 _swigc__p_wxPaintDC
,
26564 _swigc__p_wxPaintEvent
,
26565 _swigc__p_wxPalette
,
26566 _swigc__p_wxPaletteChangedEvent
,
26567 _swigc__p_wxPaperSize
,
26569 _swigc__p_wxPenList
,
26571 _swigc__p_wxPostScriptDC
,
26572 _swigc__p_wxPrintData
,
26573 _swigc__p_wxPrinterDC
,
26575 _swigc__p_wxPyCommandEvent
,
26576 _swigc__p_wxPyEvent
,
26577 _swigc__p_wxPyFontEnumerator
,
26578 _swigc__p_wxPyImageHandler
,
26579 _swigc__p_wxPySizer
,
26580 _swigc__p_wxPyValidator
,
26581 _swigc__p_wxQueryNewPaletteEvent
,
26583 _swigc__p_wxRegion
,
26584 _swigc__p_wxRegionIterator
,
26585 _swigc__p_wxRendererNative
,
26586 _swigc__p_wxRendererVersion
,
26587 _swigc__p_wxScreenDC
,
26588 _swigc__p_wxScrollEvent
,
26589 _swigc__p_wxScrollWinEvent
,
26590 _swigc__p_wxSetCursorEvent
,
26591 _swigc__p_wxShowEvent
,
26593 _swigc__p_wxSizeEvent
,
26595 _swigc__p_wxSizerItem
,
26596 _swigc__p_wxSplitterRenderParams
,
26597 _swigc__p_wxStaticBoxSizer
,
26598 _swigc__p_wxStdDialogButtonSizer
,
26599 _swigc__p_wxString
,
26600 _swigc__p_wxSysColourChangedEvent
,
26601 _swigc__p_wxTIFFHandler
,
26602 _swigc__p_wxUpdateUIEvent
,
26603 _swigc__p_wxValidator
,
26604 _swigc__p_wxWindow
,
26605 _swigc__p_wxWindowCreateEvent
,
26606 _swigc__p_wxWindowDC
,
26607 _swigc__p_wxWindowDestroyEvent
,
26608 _swigc__p_wxXPMHandler
,
26612 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26614 static swig_const_info swig_const_table
[] = {
26615 {0, 0, 0, 0.0, 0, 0}};
26620 /* -----------------------------------------------------------------------------
26621 * Type initialization:
26622 * This problem is tough by the requirement that no dynamic
26623 * memory is used. Also, since swig_type_info structures store pointers to
26624 * swig_cast_info structures and swig_cast_info structures store pointers back
26625 * to swig_type_info structures, we need some lookup code at initialization.
26626 * The idea is that swig generates all the structures that are needed.
26627 * The runtime then collects these partially filled structures.
26628 * The SWIG_InitializeModule function takes these initial arrays out of
26629 * swig_module, and does all the lookup, filling in the swig_module.types
26630 * array with the correct data and linking the correct swig_cast_info
26631 * structures together.
26633 * The generated swig_type_info structures are assigned staticly to an initial
26634 * array. We just loop though that array, and handle each type individually.
26635 * First we lookup if this type has been already loaded, and if so, use the
26636 * loaded structure instead of the generated one. Then we have to fill in the
26637 * cast linked list. The cast data is initially stored in something like a
26638 * two-dimensional array. Each row corresponds to a type (there are the same
26639 * number of rows as there are in the swig_type_initial array). Each entry in
26640 * a column is one of the swig_cast_info structures for that type.
26641 * The cast_initial array is actually an array of arrays, because each row has
26642 * a variable number of columns. So to actually build the cast linked list,
26643 * we find the array of casts associated with the type, and loop through it
26644 * adding the casts to the list. The one last trick we need to do is making
26645 * sure the type pointer in the swig_cast_info struct is correct.
26647 * First off, we lookup the cast->type name to see if it is already loaded.
26648 * There are three cases to handle:
26649 * 1) If the cast->type has already been loaded AND the type we are adding
26650 * casting info to has not been loaded (it is in this module), THEN we
26651 * replace the cast->type pointer with the type pointer that has already
26653 * 2) If BOTH types (the one we are adding casting info to, and the
26654 * cast->type) are loaded, THEN the cast info has already been loaded by
26655 * the previous module so we just ignore it.
26656 * 3) Finally, if cast->type has not already been loaded, then we add that
26657 * swig_cast_info to the linked list (because the cast->type) pointer will
26659 * ----------------------------------------------------------------------------- */
26669 #define SWIGRUNTIME_DEBUG
26673 SWIG_InitializeModule(void *clientdata
) {
26675 swig_module_info
*module_head
;
26676 static int init_run
= 0;
26678 clientdata
= clientdata
;
26680 if (init_run
) return;
26683 /* Initialize the swig_module */
26684 swig_module
.type_initial
= swig_type_initial
;
26685 swig_module
.cast_initial
= swig_cast_initial
;
26687 /* Try and load any already created modules */
26688 module_head
= SWIG_GetModule(clientdata
);
26690 swig_module
.next
= module_head
->next
;
26691 module_head
->next
= &swig_module
;
26693 /* This is the first module loaded */
26694 swig_module
.next
= &swig_module
;
26695 SWIG_SetModule(clientdata
, &swig_module
);
26698 /* Now work on filling in swig_module.types */
26699 #ifdef SWIGRUNTIME_DEBUG
26700 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
26702 for (i
= 0; i
< swig_module
.size
; ++i
) {
26703 swig_type_info
*type
= 0;
26704 swig_type_info
*ret
;
26705 swig_cast_info
*cast
;
26707 #ifdef SWIGRUNTIME_DEBUG
26708 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26711 /* if there is another module already loaded */
26712 if (swig_module
.next
!= &swig_module
) {
26713 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
26716 /* Overwrite clientdata field */
26717 #ifdef SWIGRUNTIME_DEBUG
26718 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
26720 if (swig_module
.type_initial
[i
]->clientdata
) {
26721 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
26722 #ifdef SWIGRUNTIME_DEBUG
26723 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
26727 type
= swig_module
.type_initial
[i
];
26730 /* Insert casting types */
26731 cast
= swig_module
.cast_initial
[i
];
26732 while (cast
->type
) {
26733 /* Don't need to add information already in the list */
26735 #ifdef SWIGRUNTIME_DEBUG
26736 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
26738 if (swig_module
.next
!= &swig_module
) {
26739 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
26740 #ifdef SWIGRUNTIME_DEBUG
26741 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
26745 if (type
== swig_module
.type_initial
[i
]) {
26746 #ifdef SWIGRUNTIME_DEBUG
26747 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
26752 /* Check for casting already in the list */
26753 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
26754 #ifdef SWIGRUNTIME_DEBUG
26755 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
26757 if (!ocast
) ret
= 0;
26762 #ifdef SWIGRUNTIME_DEBUG
26763 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
26766 type
->cast
->prev
= cast
;
26767 cast
->next
= type
->cast
;
26773 /* Set entry in modules->types array equal to the type */
26774 swig_module
.types
[i
] = type
;
26776 swig_module
.types
[i
] = 0;
26778 #ifdef SWIGRUNTIME_DEBUG
26779 printf("**** SWIG_InitializeModule: Cast List ******\n");
26780 for (i
= 0; i
< swig_module
.size
; ++i
) {
26782 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
26783 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26784 while (cast
->type
) {
26785 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
26789 printf("---- Total casts: %d\n",j
);
26791 printf("**** SWIG_InitializeModule: Cast List ******\n");
26795 /* This function will propagate the clientdata field of type to
26796 * any new swig_type_info structures that have been added into the list
26797 * of equivalent types. It is like calling
26798 * SWIG_TypeClientData(type, clientdata) a second time.
26801 SWIG_PropagateClientData(void) {
26803 swig_cast_info
*equiv
;
26804 static int init_run
= 0;
26806 if (init_run
) return;
26809 for (i
= 0; i
< swig_module
.size
; i
++) {
26810 if (swig_module
.types
[i
]->clientdata
) {
26811 equiv
= swig_module
.types
[i
]->cast
;
26813 if (!equiv
->converter
) {
26814 if (equiv
->type
&& !equiv
->type
->clientdata
)
26815 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
26817 equiv
= equiv
->next
;
26837 /* Python-specific SWIG API */
26838 #define SWIG_newvarlink() SWIG_Python_newvarlink()
26839 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
26840 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
26842 /* -----------------------------------------------------------------------------
26843 * global variable support code.
26844 * ----------------------------------------------------------------------------- */
26846 typedef struct swig_globalvar
{
26847 char *name
; /* Name of global variable */
26848 PyObject
*(*get_attr
)(void); /* Return the current value */
26849 int (*set_attr
)(PyObject
*); /* Set the value */
26850 struct swig_globalvar
*next
;
26853 typedef struct swig_varlinkobject
{
26855 swig_globalvar
*vars
;
26856 } swig_varlinkobject
;
26858 SWIGINTERN PyObject
*
26859 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
26860 return PyString_FromString("<Swig global variables>");
26863 SWIGINTERN PyObject
*
26864 swig_varlink_str(swig_varlinkobject
*v
) {
26865 PyObject
*str
= PyString_FromString("(");
26866 swig_globalvar
*var
;
26867 for (var
= v
->vars
; var
; var
=var
->next
) {
26868 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
26869 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
26871 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
26876 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
26877 PyObject
*str
= swig_varlink_str(v
);
26878 fprintf(fp
,"Swig global variables ");
26879 fprintf(fp
,"%s\n", PyString_AsString(str
));
26885 swig_varlink_dealloc(swig_varlinkobject
*v
) {
26886 swig_globalvar
*var
= v
->vars
;
26888 swig_globalvar
*n
= var
->next
;
26895 SWIGINTERN PyObject
*
26896 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
26897 PyObject
*res
= NULL
;
26898 swig_globalvar
*var
= v
->vars
;
26900 if (strcmp(var
->name
,n
) == 0) {
26901 res
= (*var
->get_attr
)();
26906 if (res
== NULL
&& !PyErr_Occurred()) {
26907 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26913 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
26915 swig_globalvar
*var
= v
->vars
;
26917 if (strcmp(var
->name
,n
) == 0) {
26918 res
= (*var
->set_attr
)(p
);
26923 if (res
== 1 && !PyErr_Occurred()) {
26924 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26929 SWIGINTERN PyTypeObject
*
26930 swig_varlink_type(void) {
26931 static char varlink__doc__
[] = "Swig var link object";
26932 static PyTypeObject varlink_type
;
26933 static int type_init
= 0;
26935 const PyTypeObject tmp
26937 PyObject_HEAD_INIT(NULL
)
26938 0, /* Number of items in variable part (ob_size) */
26939 (char *)"swigvarlink", /* Type name (tp_name) */
26940 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
26941 0, /* Itemsize (tp_itemsize) */
26942 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
26943 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
26944 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
26945 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
26946 0, /* tp_compare */
26947 (reprfunc
) swig_varlink_repr
, /* tp_repr */
26948 0, /* tp_as_number */
26949 0, /* tp_as_sequence */
26950 0, /* tp_as_mapping */
26953 (reprfunc
)swig_varlink_str
, /* tp_str */
26954 0, /* tp_getattro */
26955 0, /* tp_setattro */
26956 0, /* tp_as_buffer */
26958 varlink__doc__
, /* tp_doc */
26959 0, /* tp_traverse */
26961 0, /* tp_richcompare */
26962 0, /* tp_weaklistoffset */
26963 #if PY_VERSION_HEX >= 0x02020000
26964 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
26966 #if PY_VERSION_HEX >= 0x02030000
26969 #ifdef COUNT_ALLOCS
26970 0,0,0,0 /* tp_alloc -> tp_next */
26973 varlink_type
= tmp
;
26974 varlink_type
.ob_type
= &PyType_Type
;
26977 return &varlink_type
;
26980 /* Create a variable linking object for use later */
26981 SWIGINTERN PyObject
*
26982 SWIG_Python_newvarlink(void) {
26983 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
26987 return ((PyObject
*) result
);
26991 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
26992 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
26993 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
26995 size_t size
= strlen(name
)+1;
26996 gv
->name
= (char *)malloc(size
);
26998 strncpy(gv
->name
,name
,size
);
26999 gv
->get_attr
= get_attr
;
27000 gv
->set_attr
= set_attr
;
27001 gv
->next
= v
->vars
;
27007 SWIGINTERN PyObject
*
27009 static PyObject
*_SWIG_globals
= 0;
27010 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27011 return _SWIG_globals
;
27014 /* -----------------------------------------------------------------------------
27015 * constants/methods manipulation
27016 * ----------------------------------------------------------------------------- */
27018 /* Install Constants */
27020 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27023 for (i
= 0; constants
[i
].type
; ++i
) {
27024 switch(constants
[i
].type
) {
27025 case SWIG_PY_POINTER
:
27026 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27028 case SWIG_PY_BINARY
:
27029 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27036 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27042 /* -----------------------------------------------------------------------------*/
27043 /* Fix SwigMethods to carry the callback ptrs when needed */
27044 /* -----------------------------------------------------------------------------*/
27047 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27048 swig_const_info
*const_table
,
27049 swig_type_info
**types
,
27050 swig_type_info
**types_initial
) {
27052 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27053 char *c
= methods
[i
].ml_doc
;
27054 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27056 swig_const_info
*ci
= 0;
27057 char *name
= c
+ 10;
27058 for (j
= 0; const_table
[j
].type
; ++j
) {
27059 if (strncmp(const_table
[j
].name
, name
,
27060 strlen(const_table
[j
].name
)) == 0) {
27061 ci
= &(const_table
[j
]);
27066 size_t shift
= (ci
->ptype
) - types
;
27067 swig_type_info
*ty
= types_initial
[shift
];
27068 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27069 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27070 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27073 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27075 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27077 strncpy(buff
, "swig_ptr: ", 10);
27079 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27080 methods
[i
].ml_doc
= ndoc
;
27092 /* -----------------------------------------------------------------------------*
27093 * Partial Init method
27094 * -----------------------------------------------------------------------------*/
27099 SWIGEXPORT
void SWIG_init(void) {
27102 /* Fix SwigMethods to carry the callback ptrs when needed */
27103 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27105 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27106 d
= PyModule_GetDict(m
);
27108 SWIG_InitializeModule(0);
27109 SWIG_InstallConstants(d
,swig_const_table
);
27112 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27113 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27114 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27115 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27116 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27117 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27118 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27119 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27120 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27121 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27122 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27123 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27124 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27125 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27126 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27127 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27128 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27129 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27130 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27131 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27132 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27133 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27134 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27135 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27136 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27137 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27138 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27139 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27140 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27141 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27142 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27143 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27144 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27145 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27146 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27147 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27148 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27149 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27150 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27151 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27152 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27153 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27154 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27155 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27156 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27157 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27158 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27159 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27160 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27161 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27162 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27163 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27164 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27165 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27166 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27167 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27168 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27169 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27170 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27171 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27172 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27173 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27174 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27175 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27176 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27177 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27178 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27179 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27180 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27181 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27182 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27183 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27184 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27185 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27186 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27187 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27188 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27189 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27190 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27191 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27192 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27193 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27194 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27195 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27196 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27197 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27198 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27199 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27200 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27201 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27202 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27203 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27204 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27205 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27206 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27207 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27208 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
27209 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
27210 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
27211 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
27212 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
27213 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
27214 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
27215 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
27216 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
27217 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
27218 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
27219 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
27220 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
27221 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
27222 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
27223 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
27224 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
27225 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
27226 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
27227 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
27228 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
27229 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
27230 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
27231 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
27232 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
27233 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
27234 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
27235 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
27236 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
27237 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
27238 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
27240 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
27242 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
27243 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
27244 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
27245 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
27246 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
27247 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
27248 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
27249 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
27250 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
27251 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
27252 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
27253 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
27254 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
27255 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
27256 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
27257 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
27258 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
27259 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
27260 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
27261 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
27262 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
27263 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
27264 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
27265 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
27266 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
27267 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
27268 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
27269 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
27270 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
27271 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
27272 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
27273 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
27274 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
27275 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
27276 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
27277 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
27278 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
27279 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
27280 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
27281 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
27282 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
27283 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
27284 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
27285 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
27286 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
27287 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
27288 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
27289 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
27290 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
27291 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
27292 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
27293 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
27294 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
27295 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
27296 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
27297 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
27298 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
27299 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
27300 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
27301 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
27302 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
27303 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
27304 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
27305 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
27306 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
27307 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
27308 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
27309 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
27310 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
27311 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
27312 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
27313 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
27314 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
27315 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
27316 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
27317 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
27318 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
27319 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
27320 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
27321 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
27322 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
27323 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
27324 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
27325 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
27326 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
27327 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
27328 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
27329 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
27330 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
27331 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
27332 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
27333 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
27334 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
27335 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
27336 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
27337 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
27338 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
27339 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
27340 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
27341 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
27342 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
27343 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
27344 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
27345 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
27346 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
27347 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
27348 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
27349 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
27350 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
27351 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
27352 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
27353 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
27354 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
27355 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
27356 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
27357 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
27358 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
27359 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
27360 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
27361 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
27362 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
27363 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
27364 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
27365 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
27366 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
27367 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
27368 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
27369 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
27370 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
27371 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
27372 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
27373 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
27374 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
27375 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
27376 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
27377 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
27378 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
27379 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
27380 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
27381 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
27382 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
27383 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
27384 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
27385 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
27386 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
27387 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
27388 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
27389 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
27390 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
27391 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
27392 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
27393 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
27394 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
27395 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
27396 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
27397 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
27398 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
27399 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
27400 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
27401 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
27402 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
27403 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
27404 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
27405 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
27406 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
27407 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
27408 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
27409 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
27410 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
27411 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
27412 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
27413 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
27414 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
27415 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
27416 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
27417 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
27418 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
27419 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
27420 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
27421 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
27422 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
27423 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
27424 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
27425 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
27426 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
27427 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
27428 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
27429 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
27430 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
27431 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
27432 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
27433 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
27434 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
27435 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
27436 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
27437 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
27438 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
27439 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
27440 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
27441 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
27442 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
27443 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
27444 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
27445 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
27446 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
27447 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
27448 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
27449 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
27450 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
27451 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
27452 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
27453 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
27454 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
27455 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
27456 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
27457 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
27458 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
27459 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
27460 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
27461 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
27462 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
27463 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
27464 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
27465 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
27466 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
27467 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
27468 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
27469 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
27470 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
27471 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
27472 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
27473 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
27474 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
27475 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
27476 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
27477 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
27478 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
27479 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
27480 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
27481 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
27482 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
27483 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
27484 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
27485 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
27486 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
27487 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
27488 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
27489 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
27490 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
27491 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
27492 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
27493 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
27494 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
27495 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
27496 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
27497 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
27498 SWIG_addvarlink(SWIG_globals(),(char*)"NORMAL_FONT",NORMAL_FONT_get
, NORMAL_FONT_set
);
27499 SWIG_addvarlink(SWIG_globals(),(char*)"SMALL_FONT",SMALL_FONT_get
, SMALL_FONT_set
);
27500 SWIG_addvarlink(SWIG_globals(),(char*)"ITALIC_FONT",ITALIC_FONT_get
, ITALIC_FONT_set
);
27501 SWIG_addvarlink(SWIG_globals(),(char*)"SWISS_FONT",SWISS_FONT_get
, SWISS_FONT_set
);
27502 SWIG_addvarlink(SWIG_globals(),(char*)"RED_PEN",RED_PEN_get
, RED_PEN_set
);
27503 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_PEN",CYAN_PEN_get
, CYAN_PEN_set
);
27504 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_PEN",GREEN_PEN_get
, GREEN_PEN_set
);
27505 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_PEN",BLACK_PEN_get
, BLACK_PEN_set
);
27506 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_PEN",WHITE_PEN_get
, WHITE_PEN_set
);
27507 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_PEN",TRANSPARENT_PEN_get
, TRANSPARENT_PEN_set
);
27508 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_DASHED_PEN",BLACK_DASHED_PEN_get
, BLACK_DASHED_PEN_set
);
27509 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_PEN",GREY_PEN_get
, GREY_PEN_set
);
27510 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_PEN",MEDIUM_GREY_PEN_get
, MEDIUM_GREY_PEN_set
);
27511 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_PEN",LIGHT_GREY_PEN_get
, LIGHT_GREY_PEN_set
);
27512 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE_BRUSH",BLUE_BRUSH_get
, BLUE_BRUSH_set
);
27513 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_BRUSH",GREEN_BRUSH_get
, GREEN_BRUSH_set
);
27514 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_BRUSH",WHITE_BRUSH_get
, WHITE_BRUSH_set
);
27515 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_BRUSH",BLACK_BRUSH_get
, BLACK_BRUSH_set
);
27516 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_BRUSH",TRANSPARENT_BRUSH_get
, TRANSPARENT_BRUSH_set
);
27517 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_BRUSH",CYAN_BRUSH_get
, CYAN_BRUSH_set
);
27518 SWIG_addvarlink(SWIG_globals(),(char*)"RED_BRUSH",RED_BRUSH_get
, RED_BRUSH_set
);
27519 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_BRUSH",GREY_BRUSH_get
, GREY_BRUSH_set
);
27520 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_BRUSH",MEDIUM_GREY_BRUSH_get
, MEDIUM_GREY_BRUSH_set
);
27521 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_BRUSH",LIGHT_GREY_BRUSH_get
, LIGHT_GREY_BRUSH_set
);
27522 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK",BLACK_get
, BLACK_set
);
27523 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE",WHITE_get
, WHITE_set
);
27524 SWIG_addvarlink(SWIG_globals(),(char*)"RED",RED_get
, RED_set
);
27525 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE",BLUE_get
, BLUE_set
);
27526 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN",GREEN_get
, GREEN_set
);
27527 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN",CYAN_get
, CYAN_set
);
27528 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY",LIGHT_GREY_get
, LIGHT_GREY_set
);
27529 SWIG_addvarlink(SWIG_globals(),(char*)"STANDARD_CURSOR",STANDARD_CURSOR_get
, STANDARD_CURSOR_set
);
27530 SWIG_addvarlink(SWIG_globals(),(char*)"HOURGLASS_CURSOR",HOURGLASS_CURSOR_get
, HOURGLASS_CURSOR_set
);
27531 SWIG_addvarlink(SWIG_globals(),(char*)"CROSS_CURSOR",CROSS_CURSOR_get
, CROSS_CURSOR_set
);
27532 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
27533 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
27534 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
27535 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
27536 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
27537 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
27538 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
27539 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
27540 SWIG_addvarlink(SWIG_globals(),(char*)"TheFontList",TheFontList_get
, TheFontList_set
);
27541 SWIG_addvarlink(SWIG_globals(),(char*)"ThePenList",ThePenList_get
, ThePenList_set
);
27542 SWIG_addvarlink(SWIG_globals(),(char*)"TheBrushList",TheBrushList_get
, TheBrushList_set
);
27543 SWIG_addvarlink(SWIG_globals(),(char*)"TheColourDatabase",TheColourDatabase_get
, TheColourDatabase_set
);
27544 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
27545 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
27546 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
27547 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
27548 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
27549 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
27550 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
27551 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
27552 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
27553 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
27554 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
27555 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
27556 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
27557 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
27558 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
27560 // Work around a chicken/egg problem in drawlist.cpp
27561 wxPyDrawList_SetAPIPtr();