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
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2790 wxColour temp
, *obj
= &temp
;
2791 if ( other
== Py_None
) return false;
2792 if ( ! wxColour_helper(other
, &obj
) ) {
2796 return self
->operator==(*obj
);
2798 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2799 wxColour temp
, *obj
= &temp
;
2800 if ( other
== Py_None
) return true;
2801 if ( ! wxColour_helper(other
, &obj
)) {
2805 return self
->operator!=(*obj
);
2807 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2808 PyObject
* rv
= PyTuple_New(3);
2814 green
= self
->Green();
2815 blue
= self
->Blue();
2817 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2818 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2819 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2822 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2823 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2827 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2830 int res
= SWIG_AsVal_long (obj
, &v
);
2831 if (SWIG_IsOK(res
)) {
2832 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2833 return SWIG_OverflowError
;
2835 if (val
) *val
= static_cast< int >(v
);
2842 SWIGINTERNINLINE PyObject
*
2843 SWIG_From_int (int value
)
2845 return SWIG_From_long (value
);
2848 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2850 int count
= self
->GetDashes(&dashes
);
2851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2852 PyObject
* retval
= PyList_New(0);
2853 for (int x
=0; x
<count
; x
++) {
2854 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2855 PyList_Append(retval
, pyint
);
2858 wxPyEndBlockThreads(blocked
);
2861 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2862 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2863 int size
= PyList_Size(pyDashes
);
2864 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2866 // black magic warning! The array of wxDashes needs to exist as
2867 // long as the pen does because wxPen does not copy the array. So
2868 // stick a copy in a Python string object and attach it to _self,
2869 // and then call SetDashes with a pointer to that array. Then
2870 // when the Python pen object is destroyed the array will be
2872 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2873 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2875 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2877 Py_DECREF(strDashes
);
2878 wxPyEndBlockThreads(blocked
);
2880 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2881 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2883 SWIGINTERNINLINE PyObject
*
2884 SWIG_From_short (short value
)
2886 return SWIG_From_long (value
);
2891 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2894 int res
= SWIG_AsVal_long (obj
, &v
);
2895 if (SWIG_IsOK(res
)) {
2896 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2897 return SWIG_OverflowError
;
2899 if (val
) *val
= static_cast< short >(v
);
2906 #include <wx/image.h>
2908 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2909 char** cArray
= NULL
;
2912 if (!PyList_Check(listOfStrings
)) {
2913 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2916 count
= PyList_Size(listOfStrings
);
2917 cArray
= new char*[count
];
2919 for(int x
=0; x
<count
; x
++) {
2920 // TODO: Need some validation and error checking here
2921 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2927 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2928 char** cArray
= NULL
;
2931 cArray
= ConvertListOfStrings(listOfStrings
);
2934 bmp
= new wxBitmap(cArray
);
2938 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2941 PyString_AsStringAndSize(bits
, &buf
, &length
);
2942 return new wxBitmap(buf
, width
, height
, depth
);
2944 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2945 wxSize
size(self
->GetWidth(), self
->GetHeight());
2948 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2949 wxMask
*mask
= new wxMask(*self
, colour
);
2950 self
->SetMask(mask
);
2952 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2953 self
->SetWidth(size
.x
);
2954 self
->SetHeight(size
.y
);
2956 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2957 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2958 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2960 return new wxMask(bitmap
, *wxBLACK
);
2962 return new wxMask(bitmap
, colour
);
2965 #include <wx/iconbndl.h>
2967 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2968 wxIcon
* icon
= new wxIcon();
2969 icon
->CopyFromBitmap(bmp
);
2972 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2973 char** cArray
= NULL
;
2976 cArray
= ConvertListOfStrings(listOfStrings
);
2979 icon
= new wxIcon(cArray
);
2983 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2987 return new wxIconLocation(*filename
);
2990 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2997 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3004 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3006 wxImage
img(cursorName
, type
);
3007 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3008 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3009 return new wxCursor(img
);
3011 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3016 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3019 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3020 return self
->operator bool();
3023 #include <wx/fontutil.h>
3024 #include <wx/fontmap.h>
3025 #include <wx/fontenum.h>
3027 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3028 return self
->ToString();
3031 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3032 static wxNativeEncodingInfo info
;
3033 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3040 SWIGINTERNINLINE PyObject
*
3041 SWIG_From_size_t (size_t value
)
3043 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3047 SWIGINTERNINLINE
int
3048 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3051 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3052 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3056 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3057 wxFontEncoding alt_enc
;
3058 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3059 return PyInt_FromLong(alt_enc
);
3065 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3066 wxNativeFontInfo nfi
;
3067 nfi
.FromString(info
);
3068 return new wxFont(nfi
);
3070 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3071 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3073 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3074 return wxFontBase::New(pixelSize
, family
,
3075 style
, weight
, underlined
,
3078 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3079 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3081 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3082 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3084 class wxPyFontEnumerator
: public wxFontEnumerator
{
3086 wxPyFontEnumerator() {}
3087 ~wxPyFontEnumerator() {}
3089 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3090 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3095 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3096 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3099 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3101 wxArrayString
* arr
= self
->GetEncodings();
3102 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3104 ret
= wxArrayString2PyList_helper(*arr
);
3106 ret
= PyList_New(0);
3107 wxPyEndBlockThreads(blocked
);
3110 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3112 wxArrayString
* arr
= self
->GetFacenames();
3113 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3115 ret
= wxArrayString2PyList_helper(*arr
);
3117 ret
= PyList_New(0);
3118 wxPyEndBlockThreads(blocked
);
3124 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3127 loc
= new wxLocale();
3129 loc
= new wxLocale(language
, flags
);
3130 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3131 // for the floating point conversions and such to work right.
3132 #if PY_VERSION_HEX < 0x02040000
3133 setlocale(LC_NUMERIC
, "C");
3137 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3138 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3139 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3140 // for the floating point conversions and such to work right.
3141 #if PY_VERSION_HEX < 0x02040000
3142 setlocale(LC_NUMERIC
, "C");
3146 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3147 bool rc
= self
->Init(language
, flags
);
3148 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3149 // for the floating point conversions and such to work right.
3150 #if PY_VERSION_HEX < 0x02040000
3151 setlocale(LC_NUMERIC
, "C");
3156 #include "wx/wxPython/pydrawxxx.h"
3158 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3160 self
->GetPixel(x
, y
, &col
);
3163 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3165 self
->GetPixel(pt
, &col
);
3170 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3172 if (PyNumber_Check(obj
)) {
3173 if (val
) *val
= PyFloat_AsDouble(obj
);
3176 return SWIG_TypeError
;
3179 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3181 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3184 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3186 self
->GetClippingBox(rect
);
3189 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3191 self
->GetPartialTextExtents(text
, widths
);
3195 #define SWIG_From_double PyFloat_FromDouble
3197 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3198 self
->SetLogicalOrigin(point
.x
, point
.y
);
3200 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3201 self
->SetDeviceOrigin(point
.x
, point
.y
);
3203 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3204 self
->CalcBoundingBox(point
.x
, point
.y
);
3206 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3207 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3209 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3210 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3212 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3213 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3215 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3216 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3218 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3219 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3221 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3222 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3225 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3233 #include <wx/dcbuffer.h>
3236 #include <wx/dcps.h>
3239 #include <wx/metafile.h>
3243 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3244 self
->AddColour(name
, wxColour(red
, green
, blue
));
3247 #include <wx/effects.h>
3250 #include "wx/renderer.h"
3253 SWIGINTERNINLINE PyObject
*
3254 SWIG_From_bool (bool value
)
3256 return PyBool_FromLong(value
? 1 : 0);
3262 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3263 PyObject
*resultobj
= 0;
3264 wxGDIObject
*result
= 0 ;
3266 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3268 if (!wxPyCheckForApp()) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 result
= (wxGDIObject
*)new wxGDIObject();
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3281 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3282 PyObject
*resultobj
= 0;
3283 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3286 PyObject
*swig_obj
[1] ;
3288 if (!args
) SWIG_fail
;
3290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3291 if (!SWIG_IsOK(res1
)) {
3292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3294 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= SWIG_Py_Void();
3309 SWIGINTERN PyObject
*_wrap_GDIObject_GetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3310 PyObject
*resultobj
= 0;
3311 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3315 PyObject
*swig_obj
[1] ;
3317 if (!args
) SWIG_fail
;
3319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3320 if (!SWIG_IsOK(res1
)) {
3321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_GetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3323 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 result
= (bool)(arg1
)->GetVisible();
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3339 SWIGINTERN PyObject
*_wrap_GDIObject_SetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
*resultobj
= 0;
3341 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3348 PyObject
* obj1
= 0 ;
3349 char * kwnames
[] = {
3350 (char *) "self",(char *) "visible", NULL
3353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3355 if (!SWIG_IsOK(res1
)) {
3356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_SetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3358 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3359 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
3360 if (!SWIG_IsOK(ecode2
)) {
3361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GDIObject_SetVisible" "', expected argument " "2"" of type '" "bool""'");
3363 arg2
= static_cast< bool >(val2
);
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 (arg1
)->SetVisible(arg2
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 resultobj
= SWIG_Py_Void();
3377 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3378 PyObject
*resultobj
= 0;
3379 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3383 PyObject
*swig_obj
[1] ;
3385 if (!args
) SWIG_fail
;
3387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3388 if (!SWIG_IsOK(res1
)) {
3389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3391 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 result
= (bool)(arg1
)->IsNull();
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3407 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3410 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3411 return SWIG_Py_Void();
3414 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3415 return SWIG_Python_InitShadowInstance(args
);
3418 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
= 0;
3420 byte arg1
= (byte
) 0 ;
3421 byte arg2
= (byte
) 0 ;
3422 byte arg3
= (byte
) 0 ;
3423 wxColour
*result
= 0 ;
3424 unsigned char val1
;
3426 unsigned char val2
;
3428 unsigned char val3
;
3430 PyObject
* obj0
= 0 ;
3431 PyObject
* obj1
= 0 ;
3432 PyObject
* obj2
= 0 ;
3433 char * kwnames
[] = {
3434 (char *) "red",(char *) "green",(char *) "blue", NULL
3437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3439 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3440 if (!SWIG_IsOK(ecode1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3443 arg1
= static_cast< byte
>(val1
);
3446 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3447 if (!SWIG_IsOK(ecode2
)) {
3448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3450 arg2
= static_cast< byte
>(val2
);
3453 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3454 if (!SWIG_IsOK(ecode3
)) {
3455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3457 arg3
= static_cast< byte
>(val3
);
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3472 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
= 0;
3474 wxString
*arg1
= 0 ;
3475 wxColour
*result
= 0 ;
3476 bool temp1
= false ;
3477 PyObject
* obj0
= 0 ;
3478 char * kwnames
[] = {
3479 (char *) "colorName", NULL
3482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3484 arg1
= wxString_in_helper(obj0
);
3485 if (arg1
== NULL
) SWIG_fail
;
3489 if (!wxPyCheckForApp()) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3510 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
= 0;
3512 unsigned long arg1
;
3513 wxColour
*result
= 0 ;
3514 unsigned long val1
;
3516 PyObject
* obj0
= 0 ;
3517 char * kwnames
[] = {
3518 (char *) "colRGB", NULL
3521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3522 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3523 if (!SWIG_IsOK(ecode1
)) {
3524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3526 arg1
= static_cast< unsigned long >(val1
);
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 result
= (wxColour
*)new wxColour(arg1
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3540 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3541 PyObject
*resultobj
= 0;
3542 wxColour
*arg1
= (wxColour
*) 0 ;
3545 PyObject
*swig_obj
[1] ;
3547 if (!args
) SWIG_fail
;
3549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3550 if (!SWIG_IsOK(res1
)) {
3551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3553 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3561 resultobj
= SWIG_Py_Void();
3568 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3569 PyObject
*resultobj
= 0;
3570 wxColour
*arg1
= (wxColour
*) 0 ;
3574 PyObject
*swig_obj
[1] ;
3576 if (!args
) SWIG_fail
;
3578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3579 if (!SWIG_IsOK(res1
)) {
3580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3582 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (byte
)(arg1
)->Red();
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3596 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3597 PyObject
*resultobj
= 0;
3598 wxColour
*arg1
= (wxColour
*) 0 ;
3602 PyObject
*swig_obj
[1] ;
3604 if (!args
) SWIG_fail
;
3606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3607 if (!SWIG_IsOK(res1
)) {
3608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3610 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (byte
)(arg1
)->Green();
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3624 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3625 PyObject
*resultobj
= 0;
3626 wxColour
*arg1
= (wxColour
*) 0 ;
3630 PyObject
*swig_obj
[1] ;
3632 if (!args
) SWIG_fail
;
3634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3635 if (!SWIG_IsOK(res1
)) {
3636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3638 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (byte
)(arg1
)->Blue();
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3652 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3653 PyObject
*resultobj
= 0;
3654 wxColour
*arg1
= (wxColour
*) 0 ;
3658 PyObject
*swig_obj
[1] ;
3660 if (!args
) SWIG_fail
;
3662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3663 if (!SWIG_IsOK(res1
)) {
3664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3666 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (bool)(arg1
)->Ok();
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3682 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
= 0;
3684 wxColour
*arg1
= (wxColour
*) 0 ;
3690 unsigned char val2
;
3692 unsigned char val3
;
3694 unsigned char val4
;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 PyObject
* obj2
= 0 ;
3699 PyObject
* obj3
= 0 ;
3700 char * kwnames
[] = {
3701 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3706 if (!SWIG_IsOK(res1
)) {
3707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3709 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3710 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3711 if (!SWIG_IsOK(ecode2
)) {
3712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3714 arg2
= static_cast< byte
>(val2
);
3715 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3716 if (!SWIG_IsOK(ecode3
)) {
3717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3719 arg3
= static_cast< byte
>(val3
);
3720 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3721 if (!SWIG_IsOK(ecode4
)) {
3722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3724 arg4
= static_cast< byte
>(val4
);
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 (arg1
)->Set(arg2
,arg3
,arg4
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= SWIG_Py_Void();
3738 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
= 0;
3740 wxColour
*arg1
= (wxColour
*) 0 ;
3741 unsigned long arg2
;
3744 unsigned long val2
;
3746 PyObject
* obj0
= 0 ;
3747 PyObject
* obj1
= 0 ;
3748 char * kwnames
[] = {
3749 (char *) "self",(char *) "colRGB", NULL
3752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3754 if (!SWIG_IsOK(res1
)) {
3755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3757 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3758 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3759 if (!SWIG_IsOK(ecode2
)) {
3760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3762 arg2
= static_cast< unsigned long >(val2
);
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= SWIG_Py_Void();
3776 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
= 0;
3778 wxColour
*arg1
= (wxColour
*) 0 ;
3779 wxString
*arg2
= 0 ;
3782 bool temp2
= false ;
3783 PyObject
* obj0
= 0 ;
3784 PyObject
* obj1
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "self",(char *) "colourName", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3791 if (!SWIG_IsOK(res1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3794 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3796 arg2
= wxString_in_helper(obj1
);
3797 if (arg2
== NULL
) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 (arg1
)->InitFromName((wxString
const &)*arg2
);
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_Py_Void();
3821 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3822 PyObject
*resultobj
= 0;
3823 wxColour
*arg1
= (wxColour
*) 0 ;
3827 PyObject
*swig_obj
[1] ;
3829 if (!args
) SWIG_fail
;
3831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3832 if (!SWIG_IsOK(res1
)) {
3833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3835 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= SWIG_From_long(static_cast< long >(result
));
3849 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
= 0;
3851 wxColour
*arg1
= (wxColour
*) 0 ;
3852 PyObject
*arg2
= (PyObject
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3857 PyObject
* obj1
= 0 ;
3858 char * kwnames
[] = {
3859 (char *) "self",(char *) "other", NULL
3862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3864 if (!SWIG_IsOK(res1
)) {
3865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3867 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3870 result
= (bool)wxColour___eq__(arg1
,arg2
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3882 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= 0;
3884 wxColour
*arg1
= (wxColour
*) 0 ;
3885 PyObject
*arg2
= (PyObject
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3891 char * kwnames
[] = {
3892 (char *) "self",(char *) "other", NULL
3895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3897 if (!SWIG_IsOK(res1
)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3900 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3903 result
= (bool)wxColour___ne__(arg1
,arg2
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3915 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3916 PyObject
*resultobj
= 0;
3917 wxColour
*arg1
= (wxColour
*) 0 ;
3918 PyObject
*result
= 0 ;
3921 PyObject
*swig_obj
[1] ;
3923 if (!args
) SWIG_fail
;
3925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3926 if (!SWIG_IsOK(res1
)) {
3927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3929 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (PyObject
*)wxColour_Get(arg1
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3943 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3944 PyObject
*resultobj
= 0;
3945 wxColour
*arg1
= (wxColour
*) 0 ;
3946 unsigned long result
;
3949 PyObject
*swig_obj
[1] ;
3951 if (!args
) SWIG_fail
;
3953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3954 if (!SWIG_IsOK(res1
)) {
3955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3957 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 result
= (unsigned long)wxColour_GetRGB(arg1
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3971 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3974 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3975 return SWIG_Py_Void();
3978 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3979 return SWIG_Python_InitShadowInstance(args
);
3982 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
= 0;
3985 unsigned char *arg2
= (unsigned char *) 0 ;
3986 unsigned char *arg3
= (unsigned char *) 0 ;
3987 unsigned char *arg4
= (unsigned char *) 0 ;
3988 wxPalette
*result
= 0 ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
3999 PyObject
* obj2
= 0 ;
4000 PyObject
* obj3
= 0 ;
4001 char * kwnames
[] = {
4002 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4006 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4007 if (!SWIG_IsOK(ecode1
)) {
4008 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4010 arg1
= static_cast< int >(val1
);
4011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4012 if (!SWIG_IsOK(res2
)) {
4013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4015 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4016 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4017 if (!SWIG_IsOK(res3
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4020 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4021 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4022 if (!SWIG_IsOK(res4
)) {
4023 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4025 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4027 if (!wxPyCheckForApp()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4040 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxPalette
*arg1
= (wxPalette
*) 0 ;
4045 PyObject
*swig_obj
[1] ;
4047 if (!args
) SWIG_fail
;
4049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4050 if (!SWIG_IsOK(res1
)) {
4051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4053 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_Py_Void();
4068 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
= 0;
4070 wxPalette
*arg1
= (wxPalette
*) 0 ;
4077 unsigned char val2
;
4079 unsigned char val3
;
4081 unsigned char val4
;
4083 PyObject
* obj0
= 0 ;
4084 PyObject
* obj1
= 0 ;
4085 PyObject
* obj2
= 0 ;
4086 PyObject
* obj3
= 0 ;
4087 char * kwnames
[] = {
4088 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4093 if (!SWIG_IsOK(res1
)) {
4094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4096 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4097 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4098 if (!SWIG_IsOK(ecode2
)) {
4099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4101 arg2
= static_cast< byte
>(val2
);
4102 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4103 if (!SWIG_IsOK(ecode3
)) {
4104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4106 arg3
= static_cast< byte
>(val3
);
4107 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4108 if (!SWIG_IsOK(ecode4
)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4111 arg4
= static_cast< byte
>(val4
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_From_int(static_cast< int >(result
));
4125 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
= 0;
4127 wxPalette
*arg1
= (wxPalette
*) 0 ;
4129 byte
*arg3
= (byte
*) 0 ;
4130 byte
*arg4
= (byte
*) 0 ;
4131 byte
*arg5
= (byte
*) 0 ;
4138 int res3
= SWIG_TMPOBJ
;
4140 int res4
= SWIG_TMPOBJ
;
4142 int res5
= SWIG_TMPOBJ
;
4143 PyObject
* obj0
= 0 ;
4144 PyObject
* obj1
= 0 ;
4145 char * kwnames
[] = {
4146 (char *) "self",(char *) "pixel", NULL
4152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4154 if (!SWIG_IsOK(res1
)) {
4155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4157 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4159 if (!SWIG_IsOK(ecode2
)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4162 arg2
= static_cast< int >(val2
);
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4172 if (SWIG_IsTmpObj(res3
)) {
4173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4175 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4178 if (SWIG_IsTmpObj(res4
)) {
4179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4181 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4184 if (SWIG_IsTmpObj(res5
)) {
4185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4187 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4196 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4197 PyObject
*resultobj
= 0;
4198 wxPalette
*arg1
= (wxPalette
*) 0 ;
4202 PyObject
*swig_obj
[1] ;
4204 if (!args
) SWIG_fail
;
4206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4207 if (!SWIG_IsOK(res1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4210 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 resultobj
= SWIG_From_int(static_cast< int >(result
));
4224 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4225 PyObject
*resultobj
= 0;
4226 wxPalette
*arg1
= (wxPalette
*) 0 ;
4230 PyObject
*swig_obj
[1] ;
4232 if (!args
) SWIG_fail
;
4234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4235 if (!SWIG_IsOK(res1
)) {
4236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4238 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (bool)(arg1
)->Ok();
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4254 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4257 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4258 return SWIG_Py_Void();
4261 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4262 return SWIG_Python_InitShadowInstance(args
);
4265 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
= 0;
4267 wxColour
*arg1
= 0 ;
4268 int arg2
= (int) 1 ;
4269 int arg3
= (int) wxSOLID
;
4276 PyObject
* obj0
= 0 ;
4277 PyObject
* obj1
= 0 ;
4278 PyObject
* obj2
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "colour",(char *) "width",(char *) "style", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4286 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4290 if (!SWIG_IsOK(ecode2
)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4293 arg2
= static_cast< int >(val2
);
4296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4297 if (!SWIG_IsOK(ecode3
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4300 arg3
= static_cast< int >(val3
);
4303 if (!wxPyCheckForApp()) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4316 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4317 PyObject
*resultobj
= 0;
4318 wxPen
*arg1
= (wxPen
*) 0 ;
4321 PyObject
*swig_obj
[1] ;
4323 if (!args
) SWIG_fail
;
4325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4326 if (!SWIG_IsOK(res1
)) {
4327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4329 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4344 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4345 PyObject
*resultobj
= 0;
4346 wxPen
*arg1
= (wxPen
*) 0 ;
4350 PyObject
*swig_obj
[1] ;
4352 if (!args
) SWIG_fail
;
4354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4355 if (!SWIG_IsOK(res1
)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4358 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (int)(arg1
)->GetCap();
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= SWIG_From_int(static_cast< int >(result
));
4372 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4373 PyObject
*resultobj
= 0;
4374 wxPen
*arg1
= (wxPen
*) 0 ;
4378 PyObject
*swig_obj
[1] ;
4380 if (!args
) SWIG_fail
;
4382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4383 if (!SWIG_IsOK(res1
)) {
4384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4386 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (arg1
)->GetColour();
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4400 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4401 PyObject
*resultobj
= 0;
4402 wxPen
*arg1
= (wxPen
*) 0 ;
4406 PyObject
*swig_obj
[1] ;
4408 if (!args
) SWIG_fail
;
4410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4411 if (!SWIG_IsOK(res1
)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4414 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (int)(arg1
)->GetJoin();
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_From_int(static_cast< int >(result
));
4428 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4429 PyObject
*resultobj
= 0;
4430 wxPen
*arg1
= (wxPen
*) 0 ;
4434 PyObject
*swig_obj
[1] ;
4436 if (!args
) SWIG_fail
;
4438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4439 if (!SWIG_IsOK(res1
)) {
4440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4442 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= (int)(arg1
)->GetStyle();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_From_int(static_cast< int >(result
));
4456 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4457 PyObject
*resultobj
= 0;
4458 wxPen
*arg1
= (wxPen
*) 0 ;
4462 PyObject
*swig_obj
[1] ;
4464 if (!args
) SWIG_fail
;
4466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4467 if (!SWIG_IsOK(res1
)) {
4468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4470 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (int)(arg1
)->GetWidth();
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 resultobj
= SWIG_From_int(static_cast< int >(result
));
4484 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4485 PyObject
*resultobj
= 0;
4486 wxPen
*arg1
= (wxPen
*) 0 ;
4490 PyObject
*swig_obj
[1] ;
4492 if (!args
) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4498 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 result
= (bool)(arg1
)->Ok();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4514 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
= 0;
4516 wxPen
*arg1
= (wxPen
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4523 PyObject
* obj1
= 0 ;
4524 char * kwnames
[] = {
4525 (char *) "self",(char *) "cap_style", NULL
4528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4530 if (!SWIG_IsOK(res1
)) {
4531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4533 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4535 if (!SWIG_IsOK(ecode2
)) {
4536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4538 arg2
= static_cast< int >(val2
);
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 (arg1
)->SetCap(arg2
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= SWIG_Py_Void();
4552 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
= 0;
4554 wxPen
*arg1
= (wxPen
*) 0 ;
4555 wxColour
*arg2
= 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4561 char * kwnames
[] = {
4562 (char *) "self",(char *) "colour", NULL
4565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4567 if (!SWIG_IsOK(res1
)) {
4568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4570 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 (arg1
)->SetColour(*arg2
);
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4581 resultobj
= SWIG_Py_Void();
4588 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
= 0;
4590 wxPen
*arg1
= (wxPen
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4597 PyObject
* obj1
= 0 ;
4598 char * kwnames
[] = {
4599 (char *) "self",(char *) "join_style", NULL
4602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4604 if (!SWIG_IsOK(res1
)) {
4605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4607 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4609 if (!SWIG_IsOK(ecode2
)) {
4610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4612 arg2
= static_cast< int >(val2
);
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 (arg1
)->SetJoin(arg2
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_Py_Void();
4626 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
= 0;
4628 wxPen
*arg1
= (wxPen
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4636 char * kwnames
[] = {
4637 (char *) "self",(char *) "style", NULL
4640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4642 if (!SWIG_IsOK(res1
)) {
4643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4645 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4647 if (!SWIG_IsOK(ecode2
)) {
4648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4650 arg2
= static_cast< int >(val2
);
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 (arg1
)->SetStyle(arg2
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_Py_Void();
4664 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxPen
*arg1
= (wxPen
*) 0 ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "self",(char *) "width", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4683 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4685 if (!SWIG_IsOK(ecode2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4688 arg2
= static_cast< int >(val2
);
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 (arg1
)->SetWidth(arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= SWIG_Py_Void();
4702 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
= 0;
4704 wxPen
*arg1
= (wxPen
*) 0 ;
4706 wxDash
*arg3
= (wxDash
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4711 char * kwnames
[] = {
4712 (char *) "self",(char *) "dashes", NULL
4715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4717 if (!SWIG_IsOK(res1
)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4720 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4722 arg2
= PyList_Size(obj1
);
4723 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4724 if (arg3
== NULL
) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 (arg1
)->SetDashes(arg2
,arg3
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_Py_Void();
4734 if (arg3
) delete [] arg3
;
4739 if (arg3
) delete [] arg3
;
4745 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4746 PyObject
*resultobj
= 0;
4747 wxPen
*arg1
= (wxPen
*) 0 ;
4748 PyObject
*result
= 0 ;
4751 PyObject
*swig_obj
[1] ;
4753 if (!args
) SWIG_fail
;
4755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4756 if (!SWIG_IsOK(res1
)) {
4757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4759 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4773 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
= 0;
4775 wxPen
*arg1
= (wxPen
*) 0 ;
4776 PyObject
*arg2
= (PyObject
*) 0 ;
4777 PyObject
*arg3
= (PyObject
*) 0 ;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4782 PyObject
* obj2
= 0 ;
4783 char * kwnames
[] = {
4784 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4792 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 wxPen__SetDashes(arg1
,arg2
,arg3
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_Py_Void();
4808 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
= 0;
4810 wxPen
*arg1
= (wxPen
*) 0 ;
4811 wxPen
*arg2
= (wxPen
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4819 char * kwnames
[] = {
4820 (char *) "self",(char *) "other", NULL
4823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4828 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4829 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4830 if (!SWIG_IsOK(res2
)) {
4831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4833 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4849 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
= 0;
4851 wxPen
*arg1
= (wxPen
*) 0 ;
4852 wxPen
*arg2
= (wxPen
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 char * kwnames
[] = {
4861 (char *) "self",(char *) "other", NULL
4864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4869 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4871 if (!SWIG_IsOK(res2
)) {
4872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4874 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4890 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4893 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4894 return SWIG_Py_Void();
4897 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4898 return SWIG_Python_InitShadowInstance(args
);
4901 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
= 0;
4903 wxColour
*arg1
= 0 ;
4904 int arg2
= (int) wxSOLID
;
4905 wxBrush
*result
= 0 ;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4911 char * kwnames
[] = {
4912 (char *) "colour",(char *) "style", NULL
4915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4918 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4922 if (!SWIG_IsOK(ecode2
)) {
4923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4925 arg2
= static_cast< int >(val2
);
4928 if (!wxPyCheckForApp()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4941 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
= 0;
4943 wxBitmap
*arg1
= 0 ;
4944 wxBrush
*result
= 0 ;
4947 PyObject
* obj0
= 0 ;
4948 char * kwnames
[] = {
4949 (char *) "stippleBitmap", NULL
4952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4953 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4954 if (!SWIG_IsOK(res1
)) {
4955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4960 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4962 if (!wxPyCheckForApp()) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4975 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4976 PyObject
*resultobj
= 0;
4977 wxBrush
*arg1
= (wxBrush
*) 0 ;
4980 PyObject
*swig_obj
[1] ;
4982 if (!args
) SWIG_fail
;
4984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4985 if (!SWIG_IsOK(res1
)) {
4986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
4988 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= SWIG_Py_Void();
5003 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
= 0;
5005 wxBrush
*arg1
= (wxBrush
*) 0 ;
5006 wxColour
*arg2
= 0 ;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5012 char * kwnames
[] = {
5013 (char *) "self",(char *) "col", NULL
5016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5018 if (!SWIG_IsOK(res1
)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5021 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 (arg1
)->SetColour((wxColour
const &)*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 resultobj
= SWIG_Py_Void();
5039 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
= 0;
5041 wxBrush
*arg1
= (wxBrush
*) 0 ;
5047 PyObject
* obj0
= 0 ;
5048 PyObject
* obj1
= 0 ;
5049 char * kwnames
[] = {
5050 (char *) "self",(char *) "style", NULL
5053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5055 if (!SWIG_IsOK(res1
)) {
5056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5058 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5060 if (!SWIG_IsOK(ecode2
)) {
5061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5063 arg2
= static_cast< int >(val2
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 (arg1
)->SetStyle(arg2
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= SWIG_Py_Void();
5077 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
= 0;
5079 wxBrush
*arg1
= (wxBrush
*) 0 ;
5080 wxBitmap
*arg2
= 0 ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 char * kwnames
[] = {
5088 (char *) "self",(char *) "stipple", NULL
5091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5093 if (!SWIG_IsOK(res1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5096 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5098 if (!SWIG_IsOK(res2
)) {
5099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5104 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= SWIG_Py_Void();
5118 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5119 PyObject
*resultobj
= 0;
5120 wxBrush
*arg1
= (wxBrush
*) 0 ;
5124 PyObject
*swig_obj
[1] ;
5126 if (!args
) SWIG_fail
;
5128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5129 if (!SWIG_IsOK(res1
)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5132 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= ((wxBrush
const *)arg1
)->GetColour();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5146 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5147 PyObject
*resultobj
= 0;
5148 wxBrush
*arg1
= (wxBrush
*) 0 ;
5152 PyObject
*swig_obj
[1] ;
5154 if (!args
) SWIG_fail
;
5156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5157 if (!SWIG_IsOK(res1
)) {
5158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5160 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_From_int(static_cast< int >(result
));
5174 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5175 PyObject
*resultobj
= 0;
5176 wxBrush
*arg1
= (wxBrush
*) 0 ;
5177 wxBitmap
*result
= 0 ;
5180 PyObject
*swig_obj
[1] ;
5182 if (!args
) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5188 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5202 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5203 PyObject
*resultobj
= 0;
5204 wxBrush
*arg1
= (wxBrush
*) 0 ;
5208 PyObject
*swig_obj
[1] ;
5210 if (!args
) SWIG_fail
;
5212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5213 if (!SWIG_IsOK(res1
)) {
5214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5216 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5232 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5233 PyObject
*resultobj
= 0;
5234 wxBrush
*arg1
= (wxBrush
*) 0 ;
5238 PyObject
*swig_obj
[1] ;
5240 if (!args
) SWIG_fail
;
5242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5243 if (!SWIG_IsOK(res1
)) {
5244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5246 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= (bool)(arg1
)->Ok();
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5262 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5263 PyObject
*resultobj
= 0;
5264 wxBrush
*arg1
= (wxBrush
*) 0 ;
5268 PyObject
*swig_obj
[1] ;
5270 if (!args
) SWIG_fail
;
5272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5273 if (!SWIG_IsOK(res1
)) {
5274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5276 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (short)(arg1
)->MacGetTheme();
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_From_short(static_cast< short >(result
));
5290 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
= 0;
5292 wxBrush
*arg1
= (wxBrush
*) 0 ;
5298 PyObject
* obj0
= 0 ;
5299 PyObject
* obj1
= 0 ;
5300 char * kwnames
[] = {
5301 (char *) "self",(char *) "macThemeBrush", NULL
5304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5306 if (!SWIG_IsOK(res1
)) {
5307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5309 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5310 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5311 if (!SWIG_IsOK(ecode2
)) {
5312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5314 arg2
= static_cast< short >(val2
);
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 (arg1
)->MacSetTheme(arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= SWIG_Py_Void();
5328 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5331 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5332 return SWIG_Py_Void();
5335 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5336 return SWIG_Python_InitShadowInstance(args
);
5339 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
= 0;
5341 wxString
*arg1
= 0 ;
5342 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5343 wxBitmap
*result
= 0 ;
5344 bool temp1
= false ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5349 char * kwnames
[] = {
5350 (char *) "name",(char *) "type", NULL
5353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5355 arg1
= wxString_in_helper(obj0
);
5356 if (arg1
== NULL
) SWIG_fail
;
5360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5361 if (!SWIG_IsOK(ecode2
)) {
5362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5364 arg2
= static_cast< wxBitmapType
>(val2
);
5367 if (!wxPyCheckForApp()) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5388 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5389 PyObject
*resultobj
= 0;
5390 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5393 PyObject
*swig_obj
[1] ;
5395 if (!args
) SWIG_fail
;
5397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5398 if (!SWIG_IsOK(res1
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
= 0;
5420 int arg3
= (int) -1 ;
5421 wxBitmap
*result
= 0 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 PyObject
* obj2
= 0 ;
5431 char * kwnames
[] = {
5432 (char *) "width",(char *) "height",(char *) "depth", NULL
5435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5437 if (!SWIG_IsOK(ecode1
)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5440 arg1
= static_cast< int >(val1
);
5441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5442 if (!SWIG_IsOK(ecode2
)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5445 arg2
= static_cast< int >(val2
);
5447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5448 if (!SWIG_IsOK(ecode3
)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5451 arg3
= static_cast< int >(val3
);
5454 if (!wxPyCheckForApp()) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5467 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
= 0;
5470 wxBitmap
*result
= 0 ;
5473 PyObject
* obj0
= 0 ;
5474 char * kwnames
[] = {
5475 (char *) "icon", NULL
5478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5479 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5480 if (!SWIG_IsOK(res1
)) {
5481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5486 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5488 if (!wxPyCheckForApp()) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5501 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
= 0;
5504 int arg2
= (int) -1 ;
5505 wxBitmap
*result
= 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5512 char * kwnames
[] = {
5513 (char *) "image",(char *) "depth", NULL
5516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5517 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5518 if (!SWIG_IsOK(res1
)) {
5519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5524 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5527 if (!SWIG_IsOK(ecode2
)) {
5528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5530 arg2
= static_cast< int >(val2
);
5533 if (!wxPyCheckForApp()) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5546 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
= 0;
5548 PyObject
*arg1
= (PyObject
*) 0 ;
5549 wxBitmap
*result
= 0 ;
5550 PyObject
* obj0
= 0 ;
5551 char * kwnames
[] = {
5552 (char *) "listOfStrings", NULL
5555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5558 if (!wxPyCheckForApp()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5571 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
= 0;
5573 PyObject
*arg1
= (PyObject
*) 0 ;
5576 int arg4
= (int) 1 ;
5577 wxBitmap
*result
= 0 ;
5584 PyObject
* obj0
= 0 ;
5585 PyObject
* obj1
= 0 ;
5586 PyObject
* obj2
= 0 ;
5587 PyObject
* obj3
= 0 ;
5588 char * kwnames
[] = {
5589 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5595 if (!SWIG_IsOK(ecode2
)) {
5596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5598 arg2
= static_cast< int >(val2
);
5599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5600 if (!SWIG_IsOK(ecode3
)) {
5601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5603 arg3
= static_cast< int >(val3
);
5605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5606 if (!SWIG_IsOK(ecode4
)) {
5607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5609 arg4
= static_cast< int >(val4
);
5612 if (!wxPyCheckForApp()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5625 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5626 PyObject
*resultobj
= 0;
5627 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5631 PyObject
*swig_obj
[1] ;
5633 if (!args
) SWIG_fail
;
5635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5636 if (!SWIG_IsOK(res1
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5639 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->Ok();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (int)(arg1
)->GetWidth();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_From_int(static_cast< int >(result
));
5683 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5684 PyObject
*resultobj
= 0;
5685 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5689 PyObject
*swig_obj
[1] ;
5691 if (!args
) SWIG_fail
;
5693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5694 if (!SWIG_IsOK(res1
)) {
5695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5697 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (int)(arg1
)->GetHeight();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_From_int(static_cast< int >(result
));
5711 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 PyObject
*resultobj
= 0;
5713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5717 PyObject
*swig_obj
[1] ;
5719 if (!args
) SWIG_fail
;
5721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5722 if (!SWIG_IsOK(res1
)) {
5723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5725 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (int)(arg1
)->GetDepth();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_From_int(static_cast< int >(result
));
5739 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5740 PyObject
*resultobj
= 0;
5741 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5745 PyObject
*swig_obj
[1] ;
5747 if (!args
) SWIG_fail
;
5749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5750 if (!SWIG_IsOK(res1
)) {
5751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5753 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= wxBitmap_GetSize(arg1
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5767 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5768 PyObject
*resultobj
= 0;
5769 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5770 SwigValueWrapper
<wxImage
> result
;
5773 PyObject
*swig_obj
[1] ;
5775 if (!args
) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5781 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5795 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5798 wxMask
*result
= 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5809 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5823 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
= 0;
5825 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5826 wxMask
*arg2
= (wxMask
*) 0 ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5832 char * kwnames
[] = {
5833 (char *) "self",(char *) "mask", NULL
5836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5838 if (!SWIG_IsOK(res1
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5841 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5842 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5843 if (!SWIG_IsOK(res2
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 (arg1
)->SetMask(arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= SWIG_Py_Void();
5859 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
= 0;
5861 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5862 wxColour
*arg2
= 0 ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5868 char * kwnames
[] = {
5869 (char *) "self",(char *) "colour", NULL
5872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5874 if (!SWIG_IsOK(res1
)) {
5875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5877 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_Py_Void();
5895 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
= 0;
5897 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5899 SwigValueWrapper
<wxBitmap
> result
;
5903 PyObject
* obj0
= 0 ;
5904 PyObject
* obj1
= 0 ;
5905 char * kwnames
[] = {
5906 (char *) "self",(char *) "rect", NULL
5909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5911 if (!SWIG_IsOK(res1
)) {
5912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5914 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5917 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5932 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5934 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5935 wxString
*arg2
= 0 ;
5937 wxPalette
*arg4
= (wxPalette
*) NULL
;
5941 bool temp2
= false ;
5946 PyObject
* obj0
= 0 ;
5947 PyObject
* obj1
= 0 ;
5948 PyObject
* obj2
= 0 ;
5949 PyObject
* obj3
= 0 ;
5950 char * kwnames
[] = {
5951 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5956 if (!SWIG_IsOK(res1
)) {
5957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5959 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5961 arg2
= wxString_in_helper(obj1
);
5962 if (arg2
== NULL
) SWIG_fail
;
5965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5966 if (!SWIG_IsOK(ecode3
)) {
5967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5969 arg3
= static_cast< wxBitmapType
>(val3
);
5971 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5972 if (!SWIG_IsOK(res4
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5975 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6000 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
= 0;
6002 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6003 wxString
*arg2
= 0 ;
6008 bool temp2
= false ;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6013 PyObject
* obj2
= 0 ;
6014 char * kwnames
[] = {
6015 (char *) "self",(char *) "name",(char *) "type", NULL
6018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6023 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6025 arg2
= wxString_in_helper(obj1
);
6026 if (arg2
== NULL
) SWIG_fail
;
6029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6030 if (!SWIG_IsOK(ecode3
)) {
6031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6033 arg3
= static_cast< wxBitmapType
>(val3
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6057 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6058 PyObject
*resultobj
= 0;
6059 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6060 wxPalette
*result
= 0 ;
6063 PyObject
*swig_obj
[1] ;
6065 if (!args
) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6071 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6085 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
= 0;
6087 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6096 char * kwnames
[] = {
6097 (char *) "self",(char *) "icon", NULL
6100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6105 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6107 if (!SWIG_IsOK(res2
)) {
6108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6113 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6129 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
= 0;
6131 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6139 char * kwnames
[] = {
6140 (char *) "self",(char *) "height", NULL
6143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6145 if (!SWIG_IsOK(res1
)) {
6146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6148 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6150 if (!SWIG_IsOK(ecode2
)) {
6151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6153 arg2
= static_cast< int >(val2
);
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 (arg1
)->SetHeight(arg2
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= SWIG_Py_Void();
6167 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
= 0;
6169 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6175 PyObject
* obj0
= 0 ;
6176 PyObject
* obj1
= 0 ;
6177 char * kwnames
[] = {
6178 (char *) "self",(char *) "width", NULL
6181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6183 if (!SWIG_IsOK(res1
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6186 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6188 if (!SWIG_IsOK(ecode2
)) {
6189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6191 arg2
= static_cast< int >(val2
);
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 (arg1
)->SetWidth(arg2
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= SWIG_Py_Void();
6205 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
= 0;
6207 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6213 PyObject
* obj0
= 0 ;
6214 PyObject
* obj1
= 0 ;
6215 char * kwnames
[] = {
6216 (char *) "self",(char *) "depth", NULL
6219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6221 if (!SWIG_IsOK(res1
)) {
6222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6224 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6226 if (!SWIG_IsOK(ecode2
)) {
6227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6229 arg2
= static_cast< int >(val2
);
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 (arg1
)->SetDepth(arg2
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= SWIG_Py_Void();
6243 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
= 0;
6245 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6252 char * kwnames
[] = {
6253 (char *) "self",(char *) "size", NULL
6256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6258 if (!SWIG_IsOK(res1
)) {
6259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6261 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6264 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_Py_Void();
6279 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
= 0;
6281 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6282 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "self",(char *) "other", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6299 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6301 if (!SWIG_IsOK(res2
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6320 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
= 0;
6322 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6323 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 char * kwnames
[] = {
6332 (char *) "self",(char *) "other", NULL
6335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6337 if (!SWIG_IsOK(res1
)) {
6338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6340 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6341 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6342 if (!SWIG_IsOK(res2
)) {
6343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6361 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6364 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6365 return SWIG_Py_Void();
6368 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6369 return SWIG_Python_InitShadowInstance(args
);
6372 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
= 0;
6374 wxBitmap
*arg1
= 0 ;
6375 wxColour
const &arg2_defvalue
= wxNullColour
;
6376 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6377 wxMask
*result
= 0 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 char * kwnames
[] = {
6384 (char *) "bitmap",(char *) "colour", NULL
6387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6388 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6389 if (!SWIG_IsOK(res1
)) {
6390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6395 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6403 if (!wxPyCheckForApp()) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6416 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6417 PyObject
*resultobj
= 0;
6418 wxMask
*arg1
= (wxMask
*) 0 ;
6421 PyObject
*swig_obj
[1] ;
6423 if (!args
) SWIG_fail
;
6425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6426 if (!SWIG_IsOK(res1
)) {
6427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6429 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= SWIG_Py_Void();
6444 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6447 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6448 return SWIG_Py_Void();
6451 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6452 return SWIG_Python_InitShadowInstance(args
);
6455 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxString
*arg1
= 0 ;
6459 int arg3
= (int) -1 ;
6460 int arg4
= (int) -1 ;
6461 wxIcon
*result
= 0 ;
6462 bool temp1
= false ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 PyObject
* obj2
= 0 ;
6472 PyObject
* obj3
= 0 ;
6473 char * kwnames
[] = {
6474 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6479 arg1
= wxString_in_helper(obj0
);
6480 if (arg1
== NULL
) SWIG_fail
;
6483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6484 if (!SWIG_IsOK(ecode2
)) {
6485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6487 arg2
= static_cast< wxBitmapType
>(val2
);
6489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6490 if (!SWIG_IsOK(ecode3
)) {
6491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6493 arg3
= static_cast< int >(val3
);
6496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6497 if (!SWIG_IsOK(ecode4
)) {
6498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6500 arg4
= static_cast< int >(val4
);
6503 if (!wxPyCheckForApp()) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6524 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6525 PyObject
*resultobj
= 0;
6526 wxIcon
*arg1
= (wxIcon
*) 0 ;
6529 PyObject
*swig_obj
[1] ;
6531 if (!args
) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6537 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_Py_Void();
6552 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6553 PyObject
*resultobj
= 0;
6554 wxIcon
*result
= 0 ;
6556 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6558 if (!wxPyCheckForApp()) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (wxIcon
*)new wxIcon();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6571 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
= 0;
6573 wxIconLocation
*arg1
= 0 ;
6574 wxIcon
*result
= 0 ;
6577 PyObject
* obj0
= 0 ;
6578 char * kwnames
[] = {
6579 (char *) "loc", NULL
6582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6583 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6584 if (!SWIG_IsOK(res1
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6590 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6592 if (!wxPyCheckForApp()) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6605 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
= 0;
6607 wxBitmap
*arg1
= 0 ;
6608 wxIcon
*result
= 0 ;
6611 PyObject
* obj0
= 0 ;
6612 char * kwnames
[] = {
6613 (char *) "bmp", NULL
6616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6624 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6626 if (!wxPyCheckForApp()) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6639 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
= 0;
6641 PyObject
*arg1
= (PyObject
*) 0 ;
6642 wxIcon
*result
= 0 ;
6643 PyObject
* obj0
= 0 ;
6644 char * kwnames
[] = {
6645 (char *) "listOfStrings", NULL
6648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6651 if (!wxPyCheckForApp()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (wxIcon
*)new_wxIcon(arg1
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6664 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6665 PyObject
*resultobj
= 0;
6666 wxIcon
*arg1
= (wxIcon
*) 0 ;
6670 PyObject
*swig_obj
[1] ;
6672 if (!args
) SWIG_fail
;
6674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6675 if (!SWIG_IsOK(res1
)) {
6676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6678 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (bool)(arg1
)->Ok();
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6694 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6695 PyObject
*resultobj
= 0;
6696 wxIcon
*arg1
= (wxIcon
*) 0 ;
6700 PyObject
*swig_obj
[1] ;
6702 if (!args
) SWIG_fail
;
6704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6705 if (!SWIG_IsOK(res1
)) {
6706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6708 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (int)(arg1
)->GetWidth();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_From_int(static_cast< int >(result
));
6722 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 PyObject
*resultobj
= 0;
6724 wxIcon
*arg1
= (wxIcon
*) 0 ;
6728 PyObject
*swig_obj
[1] ;
6730 if (!args
) SWIG_fail
;
6732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6733 if (!SWIG_IsOK(res1
)) {
6734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6736 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 result
= (int)(arg1
)->GetHeight();
6740 wxPyEndAllowThreads(__tstate
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= SWIG_From_int(static_cast< int >(result
));
6750 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6751 PyObject
*resultobj
= 0;
6752 wxIcon
*arg1
= (wxIcon
*) 0 ;
6756 PyObject
*swig_obj
[1] ;
6758 if (!args
) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6764 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (int)(arg1
)->GetDepth();
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_From_int(static_cast< int >(result
));
6778 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
= 0;
6780 wxIcon
*arg1
= (wxIcon
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6787 PyObject
* obj1
= 0 ;
6788 char * kwnames
[] = {
6789 (char *) "self",(char *) "w", NULL
6792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6794 if (!SWIG_IsOK(res1
)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6797 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6799 if (!SWIG_IsOK(ecode2
)) {
6800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6802 arg2
= static_cast< int >(val2
);
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 (arg1
)->SetWidth(arg2
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_Py_Void();
6816 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
= 0;
6818 wxIcon
*arg1
= (wxIcon
*) 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6826 char * kwnames
[] = {
6827 (char *) "self",(char *) "h", NULL
6830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6832 if (!SWIG_IsOK(res1
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6835 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6837 if (!SWIG_IsOK(ecode2
)) {
6838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6840 arg2
= static_cast< int >(val2
);
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 (arg1
)->SetHeight(arg2
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_Py_Void();
6854 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxIcon
*arg1
= (wxIcon
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "d", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6873 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6875 if (!SWIG_IsOK(ecode2
)) {
6876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6878 arg2
= static_cast< int >(val2
);
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 (arg1
)->SetDepth(arg2
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_Py_Void();
6892 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= 0;
6894 wxIcon
*arg1
= (wxIcon
*) 0 ;
6895 wxBitmap
*arg2
= 0 ;
6900 PyObject
* obj0
= 0 ;
6901 PyObject
* obj1
= 0 ;
6902 char * kwnames
[] = {
6903 (char *) "self",(char *) "bmp", NULL
6906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6908 if (!SWIG_IsOK(res1
)) {
6909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6911 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6913 if (!SWIG_IsOK(res2
)) {
6914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6919 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_Py_Void();
6933 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6936 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6937 return SWIG_Py_Void();
6940 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6941 return SWIG_Python_InitShadowInstance(args
);
6944 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
= 0;
6946 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6947 int arg2
= (int) 0 ;
6948 wxIconLocation
*result
= 0 ;
6949 bool temp1
= false ;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6954 char * kwnames
[] = {
6955 (char *) "filename",(char *) "num", NULL
6958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6961 arg1
= wxString_in_helper(obj0
);
6962 if (arg1
== NULL
) SWIG_fail
;
6967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6968 if (!SWIG_IsOK(ecode2
)) {
6969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6971 arg2
= static_cast< int >(val2
);
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6994 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6995 PyObject
*resultobj
= 0;
6996 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6999 PyObject
*swig_obj
[1] ;
7001 if (!args
) SWIG_fail
;
7003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7004 if (!SWIG_IsOK(res1
)) {
7005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7007 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_Py_Void();
7022 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7023 PyObject
*resultobj
= 0;
7024 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7028 PyObject
*swig_obj
[1] ;
7030 if (!args
) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7036 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7052 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
= 0;
7054 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7055 wxString
*arg2
= 0 ;
7058 bool temp2
= false ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 char * kwnames
[] = {
7062 (char *) "self",(char *) "filename", NULL
7065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7067 if (!SWIG_IsOK(res1
)) {
7068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7070 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7072 arg2
= wxString_in_helper(obj1
);
7073 if (arg2
== NULL
) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 (arg1
)->SetFileName((wxString
const &)*arg2
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_Py_Void();
7097 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7098 PyObject
*resultobj
= 0;
7099 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7100 wxString
*result
= 0 ;
7103 PyObject
*swig_obj
[1] ;
7105 if (!args
) SWIG_fail
;
7107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7108 if (!SWIG_IsOK(res1
)) {
7109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7111 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7116 result
= (wxString
*) &_result_ref
;
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7134 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
= 0;
7136 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7144 char * kwnames
[] = {
7145 (char *) "self",(char *) "num", NULL
7148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7150 if (!SWIG_IsOK(res1
)) {
7151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7153 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7155 if (!SWIG_IsOK(ecode2
)) {
7156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7158 arg2
= static_cast< int >(val2
);
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 wxIconLocation_SetIndex(arg1
,arg2
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_Py_Void();
7172 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7173 PyObject
*resultobj
= 0;
7174 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7178 PyObject
*swig_obj
[1] ;
7180 if (!args
) SWIG_fail
;
7182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7183 if (!SWIG_IsOK(res1
)) {
7184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7186 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (int)wxIconLocation_GetIndex(arg1
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_From_int(static_cast< int >(result
));
7200 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7203 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7204 return SWIG_Py_Void();
7207 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7208 return SWIG_Python_InitShadowInstance(args
);
7211 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7212 PyObject
*resultobj
= 0;
7213 wxIconBundle
*result
= 0 ;
7215 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (wxIconBundle
*)new wxIconBundle();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7229 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
= 0;
7231 wxString
*arg1
= 0 ;
7233 wxIconBundle
*result
= 0 ;
7234 bool temp1
= false ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7239 char * kwnames
[] = {
7240 (char *) "file",(char *) "type", NULL
7243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7245 arg1
= wxString_in_helper(obj0
);
7246 if (arg1
== NULL
) SWIG_fail
;
7249 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7250 if (!SWIG_IsOK(ecode2
)) {
7251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7253 arg2
= static_cast< long >(val2
);
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7275 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= 0;
7278 wxIconBundle
*result
= 0 ;
7281 PyObject
* obj0
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "icon", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7294 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7308 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7309 PyObject
*resultobj
= 0;
7310 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7313 PyObject
*swig_obj
[1] ;
7315 if (!args
) SWIG_fail
;
7317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7318 if (!SWIG_IsOK(res1
)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7321 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= SWIG_Py_Void();
7336 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
= 0;
7338 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7344 PyObject
* obj0
= 0 ;
7345 PyObject
* obj1
= 0 ;
7346 char * kwnames
[] = {
7347 (char *) "self",(char *) "icon", NULL
7350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7352 if (!SWIG_IsOK(res1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7355 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7357 if (!SWIG_IsOK(res2
)) {
7358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7363 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_Py_Void();
7377 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
= 0;
7379 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7380 wxString
*arg2
= 0 ;
7384 bool temp2
= false ;
7387 PyObject
* obj0
= 0 ;
7388 PyObject
* obj1
= 0 ;
7389 PyObject
* obj2
= 0 ;
7390 char * kwnames
[] = {
7391 (char *) "self",(char *) "file",(char *) "type", NULL
7394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7396 if (!SWIG_IsOK(res1
)) {
7397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7399 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7401 arg2
= wxString_in_helper(obj1
);
7402 if (arg2
== NULL
) SWIG_fail
;
7405 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7406 if (!SWIG_IsOK(ecode3
)) {
7407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7409 arg3
= static_cast< long >(val3
);
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_Py_Void();
7431 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
= 0;
7433 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7435 wxIcon
*result
= 0 ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7441 char * kwnames
[] = {
7442 (char *) "self",(char *) "size", NULL
7445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7447 if (!SWIG_IsOK(res1
)) {
7448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7450 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7459 result
= (wxIcon
*) &_result_ref
;
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 wxIcon
* resultptr
= new wxIcon(*result
);
7466 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7474 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7477 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7478 return SWIG_Py_Void();
7481 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7482 return SWIG_Python_InitShadowInstance(args
);
7485 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
= 0;
7487 wxString
*arg1
= 0 ;
7489 int arg3
= (int) 0 ;
7490 int arg4
= (int) 0 ;
7491 wxCursor
*result
= 0 ;
7492 bool temp1
= false ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7501 PyObject
* obj2
= 0 ;
7502 PyObject
* obj3
= 0 ;
7503 char * kwnames
[] = {
7504 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7509 arg1
= wxString_in_helper(obj0
);
7510 if (arg1
== NULL
) SWIG_fail
;
7513 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7514 if (!SWIG_IsOK(ecode2
)) {
7515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7517 arg2
= static_cast< long >(val2
);
7519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7520 if (!SWIG_IsOK(ecode3
)) {
7521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7523 arg3
= static_cast< int >(val3
);
7526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7527 if (!SWIG_IsOK(ecode4
)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7530 arg4
= static_cast< int >(val4
);
7533 if (!wxPyCheckForApp()) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7554 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7555 PyObject
*resultobj
= 0;
7556 wxCursor
*arg1
= (wxCursor
*) 0 ;
7559 PyObject
*swig_obj
[1] ;
7561 if (!args
) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7567 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_Py_Void();
7582 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
= 0;
7585 wxCursor
*result
= 0 ;
7588 PyObject
* obj0
= 0 ;
7589 char * kwnames
[] = {
7593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7595 if (!SWIG_IsOK(ecode1
)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7598 arg1
= static_cast< int >(val1
);
7600 if (!wxPyCheckForApp()) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxCursor
*)new wxCursor(arg1
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7613 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
= 0;
7616 wxCursor
*result
= 0 ;
7619 PyObject
* obj0
= 0 ;
7620 char * kwnames
[] = {
7621 (char *) "image", NULL
7624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7625 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7626 if (!SWIG_IsOK(res1
)) {
7627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7632 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7634 if (!wxPyCheckForApp()) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7647 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7648 PyObject
*resultobj
= 0;
7649 wxCursor
*arg1
= (wxCursor
*) 0 ;
7653 PyObject
*swig_obj
[1] ;
7655 if (!args
) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7661 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (bool)(arg1
)->Ok();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7677 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7680 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7681 return SWIG_Py_Void();
7684 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7685 return SWIG_Python_InitShadowInstance(args
);
7688 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
= 0;
7690 int arg1
= (int) 0 ;
7691 int arg2
= (int) 0 ;
7692 int arg3
= (int) 0 ;
7693 int arg4
= (int) 0 ;
7694 wxRegion
*result
= 0 ;
7703 PyObject
* obj0
= 0 ;
7704 PyObject
* obj1
= 0 ;
7705 PyObject
* obj2
= 0 ;
7706 PyObject
* obj3
= 0 ;
7707 char * kwnames
[] = {
7708 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7714 if (!SWIG_IsOK(ecode1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7717 arg1
= static_cast< int >(val1
);
7720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7721 if (!SWIG_IsOK(ecode2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7724 arg2
= static_cast< int >(val2
);
7727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7728 if (!SWIG_IsOK(ecode3
)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7731 arg3
= static_cast< int >(val3
);
7734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7735 if (!SWIG_IsOK(ecode4
)) {
7736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7738 arg4
= static_cast< int >(val4
);
7741 if (!wxPyCheckForApp()) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7754 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7755 PyObject
*resultobj
= 0;
7756 wxBitmap
*arg1
= 0 ;
7757 wxRegion
*result
= 0 ;
7760 PyObject
* obj0
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "bmp", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7773 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7775 if (!wxPyCheckForApp()) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7788 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
= 0;
7790 wxBitmap
*arg1
= 0 ;
7791 wxColour
*arg2
= 0 ;
7792 int arg3
= (int) 0 ;
7793 wxRegion
*result
= 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 PyObject
* obj2
= 0 ;
7802 char * kwnames
[] = {
7803 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7807 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7808 if (!SWIG_IsOK(res1
)) {
7809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7814 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7817 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7821 if (!SWIG_IsOK(ecode3
)) {
7822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7824 arg3
= static_cast< int >(val3
);
7827 if (!wxPyCheckForApp()) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7840 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
= 0;
7843 wxPoint
*arg2
= (wxPoint
*) 0 ;
7844 int arg3
= (int) wxWINDING_RULE
;
7845 wxRegion
*result
= 0 ;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7850 char * kwnames
[] = {
7851 (char *) "points",(char *) "fillStyle", NULL
7854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7856 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7857 if (arg2
== NULL
) SWIG_fail
;
7860 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7861 if (!SWIG_IsOK(ecode3
)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7864 arg3
= static_cast< int >(val3
);
7867 if (!wxPyCheckForApp()) SWIG_fail
;
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7869 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7875 if (arg2
) delete [] arg2
;
7880 if (arg2
) delete [] arg2
;
7886 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7887 PyObject
*resultobj
= 0;
7888 wxRegion
*arg1
= (wxRegion
*) 0 ;
7891 PyObject
*swig_obj
[1] ;
7893 if (!args
) SWIG_fail
;
7895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7896 if (!SWIG_IsOK(res1
)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7899 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= SWIG_Py_Void();
7914 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7915 PyObject
*resultobj
= 0;
7916 wxRegion
*arg1
= (wxRegion
*) 0 ;
7919 PyObject
*swig_obj
[1] ;
7921 if (!args
) SWIG_fail
;
7923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7924 if (!SWIG_IsOK(res1
)) {
7925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7927 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_Py_Void();
7941 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
= 0;
7943 wxRegion
*arg1
= (wxRegion
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7954 PyObject
* obj1
= 0 ;
7955 PyObject
* obj2
= 0 ;
7956 char * kwnames
[] = {
7957 (char *) "self",(char *) "x",(char *) "y", NULL
7960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7962 if (!SWIG_IsOK(res1
)) {
7963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7965 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7967 if (!SWIG_IsOK(ecode2
)) {
7968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7970 arg2
= static_cast< int >(val2
);
7971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7972 if (!SWIG_IsOK(ecode3
)) {
7973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7975 arg3
= static_cast< int >(val3
);
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7991 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxRegion
*arg1
= (wxRegion
*) 0 ;
7996 wxRegionContain result
;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 PyObject
* obj2
= 0 ;
8006 char * kwnames
[] = {
8007 (char *) "self",(char *) "x",(char *) "y", NULL
8010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8012 if (!SWIG_IsOK(res1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8015 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8017 if (!SWIG_IsOK(ecode2
)) {
8018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8020 arg2
= static_cast< int >(val2
);
8021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8022 if (!SWIG_IsOK(ecode3
)) {
8023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8025 arg3
= static_cast< int >(val3
);
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_From_int(static_cast< int >(result
));
8039 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
= 0;
8041 wxRegion
*arg1
= (wxRegion
*) 0 ;
8043 wxRegionContain result
;
8047 PyObject
* obj0
= 0 ;
8048 PyObject
* obj1
= 0 ;
8049 char * kwnames
[] = {
8050 (char *) "self",(char *) "pt", NULL
8053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8055 if (!SWIG_IsOK(res1
)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8058 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= SWIG_From_int(static_cast< int >(result
));
8076 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
= 0;
8078 wxRegion
*arg1
= (wxRegion
*) 0 ;
8080 wxRegionContain result
;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8086 char * kwnames
[] = {
8087 (char *) "self",(char *) "rect", NULL
8090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8092 if (!SWIG_IsOK(res1
)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8095 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8098 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= SWIG_From_int(static_cast< int >(result
));
8113 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
= 0;
8115 wxRegion
*arg1
= (wxRegion
*) 0 ;
8120 wxRegionContain result
;
8131 PyObject
* obj0
= 0 ;
8132 PyObject
* obj1
= 0 ;
8133 PyObject
* obj2
= 0 ;
8134 PyObject
* obj3
= 0 ;
8135 PyObject
* obj4
= 0 ;
8136 char * kwnames
[] = {
8137 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8142 if (!SWIG_IsOK(res1
)) {
8143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8145 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8147 if (!SWIG_IsOK(ecode2
)) {
8148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8150 arg2
= static_cast< int >(val2
);
8151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8152 if (!SWIG_IsOK(ecode3
)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8155 arg3
= static_cast< int >(val3
);
8156 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8157 if (!SWIG_IsOK(ecode4
)) {
8158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8160 arg4
= static_cast< int >(val4
);
8161 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8162 if (!SWIG_IsOK(ecode5
)) {
8163 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8165 arg5
= static_cast< int >(val5
);
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_From_int(static_cast< int >(result
));
8179 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8180 PyObject
*resultobj
= 0;
8181 wxRegion
*arg1
= (wxRegion
*) 0 ;
8185 PyObject
*swig_obj
[1] ;
8187 if (!args
) SWIG_fail
;
8189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8190 if (!SWIG_IsOK(res1
)) {
8191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8193 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (arg1
)->GetBox();
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8207 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
= 0;
8209 wxRegion
*arg1
= (wxRegion
*) 0 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8228 PyObject
* obj3
= 0 ;
8229 PyObject
* obj4
= 0 ;
8230 char * kwnames
[] = {
8231 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8236 if (!SWIG_IsOK(res1
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8239 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8241 if (!SWIG_IsOK(ecode2
)) {
8242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8244 arg2
= static_cast< int >(val2
);
8245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8246 if (!SWIG_IsOK(ecode3
)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8249 arg3
= static_cast< int >(val3
);
8250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8251 if (!SWIG_IsOK(ecode4
)) {
8252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8254 arg4
= static_cast< int >(val4
);
8255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8256 if (!SWIG_IsOK(ecode5
)) {
8257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8259 arg5
= static_cast< int >(val5
);
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8275 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
= 0;
8277 wxRegion
*arg1
= (wxRegion
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8285 char * kwnames
[] = {
8286 (char *) "self",(char *) "rect", NULL
8289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8291 if (!SWIG_IsOK(res1
)) {
8292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8294 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8297 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8314 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
= 0;
8316 wxRegion
*arg1
= (wxRegion
*) 0 ;
8317 wxRegion
*arg2
= 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 char * kwnames
[] = {
8326 (char *) "self",(char *) "region", NULL
8329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8331 if (!SWIG_IsOK(res1
)) {
8332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8334 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8336 if (!SWIG_IsOK(res2
)) {
8337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8342 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8358 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8359 PyObject
*resultobj
= 0;
8360 wxRegion
*arg1
= (wxRegion
*) 0 ;
8364 PyObject
*swig_obj
[1] ;
8366 if (!args
) SWIG_fail
;
8368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8369 if (!SWIG_IsOK(res1
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8372 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 result
= (bool)(arg1
)->IsEmpty();
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8388 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
= 0;
8390 wxRegion
*arg1
= (wxRegion
*) 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8408 PyObject
* obj2
= 0 ;
8409 PyObject
* obj3
= 0 ;
8410 PyObject
* obj4
= 0 ;
8411 char * kwnames
[] = {
8412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8420 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8422 if (!SWIG_IsOK(ecode2
)) {
8423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8425 arg2
= static_cast< int >(val2
);
8426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8427 if (!SWIG_IsOK(ecode3
)) {
8428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8430 arg3
= static_cast< int >(val3
);
8431 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8432 if (!SWIG_IsOK(ecode4
)) {
8433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8435 arg4
= static_cast< int >(val4
);
8436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8437 if (!SWIG_IsOK(ecode5
)) {
8438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8440 arg5
= static_cast< int >(val5
);
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8456 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
= 0;
8458 wxRegion
*arg1
= (wxRegion
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8466 char * kwnames
[] = {
8467 (char *) "self",(char *) "rect", NULL
8470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8472 if (!SWIG_IsOK(res1
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8475 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8478 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8495 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
= 0;
8497 wxRegion
*arg1
= (wxRegion
*) 0 ;
8498 wxRegion
*arg2
= 0 ;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8506 char * kwnames
[] = {
8507 (char *) "self",(char *) "region", NULL
8510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8512 if (!SWIG_IsOK(res1
)) {
8513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8515 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8517 if (!SWIG_IsOK(res2
)) {
8518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8523 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8539 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
= 0;
8541 wxRegion
*arg1
= (wxRegion
*) 0 ;
8557 PyObject
* obj0
= 0 ;
8558 PyObject
* obj1
= 0 ;
8559 PyObject
* obj2
= 0 ;
8560 PyObject
* obj3
= 0 ;
8561 PyObject
* obj4
= 0 ;
8562 char * kwnames
[] = {
8563 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8568 if (!SWIG_IsOK(res1
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8571 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8573 if (!SWIG_IsOK(ecode2
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8576 arg2
= static_cast< int >(val2
);
8577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8578 if (!SWIG_IsOK(ecode3
)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8581 arg3
= static_cast< int >(val3
);
8582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8583 if (!SWIG_IsOK(ecode4
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8586 arg4
= static_cast< int >(val4
);
8587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8588 if (!SWIG_IsOK(ecode5
)) {
8589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8591 arg5
= static_cast< int >(val5
);
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8607 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
= 0;
8609 wxRegion
*arg1
= (wxRegion
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8617 char * kwnames
[] = {
8618 (char *) "self",(char *) "rect", NULL
8621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8623 if (!SWIG_IsOK(res1
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8626 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8629 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8646 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxRegion
*arg1
= (wxRegion
*) 0 ;
8649 wxRegion
*arg2
= 0 ;
8655 PyObject
* obj0
= 0 ;
8656 PyObject
* obj1
= 0 ;
8657 char * kwnames
[] = {
8658 (char *) "self",(char *) "region", NULL
8661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8663 if (!SWIG_IsOK(res1
)) {
8664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8666 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8668 if (!SWIG_IsOK(res2
)) {
8669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8674 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8690 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
= 0;
8692 wxRegion
*arg1
= (wxRegion
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8710 PyObject
* obj2
= 0 ;
8711 PyObject
* obj3
= 0 ;
8712 PyObject
* obj4
= 0 ;
8713 char * kwnames
[] = {
8714 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8719 if (!SWIG_IsOK(res1
)) {
8720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8722 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8724 if (!SWIG_IsOK(ecode2
)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8727 arg2
= static_cast< int >(val2
);
8728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8729 if (!SWIG_IsOK(ecode3
)) {
8730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8732 arg3
= static_cast< int >(val3
);
8733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8734 if (!SWIG_IsOK(ecode4
)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8737 arg4
= static_cast< int >(val4
);
8738 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8739 if (!SWIG_IsOK(ecode5
)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8742 arg5
= static_cast< int >(val5
);
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8758 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
= 0;
8760 wxRegion
*arg1
= (wxRegion
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8768 char * kwnames
[] = {
8769 (char *) "self",(char *) "rect", NULL
8772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8774 if (!SWIG_IsOK(res1
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8777 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8780 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8797 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
= 0;
8799 wxRegion
*arg1
= (wxRegion
*) 0 ;
8800 wxRegion
*arg2
= 0 ;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8808 char * kwnames
[] = {
8809 (char *) "self",(char *) "region", NULL
8812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8814 if (!SWIG_IsOK(res1
)) {
8815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8817 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8819 if (!SWIG_IsOK(res2
)) {
8820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8825 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8841 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8842 PyObject
*resultobj
= 0;
8843 wxRegion
*arg1
= (wxRegion
*) 0 ;
8844 SwigValueWrapper
<wxBitmap
> result
;
8847 PyObject
*swig_obj
[1] ;
8849 if (!args
) SWIG_fail
;
8851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8852 if (!SWIG_IsOK(res1
)) {
8853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8855 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (arg1
)->ConvertToBitmap();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8869 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
= 0;
8871 wxRegion
*arg1
= (wxRegion
*) 0 ;
8872 wxBitmap
*arg2
= 0 ;
8878 PyObject
* obj0
= 0 ;
8879 PyObject
* obj1
= 0 ;
8880 char * kwnames
[] = {
8881 (char *) "self",(char *) "bmp", NULL
8884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8886 if (!SWIG_IsOK(res1
)) {
8887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8889 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8891 if (!SWIG_IsOK(res2
)) {
8892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8897 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8913 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
= 0;
8915 wxRegion
*arg1
= (wxRegion
*) 0 ;
8916 wxBitmap
*arg2
= 0 ;
8917 wxColour
*arg3
= 0 ;
8918 int arg4
= (int) 0 ;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8929 PyObject
* obj2
= 0 ;
8930 PyObject
* obj3
= 0 ;
8931 char * kwnames
[] = {
8932 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8940 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8942 if (!SWIG_IsOK(res2
)) {
8943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8948 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8951 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8954 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8955 if (!SWIG_IsOK(ecode4
)) {
8956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8958 arg4
= static_cast< int >(val4
);
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8975 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8978 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8979 return SWIG_Py_Void();
8982 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8983 return SWIG_Python_InitShadowInstance(args
);
8986 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
= 0;
8988 wxRegion
*arg1
= 0 ;
8989 wxRegionIterator
*result
= 0 ;
8992 PyObject
* obj0
= 0 ;
8993 char * kwnames
[] = {
8994 (char *) "region", NULL
8997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
8998 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
8999 if (!SWIG_IsOK(res1
)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9005 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9007 if (!wxPyCheckForApp()) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9020 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9021 PyObject
*resultobj
= 0;
9022 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9025 PyObject
*swig_obj
[1] ;
9027 if (!args
) SWIG_fail
;
9029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9030 if (!SWIG_IsOK(res1
)) {
9031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9033 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= SWIG_Py_Void();
9048 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9049 PyObject
*resultobj
= 0;
9050 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9054 PyObject
*swig_obj
[1] ;
9056 if (!args
) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9062 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (int)(arg1
)->GetX();
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_From_int(static_cast< int >(result
));
9076 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9077 PyObject
*resultobj
= 0;
9078 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9082 PyObject
*swig_obj
[1] ;
9084 if (!args
) SWIG_fail
;
9086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9087 if (!SWIG_IsOK(res1
)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9090 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (int)(arg1
)->GetY();
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_From_int(static_cast< int >(result
));
9104 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9105 PyObject
*resultobj
= 0;
9106 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9110 PyObject
*swig_obj
[1] ;
9112 if (!args
) SWIG_fail
;
9114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9115 if (!SWIG_IsOK(res1
)) {
9116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9118 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (int)(arg1
)->GetW();
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_From_int(static_cast< int >(result
));
9132 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9133 PyObject
*resultobj
= 0;
9134 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9138 PyObject
*swig_obj
[1] ;
9140 if (!args
) SWIG_fail
;
9142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9143 if (!SWIG_IsOK(res1
)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9146 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (int)(arg1
)->GetWidth();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_From_int(static_cast< int >(result
));
9160 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9161 PyObject
*resultobj
= 0;
9162 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9166 PyObject
*swig_obj
[1] ;
9168 if (!args
) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9174 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (int)(arg1
)->GetH();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_From_int(static_cast< int >(result
));
9188 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9189 PyObject
*resultobj
= 0;
9190 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9194 PyObject
*swig_obj
[1] ;
9196 if (!args
) SWIG_fail
;
9198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9199 if (!SWIG_IsOK(res1
)) {
9200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9202 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 result
= (int)(arg1
)->GetHeight();
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_From_int(static_cast< int >(result
));
9216 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9217 PyObject
*resultobj
= 0;
9218 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9222 PyObject
*swig_obj
[1] ;
9224 if (!args
) SWIG_fail
;
9226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9227 if (!SWIG_IsOK(res1
)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9230 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (arg1
)->GetRect();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9244 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9245 PyObject
*resultobj
= 0;
9246 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9250 PyObject
*swig_obj
[1] ;
9252 if (!args
) SWIG_fail
;
9254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9255 if (!SWIG_IsOK(res1
)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9258 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (bool)(arg1
)->HaveRects();
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9274 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9275 PyObject
*resultobj
= 0;
9276 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9279 PyObject
*swig_obj
[1] ;
9281 if (!args
) SWIG_fail
;
9283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9284 if (!SWIG_IsOK(res1
)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9287 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_Py_Void();
9301 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9302 PyObject
*resultobj
= 0;
9303 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9306 PyObject
*swig_obj
[1] ;
9308 if (!args
) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9314 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 wxRegionIterator_Next(arg1
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_Py_Void();
9328 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9329 PyObject
*resultobj
= 0;
9330 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9334 PyObject
*swig_obj
[1] ;
9336 if (!args
) SWIG_fail
;
9338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9339 if (!SWIG_IsOK(res1
)) {
9340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9342 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9358 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9361 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9362 return SWIG_Py_Void();
9365 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9366 return SWIG_Python_InitShadowInstance(args
);
9369 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9370 PyObject
*resultobj
= 0;
9371 wxNativeFontInfo
*result
= 0 ;
9373 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9387 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9388 PyObject
*resultobj
= 0;
9389 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9392 PyObject
*swig_obj
[1] ;
9394 if (!args
) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9400 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_Py_Void();
9415 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9416 PyObject
*resultobj
= 0;
9417 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9420 PyObject
*swig_obj
[1] ;
9422 if (!args
) SWIG_fail
;
9424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9425 if (!SWIG_IsOK(res1
)) {
9426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9428 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_Py_Void();
9442 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= 0;
9444 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9452 char * kwnames
[] = {
9453 (char *) "self",(char *) "font", NULL
9456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9461 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9463 if (!SWIG_IsOK(res2
)) {
9464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9469 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_Py_Void();
9483 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9484 PyObject
*resultobj
= 0;
9485 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9489 PyObject
*swig_obj
[1] ;
9491 if (!args
) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9497 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_From_int(static_cast< int >(result
));
9511 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9512 PyObject
*resultobj
= 0;
9513 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9517 PyObject
*swig_obj
[1] ;
9519 if (!args
) SWIG_fail
;
9521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9522 if (!SWIG_IsOK(res1
)) {
9523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9525 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_From_int(static_cast< int >(result
));
9539 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9540 PyObject
*resultobj
= 0;
9541 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9542 wxFontWeight result
;
9545 PyObject
*swig_obj
[1] ;
9547 if (!args
) SWIG_fail
;
9549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9550 if (!SWIG_IsOK(res1
)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9553 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= SWIG_From_int(static_cast< int >(result
));
9567 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9568 PyObject
*resultobj
= 0;
9569 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9573 PyObject
*swig_obj
[1] ;
9575 if (!args
) SWIG_fail
;
9577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9578 if (!SWIG_IsOK(res1
)) {
9579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9581 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9597 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9598 PyObject
*resultobj
= 0;
9599 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9603 PyObject
*swig_obj
[1] ;
9605 if (!args
) SWIG_fail
;
9607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9608 if (!SWIG_IsOK(res1
)) {
9609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9611 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9631 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9632 PyObject
*resultobj
= 0;
9633 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9634 wxFontFamily result
;
9637 PyObject
*swig_obj
[1] ;
9639 if (!args
) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9645 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_From_int(static_cast< int >(result
));
9659 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9660 PyObject
*resultobj
= 0;
9661 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9662 wxFontEncoding result
;
9665 PyObject
*swig_obj
[1] ;
9667 if (!args
) SWIG_fail
;
9669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9670 if (!SWIG_IsOK(res1
)) {
9671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9673 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9677 wxPyEndAllowThreads(__tstate
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= SWIG_From_int(static_cast< int >(result
));
9687 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
= 0;
9689 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9697 char * kwnames
[] = {
9698 (char *) "self",(char *) "pointsize", NULL
9701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9703 if (!SWIG_IsOK(res1
)) {
9704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9706 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9708 if (!SWIG_IsOK(ecode2
)) {
9709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9711 arg2
= static_cast< int >(val2
);
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 (arg1
)->SetPointSize(arg2
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_Py_Void();
9725 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
= 0;
9727 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9735 char * kwnames
[] = {
9736 (char *) "self",(char *) "style", NULL
9739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9744 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9746 if (!SWIG_IsOK(ecode2
)) {
9747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9749 arg2
= static_cast< wxFontStyle
>(val2
);
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 (arg1
)->SetStyle(arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_Py_Void();
9763 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= 0;
9765 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "self",(char *) "weight", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9782 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9784 if (!SWIG_IsOK(ecode2
)) {
9785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9787 arg2
= static_cast< wxFontWeight
>(val2
);
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->SetWeight(arg2
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_Py_Void();
9801 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
= 0;
9803 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 char * kwnames
[] = {
9812 (char *) "self",(char *) "underlined", NULL
9815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9820 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9822 if (!SWIG_IsOK(ecode2
)) {
9823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9825 arg2
= static_cast< bool >(val2
);
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 (arg1
)->SetUnderlined(arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 char * kwnames
[] = {
9848 (char *) "self",(char *) "facename", NULL
9851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9853 if (!SWIG_IsOK(res1
)) {
9854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9856 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9858 wxString
* sptr
= wxString_in_helper(obj1
);
9859 if (sptr
== NULL
) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 (arg1
)->SetFaceName(arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_Py_Void();
9876 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
= 0;
9878 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "self",(char *) "family", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9892 if (!SWIG_IsOK(res1
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9895 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9897 if (!SWIG_IsOK(ecode2
)) {
9898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9900 arg2
= static_cast< wxFontFamily
>(val2
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 (arg1
)->SetFamily(arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_Py_Void();
9914 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
= 0;
9916 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9917 wxFontEncoding arg2
;
9922 PyObject
* obj0
= 0 ;
9923 PyObject
* obj1
= 0 ;
9924 char * kwnames
[] = {
9925 (char *) "self",(char *) "encoding", NULL
9928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9930 if (!SWIG_IsOK(res1
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9933 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9935 if (!SWIG_IsOK(ecode2
)) {
9936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9938 arg2
= static_cast< wxFontEncoding
>(val2
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 (arg1
)->SetEncoding(arg2
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_Py_Void();
9952 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= 0;
9954 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9955 wxString
*arg2
= 0 ;
9959 bool temp2
= false ;
9960 PyObject
* obj0
= 0 ;
9961 PyObject
* obj1
= 0 ;
9962 char * kwnames
[] = {
9963 (char *) "self",(char *) "s", NULL
9966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9968 if (!SWIG_IsOK(res1
)) {
9969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9971 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9973 arg2
= wxString_in_helper(obj1
);
9974 if (arg2
== NULL
) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10000 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10001 PyObject
*resultobj
= 0;
10002 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10006 PyObject
*swig_obj
[1] ;
10008 if (!args
) SWIG_fail
;
10009 swig_obj
[0] = args
;
10010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10011 if (!SWIG_IsOK(res1
)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10014 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10034 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10035 PyObject
*resultobj
= 0;
10036 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10040 PyObject
*swig_obj
[1] ;
10042 if (!args
) SWIG_fail
;
10043 swig_obj
[0] = args
;
10044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10045 if (!SWIG_IsOK(res1
)) {
10046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10048 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= wxNativeFontInfo___str__(arg1
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10068 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
= 0;
10070 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10071 wxString
*arg2
= 0 ;
10075 bool temp2
= false ;
10076 PyObject
* obj0
= 0 ;
10077 PyObject
* obj1
= 0 ;
10078 char * kwnames
[] = {
10079 (char *) "self",(char *) "s", NULL
10082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10084 if (!SWIG_IsOK(res1
)) {
10085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10087 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10089 arg2
= wxString_in_helper(obj1
);
10090 if (arg2
== NULL
) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10116 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10117 PyObject
*resultobj
= 0;
10118 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10122 PyObject
*swig_obj
[1] ;
10124 if (!args
) SWIG_fail
;
10125 swig_obj
[0] = args
;
10126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10150 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10153 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10154 return SWIG_Py_Void();
10157 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10158 return SWIG_Python_InitShadowInstance(args
);
10161 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10162 PyObject
*resultobj
= 0;
10163 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10164 wxString
*arg2
= (wxString
*) 0 ;
10167 bool temp2
= false ;
10168 PyObject
*swig_obj
[2] ;
10170 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10172 if (!SWIG_IsOK(res1
)) {
10173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10175 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10177 arg2
= wxString_in_helper(swig_obj
[1]);
10178 if (arg2
== NULL
) SWIG_fail
;
10181 if (arg1
) (arg1
)->facename
= *arg2
;
10183 resultobj
= SWIG_Py_Void();
10198 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10199 PyObject
*resultobj
= 0;
10200 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10201 wxString
*result
= 0 ;
10204 PyObject
*swig_obj
[1] ;
10206 if (!args
) SWIG_fail
;
10207 swig_obj
[0] = args
;
10208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10212 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10213 result
= (wxString
*)& ((arg1
)->facename
);
10216 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10218 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10227 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10228 PyObject
*resultobj
= 0;
10229 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10230 wxFontEncoding arg2
;
10235 PyObject
*swig_obj
[2] ;
10237 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10239 if (!SWIG_IsOK(res1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10242 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10243 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10244 if (!SWIG_IsOK(ecode2
)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10247 arg2
= static_cast< wxFontEncoding
>(val2
);
10248 if (arg1
) (arg1
)->encoding
= arg2
;
10250 resultobj
= SWIG_Py_Void();
10257 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10258 PyObject
*resultobj
= 0;
10259 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10260 wxFontEncoding result
;
10263 PyObject
*swig_obj
[1] ;
10265 if (!args
) SWIG_fail
;
10266 swig_obj
[0] = args
;
10267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10268 if (!SWIG_IsOK(res1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10271 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10272 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10273 resultobj
= SWIG_From_int(static_cast< int >(result
));
10280 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10281 PyObject
*resultobj
= 0;
10282 wxNativeEncodingInfo
*result
= 0 ;
10284 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10298 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10299 PyObject
*resultobj
= 0;
10300 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10303 PyObject
*swig_obj
[1] ;
10305 if (!args
) SWIG_fail
;
10306 swig_obj
[0] = args
;
10307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10308 if (!SWIG_IsOK(res1
)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10311 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= SWIG_Py_Void();
10326 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
= 0;
10328 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10329 wxString
*arg2
= 0 ;
10333 bool temp2
= false ;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 char * kwnames
[] = {
10337 (char *) "self",(char *) "s", NULL
10340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10342 if (!SWIG_IsOK(res1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10345 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10347 arg2
= wxString_in_helper(obj1
);
10348 if (arg2
== NULL
) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10374 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10375 PyObject
*resultobj
= 0;
10376 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10380 PyObject
*swig_obj
[1] ;
10382 if (!args
) SWIG_fail
;
10383 swig_obj
[0] = args
;
10384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10385 if (!SWIG_IsOK(res1
)) {
10386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10388 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10408 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10411 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10412 return SWIG_Py_Void();
10415 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10416 return SWIG_Python_InitShadowInstance(args
);
10419 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
= 0;
10421 wxFontEncoding arg1
;
10422 wxNativeEncodingInfo
*result
= 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char * kwnames
[] = {
10427 (char *) "encoding", NULL
10430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10432 if (!SWIG_IsOK(ecode1
)) {
10433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10435 arg1
= static_cast< wxFontEncoding
>(val1
);
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10449 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
= 0;
10451 wxNativeEncodingInfo
*arg1
= 0 ;
10455 PyObject
* obj0
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "info", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10468 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10484 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 PyObject
*resultobj
= 0;
10486 wxFontMapper
*result
= 0 ;
10488 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (wxFontMapper
*)new wxFontMapper();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10502 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10503 PyObject
*resultobj
= 0;
10504 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10507 PyObject
*swig_obj
[1] ;
10509 if (!args
) SWIG_fail
;
10510 swig_obj
[0] = args
;
10511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10515 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_Py_Void();
10530 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10531 PyObject
*resultobj
= 0;
10532 wxFontMapper
*result
= 0 ;
10534 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (wxFontMapper
*)wxFontMapper::Get();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10548 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
= 0;
10550 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10551 wxFontMapper
*result
= 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char * kwnames
[] = {
10556 (char *) "mapper", NULL
10559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10564 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10578 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= 0;
10580 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10581 wxString
*arg2
= 0 ;
10582 bool arg3
= (bool) true ;
10583 wxFontEncoding result
;
10586 bool temp2
= false ;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 PyObject
* obj2
= 0 ;
10592 char * kwnames
[] = {
10593 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10598 if (!SWIG_IsOK(res1
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10601 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10603 arg2
= wxString_in_helper(obj1
);
10604 if (arg2
== NULL
) SWIG_fail
;
10608 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10609 if (!SWIG_IsOK(ecode3
)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10612 arg3
= static_cast< bool >(val3
);
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= SWIG_From_int(static_cast< int >(result
));
10635 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10636 PyObject
*resultobj
= 0;
10639 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10653 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= 0;
10656 wxFontEncoding result
;
10659 PyObject
* obj0
= 0 ;
10660 char * kwnames
[] = {
10664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10665 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10666 if (!SWIG_IsOK(ecode1
)) {
10667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10669 arg1
= static_cast< size_t >(val1
);
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= SWIG_From_int(static_cast< int >(result
));
10683 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
= 0;
10685 wxFontEncoding arg1
;
10689 PyObject
* obj0
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "encoding", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10696 if (!SWIG_IsOK(ecode1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10699 arg1
= static_cast< wxFontEncoding
>(val1
);
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= wxFontMapper::GetEncodingName(arg1
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10719 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxFontEncoding arg1
;
10725 PyObject
* obj0
= 0 ;
10726 char * kwnames
[] = {
10727 (char *) "encoding", NULL
10730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10732 if (!SWIG_IsOK(ecode1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10735 arg1
= static_cast< wxFontEncoding
>(val1
);
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= wxFontMapper::GetEncodingDescription(arg1
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10755 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
= 0;
10757 wxString
*arg1
= 0 ;
10758 wxFontEncoding result
;
10759 bool temp1
= false ;
10760 PyObject
* obj0
= 0 ;
10761 char * kwnames
[] = {
10762 (char *) "name", NULL
10765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10767 arg1
= wxString_in_helper(obj0
);
10768 if (arg1
== NULL
) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_From_int(static_cast< int >(result
));
10792 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
= 0;
10794 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10795 wxString
*arg2
= 0 ;
10798 bool temp2
= false ;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 char * kwnames
[] = {
10802 (char *) "self",(char *) "prefix", NULL
10805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10807 if (!SWIG_IsOK(res1
)) {
10808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10810 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10812 arg2
= wxString_in_helper(obj1
);
10813 if (arg2
== NULL
) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= SWIG_Py_Void();
10837 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10838 PyObject
*resultobj
= 0;
10841 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= wxFontMapper::GetDefaultConfigPath();
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10861 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10864 wxFontEncoding arg2
;
10865 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10866 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10867 bool arg4
= (bool) true ;
10868 PyObject
*result
= 0 ;
10873 bool temp3
= false ;
10876 PyObject
* obj0
= 0 ;
10877 PyObject
* obj1
= 0 ;
10878 PyObject
* obj2
= 0 ;
10879 PyObject
* obj3
= 0 ;
10880 char * kwnames
[] = {
10881 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10886 if (!SWIG_IsOK(res1
)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10889 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10891 if (!SWIG_IsOK(ecode2
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10894 arg2
= static_cast< wxFontEncoding
>(val2
);
10897 arg3
= wxString_in_helper(obj2
);
10898 if (arg3
== NULL
) SWIG_fail
;
10903 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10904 if (!SWIG_IsOK(ecode4
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10907 arg4
= static_cast< bool >(val4
);
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= result
;
10930 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
= 0;
10932 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10933 wxFontEncoding arg2
;
10934 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10935 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10941 bool temp3
= false ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 PyObject
* obj2
= 0 ;
10945 char * kwnames
[] = {
10946 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10954 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10956 if (!SWIG_IsOK(ecode2
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10959 arg2
= static_cast< wxFontEncoding
>(val2
);
10962 arg3
= wxString_in_helper(obj2
);
10963 if (arg3
== NULL
) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10990 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
= 0;
10992 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10993 wxWindow
*arg2
= (wxWindow
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 char * kwnames
[] = {
11001 (char *) "self",(char *) "parent", NULL
11004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11006 if (!SWIG_IsOK(res1
)) {
11007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11009 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11011 if (!SWIG_IsOK(res2
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11014 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 (arg1
)->SetDialogParent(arg2
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= SWIG_Py_Void();
11028 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= 0;
11030 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11031 wxString
*arg2
= 0 ;
11034 bool temp2
= false ;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char * kwnames
[] = {
11038 (char *) "self",(char *) "title", NULL
11041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11043 if (!SWIG_IsOK(res1
)) {
11044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11046 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11048 arg2
= wxString_in_helper(obj1
);
11049 if (arg2
== NULL
) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_Py_Void();
11073 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11076 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11077 return SWIG_Py_Void();
11080 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11081 return SWIG_Python_InitShadowInstance(args
);
11084 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
= 0;
11090 bool arg5
= (bool) false ;
11091 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11092 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11093 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11094 wxFont
*result
= 0 ;
11105 bool temp6
= false ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 PyObject
* obj2
= 0 ;
11111 PyObject
* obj3
= 0 ;
11112 PyObject
* obj4
= 0 ;
11113 PyObject
* obj5
= 0 ;
11114 PyObject
* obj6
= 0 ;
11115 char * kwnames
[] = {
11116 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11121 if (!SWIG_IsOK(ecode1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11124 arg1
= static_cast< int >(val1
);
11125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11126 if (!SWIG_IsOK(ecode2
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11129 arg2
= static_cast< int >(val2
);
11130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11131 if (!SWIG_IsOK(ecode3
)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11134 arg3
= static_cast< int >(val3
);
11135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11136 if (!SWIG_IsOK(ecode4
)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11139 arg4
= static_cast< int >(val4
);
11141 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11142 if (!SWIG_IsOK(ecode5
)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11145 arg5
= static_cast< bool >(val5
);
11149 arg6
= wxString_in_helper(obj5
);
11150 if (arg6
== NULL
) SWIG_fail
;
11155 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11156 if (!SWIG_IsOK(ecode7
)) {
11157 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11159 arg7
= static_cast< wxFontEncoding
>(val7
);
11162 if (!wxPyCheckForApp()) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11183 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11184 PyObject
*resultobj
= 0;
11185 wxFont
*arg1
= (wxFont
*) 0 ;
11188 PyObject
*swig_obj
[1] ;
11190 if (!args
) SWIG_fail
;
11191 swig_obj
[0] = args
;
11192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11193 if (!SWIG_IsOK(res1
)) {
11194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11196 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_Py_Void();
11211 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 wxNativeFontInfo
*arg1
= 0 ;
11214 wxFont
*result
= 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char * kwnames
[] = {
11219 (char *) "info", NULL
11222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11223 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11224 if (!SWIG_IsOK(res1
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11230 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11232 if (!wxPyCheckForApp()) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11245 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
= 0;
11247 wxString
*arg1
= 0 ;
11248 wxFont
*result
= 0 ;
11249 bool temp1
= false ;
11250 PyObject
* obj0
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "info", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11257 arg1
= wxString_in_helper(obj0
);
11258 if (arg1
== NULL
) SWIG_fail
;
11262 if (!wxPyCheckForApp()) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11283 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
= 0;
11286 wxFontFamily arg2
;
11287 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11288 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11289 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11290 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11291 wxFont
*result
= 0 ;
11298 bool temp4
= false ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 PyObject
* obj2
= 0 ;
11304 PyObject
* obj3
= 0 ;
11305 PyObject
* obj4
= 0 ;
11306 char * kwnames
[] = {
11307 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11312 if (!SWIG_IsOK(ecode1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11315 arg1
= static_cast< int >(val1
);
11316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11317 if (!SWIG_IsOK(ecode2
)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11320 arg2
= static_cast< wxFontFamily
>(val2
);
11322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11323 if (!SWIG_IsOK(ecode3
)) {
11324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11326 arg3
= static_cast< int >(val3
);
11330 arg4
= wxString_in_helper(obj3
);
11331 if (arg4
== NULL
) SWIG_fail
;
11336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11337 if (!SWIG_IsOK(ecode5
)) {
11338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11340 arg5
= static_cast< wxFontEncoding
>(val5
);
11343 if (!wxPyCheckForApp()) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11364 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
= 0;
11370 bool arg5
= (bool) false ;
11371 wxString
const &arg6_defvalue
= wxEmptyString
;
11372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11373 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11374 wxFont
*result
= 0 ;
11384 bool temp6
= false ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 PyObject
* obj2
= 0 ;
11390 PyObject
* obj3
= 0 ;
11391 PyObject
* obj4
= 0 ;
11392 PyObject
* obj5
= 0 ;
11393 PyObject
* obj6
= 0 ;
11394 char * kwnames
[] = {
11395 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11401 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11404 if (!SWIG_IsOK(ecode2
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11407 arg2
= static_cast< int >(val2
);
11408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11409 if (!SWIG_IsOK(ecode3
)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11412 arg3
= static_cast< int >(val3
);
11413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11414 if (!SWIG_IsOK(ecode4
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11417 arg4
= static_cast< int >(val4
);
11419 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11420 if (!SWIG_IsOK(ecode5
)) {
11421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11423 arg5
= static_cast< bool >(val5
);
11427 arg6
= wxString_in_helper(obj5
);
11428 if (arg6
== NULL
) SWIG_fail
;
11433 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11434 if (!SWIG_IsOK(ecode7
)) {
11435 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11437 arg7
= static_cast< wxFontEncoding
>(val7
);
11440 if (!wxPyCheckForApp()) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11461 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
= 0;
11464 wxFontFamily arg2
;
11465 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11466 wxString
const &arg4_defvalue
= wxEmptyString
;
11467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11468 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11469 wxFont
*result
= 0 ;
11475 bool temp4
= false ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 PyObject
* obj2
= 0 ;
11481 PyObject
* obj3
= 0 ;
11482 PyObject
* obj4
= 0 ;
11483 char * kwnames
[] = {
11484 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11490 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11493 if (!SWIG_IsOK(ecode2
)) {
11494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11496 arg2
= static_cast< wxFontFamily
>(val2
);
11498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11499 if (!SWIG_IsOK(ecode3
)) {
11500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11502 arg3
= static_cast< int >(val3
);
11506 arg4
= wxString_in_helper(obj3
);
11507 if (arg4
== NULL
) SWIG_fail
;
11512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11513 if (!SWIG_IsOK(ecode5
)) {
11514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11516 arg5
= static_cast< wxFontEncoding
>(val5
);
11519 if (!wxPyCheckForApp()) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11540 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11541 PyObject
*resultobj
= 0;
11542 wxFont
*arg1
= (wxFont
*) 0 ;
11546 PyObject
*swig_obj
[1] ;
11548 if (!args
) SWIG_fail
;
11549 swig_obj
[0] = args
;
11550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11551 if (!SWIG_IsOK(res1
)) {
11552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11554 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (bool)((wxFont
const *)arg1
)->Ok();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11570 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
= 0;
11572 wxFont
*arg1
= (wxFont
*) 0 ;
11573 wxFont
*arg2
= (wxFont
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char * kwnames
[] = {
11582 (char *) "self",(char *) "other", NULL
11585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11587 if (!SWIG_IsOK(res1
)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11590 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11592 if (!SWIG_IsOK(res2
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11595 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11611 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
= 0;
11613 wxFont
*arg1
= (wxFont
*) 0 ;
11614 wxFont
*arg2
= (wxFont
*) 0 ;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 char * kwnames
[] = {
11623 (char *) "self",(char *) "other", NULL
11626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11628 if (!SWIG_IsOK(res1
)) {
11629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11631 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11633 if (!SWIG_IsOK(res2
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11636 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11652 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11653 PyObject
*resultobj
= 0;
11654 wxFont
*arg1
= (wxFont
*) 0 ;
11658 PyObject
*swig_obj
[1] ;
11660 if (!args
) SWIG_fail
;
11661 swig_obj
[0] = args
;
11662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11663 if (!SWIG_IsOK(res1
)) {
11664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11666 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_From_int(static_cast< int >(result
));
11680 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11681 PyObject
*resultobj
= 0;
11682 wxFont
*arg1
= (wxFont
*) 0 ;
11686 PyObject
*swig_obj
[1] ;
11688 if (!args
) SWIG_fail
;
11689 swig_obj
[0] = args
;
11690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11694 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11708 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 PyObject
*resultobj
= 0;
11710 wxFont
*arg1
= (wxFont
*) 0 ;
11714 PyObject
*swig_obj
[1] ;
11716 if (!args
) SWIG_fail
;
11717 swig_obj
[0] = args
;
11718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11722 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11738 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11739 PyObject
*resultobj
= 0;
11740 wxFont
*arg1
= (wxFont
*) 0 ;
11744 PyObject
*swig_obj
[1] ;
11746 if (!args
) SWIG_fail
;
11747 swig_obj
[0] = args
;
11748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11749 if (!SWIG_IsOK(res1
)) {
11750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11752 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= SWIG_From_int(static_cast< int >(result
));
11766 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11767 PyObject
*resultobj
= 0;
11768 wxFont
*arg1
= (wxFont
*) 0 ;
11772 PyObject
*swig_obj
[1] ;
11774 if (!args
) SWIG_fail
;
11775 swig_obj
[0] = args
;
11776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11777 if (!SWIG_IsOK(res1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11780 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_From_int(static_cast< int >(result
));
11794 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11795 PyObject
*resultobj
= 0;
11796 wxFont
*arg1
= (wxFont
*) 0 ;
11800 PyObject
*swig_obj
[1] ;
11802 if (!args
) SWIG_fail
;
11803 swig_obj
[0] = args
;
11804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11805 if (!SWIG_IsOK(res1
)) {
11806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11808 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_From_int(static_cast< int >(result
));
11822 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11823 PyObject
*resultobj
= 0;
11824 wxFont
*arg1
= (wxFont
*) 0 ;
11828 PyObject
*swig_obj
[1] ;
11830 if (!args
) SWIG_fail
;
11831 swig_obj
[0] = args
;
11832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11833 if (!SWIG_IsOK(res1
)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11836 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11852 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11853 PyObject
*resultobj
= 0;
11854 wxFont
*arg1
= (wxFont
*) 0 ;
11858 PyObject
*swig_obj
[1] ;
11860 if (!args
) SWIG_fail
;
11861 swig_obj
[0] = args
;
11862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11863 if (!SWIG_IsOK(res1
)) {
11864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11866 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= ((wxFont
const *)arg1
)->GetFaceName();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11886 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11887 PyObject
*resultobj
= 0;
11888 wxFont
*arg1
= (wxFont
*) 0 ;
11889 wxFontEncoding result
;
11892 PyObject
*swig_obj
[1] ;
11894 if (!args
) SWIG_fail
;
11895 swig_obj
[0] = args
;
11896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11897 if (!SWIG_IsOK(res1
)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11900 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= SWIG_From_int(static_cast< int >(result
));
11914 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11915 PyObject
*resultobj
= 0;
11916 wxFont
*arg1
= (wxFont
*) 0 ;
11917 wxNativeFontInfo
*result
= 0 ;
11920 PyObject
*swig_obj
[1] ;
11922 if (!args
) SWIG_fail
;
11923 swig_obj
[0] = args
;
11924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11925 if (!SWIG_IsOK(res1
)) {
11926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11928 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11942 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11943 PyObject
*resultobj
= 0;
11944 wxFont
*arg1
= (wxFont
*) 0 ;
11948 PyObject
*swig_obj
[1] ;
11950 if (!args
) SWIG_fail
;
11951 swig_obj
[0] = args
;
11952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11956 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11972 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 PyObject
*resultobj
= 0;
11974 wxFont
*arg1
= (wxFont
*) 0 ;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11986 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12006 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12007 PyObject
*resultobj
= 0;
12008 wxFont
*arg1
= (wxFont
*) 0 ;
12012 PyObject
*swig_obj
[1] ;
12014 if (!args
) SWIG_fail
;
12015 swig_obj
[0] = args
;
12016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12020 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12040 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 wxFont
*arg1
= (wxFont
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 char * kwnames
[] = {
12051 (char *) "self",(char *) "pointSize", NULL
12054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12059 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12061 if (!SWIG_IsOK(ecode2
)) {
12062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12064 arg2
= static_cast< int >(val2
);
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 (arg1
)->SetPointSize(arg2
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_Py_Void();
12078 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
= 0;
12080 wxFont
*arg1
= (wxFont
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "pixelSize", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12096 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= SWIG_Py_Void();
12114 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
= 0;
12116 wxFont
*arg1
= (wxFont
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char * kwnames
[] = {
12125 (char *) "self",(char *) "family", NULL
12128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12130 if (!SWIG_IsOK(res1
)) {
12131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12133 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12135 if (!SWIG_IsOK(ecode2
)) {
12136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12138 arg2
= static_cast< int >(val2
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->SetFamily(arg2
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_Py_Void();
12152 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
= 0;
12154 wxFont
*arg1
= (wxFont
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 char * kwnames
[] = {
12163 (char *) "self",(char *) "style", NULL
12166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12171 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12173 if (!SWIG_IsOK(ecode2
)) {
12174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12176 arg2
= static_cast< int >(val2
);
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->SetStyle(arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_Py_Void();
12190 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
= 0;
12192 wxFont
*arg1
= (wxFont
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 char * kwnames
[] = {
12201 (char *) "self",(char *) "weight", NULL
12204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12206 if (!SWIG_IsOK(res1
)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12209 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12211 if (!SWIG_IsOK(ecode2
)) {
12212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12214 arg2
= static_cast< int >(val2
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 (arg1
)->SetWeight(arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_Py_Void();
12228 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= 0;
12230 wxFont
*arg1
= (wxFont
*) 0 ;
12231 wxString
*arg2
= 0 ;
12234 bool temp2
= false ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char * kwnames
[] = {
12238 (char *) "self",(char *) "faceName", NULL
12241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12246 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12248 arg2
= wxString_in_helper(obj1
);
12249 if (arg2
== NULL
) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_Py_Void();
12273 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
= 0;
12275 wxFont
*arg1
= (wxFont
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char * kwnames
[] = {
12284 (char *) "self",(char *) "underlined", NULL
12287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12289 if (!SWIG_IsOK(res1
)) {
12290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12292 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12293 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12294 if (!SWIG_IsOK(ecode2
)) {
12295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12297 arg2
= static_cast< bool >(val2
);
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 (arg1
)->SetUnderlined(arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_Py_Void();
12311 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
= 0;
12313 wxFont
*arg1
= (wxFont
*) 0 ;
12314 wxFontEncoding arg2
;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char * kwnames
[] = {
12322 (char *) "self",(char *) "encoding", NULL
12325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12330 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12332 if (!SWIG_IsOK(ecode2
)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12335 arg2
= static_cast< wxFontEncoding
>(val2
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 (arg1
)->SetEncoding(arg2
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_Py_Void();
12349 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
= 0;
12351 wxFont
*arg1
= (wxFont
*) 0 ;
12352 wxNativeFontInfo
*arg2
= 0 ;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 char * kwnames
[] = {
12360 (char *) "self",(char *) "info", NULL
12363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12365 if (!SWIG_IsOK(res1
)) {
12366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12368 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12370 if (!SWIG_IsOK(res2
)) {
12371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12376 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_Py_Void();
12390 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12391 PyObject
*resultobj
= 0;
12392 wxFont
*arg1
= (wxFont
*) 0 ;
12393 wxString
*arg2
= 0 ;
12396 bool temp2
= false ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 char * kwnames
[] = {
12400 (char *) "self",(char *) "info", NULL
12403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12408 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12410 arg2
= wxString_in_helper(obj1
);
12411 if (arg2
== NULL
) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= SWIG_Py_Void();
12435 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= 0;
12437 wxFont
*arg1
= (wxFont
*) 0 ;
12438 wxString
*arg2
= 0 ;
12441 bool temp2
= false ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 char * kwnames
[] = {
12445 (char *) "self",(char *) "info", NULL
12448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12450 if (!SWIG_IsOK(res1
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12453 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12455 arg2
= wxString_in_helper(obj1
);
12456 if (arg2
== NULL
) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_Py_Void();
12480 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12481 PyObject
*resultobj
= 0;
12482 wxFont
*arg1
= (wxFont
*) 0 ;
12486 PyObject
*swig_obj
[1] ;
12488 if (!args
) SWIG_fail
;
12489 swig_obj
[0] = args
;
12490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12491 if (!SWIG_IsOK(res1
)) {
12492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12494 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12514 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12515 PyObject
*resultobj
= 0;
12516 wxFont
*arg1
= (wxFont
*) 0 ;
12520 PyObject
*swig_obj
[1] ;
12522 if (!args
) SWIG_fail
;
12523 swig_obj
[0] = args
;
12524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12528 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= ((wxFont
const *)arg1
)->GetStyleString();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12548 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12549 PyObject
*resultobj
= 0;
12550 wxFont
*arg1
= (wxFont
*) 0 ;
12554 PyObject
*swig_obj
[1] ;
12556 if (!args
) SWIG_fail
;
12557 swig_obj
[0] = args
;
12558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12559 if (!SWIG_IsOK(res1
)) {
12560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12562 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= ((wxFont
const *)arg1
)->GetWeightString();
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12582 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
= 0;
12584 wxFont
*arg1
= (wxFont
*) 0 ;
12585 bool arg2
= (bool) true ;
12590 PyObject
* obj0
= 0 ;
12591 PyObject
* obj1
= 0 ;
12592 char * kwnames
[] = {
12593 (char *) "self",(char *) "no", NULL
12596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12598 if (!SWIG_IsOK(res1
)) {
12599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12601 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12603 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12604 if (!SWIG_IsOK(ecode2
)) {
12605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12607 arg2
= static_cast< bool >(val2
);
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 (arg1
)->SetNoAntiAliasing(arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= SWIG_Py_Void();
12622 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12623 PyObject
*resultobj
= 0;
12624 wxFont
*arg1
= (wxFont
*) 0 ;
12628 PyObject
*swig_obj
[1] ;
12630 if (!args
) SWIG_fail
;
12631 swig_obj
[0] = args
;
12632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12633 if (!SWIG_IsOK(res1
)) {
12634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12636 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12652 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12653 PyObject
*resultobj
= 0;
12654 wxFontEncoding result
;
12656 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12658 if (!wxPyCheckForApp()) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_From_int(static_cast< int >(result
));
12671 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
= 0;
12673 wxFontEncoding arg1
;
12676 PyObject
* obj0
= 0 ;
12677 char * kwnames
[] = {
12678 (char *) "encoding", NULL
12681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12682 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12683 if (!SWIG_IsOK(ecode1
)) {
12684 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12686 arg1
= static_cast< wxFontEncoding
>(val1
);
12688 if (!wxPyCheckForApp()) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 wxFont::SetDefaultEncoding(arg1
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= SWIG_Py_Void();
12701 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12704 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12705 return SWIG_Py_Void();
12708 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12709 return SWIG_Python_InitShadowInstance(args
);
12712 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12713 PyObject
*resultobj
= 0;
12714 wxPyFontEnumerator
*result
= 0 ;
12716 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12718 if (!wxPyCheckForApp()) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12731 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12732 PyObject
*resultobj
= 0;
12733 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12736 PyObject
*swig_obj
[1] ;
12738 if (!args
) SWIG_fail
;
12739 swig_obj
[0] = args
;
12740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12741 if (!SWIG_IsOK(res1
)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12744 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_Py_Void();
12759 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
= 0;
12761 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12762 PyObject
*arg2
= (PyObject
*) 0 ;
12763 PyObject
*arg3
= (PyObject
*) 0 ;
12769 PyObject
* obj0
= 0 ;
12770 PyObject
* obj1
= 0 ;
12771 PyObject
* obj2
= 0 ;
12772 PyObject
* obj3
= 0 ;
12773 char * kwnames
[] = {
12774 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12779 if (!SWIG_IsOK(res1
)) {
12780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12782 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12785 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12786 if (!SWIG_IsOK(ecode4
)) {
12787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12789 arg4
= static_cast< bool >(val4
);
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= SWIG_Py_Void();
12803 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
= 0;
12805 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12806 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12807 bool arg3
= (bool) false ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 PyObject
* obj2
= 0 ;
12818 char * kwnames
[] = {
12819 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12824 if (!SWIG_IsOK(res1
)) {
12825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12827 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12830 if (!SWIG_IsOK(ecode2
)) {
12831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12833 arg2
= static_cast< wxFontEncoding
>(val2
);
12836 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12837 if (!SWIG_IsOK(ecode3
)) {
12838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12840 arg3
= static_cast< bool >(val3
);
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12857 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
= 0;
12859 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12860 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12861 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12865 bool temp2
= false ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "facename", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12877 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12880 arg2
= wxString_in_helper(obj1
);
12881 if (arg2
== NULL
) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12908 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 PyObject
*resultobj
= 0;
12910 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12911 PyObject
*result
= 0 ;
12914 PyObject
*swig_obj
[1] ;
12916 if (!args
) SWIG_fail
;
12917 swig_obj
[0] = args
;
12918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12919 if (!SWIG_IsOK(res1
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12922 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= result
;
12936 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12937 PyObject
*resultobj
= 0;
12938 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12939 PyObject
*result
= 0 ;
12942 PyObject
*swig_obj
[1] ;
12944 if (!args
) SWIG_fail
;
12945 swig_obj
[0] = args
;
12946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12947 if (!SWIG_IsOK(res1
)) {
12948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12950 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= result
;
12964 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12967 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
12968 return SWIG_Py_Void();
12971 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12972 return SWIG_Python_InitShadowInstance(args
);
12975 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12976 PyObject
*resultobj
= 0;
12977 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12983 PyObject
*swig_obj
[2] ;
12985 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
12986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
12987 if (!SWIG_IsOK(res1
)) {
12988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
12990 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
12991 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12992 if (!SWIG_IsOK(ecode2
)) {
12993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
12995 arg2
= static_cast< int >(val2
);
12996 if (arg1
) (arg1
)->Language
= arg2
;
12998 resultobj
= SWIG_Py_Void();
13005 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13006 PyObject
*resultobj
= 0;
13007 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13011 PyObject
*swig_obj
[1] ;
13013 if (!args
) SWIG_fail
;
13014 swig_obj
[0] = args
;
13015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13016 if (!SWIG_IsOK(res1
)) {
13017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13019 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13020 result
= (int) ((arg1
)->Language
);
13021 resultobj
= SWIG_From_int(static_cast< int >(result
));
13028 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13029 PyObject
*resultobj
= 0;
13030 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13031 wxString
*arg2
= (wxString
*) 0 ;
13034 bool temp2
= false ;
13035 PyObject
*swig_obj
[2] ;
13037 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13039 if (!SWIG_IsOK(res1
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13042 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13044 arg2
= wxString_in_helper(swig_obj
[1]);
13045 if (arg2
== NULL
) SWIG_fail
;
13048 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13050 resultobj
= SWIG_Py_Void();
13065 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13066 PyObject
*resultobj
= 0;
13067 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13068 wxString
*result
= 0 ;
13071 PyObject
*swig_obj
[1] ;
13073 if (!args
) SWIG_fail
;
13074 swig_obj
[0] = args
;
13075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13079 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13080 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13094 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13095 PyObject
*resultobj
= 0;
13096 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13097 wxString
*arg2
= (wxString
*) 0 ;
13100 bool temp2
= false ;
13101 PyObject
*swig_obj
[2] ;
13103 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13105 if (!SWIG_IsOK(res1
)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13108 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13110 arg2
= wxString_in_helper(swig_obj
[1]);
13111 if (arg2
== NULL
) SWIG_fail
;
13114 if (arg1
) (arg1
)->Description
= *arg2
;
13116 resultobj
= SWIG_Py_Void();
13131 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13132 PyObject
*resultobj
= 0;
13133 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13134 wxString
*result
= 0 ;
13137 PyObject
*swig_obj
[1] ;
13139 if (!args
) SWIG_fail
;
13140 swig_obj
[0] = args
;
13141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13142 if (!SWIG_IsOK(res1
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13145 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13146 result
= (wxString
*)& ((arg1
)->Description
);
13149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13160 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13163 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13164 return SWIG_Py_Void();
13167 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
= 0;
13169 int arg1
= (int) -1 ;
13170 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13171 wxLocale
*result
= 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char * kwnames
[] = {
13179 (char *) "language",(char *) "flags", NULL
13182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13185 if (!SWIG_IsOK(ecode1
)) {
13186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13188 arg1
= static_cast< int >(val1
);
13191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13192 if (!SWIG_IsOK(ecode2
)) {
13193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13195 arg2
= static_cast< int >(val2
);
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13210 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13211 PyObject
*resultobj
= 0;
13212 wxLocale
*arg1
= (wxLocale
*) 0 ;
13215 PyObject
*swig_obj
[1] ;
13217 if (!args
) SWIG_fail
;
13218 swig_obj
[0] = args
;
13219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13220 if (!SWIG_IsOK(res1
)) {
13221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13223 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_Py_Void();
13238 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
= 0;
13240 wxLocale
*arg1
= (wxLocale
*) 0 ;
13241 wxString
*arg2
= 0 ;
13242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13246 bool arg5
= (bool) true ;
13247 bool arg6
= (bool) false ;
13251 bool temp2
= false ;
13252 bool temp3
= false ;
13253 bool temp4
= false ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 PyObject
* obj2
= 0 ;
13261 PyObject
* obj3
= 0 ;
13262 PyObject
* obj4
= 0 ;
13263 PyObject
* obj5
= 0 ;
13264 char * kwnames
[] = {
13265 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13270 if (!SWIG_IsOK(res1
)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13273 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13275 arg2
= wxString_in_helper(obj1
);
13276 if (arg2
== NULL
) SWIG_fail
;
13281 arg3
= wxString_in_helper(obj2
);
13282 if (arg3
== NULL
) SWIG_fail
;
13288 arg4
= wxString_in_helper(obj3
);
13289 if (arg4
== NULL
) SWIG_fail
;
13294 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13295 if (!SWIG_IsOK(ecode5
)) {
13296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13298 arg5
= static_cast< bool >(val5
);
13301 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13302 if (!SWIG_IsOK(ecode6
)) {
13303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13305 arg6
= static_cast< bool >(val6
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13346 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13348 wxLocale
*arg1
= (wxLocale
*) 0 ;
13349 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13350 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 PyObject
* obj2
= 0 ;
13361 char * kwnames
[] = {
13362 (char *) "self",(char *) "language",(char *) "flags", NULL
13365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13367 if (!SWIG_IsOK(res1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13370 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13373 if (!SWIG_IsOK(ecode2
)) {
13374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13376 arg2
= static_cast< int >(val2
);
13379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13380 if (!SWIG_IsOK(ecode3
)) {
13381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13383 arg3
= static_cast< int >(val3
);
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13400 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13401 PyObject
*resultobj
= 0;
13404 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (int)wxLocale::GetSystemLanguage();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= SWIG_From_int(static_cast< int >(result
));
13418 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13419 PyObject
*resultobj
= 0;
13420 wxFontEncoding result
;
13422 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_From_int(static_cast< int >(result
));
13436 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 PyObject
*resultobj
= 0;
13440 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= wxLocale::GetSystemEncodingName();
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13460 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13461 PyObject
*resultobj
= 0;
13462 wxLocale
*arg1
= (wxLocale
*) 0 ;
13466 PyObject
*swig_obj
[1] ;
13468 if (!args
) SWIG_fail
;
13469 swig_obj
[0] = args
;
13470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13471 if (!SWIG_IsOK(res1
)) {
13472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13474 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13490 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13491 PyObject
*resultobj
= 0;
13492 wxLocale
*arg1
= (wxLocale
*) 0 ;
13496 PyObject
*swig_obj
[1] ;
13498 if (!args
) SWIG_fail
;
13499 swig_obj
[0] = args
;
13500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13501 if (!SWIG_IsOK(res1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13504 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= ((wxLocale
const *)arg1
)->GetLocale();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13524 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13525 PyObject
*resultobj
= 0;
13526 wxLocale
*arg1
= (wxLocale
*) 0 ;
13530 PyObject
*swig_obj
[1] ;
13532 if (!args
) SWIG_fail
;
13533 swig_obj
[0] = args
;
13534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13535 if (!SWIG_IsOK(res1
)) {
13536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13538 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= SWIG_From_int(static_cast< int >(result
));
13552 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13553 PyObject
*resultobj
= 0;
13554 wxLocale
*arg1
= (wxLocale
*) 0 ;
13558 PyObject
*swig_obj
[1] ;
13560 if (!args
) SWIG_fail
;
13561 swig_obj
[0] = args
;
13562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13566 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= ((wxLocale
const *)arg1
)->GetSysName();
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13586 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13587 PyObject
*resultobj
= 0;
13588 wxLocale
*arg1
= (wxLocale
*) 0 ;
13592 PyObject
*swig_obj
[1] ;
13594 if (!args
) SWIG_fail
;
13595 swig_obj
[0] = args
;
13596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13597 if (!SWIG_IsOK(res1
)) {
13598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13600 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13620 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
= 0;
13622 wxString
*arg1
= 0 ;
13623 bool temp1
= false ;
13624 PyObject
* obj0
= 0 ;
13625 char * kwnames
[] = {
13626 (char *) "prefix", NULL
13629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13631 arg1
= wxString_in_helper(obj0
);
13632 if (arg1
== NULL
) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_Py_Void();
13656 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
= 0;
13658 wxLocale
*arg1
= (wxLocale
*) 0 ;
13659 wxString
*arg2
= 0 ;
13663 bool temp2
= false ;
13664 PyObject
* obj0
= 0 ;
13665 PyObject
* obj1
= 0 ;
13666 char * kwnames
[] = {
13667 (char *) "self",(char *) "szDomain", NULL
13670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13672 if (!SWIG_IsOK(res1
)) {
13673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13675 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13677 arg2
= wxString_in_helper(obj1
);
13678 if (arg2
== NULL
) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13704 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
= 0;
13706 wxLocale
*arg1
= (wxLocale
*) 0 ;
13707 wxString
*arg2
= 0 ;
13711 bool temp2
= false ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char * kwnames
[] = {
13715 (char *) "self",(char *) "szDomain", NULL
13718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13723 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13725 arg2
= wxString_in_helper(obj1
);
13726 if (arg2
== NULL
) SWIG_fail
;
13730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13731 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13752 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
= 0;
13755 wxLanguageInfo
*result
= 0 ;
13758 PyObject
* obj0
= 0 ;
13759 char * kwnames
[] = {
13760 (char *) "lang", NULL
13763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13765 if (!SWIG_IsOK(ecode1
)) {
13766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13768 arg1
= static_cast< int >(val1
);
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13782 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
= 0;
13788 PyObject
* obj0
= 0 ;
13789 char * kwnames
[] = {
13790 (char *) "lang", NULL
13793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13794 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13795 if (!SWIG_IsOK(ecode1
)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13798 arg1
= static_cast< int >(val1
);
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= wxLocale::GetLanguageName(arg1
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13818 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
= 0;
13820 wxString
*arg1
= 0 ;
13821 wxLanguageInfo
*result
= 0 ;
13822 bool temp1
= false ;
13823 PyObject
* obj0
= 0 ;
13824 char * kwnames
[] = {
13825 (char *) "locale", NULL
13828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13830 arg1
= wxString_in_helper(obj0
);
13831 if (arg1
== NULL
) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13855 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
= 0;
13857 wxLanguageInfo
*arg1
= 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char * kwnames
[] = {
13862 (char *) "info", NULL
13865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13866 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13867 if (!SWIG_IsOK(res1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13873 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_Py_Void();
13887 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
= 0;
13889 wxLocale
*arg1
= (wxLocale
*) 0 ;
13890 wxString
*arg2
= 0 ;
13891 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13892 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13896 bool temp2
= false ;
13897 bool temp3
= false ;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 PyObject
* obj2
= 0 ;
13901 char * kwnames
[] = {
13902 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13910 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13912 arg2
= wxString_in_helper(obj1
);
13913 if (arg2
== NULL
) SWIG_fail
;
13918 arg3
= wxString_in_helper(obj2
);
13919 if (arg3
== NULL
) SWIG_fail
;
13924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13925 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13958 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13959 PyObject
*resultobj
= 0;
13960 wxLocale
*arg1
= (wxLocale
*) 0 ;
13961 wxString
*result
= 0 ;
13964 PyObject
*swig_obj
[1] ;
13966 if (!args
) SWIG_fail
;
13967 swig_obj
[0] = args
;
13968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13972 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
13977 result
= (wxString
*) &_result_ref
;
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13995 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13998 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
13999 return SWIG_Py_Void();
14002 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14003 return SWIG_Python_InitShadowInstance(args
);
14006 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14007 PyObject
*resultobj
= 0;
14008 wxLocale
*result
= 0 ;
14010 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (wxLocale
*)wxGetLocale();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14024 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14025 PyObject
*resultobj
= 0;
14026 wxString
*arg1
= 0 ;
14028 bool temp1
= false ;
14030 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14032 arg1
= wxString_in_helper(swig_obj
[0]);
14033 if (arg1
== NULL
) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= wxGetTranslation((wxString
const &)*arg1
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14063 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14064 PyObject
*resultobj
= 0;
14065 wxString
*arg1
= 0 ;
14066 wxString
*arg2
= 0 ;
14069 bool temp1
= false ;
14070 bool temp2
= false ;
14074 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14076 arg1
= wxString_in_helper(swig_obj
[0]);
14077 if (arg1
== NULL
) SWIG_fail
;
14081 arg2
= wxString_in_helper(swig_obj
[1]);
14082 if (arg2
== NULL
) SWIG_fail
;
14085 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14086 if (!SWIG_IsOK(ecode3
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14089 arg3
= static_cast< size_t >(val3
);
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14125 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14129 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14132 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14135 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14139 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14144 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14145 PyObject
*resultobj
= 0;
14146 wxEncodingConverter
*result
= 0 ;
14148 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14162 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14167 PyObject
*swig_obj
[1] ;
14169 if (!args
) SWIG_fail
;
14170 swig_obj
[0] = args
;
14171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14172 if (!SWIG_IsOK(res1
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14175 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_Py_Void();
14190 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14191 PyObject
*resultobj
= 0;
14192 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14193 wxFontEncoding arg2
;
14194 wxFontEncoding arg3
;
14195 int arg4
= (int) wxCONVERT_STRICT
;
14205 PyObject
* obj0
= 0 ;
14206 PyObject
* obj1
= 0 ;
14207 PyObject
* obj2
= 0 ;
14208 PyObject
* obj3
= 0 ;
14209 char * kwnames
[] = {
14210 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14215 if (!SWIG_IsOK(res1
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14218 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14220 if (!SWIG_IsOK(ecode2
)) {
14221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14223 arg2
= static_cast< wxFontEncoding
>(val2
);
14224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14225 if (!SWIG_IsOK(ecode3
)) {
14226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14228 arg3
= static_cast< wxFontEncoding
>(val3
);
14230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14231 if (!SWIG_IsOK(ecode4
)) {
14232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14234 arg4
= static_cast< int >(val4
);
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14251 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14252 PyObject
*resultobj
= 0;
14253 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14254 wxString
*arg2
= 0 ;
14258 bool temp2
= false ;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj1
= 0 ;
14261 char * kwnames
[] = {
14262 (char *) "self",(char *) "input", NULL
14265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14267 if (!SWIG_IsOK(res1
)) {
14268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14270 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14272 arg2
= wxString_in_helper(obj1
);
14273 if (arg2
== NULL
) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14303 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
= 0;
14305 wxFontEncoding arg1
;
14306 int arg2
= (int) wxPLATFORM_CURRENT
;
14307 wxFontEncodingArray result
;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 char * kwnames
[] = {
14315 (char *) "enc",(char *) "platform", NULL
14318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14320 if (!SWIG_IsOK(ecode1
)) {
14321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14323 arg1
= static_cast< wxFontEncoding
>(val1
);
14325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14326 if (!SWIG_IsOK(ecode2
)) {
14327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14329 arg2
= static_cast< int >(val2
);
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14338 resultobj
= PyList_New(0);
14339 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14340 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14341 PyList_Append(resultobj
, number
);
14351 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
= 0;
14353 wxFontEncoding arg1
;
14354 wxFontEncodingArray result
;
14357 PyObject
* obj0
= 0 ;
14358 char * kwnames
[] = {
14359 (char *) "enc", NULL
14362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14363 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14364 if (!SWIG_IsOK(ecode1
)) {
14365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14367 arg1
= static_cast< wxFontEncoding
>(val1
);
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= PyList_New(0);
14376 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14377 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14378 PyList_Append(resultobj
, number
);
14388 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
= 0;
14390 wxFontEncoding arg1
;
14391 wxFontEncoding arg2
;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char * kwnames
[] = {
14400 (char *) "encIn",(char *) "encOut", NULL
14403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14405 if (!SWIG_IsOK(ecode1
)) {
14406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14408 arg1
= static_cast< wxFontEncoding
>(val1
);
14409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14410 if (!SWIG_IsOK(ecode2
)) {
14411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14413 arg2
= static_cast< wxFontEncoding
>(val2
);
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14429 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14432 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14433 return SWIG_Py_Void();
14436 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14437 return SWIG_Python_InitShadowInstance(args
);
14440 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14441 PyObject
*resultobj
= 0;
14442 wxDC
*arg1
= (wxDC
*) 0 ;
14445 PyObject
*swig_obj
[1] ;
14447 if (!args
) SWIG_fail
;
14448 swig_obj
[0] = args
;
14449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14450 if (!SWIG_IsOK(res1
)) {
14451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_Py_Void();
14468 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
= 0;
14470 wxDC
*arg1
= (wxDC
*) 0 ;
14473 wxColour
*arg4
= 0 ;
14474 int arg5
= (int) wxFLOOD_SURFACE
;
14485 PyObject
* obj0
= 0 ;
14486 PyObject
* obj1
= 0 ;
14487 PyObject
* obj2
= 0 ;
14488 PyObject
* obj3
= 0 ;
14489 PyObject
* obj4
= 0 ;
14490 char * kwnames
[] = {
14491 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14501 if (!SWIG_IsOK(ecode2
)) {
14502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14504 arg2
= static_cast< int >(val2
);
14505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14506 if (!SWIG_IsOK(ecode3
)) {
14507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14509 arg3
= static_cast< int >(val3
);
14512 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14515 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14516 if (!SWIG_IsOK(ecode5
)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14519 arg5
= static_cast< int >(val5
);
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14536 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
= 0;
14538 wxDC
*arg1
= (wxDC
*) 0 ;
14539 wxPoint
*arg2
= 0 ;
14540 wxColour
*arg3
= 0 ;
14541 int arg4
= (int) wxFLOOD_SURFACE
;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 PyObject
* obj2
= 0 ;
14552 PyObject
* obj3
= 0 ;
14553 char * kwnames
[] = {
14554 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14565 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14569 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14572 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14573 if (!SWIG_IsOK(ecode4
)) {
14574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14576 arg4
= static_cast< int >(val4
);
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14593 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
= 0;
14595 wxDC
*arg1
= (wxDC
*) 0 ;
14597 wxColour
*arg3
= 0 ;
14598 wxColour
*arg4
= 0 ;
14599 wxPoint
*arg5
= 0 ;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 PyObject
* obj2
= 0 ;
14609 PyObject
* obj3
= 0 ;
14610 PyObject
* obj4
= 0 ;
14611 char * kwnames
[] = {
14612 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14623 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14627 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14631 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14635 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= SWIG_Py_Void();
14650 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
= 0;
14652 wxDC
*arg1
= (wxDC
*) 0 ;
14654 wxColour
*arg3
= 0 ;
14655 wxColour
*arg4
= 0 ;
14656 wxDirection arg5
= (wxDirection
) wxEAST
;
14664 PyObject
* obj0
= 0 ;
14665 PyObject
* obj1
= 0 ;
14666 PyObject
* obj2
= 0 ;
14667 PyObject
* obj3
= 0 ;
14668 PyObject
* obj4
= 0 ;
14669 char * kwnames
[] = {
14670 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14681 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14685 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14689 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14693 if (!SWIG_IsOK(ecode5
)) {
14694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14696 arg5
= static_cast< wxDirection
>(val5
);
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= SWIG_Py_Void();
14711 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
= 0;
14713 wxDC
*arg1
= (wxDC
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 PyObject
* obj2
= 0 ;
14726 char * kwnames
[] = {
14727 (char *) "self",(char *) "x",(char *) "y", NULL
14730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14732 if (!SWIG_IsOK(res1
)) {
14733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14737 if (!SWIG_IsOK(ecode2
)) {
14738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14740 arg2
= static_cast< int >(val2
);
14741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14742 if (!SWIG_IsOK(ecode3
)) {
14743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14745 arg3
= static_cast< int >(val3
);
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14759 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
= 0;
14761 wxDC
*arg1
= (wxDC
*) 0 ;
14762 wxPoint
*arg2
= 0 ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 char * kwnames
[] = {
14770 (char *) "self",(char *) "pt", NULL
14773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14775 if (!SWIG_IsOK(res1
)) {
14776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14781 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14796 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
= 0;
14798 wxDC
*arg1
= (wxDC
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 PyObject
* obj2
= 0 ;
14816 PyObject
* obj3
= 0 ;
14817 PyObject
* obj4
= 0 ;
14818 char * kwnames
[] = {
14819 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14829 if (!SWIG_IsOK(ecode2
)) {
14830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14832 arg2
= static_cast< int >(val2
);
14833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14834 if (!SWIG_IsOK(ecode3
)) {
14835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14837 arg3
= static_cast< int >(val3
);
14838 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14839 if (!SWIG_IsOK(ecode4
)) {
14840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14842 arg4
= static_cast< int >(val4
);
14843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14844 if (!SWIG_IsOK(ecode5
)) {
14845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14847 arg5
= static_cast< int >(val5
);
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_Py_Void();
14861 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
= 0;
14863 wxDC
*arg1
= (wxDC
*) 0 ;
14864 wxPoint
*arg2
= 0 ;
14865 wxPoint
*arg3
= 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 PyObject
* obj2
= 0 ;
14873 char * kwnames
[] = {
14874 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14879 if (!SWIG_IsOK(res1
)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= SWIG_Py_Void();
14904 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
= 0;
14906 wxDC
*arg1
= (wxDC
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 char * kwnames
[] = {
14919 (char *) "self",(char *) "x",(char *) "y", NULL
14922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14929 if (!SWIG_IsOK(ecode2
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14932 arg2
= static_cast< int >(val2
);
14933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14934 if (!SWIG_IsOK(ecode3
)) {
14935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14937 arg3
= static_cast< int >(val3
);
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 (arg1
)->CrossHair(arg2
,arg3
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_Py_Void();
14951 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
= 0;
14953 wxDC
*arg1
= (wxDC
*) 0 ;
14954 wxPoint
*arg2
= 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 char * kwnames
[] = {
14961 (char *) "self",(char *) "pt", NULL
14964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14966 if (!SWIG_IsOK(res1
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_Py_Void();
14987 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
= 0;
14989 wxDC
*arg1
= (wxDC
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 PyObject
* obj2
= 0 ;
15013 PyObject
* obj3
= 0 ;
15014 PyObject
* obj4
= 0 ;
15015 PyObject
* obj5
= 0 ;
15016 PyObject
* obj6
= 0 ;
15017 char * kwnames
[] = {
15018 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15026 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15028 if (!SWIG_IsOK(ecode2
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15031 arg2
= static_cast< int >(val2
);
15032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15033 if (!SWIG_IsOK(ecode3
)) {
15034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15036 arg3
= static_cast< int >(val3
);
15037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15038 if (!SWIG_IsOK(ecode4
)) {
15039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15041 arg4
= static_cast< int >(val4
);
15042 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15043 if (!SWIG_IsOK(ecode5
)) {
15044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15046 arg5
= static_cast< int >(val5
);
15047 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15048 if (!SWIG_IsOK(ecode6
)) {
15049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15051 arg6
= static_cast< int >(val6
);
15052 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15053 if (!SWIG_IsOK(ecode7
)) {
15054 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15056 arg7
= static_cast< int >(val7
);
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_Py_Void();
15070 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15071 PyObject
*resultobj
= 0;
15072 wxDC
*arg1
= (wxDC
*) 0 ;
15073 wxPoint
*arg2
= 0 ;
15074 wxPoint
*arg3
= 0 ;
15075 wxPoint
*arg4
= 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 PyObject
* obj2
= 0 ;
15084 PyObject
* obj3
= 0 ;
15085 char * kwnames
[] = {
15086 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15091 if (!SWIG_IsOK(res1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_Py_Void();
15120 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
= 0;
15122 wxDC
*arg1
= (wxDC
*) 0 ;
15137 PyObject
* obj0
= 0 ;
15138 PyObject
* obj1
= 0 ;
15139 PyObject
* obj2
= 0 ;
15140 PyObject
* obj3
= 0 ;
15141 PyObject
* obj4
= 0 ;
15142 char * kwnames
[] = {
15143 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15148 if (!SWIG_IsOK(res1
)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15153 if (!SWIG_IsOK(ecode2
)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15156 arg2
= static_cast< int >(val2
);
15157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15158 if (!SWIG_IsOK(ecode3
)) {
15159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15161 arg3
= static_cast< int >(val3
);
15162 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15163 if (!SWIG_IsOK(ecode4
)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15166 arg4
= static_cast< int >(val4
);
15167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15168 if (!SWIG_IsOK(ecode5
)) {
15169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15171 arg5
= static_cast< int >(val5
);
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= SWIG_Py_Void();
15185 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
= 0;
15187 wxDC
*arg1
= (wxDC
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 char * kwnames
[] = {
15195 (char *) "self",(char *) "rect", NULL
15198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15200 if (!SWIG_IsOK(res1
)) {
15201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15206 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= SWIG_Py_Void();
15221 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
= 0;
15223 wxDC
*arg1
= (wxDC
*) 0 ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 PyObject
* obj2
= 0 ;
15247 PyObject
* obj3
= 0 ;
15248 PyObject
* obj4
= 0 ;
15249 PyObject
* obj5
= 0 ;
15250 PyObject
* obj6
= 0 ;
15251 char * kwnames
[] = {
15252 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15257 if (!SWIG_IsOK(res1
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15262 if (!SWIG_IsOK(ecode2
)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15265 arg2
= static_cast< int >(val2
);
15266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15267 if (!SWIG_IsOK(ecode3
)) {
15268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15270 arg3
= static_cast< int >(val3
);
15271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15272 if (!SWIG_IsOK(ecode4
)) {
15273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15275 arg4
= static_cast< int >(val4
);
15276 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15277 if (!SWIG_IsOK(ecode5
)) {
15278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15280 arg5
= static_cast< int >(val5
);
15281 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15282 if (!SWIG_IsOK(ecode6
)) {
15283 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15285 arg6
= static_cast< double >(val6
);
15286 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15287 if (!SWIG_IsOK(ecode7
)) {
15288 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15290 arg7
= static_cast< double >(val7
);
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= SWIG_Py_Void();
15304 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
= 0;
15306 wxDC
*arg1
= (wxDC
*) 0 ;
15307 wxPoint
*arg2
= 0 ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 PyObject
* obj2
= 0 ;
15322 PyObject
* obj3
= 0 ;
15323 PyObject
* obj4
= 0 ;
15324 char * kwnames
[] = {
15325 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15330 if (!SWIG_IsOK(res1
)) {
15331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15340 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15342 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15343 if (!SWIG_IsOK(ecode4
)) {
15344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15346 arg4
= static_cast< double >(val4
);
15347 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15348 if (!SWIG_IsOK(ecode5
)) {
15349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15351 arg5
= static_cast< double >(val5
);
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_Py_Void();
15365 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
= 0;
15367 wxDC
*arg1
= (wxDC
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 PyObject
* obj2
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "self",(char *) "x",(char *) "y", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15390 if (!SWIG_IsOK(ecode2
)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15393 arg2
= static_cast< int >(val2
);
15394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15395 if (!SWIG_IsOK(ecode3
)) {
15396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15398 arg3
= static_cast< int >(val3
);
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->DrawPoint(arg2
,arg3
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_Py_Void();
15412 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
= 0;
15414 wxDC
*arg1
= (wxDC
*) 0 ;
15415 wxPoint
*arg2
= 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 char * kwnames
[] = {
15422 (char *) "self",(char *) "pt", NULL
15425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_Py_Void();
15448 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
= 0;
15450 wxDC
*arg1
= (wxDC
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 PyObject
* obj2
= 0 ;
15468 PyObject
* obj3
= 0 ;
15469 PyObject
* obj4
= 0 ;
15470 char * kwnames
[] = {
15471 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15476 if (!SWIG_IsOK(res1
)) {
15477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15481 if (!SWIG_IsOK(ecode2
)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15484 arg2
= static_cast< int >(val2
);
15485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15486 if (!SWIG_IsOK(ecode3
)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15489 arg3
= static_cast< int >(val3
);
15490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15491 if (!SWIG_IsOK(ecode4
)) {
15492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15494 arg4
= static_cast< int >(val4
);
15495 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15496 if (!SWIG_IsOK(ecode5
)) {
15497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15499 arg5
= static_cast< int >(val5
);
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= SWIG_Py_Void();
15513 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
= 0;
15515 wxDC
*arg1
= (wxDC
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char * kwnames
[] = {
15523 (char *) "self",(char *) "rect", NULL
15526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15528 if (!SWIG_IsOK(res1
)) {
15529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= SWIG_Py_Void();
15549 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
= 0;
15551 wxDC
*arg1
= (wxDC
*) 0 ;
15552 wxPoint
*arg2
= 0 ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 PyObject
* obj2
= 0 ;
15561 char * kwnames
[] = {
15562 (char *) "self",(char *) "pt",(char *) "sz", NULL
15565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15567 if (!SWIG_IsOK(res1
)) {
15568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15577 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 resultobj
= SWIG_Py_Void();
15592 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
= 0;
15594 wxDC
*arg1
= (wxDC
*) 0 ;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 PyObject
* obj2
= 0 ;
15615 PyObject
* obj3
= 0 ;
15616 PyObject
* obj4
= 0 ;
15617 PyObject
* obj5
= 0 ;
15618 char * kwnames
[] = {
15619 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15624 if (!SWIG_IsOK(res1
)) {
15625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15629 if (!SWIG_IsOK(ecode2
)) {
15630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15632 arg2
= static_cast< int >(val2
);
15633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15634 if (!SWIG_IsOK(ecode3
)) {
15635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15637 arg3
= static_cast< int >(val3
);
15638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15639 if (!SWIG_IsOK(ecode4
)) {
15640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15642 arg4
= static_cast< int >(val4
);
15643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15644 if (!SWIG_IsOK(ecode5
)) {
15645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15647 arg5
= static_cast< int >(val5
);
15648 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15649 if (!SWIG_IsOK(ecode6
)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15652 arg6
= static_cast< double >(val6
);
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_Py_Void();
15666 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= 0;
15668 wxDC
*arg1
= (wxDC
*) 0 ;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 PyObject
* obj2
= 0 ;
15679 char * kwnames
[] = {
15680 (char *) "self",(char *) "r",(char *) "radius", NULL
15683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15685 if (!SWIG_IsOK(res1
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15691 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15693 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15694 if (!SWIG_IsOK(ecode3
)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15697 arg3
= static_cast< double >(val3
);
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_Py_Void();
15711 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
= 0;
15713 wxDC
*arg1
= (wxDC
*) 0 ;
15714 wxPoint
*arg2
= 0 ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 PyObject
* obj2
= 0 ;
15726 PyObject
* obj3
= 0 ;
15727 char * kwnames
[] = {
15728 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15733 if (!SWIG_IsOK(res1
)) {
15734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15739 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15743 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15745 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15746 if (!SWIG_IsOK(ecode4
)) {
15747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15749 arg4
= static_cast< double >(val4
);
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= SWIG_Py_Void();
15763 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
= 0;
15765 wxDC
*arg1
= (wxDC
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 PyObject
* obj2
= 0 ;
15780 PyObject
* obj3
= 0 ;
15781 char * kwnames
[] = {
15782 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15787 if (!SWIG_IsOK(res1
)) {
15788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15792 if (!SWIG_IsOK(ecode2
)) {
15793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15795 arg2
= static_cast< int >(val2
);
15796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15797 if (!SWIG_IsOK(ecode3
)) {
15798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15800 arg3
= static_cast< int >(val3
);
15801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15802 if (!SWIG_IsOK(ecode4
)) {
15803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15805 arg4
= static_cast< int >(val4
);
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= SWIG_Py_Void();
15819 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
= 0;
15821 wxDC
*arg1
= (wxDC
*) 0 ;
15822 wxPoint
*arg2
= 0 ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 char * kwnames
[] = {
15833 (char *) "self",(char *) "pt",(char *) "radius", NULL
15836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15838 if (!SWIG_IsOK(res1
)) {
15839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15844 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15847 if (!SWIG_IsOK(ecode3
)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15850 arg3
= static_cast< int >(val3
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_Py_Void();
15864 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 wxDC
*arg1
= (wxDC
*) 0 ;
15881 PyObject
* obj0
= 0 ;
15882 PyObject
* obj1
= 0 ;
15883 PyObject
* obj2
= 0 ;
15884 PyObject
* obj3
= 0 ;
15885 PyObject
* obj4
= 0 ;
15886 char * kwnames
[] = {
15887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15892 if (!SWIG_IsOK(res1
)) {
15893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15897 if (!SWIG_IsOK(ecode2
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15900 arg2
= static_cast< int >(val2
);
15901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15902 if (!SWIG_IsOK(ecode3
)) {
15903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15905 arg3
= static_cast< int >(val3
);
15906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15907 if (!SWIG_IsOK(ecode4
)) {
15908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15910 arg4
= static_cast< int >(val4
);
15911 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15912 if (!SWIG_IsOK(ecode5
)) {
15913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15915 arg5
= static_cast< int >(val5
);
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= SWIG_Py_Void();
15929 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
= 0;
15931 wxDC
*arg1
= (wxDC
*) 0 ;
15936 PyObject
* obj0
= 0 ;
15937 PyObject
* obj1
= 0 ;
15938 char * kwnames
[] = {
15939 (char *) "self",(char *) "rect", NULL
15942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15944 if (!SWIG_IsOK(res1
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15950 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 resultobj
= SWIG_Py_Void();
15965 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
= 0;
15967 wxDC
*arg1
= (wxDC
*) 0 ;
15968 wxPoint
*arg2
= 0 ;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 PyObject
* obj2
= 0 ;
15977 char * kwnames
[] = {
15978 (char *) "self",(char *) "pt",(char *) "sz", NULL
15981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15983 if (!SWIG_IsOK(res1
)) {
15984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15993 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= SWIG_Py_Void();
16008 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
= 0;
16010 wxDC
*arg1
= (wxDC
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 PyObject
* obj2
= 0 ;
16025 PyObject
* obj3
= 0 ;
16026 char * kwnames
[] = {
16027 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16035 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16037 if (!SWIG_IsOK(res2
)) {
16038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16043 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16045 if (!SWIG_IsOK(ecode3
)) {
16046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16048 arg3
= static_cast< int >(val3
);
16049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16050 if (!SWIG_IsOK(ecode4
)) {
16051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16053 arg4
= static_cast< int >(val4
);
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= SWIG_Py_Void();
16067 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
= 0;
16069 wxDC
*arg1
= (wxDC
*) 0 ;
16071 wxPoint
*arg3
= 0 ;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 PyObject
* obj2
= 0 ;
16080 char * kwnames
[] = {
16081 (char *) "self",(char *) "icon",(char *) "pt", NULL
16084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16086 if (!SWIG_IsOK(res1
)) {
16087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16091 if (!SWIG_IsOK(res2
)) {
16092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16097 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= SWIG_Py_Void();
16115 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
= 0;
16117 wxDC
*arg1
= (wxDC
*) 0 ;
16118 wxBitmap
*arg2
= 0 ;
16121 bool arg5
= (bool) false ;
16132 PyObject
* obj0
= 0 ;
16133 PyObject
* obj1
= 0 ;
16134 PyObject
* obj2
= 0 ;
16135 PyObject
* obj3
= 0 ;
16136 PyObject
* obj4
= 0 ;
16137 char * kwnames
[] = {
16138 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16143 if (!SWIG_IsOK(res1
)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16148 if (!SWIG_IsOK(res2
)) {
16149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16154 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16156 if (!SWIG_IsOK(ecode3
)) {
16157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16159 arg3
= static_cast< int >(val3
);
16160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16161 if (!SWIG_IsOK(ecode4
)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16164 arg4
= static_cast< int >(val4
);
16166 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16167 if (!SWIG_IsOK(ecode5
)) {
16168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16170 arg5
= static_cast< bool >(val5
);
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= SWIG_Py_Void();
16185 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
= 0;
16187 wxDC
*arg1
= (wxDC
*) 0 ;
16188 wxBitmap
*arg2
= 0 ;
16189 wxPoint
*arg3
= 0 ;
16190 bool arg4
= (bool) false ;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 PyObject
* obj2
= 0 ;
16201 PyObject
* obj3
= 0 ;
16202 char * kwnames
[] = {
16203 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16208 if (!SWIG_IsOK(res1
)) {
16209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16213 if (!SWIG_IsOK(res2
)) {
16214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16219 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16225 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16226 if (!SWIG_IsOK(ecode4
)) {
16227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16229 arg4
= static_cast< bool >(val4
);
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= SWIG_Py_Void();
16244 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
= 0;
16246 wxDC
*arg1
= (wxDC
*) 0 ;
16247 wxString
*arg2
= 0 ;
16252 bool temp2
= false ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 PyObject
* obj2
= 0 ;
16260 PyObject
* obj3
= 0 ;
16261 char * kwnames
[] = {
16262 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16267 if (!SWIG_IsOK(res1
)) {
16268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16272 arg2
= wxString_in_helper(obj1
);
16273 if (arg2
== NULL
) SWIG_fail
;
16276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16277 if (!SWIG_IsOK(ecode3
)) {
16278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16280 arg3
= static_cast< int >(val3
);
16281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16282 if (!SWIG_IsOK(ecode4
)) {
16283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16285 arg4
= static_cast< int >(val4
);
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_Py_Void();
16307 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
= 0;
16309 wxDC
*arg1
= (wxDC
*) 0 ;
16310 wxString
*arg2
= 0 ;
16311 wxPoint
*arg3
= 0 ;
16314 bool temp2
= false ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 PyObject
* obj2
= 0 ;
16319 char * kwnames
[] = {
16320 (char *) "self",(char *) "text",(char *) "pt", NULL
16323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16325 if (!SWIG_IsOK(res1
)) {
16326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16328 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16330 arg2
= wxString_in_helper(obj1
);
16331 if (arg2
== NULL
) SWIG_fail
;
16336 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= SWIG_Py_Void();
16359 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
= 0;
16361 wxDC
*arg1
= (wxDC
*) 0 ;
16362 wxString
*arg2
= 0 ;
16368 bool temp2
= false ;
16375 PyObject
* obj0
= 0 ;
16376 PyObject
* obj1
= 0 ;
16377 PyObject
* obj2
= 0 ;
16378 PyObject
* obj3
= 0 ;
16379 PyObject
* obj4
= 0 ;
16380 char * kwnames
[] = {
16381 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16386 if (!SWIG_IsOK(res1
)) {
16387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16391 arg2
= wxString_in_helper(obj1
);
16392 if (arg2
== NULL
) SWIG_fail
;
16395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16396 if (!SWIG_IsOK(ecode3
)) {
16397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16399 arg3
= static_cast< int >(val3
);
16400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16401 if (!SWIG_IsOK(ecode4
)) {
16402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16404 arg4
= static_cast< int >(val4
);
16405 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16406 if (!SWIG_IsOK(ecode5
)) {
16407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16409 arg5
= static_cast< double >(val5
);
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= SWIG_Py_Void();
16431 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
= 0;
16433 wxDC
*arg1
= (wxDC
*) 0 ;
16434 wxString
*arg2
= 0 ;
16435 wxPoint
*arg3
= 0 ;
16439 bool temp2
= false ;
16443 PyObject
* obj0
= 0 ;
16444 PyObject
* obj1
= 0 ;
16445 PyObject
* obj2
= 0 ;
16446 PyObject
* obj3
= 0 ;
16447 char * kwnames
[] = {
16448 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16453 if (!SWIG_IsOK(res1
)) {
16454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16458 arg2
= wxString_in_helper(obj1
);
16459 if (arg2
== NULL
) SWIG_fail
;
16464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16466 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16467 if (!SWIG_IsOK(ecode4
)) {
16468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16470 arg4
= static_cast< double >(val4
);
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_Py_Void();
16492 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
= 0;
16494 wxDC
*arg1
= (wxDC
*) 0 ;
16499 wxDC
*arg6
= (wxDC
*) 0 ;
16502 int arg9
= (int) wxCOPY
;
16503 bool arg10
= (bool) false ;
16504 int arg11
= (int) -1 ;
16505 int arg12
= (int) -1 ;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 PyObject
* obj2
= 0 ;
16534 PyObject
* obj3
= 0 ;
16535 PyObject
* obj4
= 0 ;
16536 PyObject
* obj5
= 0 ;
16537 PyObject
* obj6
= 0 ;
16538 PyObject
* obj7
= 0 ;
16539 PyObject
* obj8
= 0 ;
16540 PyObject
* obj9
= 0 ;
16541 PyObject
* obj10
= 0 ;
16542 PyObject
* obj11
= 0 ;
16543 char * kwnames
[] = {
16544 (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
16547 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
;
16548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16549 if (!SWIG_IsOK(res1
)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16554 if (!SWIG_IsOK(ecode2
)) {
16555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16557 arg2
= static_cast< int >(val2
);
16558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16559 if (!SWIG_IsOK(ecode3
)) {
16560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16562 arg3
= static_cast< int >(val3
);
16563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16564 if (!SWIG_IsOK(ecode4
)) {
16565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16567 arg4
= static_cast< int >(val4
);
16568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16569 if (!SWIG_IsOK(ecode5
)) {
16570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16572 arg5
= static_cast< int >(val5
);
16573 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16574 if (!SWIG_IsOK(res6
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16577 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16578 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16579 if (!SWIG_IsOK(ecode7
)) {
16580 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16582 arg7
= static_cast< int >(val7
);
16583 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16584 if (!SWIG_IsOK(ecode8
)) {
16585 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16587 arg8
= static_cast< int >(val8
);
16589 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16590 if (!SWIG_IsOK(ecode9
)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16593 arg9
= static_cast< int >(val9
);
16596 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16597 if (!SWIG_IsOK(ecode10
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16600 arg10
= static_cast< bool >(val10
);
16603 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16604 if (!SWIG_IsOK(ecode11
)) {
16605 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16607 arg11
= static_cast< int >(val11
);
16610 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16611 if (!SWIG_IsOK(ecode12
)) {
16612 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16614 arg12
= static_cast< int >(val12
);
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16631 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
= 0;
16633 wxDC
*arg1
= (wxDC
*) 0 ;
16634 wxPoint
*arg2
= 0 ;
16636 wxDC
*arg4
= (wxDC
*) 0 ;
16637 wxPoint
*arg5
= 0 ;
16638 int arg6
= (int) wxCOPY
;
16639 bool arg7
= (bool) false ;
16640 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16641 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 PyObject
* obj3
= 0 ;
16659 PyObject
* obj4
= 0 ;
16660 PyObject
* obj5
= 0 ;
16661 PyObject
* obj6
= 0 ;
16662 PyObject
* obj7
= 0 ;
16663 char * kwnames
[] = {
16664 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16669 if (!SWIG_IsOK(res1
)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16679 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16681 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16682 if (!SWIG_IsOK(res4
)) {
16683 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16685 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16688 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16691 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16692 if (!SWIG_IsOK(ecode6
)) {
16693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16695 arg6
= static_cast< int >(val6
);
16698 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16699 if (!SWIG_IsOK(ecode7
)) {
16700 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16702 arg7
= static_cast< bool >(val7
);
16707 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16725 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
= 0;
16727 wxDC
*arg1
= (wxDC
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 PyObject
* obj2
= 0 ;
16745 PyObject
* obj3
= 0 ;
16746 PyObject
* obj4
= 0 ;
16747 char * kwnames
[] = {
16748 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16753 if (!SWIG_IsOK(res1
)) {
16754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16758 if (!SWIG_IsOK(ecode2
)) {
16759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16761 arg2
= static_cast< int >(val2
);
16762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16763 if (!SWIG_IsOK(ecode3
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16766 arg3
= static_cast< int >(val3
);
16767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16768 if (!SWIG_IsOK(ecode4
)) {
16769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16771 arg4
= static_cast< int >(val4
);
16772 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16773 if (!SWIG_IsOK(ecode5
)) {
16774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16776 arg5
= static_cast< int >(val5
);
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_Py_Void();
16790 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
= 0;
16792 wxDC
*arg1
= (wxDC
*) 0 ;
16793 wxPoint
*arg2
= 0 ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 char * kwnames
[] = {
16803 (char *) "self",(char *) "pt",(char *) "sz", NULL
16806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16808 if (!SWIG_IsOK(res1
)) {
16809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16818 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_Py_Void();
16833 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
= 0;
16835 wxDC
*arg1
= (wxDC
*) 0 ;
16836 wxRegion
*arg2
= 0 ;
16841 PyObject
* obj0
= 0 ;
16842 PyObject
* obj1
= 0 ;
16843 char * kwnames
[] = {
16844 (char *) "self",(char *) "region", NULL
16847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16849 if (!SWIG_IsOK(res1
)) {
16850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16854 if (!SWIG_IsOK(res2
)) {
16855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16860 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= SWIG_Py_Void();
16874 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
= 0;
16876 wxDC
*arg1
= (wxDC
*) 0 ;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 char * kwnames
[] = {
16884 (char *) "self",(char *) "rect", NULL
16887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16892 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_Py_Void();
16910 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxDC
*arg1
= (wxDC
*) 0 ;
16914 wxPoint
*arg3
= (wxPoint
*) 0 ;
16915 int arg4
= (int) 0 ;
16916 int arg5
= (int) 0 ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 PyObject
* obj2
= 0 ;
16926 PyObject
* obj3
= 0 ;
16927 char * kwnames
[] = {
16928 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16933 if (!SWIG_IsOK(res1
)) {
16934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16938 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16939 if (arg3
== NULL
) SWIG_fail
;
16942 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16943 if (!SWIG_IsOK(ecode4
)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16946 arg4
= static_cast< int >(val4
);
16949 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16950 if (!SWIG_IsOK(ecode5
)) {
16951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16953 arg5
= static_cast< int >(val5
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_Py_Void();
16963 if (arg3
) delete [] arg3
;
16968 if (arg3
) delete [] arg3
;
16974 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
= 0;
16976 wxDC
*arg1
= (wxDC
*) 0 ;
16978 wxPoint
*arg3
= (wxPoint
*) 0 ;
16979 int arg4
= (int) 0 ;
16980 int arg5
= (int) 0 ;
16981 int arg6
= (int) wxODDEVEN_RULE
;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 PyObject
* obj3
= 0 ;
16994 PyObject
* obj4
= 0 ;
16995 char * kwnames
[] = {
16996 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
16999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17001 if (!SWIG_IsOK(res1
)) {
17002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17006 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17007 if (arg3
== NULL
) SWIG_fail
;
17010 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17011 if (!SWIG_IsOK(ecode4
)) {
17012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17014 arg4
= static_cast< int >(val4
);
17017 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17018 if (!SWIG_IsOK(ecode5
)) {
17019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17021 arg5
= static_cast< int >(val5
);
17024 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17025 if (!SWIG_IsOK(ecode6
)) {
17026 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17028 arg6
= static_cast< int >(val6
);
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= SWIG_Py_Void();
17038 if (arg3
) delete [] arg3
;
17043 if (arg3
) delete [] arg3
;
17049 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
= 0;
17051 wxDC
*arg1
= (wxDC
*) 0 ;
17052 wxString
*arg2
= 0 ;
17054 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17055 int arg5
= (int) -1 ;
17058 bool temp2
= false ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 PyObject
* obj2
= 0 ;
17067 PyObject
* obj3
= 0 ;
17068 PyObject
* obj4
= 0 ;
17069 char * kwnames
[] = {
17070 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17075 if (!SWIG_IsOK(res1
)) {
17076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17080 arg2
= wxString_in_helper(obj1
);
17081 if (arg2
== NULL
) SWIG_fail
;
17086 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17090 if (!SWIG_IsOK(ecode4
)) {
17091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17093 arg4
= static_cast< int >(val4
);
17096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17097 if (!SWIG_IsOK(ecode5
)) {
17098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17100 arg5
= static_cast< int >(val5
);
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= SWIG_Py_Void();
17123 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
= 0;
17125 wxDC
*arg1
= (wxDC
*) 0 ;
17126 wxString
*arg2
= 0 ;
17127 wxBitmap
*arg3
= 0 ;
17129 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17130 int arg6
= (int) -1 ;
17134 bool temp2
= false ;
17142 PyObject
* obj0
= 0 ;
17143 PyObject
* obj1
= 0 ;
17144 PyObject
* obj2
= 0 ;
17145 PyObject
* obj3
= 0 ;
17146 PyObject
* obj4
= 0 ;
17147 PyObject
* obj5
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17154 if (!SWIG_IsOK(res1
)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17159 arg2
= wxString_in_helper(obj1
);
17160 if (arg2
== NULL
) SWIG_fail
;
17163 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17164 if (!SWIG_IsOK(res3
)) {
17165 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17170 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17173 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17177 if (!SWIG_IsOK(ecode5
)) {
17178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17180 arg5
= static_cast< int >(val5
);
17183 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17184 if (!SWIG_IsOK(ecode6
)) {
17185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17187 arg6
= static_cast< int >(val6
);
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17210 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
= 0;
17212 wxDC
*arg1
= (wxDC
*) 0 ;
17214 wxPoint
*arg3
= (wxPoint
*) 0 ;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 char * kwnames
[] = {
17220 (char *) "self",(char *) "points", NULL
17223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17225 if (!SWIG_IsOK(res1
)) {
17226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17230 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17231 if (arg3
== NULL
) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 (arg1
)->DrawSpline(arg2
,arg3
);
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= SWIG_Py_Void();
17241 if (arg3
) delete [] arg3
;
17246 if (arg3
) delete [] arg3
;
17252 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17253 PyObject
*resultobj
= 0;
17254 wxDC
*arg1
= (wxDC
*) 0 ;
17257 PyObject
*swig_obj
[1] ;
17259 if (!args
) SWIG_fail
;
17260 swig_obj
[0] = args
;
17261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17262 if (!SWIG_IsOK(res1
)) {
17263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= SWIG_Py_Void();
17279 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
= 0;
17281 wxDC
*arg1
= (wxDC
*) 0 ;
17282 wxString
*arg2
= 0 ;
17286 bool temp2
= false ;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 char * kwnames
[] = {
17290 (char *) "self",(char *) "message", NULL
17293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17295 if (!SWIG_IsOK(res1
)) {
17296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17300 arg2
= wxString_in_helper(obj1
);
17301 if (arg2
== NULL
) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17327 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17328 PyObject
*resultobj
= 0;
17329 wxDC
*arg1
= (wxDC
*) 0 ;
17332 PyObject
*swig_obj
[1] ;
17334 if (!args
) SWIG_fail
;
17335 swig_obj
[0] = args
;
17336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17337 if (!SWIG_IsOK(res1
)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_Py_Void();
17354 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17355 PyObject
*resultobj
= 0;
17356 wxDC
*arg1
= (wxDC
*) 0 ;
17359 PyObject
*swig_obj
[1] ;
17361 if (!args
) SWIG_fail
;
17362 swig_obj
[0] = args
;
17363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17364 if (!SWIG_IsOK(res1
)) {
17365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 (arg1
)->StartPage();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= SWIG_Py_Void();
17381 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17382 PyObject
*resultobj
= 0;
17383 wxDC
*arg1
= (wxDC
*) 0 ;
17386 PyObject
*swig_obj
[1] ;
17388 if (!args
) SWIG_fail
;
17389 swig_obj
[0] = args
;
17390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17391 if (!SWIG_IsOK(res1
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_Py_Void();
17408 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
= 0;
17410 wxDC
*arg1
= (wxDC
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char * kwnames
[] = {
17419 (char *) "self",(char *) "font", NULL
17422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17429 if (!SWIG_IsOK(res2
)) {
17430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17435 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 (arg1
)->SetFont((wxFont
const &)*arg2
);
17439 wxPyEndAllowThreads(__tstate
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= SWIG_Py_Void();
17449 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
= 0;
17451 wxDC
*arg1
= (wxDC
*) 0 ;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 char * kwnames
[] = {
17460 (char *) "self",(char *) "pen", NULL
17463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17465 if (!SWIG_IsOK(res1
)) {
17466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17470 if (!SWIG_IsOK(res2
)) {
17471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17476 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 (arg1
)->SetPen((wxPen
const &)*arg2
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= SWIG_Py_Void();
17490 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
= 0;
17492 wxDC
*arg1
= (wxDC
*) 0 ;
17493 wxBrush
*arg2
= 0 ;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 char * kwnames
[] = {
17501 (char *) "self",(char *) "brush", NULL
17504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17506 if (!SWIG_IsOK(res1
)) {
17507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17511 if (!SWIG_IsOK(res2
)) {
17512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17517 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= SWIG_Py_Void();
17531 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
= 0;
17533 wxDC
*arg1
= (wxDC
*) 0 ;
17534 wxBrush
*arg2
= 0 ;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 char * kwnames
[] = {
17542 (char *) "self",(char *) "brush", NULL
17545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17547 if (!SWIG_IsOK(res1
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17552 if (!SWIG_IsOK(res2
)) {
17553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17558 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= SWIG_Py_Void();
17572 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
= 0;
17574 wxDC
*arg1
= (wxDC
*) 0 ;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char * kwnames
[] = {
17583 (char *) "self",(char *) "mode", NULL
17586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17588 if (!SWIG_IsOK(res1
)) {
17589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17593 if (!SWIG_IsOK(ecode2
)) {
17594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17596 arg2
= static_cast< int >(val2
);
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 (arg1
)->SetBackgroundMode(arg2
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_Py_Void();
17610 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
= 0;
17612 wxDC
*arg1
= (wxDC
*) 0 ;
17613 wxPalette
*arg2
= 0 ;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 char * kwnames
[] = {
17621 (char *) "self",(char *) "palette", NULL
17624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17626 if (!SWIG_IsOK(res1
)) {
17627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17629 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17631 if (!SWIG_IsOK(res2
)) {
17632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17637 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= SWIG_Py_Void();
17651 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17652 PyObject
*resultobj
= 0;
17653 wxDC
*arg1
= (wxDC
*) 0 ;
17656 PyObject
*swig_obj
[1] ;
17658 if (!args
) SWIG_fail
;
17659 swig_obj
[0] = args
;
17660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17661 if (!SWIG_IsOK(res1
)) {
17662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 (arg1
)->DestroyClippingRegion();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= SWIG_Py_Void();
17678 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17679 PyObject
*resultobj
= 0;
17680 wxDC
*arg1
= (wxDC
*) 0 ;
17681 int *arg2
= (int *) 0 ;
17682 int *arg3
= (int *) 0 ;
17683 int *arg4
= (int *) 0 ;
17684 int *arg5
= (int *) 0 ;
17688 int res2
= SWIG_TMPOBJ
;
17690 int res3
= SWIG_TMPOBJ
;
17692 int res4
= SWIG_TMPOBJ
;
17694 int res5
= SWIG_TMPOBJ
;
17695 PyObject
*swig_obj
[1] ;
17701 if (!args
) SWIG_fail
;
17702 swig_obj
[0] = args
;
17703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17704 if (!SWIG_IsOK(res1
)) {
17705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= SWIG_Py_Void();
17715 if (SWIG_IsTmpObj(res2
)) {
17716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17718 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17721 if (SWIG_IsTmpObj(res3
)) {
17722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17724 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17727 if (SWIG_IsTmpObj(res4
)) {
17728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17730 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17733 if (SWIG_IsTmpObj(res5
)) {
17734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17736 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17745 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17746 PyObject
*resultobj
= 0;
17747 wxDC
*arg1
= (wxDC
*) 0 ;
17751 PyObject
*swig_obj
[1] ;
17753 if (!args
) SWIG_fail
;
17754 swig_obj
[0] = args
;
17755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17756 if (!SWIG_IsOK(res1
)) {
17757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= wxDC_GetClippingRect(arg1
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17773 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17774 PyObject
*resultobj
= 0;
17775 wxDC
*arg1
= (wxDC
*) 0 ;
17779 PyObject
*swig_obj
[1] ;
17781 if (!args
) SWIG_fail
;
17782 swig_obj
[0] = args
;
17783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17784 if (!SWIG_IsOK(res1
)) {
17785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_From_int(static_cast< int >(result
));
17801 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17802 PyObject
*resultobj
= 0;
17803 wxDC
*arg1
= (wxDC
*) 0 ;
17807 PyObject
*swig_obj
[1] ;
17809 if (!args
) SWIG_fail
;
17810 swig_obj
[0] = args
;
17811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17812 if (!SWIG_IsOK(res1
)) {
17813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= SWIG_From_int(static_cast< int >(result
));
17829 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
= 0;
17831 wxDC
*arg1
= (wxDC
*) 0 ;
17832 wxString
*arg2
= 0 ;
17833 int *arg3
= (int *) 0 ;
17834 int *arg4
= (int *) 0 ;
17837 bool temp2
= false ;
17839 int res3
= SWIG_TMPOBJ
;
17841 int res4
= SWIG_TMPOBJ
;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 char * kwnames
[] = {
17845 (char *) "self",(char *) "string", NULL
17850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17852 if (!SWIG_IsOK(res1
)) {
17853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17857 arg2
= wxString_in_helper(obj1
);
17858 if (arg2
== NULL
) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= SWIG_Py_Void();
17868 if (SWIG_IsTmpObj(res3
)) {
17869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17871 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17874 if (SWIG_IsTmpObj(res4
)) {
17875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17877 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17894 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
= 0;
17896 wxDC
*arg1
= (wxDC
*) 0 ;
17897 wxString
*arg2
= 0 ;
17898 int *arg3
= (int *) 0 ;
17899 int *arg4
= (int *) 0 ;
17900 int *arg5
= (int *) 0 ;
17901 int *arg6
= (int *) 0 ;
17902 wxFont
*arg7
= (wxFont
*) NULL
;
17905 bool temp2
= false ;
17907 int res3
= SWIG_TMPOBJ
;
17909 int res4
= SWIG_TMPOBJ
;
17911 int res5
= SWIG_TMPOBJ
;
17913 int res6
= SWIG_TMPOBJ
;
17916 PyObject
* obj0
= 0 ;
17917 PyObject
* obj1
= 0 ;
17918 PyObject
* obj2
= 0 ;
17919 char * kwnames
[] = {
17920 (char *) "self",(char *) "string",(char *) "font", NULL
17927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17934 arg2
= wxString_in_helper(obj1
);
17935 if (arg2
== NULL
) SWIG_fail
;
17939 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17940 if (!SWIG_IsOK(res7
)) {
17941 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17943 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= SWIG_Py_Void();
17952 if (SWIG_IsTmpObj(res3
)) {
17953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17955 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17958 if (SWIG_IsTmpObj(res4
)) {
17959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17961 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17964 if (SWIG_IsTmpObj(res5
)) {
17965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17967 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17970 if (SWIG_IsTmpObj(res6
)) {
17971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
17973 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
17990 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
= 0;
17992 wxDC
*arg1
= (wxDC
*) 0 ;
17993 wxString
*arg2
= 0 ;
17994 int *arg3
= (int *) 0 ;
17995 int *arg4
= (int *) 0 ;
17996 int *arg5
= (int *) 0 ;
17997 wxFont
*arg6
= (wxFont
*) NULL
;
18000 bool temp2
= false ;
18002 int res3
= SWIG_TMPOBJ
;
18004 int res4
= SWIG_TMPOBJ
;
18006 int res5
= SWIG_TMPOBJ
;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 PyObject
* obj2
= 0 ;
18012 char * kwnames
[] = {
18013 (char *) "self",(char *) "text",(char *) "font", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18026 arg2
= wxString_in_helper(obj1
);
18027 if (arg2
== NULL
) SWIG_fail
;
18031 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18032 if (!SWIG_IsOK(res6
)) {
18033 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18035 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= SWIG_Py_Void();
18044 if (SWIG_IsTmpObj(res3
)) {
18045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18047 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18050 if (SWIG_IsTmpObj(res4
)) {
18051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18053 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18056 if (SWIG_IsTmpObj(res5
)) {
18057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18059 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18076 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
= 0;
18078 wxDC
*arg1
= (wxDC
*) 0 ;
18079 wxString
*arg2
= 0 ;
18083 bool temp2
= false ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char * kwnames
[] = {
18087 (char *) "self",(char *) "text", NULL
18090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18092 if (!SWIG_IsOK(res1
)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18097 arg2
= wxString_in_helper(obj1
);
18098 if (arg2
== NULL
) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= PyList_New(0);
18110 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18111 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18112 PyList_Append(resultobj
, val
);
18130 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18131 PyObject
*resultobj
= 0;
18132 wxDC
*arg1
= (wxDC
*) 0 ;
18136 PyObject
*swig_obj
[1] ;
18138 if (!args
) SWIG_fail
;
18139 swig_obj
[0] = args
;
18140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18141 if (!SWIG_IsOK(res1
)) {
18142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (arg1
)->GetSize();
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18158 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18159 PyObject
*resultobj
= 0;
18160 wxDC
*arg1
= (wxDC
*) 0 ;
18161 int *arg2
= (int *) 0 ;
18162 int *arg3
= (int *) 0 ;
18166 int res2
= SWIG_TMPOBJ
;
18168 int res3
= SWIG_TMPOBJ
;
18169 PyObject
*swig_obj
[1] ;
18173 if (!args
) SWIG_fail
;
18174 swig_obj
[0] = args
;
18175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 (arg1
)->GetSize(arg2
,arg3
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_Py_Void();
18187 if (SWIG_IsTmpObj(res2
)) {
18188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18190 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18193 if (SWIG_IsTmpObj(res3
)) {
18194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18196 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18205 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18206 PyObject
*resultobj
= 0;
18207 wxDC
*arg1
= (wxDC
*) 0 ;
18211 PyObject
*swig_obj
[1] ;
18213 if (!args
) SWIG_fail
;
18214 swig_obj
[0] = args
;
18215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18216 if (!SWIG_IsOK(res1
)) {
18217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18233 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18234 PyObject
*resultobj
= 0;
18235 wxDC
*arg1
= (wxDC
*) 0 ;
18236 int *arg2
= (int *) 0 ;
18237 int *arg3
= (int *) 0 ;
18241 int res2
= SWIG_TMPOBJ
;
18243 int res3
= SWIG_TMPOBJ
;
18244 PyObject
*swig_obj
[1] ;
18248 if (!args
) SWIG_fail
;
18249 swig_obj
[0] = args
;
18250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18251 if (!SWIG_IsOK(res1
)) {
18252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= SWIG_Py_Void();
18262 if (SWIG_IsTmpObj(res2
)) {
18263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18265 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18268 if (SWIG_IsTmpObj(res3
)) {
18269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18271 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18280 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
= 0;
18282 wxDC
*arg1
= (wxDC
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 PyObject
* obj1
= 0 ;
18291 char * kwnames
[] = {
18292 (char *) "self",(char *) "x", NULL
18295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18297 if (!SWIG_IsOK(res1
)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18302 if (!SWIG_IsOK(ecode2
)) {
18303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18305 arg2
= static_cast< int >(val2
);
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= SWIG_From_int(static_cast< int >(result
));
18319 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
= 0;
18321 wxDC
*arg1
= (wxDC
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 char * kwnames
[] = {
18331 (char *) "self",(char *) "y", NULL
18334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18336 if (!SWIG_IsOK(res1
)) {
18337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18341 if (!SWIG_IsOK(ecode2
)) {
18342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18344 arg2
= static_cast< int >(val2
);
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 resultobj
= SWIG_From_int(static_cast< int >(result
));
18358 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
= 0;
18360 wxDC
*arg1
= (wxDC
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 PyObject
* obj1
= 0 ;
18369 char * kwnames
[] = {
18370 (char *) "self",(char *) "x", NULL
18373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18375 if (!SWIG_IsOK(res1
)) {
18376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18380 if (!SWIG_IsOK(ecode2
)) {
18381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18383 arg2
= static_cast< int >(val2
);
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= SWIG_From_int(static_cast< int >(result
));
18397 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
= 0;
18399 wxDC
*arg1
= (wxDC
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 PyObject
* obj1
= 0 ;
18408 char * kwnames
[] = {
18409 (char *) "self",(char *) "y", NULL
18412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18419 if (!SWIG_IsOK(ecode2
)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18422 arg2
= static_cast< int >(val2
);
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 resultobj
= SWIG_From_int(static_cast< int >(result
));
18436 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
= 0;
18438 wxDC
*arg1
= (wxDC
*) 0 ;
18445 PyObject
* obj0
= 0 ;
18446 PyObject
* obj1
= 0 ;
18447 char * kwnames
[] = {
18448 (char *) "self",(char *) "x", NULL
18451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18453 if (!SWIG_IsOK(res1
)) {
18454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18458 if (!SWIG_IsOK(ecode2
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18461 arg2
= static_cast< int >(val2
);
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_From_int(static_cast< int >(result
));
18475 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
= 0;
18477 wxDC
*arg1
= (wxDC
*) 0 ;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 char * kwnames
[] = {
18487 (char *) "self",(char *) "y", NULL
18490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18492 if (!SWIG_IsOK(res1
)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18497 if (!SWIG_IsOK(ecode2
)) {
18498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18500 arg2
= static_cast< int >(val2
);
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_From_int(static_cast< int >(result
));
18514 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
= 0;
18516 wxDC
*arg1
= (wxDC
*) 0 ;
18523 PyObject
* obj0
= 0 ;
18524 PyObject
* obj1
= 0 ;
18525 char * kwnames
[] = {
18526 (char *) "self",(char *) "x", NULL
18529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18531 if (!SWIG_IsOK(res1
)) {
18532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18536 if (!SWIG_IsOK(ecode2
)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18539 arg2
= static_cast< int >(val2
);
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_From_int(static_cast< int >(result
));
18553 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
= 0;
18555 wxDC
*arg1
= (wxDC
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 PyObject
* obj1
= 0 ;
18564 char * kwnames
[] = {
18565 (char *) "self",(char *) "y", NULL
18568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18570 if (!SWIG_IsOK(res1
)) {
18571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18575 if (!SWIG_IsOK(ecode2
)) {
18576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18578 arg2
= static_cast< int >(val2
);
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 resultobj
= SWIG_From_int(static_cast< int >(result
));
18592 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18593 PyObject
*resultobj
= 0;
18594 wxDC
*arg1
= (wxDC
*) 0 ;
18598 PyObject
*swig_obj
[1] ;
18600 if (!args
) SWIG_fail
;
18601 swig_obj
[0] = args
;
18602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18603 if (!SWIG_IsOK(res1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18622 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18623 PyObject
*resultobj
= 0;
18624 wxDC
*arg1
= (wxDC
*) 0 ;
18628 PyObject
*swig_obj
[1] ;
18630 if (!args
) SWIG_fail
;
18631 swig_obj
[0] = args
;
18632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18633 if (!SWIG_IsOK(res1
)) {
18634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18652 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18653 PyObject
*resultobj
= 0;
18654 wxDC
*arg1
= (wxDC
*) 0 ;
18658 PyObject
*swig_obj
[1] ;
18660 if (!args
) SWIG_fail
;
18661 swig_obj
[0] = args
;
18662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18663 if (!SWIG_IsOK(res1
)) {
18664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= SWIG_From_int(static_cast< int >(result
));
18680 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18681 PyObject
*resultobj
= 0;
18682 wxDC
*arg1
= (wxDC
*) 0 ;
18686 PyObject
*swig_obj
[1] ;
18688 if (!args
) SWIG_fail
;
18689 swig_obj
[0] = args
;
18690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18691 if (!SWIG_IsOK(res1
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 result
= ((wxDC
const *)arg1
)->GetPPI();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18708 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18709 PyObject
*resultobj
= 0;
18710 wxDC
*arg1
= (wxDC
*) 0 ;
18714 PyObject
*swig_obj
[1] ;
18716 if (!args
) SWIG_fail
;
18717 swig_obj
[0] = args
;
18718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18719 if (!SWIG_IsOK(res1
)) {
18720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (bool)((wxDC
const *)arg1
)->Ok();
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18738 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18739 PyObject
*resultobj
= 0;
18740 wxDC
*arg1
= (wxDC
*) 0 ;
18744 PyObject
*swig_obj
[1] ;
18746 if (!args
) SWIG_fail
;
18747 swig_obj
[0] = args
;
18748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18749 if (!SWIG_IsOK(res1
)) {
18750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_From_int(static_cast< int >(result
));
18766 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18767 PyObject
*resultobj
= 0;
18768 wxDC
*arg1
= (wxDC
*) 0 ;
18769 wxBrush
*result
= 0 ;
18772 PyObject
*swig_obj
[1] ;
18774 if (!args
) SWIG_fail
;
18775 swig_obj
[0] = args
;
18776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18777 if (!SWIG_IsOK(res1
)) {
18778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18785 result
= (wxBrush
*) &_result_ref
;
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18791 wxBrush
* resultptr
= new wxBrush(*result
);
18792 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18800 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18801 PyObject
*resultobj
= 0;
18802 wxDC
*arg1
= (wxDC
*) 0 ;
18803 wxBrush
*result
= 0 ;
18806 PyObject
*swig_obj
[1] ;
18808 if (!args
) SWIG_fail
;
18809 swig_obj
[0] = args
;
18810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18811 if (!SWIG_IsOK(res1
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18819 result
= (wxBrush
*) &_result_ref
;
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18825 wxBrush
* resultptr
= new wxBrush(*result
);
18826 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18834 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18835 PyObject
*resultobj
= 0;
18836 wxDC
*arg1
= (wxDC
*) 0 ;
18837 wxFont
*result
= 0 ;
18840 PyObject
*swig_obj
[1] ;
18842 if (!args
) SWIG_fail
;
18843 swig_obj
[0] = args
;
18844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18853 result
= (wxFont
*) &_result_ref
;
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18859 wxFont
* resultptr
= new wxFont(*result
);
18860 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18868 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18869 PyObject
*resultobj
= 0;
18870 wxDC
*arg1
= (wxDC
*) 0 ;
18871 wxPen
*result
= 0 ;
18874 PyObject
*swig_obj
[1] ;
18876 if (!args
) SWIG_fail
;
18877 swig_obj
[0] = args
;
18878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18879 if (!SWIG_IsOK(res1
)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18886 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18887 result
= (wxPen
*) &_result_ref
;
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18893 wxPen
* resultptr
= new wxPen(*result
);
18894 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18902 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18903 PyObject
*resultobj
= 0;
18904 wxDC
*arg1
= (wxDC
*) 0 ;
18905 wxColour
*result
= 0 ;
18908 PyObject
*swig_obj
[1] ;
18910 if (!args
) SWIG_fail
;
18911 swig_obj
[0] = args
;
18912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18913 if (!SWIG_IsOK(res1
)) {
18914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18921 result
= (wxColour
*) &_result_ref
;
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18933 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18934 PyObject
*resultobj
= 0;
18935 wxDC
*arg1
= (wxDC
*) 0 ;
18936 wxColour
*result
= 0 ;
18939 PyObject
*swig_obj
[1] ;
18941 if (!args
) SWIG_fail
;
18942 swig_obj
[0] = args
;
18943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18952 result
= (wxColour
*) &_result_ref
;
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18964 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
= 0;
18966 wxDC
*arg1
= (wxDC
*) 0 ;
18967 wxColour
*arg2
= 0 ;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 char * kwnames
[] = {
18974 (char *) "self",(char *) "colour", NULL
18977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18979 if (!SWIG_IsOK(res1
)) {
18980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
18982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18985 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= SWIG_Py_Void();
19000 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
= 0;
19002 wxDC
*arg1
= (wxDC
*) 0 ;
19003 wxColour
*arg2
= 0 ;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 char * kwnames
[] = {
19010 (char *) "self",(char *) "colour", NULL
19013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19015 if (!SWIG_IsOK(res1
)) {
19016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19021 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_Py_Void();
19036 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19037 PyObject
*resultobj
= 0;
19038 wxDC
*arg1
= (wxDC
*) 0 ;
19042 PyObject
*swig_obj
[1] ;
19044 if (!args
) SWIG_fail
;
19045 swig_obj
[0] = args
;
19046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_From_int(static_cast< int >(result
));
19064 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
= 0;
19066 wxDC
*arg1
= (wxDC
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 char * kwnames
[] = {
19075 (char *) "self",(char *) "mode", NULL
19078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19080 if (!SWIG_IsOK(res1
)) {
19081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19085 if (!SWIG_IsOK(ecode2
)) {
19086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19088 arg2
= static_cast< int >(val2
);
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->SetMapMode(arg2
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_Py_Void();
19102 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19103 PyObject
*resultobj
= 0;
19104 wxDC
*arg1
= (wxDC
*) 0 ;
19105 double *arg2
= (double *) 0 ;
19106 double *arg3
= (double *) 0 ;
19110 int res2
= SWIG_TMPOBJ
;
19112 int res3
= SWIG_TMPOBJ
;
19113 PyObject
*swig_obj
[1] ;
19117 if (!args
) SWIG_fail
;
19118 swig_obj
[0] = args
;
19119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19120 if (!SWIG_IsOK(res1
)) {
19121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_Py_Void();
19131 if (SWIG_IsTmpObj(res2
)) {
19132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19134 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19137 if (SWIG_IsTmpObj(res3
)) {
19138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19140 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19149 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
= 0;
19151 wxDC
*arg1
= (wxDC
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 PyObject
* obj2
= 0 ;
19163 char * kwnames
[] = {
19164 (char *) "self",(char *) "x",(char *) "y", NULL
19167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19169 if (!SWIG_IsOK(res1
)) {
19170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19173 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19174 if (!SWIG_IsOK(ecode2
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19177 arg2
= static_cast< double >(val2
);
19178 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19179 if (!SWIG_IsOK(ecode3
)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19182 arg3
= static_cast< double >(val3
);
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 (arg1
)->SetUserScale(arg2
,arg3
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 resultobj
= SWIG_Py_Void();
19196 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19197 PyObject
*resultobj
= 0;
19198 wxDC
*arg1
= (wxDC
*) 0 ;
19199 double *arg2
= (double *) 0 ;
19200 double *arg3
= (double *) 0 ;
19204 int res2
= SWIG_TMPOBJ
;
19206 int res3
= SWIG_TMPOBJ
;
19207 PyObject
*swig_obj
[1] ;
19211 if (!args
) SWIG_fail
;
19212 swig_obj
[0] = args
;
19213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 (arg1
)->GetLogicalScale(arg2
,arg3
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= SWIG_Py_Void();
19225 if (SWIG_IsTmpObj(res2
)) {
19226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19228 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19231 if (SWIG_IsTmpObj(res3
)) {
19232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19234 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19243 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
= 0;
19245 wxDC
*arg1
= (wxDC
*) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 PyObject
* obj2
= 0 ;
19257 char * kwnames
[] = {
19258 (char *) "self",(char *) "x",(char *) "y", NULL
19261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19263 if (!SWIG_IsOK(res1
)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19267 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19268 if (!SWIG_IsOK(ecode2
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19271 arg2
= static_cast< double >(val2
);
19272 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19273 if (!SWIG_IsOK(ecode3
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19276 arg3
= static_cast< double >(val3
);
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 (arg1
)->SetLogicalScale(arg2
,arg3
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_Py_Void();
19290 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19291 PyObject
*resultobj
= 0;
19292 wxDC
*arg1
= (wxDC
*) 0 ;
19296 PyObject
*swig_obj
[1] ;
19298 if (!args
) SWIG_fail
;
19299 swig_obj
[0] = args
;
19300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19301 if (!SWIG_IsOK(res1
)) {
19302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19318 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19319 PyObject
*resultobj
= 0;
19320 wxDC
*arg1
= (wxDC
*) 0 ;
19321 int *arg2
= (int *) 0 ;
19322 int *arg3
= (int *) 0 ;
19326 int res2
= SWIG_TMPOBJ
;
19328 int res3
= SWIG_TMPOBJ
;
19329 PyObject
*swig_obj
[1] ;
19333 if (!args
) SWIG_fail
;
19334 swig_obj
[0] = args
;
19335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19336 if (!SWIG_IsOK(res1
)) {
19337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19347 if (SWIG_IsTmpObj(res2
)) {
19348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19350 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19353 if (SWIG_IsTmpObj(res3
)) {
19354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19356 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19365 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
= 0;
19367 wxDC
*arg1
= (wxDC
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 PyObject
* obj2
= 0 ;
19379 char * kwnames
[] = {
19380 (char *) "self",(char *) "x",(char *) "y", NULL
19383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19385 if (!SWIG_IsOK(res1
)) {
19386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19390 if (!SWIG_IsOK(ecode2
)) {
19391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19393 arg2
= static_cast< int >(val2
);
19394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19395 if (!SWIG_IsOK(ecode3
)) {
19396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19398 arg3
= static_cast< int >(val3
);
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_Py_Void();
19412 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
= 0;
19414 wxDC
*arg1
= (wxDC
*) 0 ;
19415 wxPoint
*arg2
= 0 ;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char * kwnames
[] = {
19422 (char *) "self",(char *) "point", NULL
19425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19427 if (!SWIG_IsOK(res1
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= SWIG_Py_Void();
19448 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19449 PyObject
*resultobj
= 0;
19450 wxDC
*arg1
= (wxDC
*) 0 ;
19454 PyObject
*swig_obj
[1] ;
19456 if (!args
) SWIG_fail
;
19457 swig_obj
[0] = args
;
19458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19476 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19477 PyObject
*resultobj
= 0;
19478 wxDC
*arg1
= (wxDC
*) 0 ;
19479 int *arg2
= (int *) 0 ;
19480 int *arg3
= (int *) 0 ;
19484 int res2
= SWIG_TMPOBJ
;
19486 int res3
= SWIG_TMPOBJ
;
19487 PyObject
*swig_obj
[1] ;
19491 if (!args
) SWIG_fail
;
19492 swig_obj
[0] = args
;
19493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19494 if (!SWIG_IsOK(res1
)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 resultobj
= SWIG_Py_Void();
19505 if (SWIG_IsTmpObj(res2
)) {
19506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19508 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19511 if (SWIG_IsTmpObj(res3
)) {
19512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19514 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19523 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
= 0;
19525 wxDC
*arg1
= (wxDC
*) 0 ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 PyObject
* obj2
= 0 ;
19537 char * kwnames
[] = {
19538 (char *) "self",(char *) "x",(char *) "y", NULL
19541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19543 if (!SWIG_IsOK(res1
)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19548 if (!SWIG_IsOK(ecode2
)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19551 arg2
= static_cast< int >(val2
);
19552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19553 if (!SWIG_IsOK(ecode3
)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19556 arg3
= static_cast< int >(val3
);
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= SWIG_Py_Void();
19570 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
= 0;
19572 wxDC
*arg1
= (wxDC
*) 0 ;
19573 wxPoint
*arg2
= 0 ;
19577 PyObject
* obj0
= 0 ;
19578 PyObject
* obj1
= 0 ;
19579 char * kwnames
[] = {
19580 (char *) "self",(char *) "point", NULL
19583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19585 if (!SWIG_IsOK(res1
)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_Py_Void();
19606 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
= 0;
19608 wxDC
*arg1
= (wxDC
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 PyObject
* obj1
= 0 ;
19619 PyObject
* obj2
= 0 ;
19620 char * kwnames
[] = {
19621 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19626 if (!SWIG_IsOK(res1
)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19629 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19630 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19631 if (!SWIG_IsOK(ecode2
)) {
19632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19634 arg2
= static_cast< bool >(val2
);
19635 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19636 if (!SWIG_IsOK(ecode3
)) {
19637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19639 arg3
= static_cast< bool >(val3
);
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= SWIG_Py_Void();
19653 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19654 PyObject
*resultobj
= 0;
19655 wxDC
*arg1
= (wxDC
*) 0 ;
19659 PyObject
*swig_obj
[1] ;
19661 if (!args
) SWIG_fail
;
19662 swig_obj
[0] = args
;
19663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19664 if (!SWIG_IsOK(res1
)) {
19665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_From_int(static_cast< int >(result
));
19681 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
= 0;
19683 wxDC
*arg1
= (wxDC
*) 0 ;
19689 PyObject
* obj0
= 0 ;
19690 PyObject
* obj1
= 0 ;
19691 char * kwnames
[] = {
19692 (char *) "self",(char *) "function", NULL
19695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19697 if (!SWIG_IsOK(res1
)) {
19698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19702 if (!SWIG_IsOK(ecode2
)) {
19703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19705 arg2
= static_cast< int >(val2
);
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 (arg1
)->SetLogicalFunction(arg2
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_Py_Void();
19719 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19720 PyObject
*resultobj
= 0;
19721 wxDC
*arg1
= (wxDC
*) 0 ;
19724 PyObject
*swig_obj
[1] ;
19726 if (!args
) SWIG_fail
;
19727 swig_obj
[0] = args
;
19728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 (arg1
)->ComputeScaleAndOrigin();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 resultobj
= SWIG_Py_Void();
19746 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
= 0;
19748 wxDC
*arg1
= (wxDC
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 PyObject
* obj1
= 0 ;
19759 PyObject
* obj2
= 0 ;
19760 char * kwnames
[] = {
19761 (char *) "self",(char *) "x",(char *) "y", NULL
19764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19766 if (!SWIG_IsOK(res1
)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19771 if (!SWIG_IsOK(ecode2
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19774 arg2
= static_cast< int >(val2
);
19775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19776 if (!SWIG_IsOK(ecode3
)) {
19777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19779 arg3
= static_cast< int >(val3
);
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 resultobj
= SWIG_Py_Void();
19793 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
= 0;
19795 wxDC
*arg1
= (wxDC
*) 0 ;
19796 wxPoint
*arg2
= 0 ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char * kwnames
[] = {
19803 (char *) "self",(char *) "point", NULL
19806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19808 if (!SWIG_IsOK(res1
)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= SWIG_Py_Void();
19829 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19830 PyObject
*resultobj
= 0;
19831 wxDC
*arg1
= (wxDC
*) 0 ;
19834 PyObject
*swig_obj
[1] ;
19836 if (!args
) SWIG_fail
;
19837 swig_obj
[0] = args
;
19838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19839 if (!SWIG_IsOK(res1
)) {
19840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 (arg1
)->ResetBoundingBox();
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19849 resultobj
= SWIG_Py_Void();
19856 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19857 PyObject
*resultobj
= 0;
19858 wxDC
*arg1
= (wxDC
*) 0 ;
19862 PyObject
*swig_obj
[1] ;
19864 if (!args
) SWIG_fail
;
19865 swig_obj
[0] = args
;
19866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19867 if (!SWIG_IsOK(res1
)) {
19868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (int)((wxDC
const *)arg1
)->MinX();
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= SWIG_From_int(static_cast< int >(result
));
19884 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19885 PyObject
*resultobj
= 0;
19886 wxDC
*arg1
= (wxDC
*) 0 ;
19890 PyObject
*swig_obj
[1] ;
19892 if (!args
) SWIG_fail
;
19893 swig_obj
[0] = args
;
19894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19895 if (!SWIG_IsOK(res1
)) {
19896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (int)((wxDC
const *)arg1
)->MaxX();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= SWIG_From_int(static_cast< int >(result
));
19912 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19913 PyObject
*resultobj
= 0;
19914 wxDC
*arg1
= (wxDC
*) 0 ;
19918 PyObject
*swig_obj
[1] ;
19920 if (!args
) SWIG_fail
;
19921 swig_obj
[0] = args
;
19922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (int)((wxDC
const *)arg1
)->MinY();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_From_int(static_cast< int >(result
));
19940 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19941 PyObject
*resultobj
= 0;
19942 wxDC
*arg1
= (wxDC
*) 0 ;
19946 PyObject
*swig_obj
[1] ;
19948 if (!args
) SWIG_fail
;
19949 swig_obj
[0] = args
;
19950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19951 if (!SWIG_IsOK(res1
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (int)((wxDC
const *)arg1
)->MaxY();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= SWIG_From_int(static_cast< int >(result
));
19968 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19969 PyObject
*resultobj
= 0;
19970 wxDC
*arg1
= (wxDC
*) 0 ;
19971 int *arg2
= (int *) 0 ;
19972 int *arg3
= (int *) 0 ;
19973 int *arg4
= (int *) 0 ;
19974 int *arg5
= (int *) 0 ;
19978 int res2
= SWIG_TMPOBJ
;
19980 int res3
= SWIG_TMPOBJ
;
19982 int res4
= SWIG_TMPOBJ
;
19984 int res5
= SWIG_TMPOBJ
;
19985 PyObject
*swig_obj
[1] ;
19991 if (!args
) SWIG_fail
;
19992 swig_obj
[0] = args
;
19993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19994 if (!SWIG_IsOK(res1
)) {
19995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= SWIG_Py_Void();
20005 if (SWIG_IsTmpObj(res2
)) {
20006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20008 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20011 if (SWIG_IsTmpObj(res3
)) {
20012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20014 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20017 if (SWIG_IsTmpObj(res4
)) {
20018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20020 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20023 if (SWIG_IsTmpObj(res5
)) {
20024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20026 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20035 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxDC
*arg1
= (wxDC
*) 0 ;
20038 PyObject
*arg2
= (PyObject
*) 0 ;
20039 PyObject
*arg3
= (PyObject
*) 0 ;
20040 PyObject
*arg4
= (PyObject
*) 0 ;
20041 PyObject
*result
= 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 PyObject
* obj3
= 0 ;
20048 char * kwnames
[] = {
20049 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20054 if (!SWIG_IsOK(res1
)) {
20055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= result
;
20074 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
= 0;
20076 wxDC
*arg1
= (wxDC
*) 0 ;
20077 PyObject
*arg2
= (PyObject
*) 0 ;
20078 PyObject
*arg3
= (PyObject
*) 0 ;
20079 PyObject
*arg4
= (PyObject
*) 0 ;
20080 PyObject
*result
= 0 ;
20083 PyObject
* obj0
= 0 ;
20084 PyObject
* obj1
= 0 ;
20085 PyObject
* obj2
= 0 ;
20086 PyObject
* obj3
= 0 ;
20087 char * kwnames
[] = {
20088 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20093 if (!SWIG_IsOK(res1
)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= result
;
20113 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
= 0;
20115 wxDC
*arg1
= (wxDC
*) 0 ;
20116 PyObject
*arg2
= (PyObject
*) 0 ;
20117 PyObject
*arg3
= (PyObject
*) 0 ;
20118 PyObject
*arg4
= (PyObject
*) 0 ;
20119 PyObject
*result
= 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 PyObject
* obj2
= 0 ;
20125 PyObject
* obj3
= 0 ;
20126 char * kwnames
[] = {
20127 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20132 if (!SWIG_IsOK(res1
)) {
20133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
;
20152 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
= 0;
20154 wxDC
*arg1
= (wxDC
*) 0 ;
20155 PyObject
*arg2
= (PyObject
*) 0 ;
20156 PyObject
*arg3
= (PyObject
*) 0 ;
20157 PyObject
*arg4
= (PyObject
*) 0 ;
20158 PyObject
*result
= 0 ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 PyObject
* obj2
= 0 ;
20164 PyObject
* obj3
= 0 ;
20165 char * kwnames
[] = {
20166 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= result
;
20191 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
= 0;
20193 wxDC
*arg1
= (wxDC
*) 0 ;
20194 PyObject
*arg2
= (PyObject
*) 0 ;
20195 PyObject
*arg3
= (PyObject
*) 0 ;
20196 PyObject
*arg4
= (PyObject
*) 0 ;
20197 PyObject
*result
= 0 ;
20200 PyObject
* obj0
= 0 ;
20201 PyObject
* obj1
= 0 ;
20202 PyObject
* obj2
= 0 ;
20203 PyObject
* obj3
= 0 ;
20204 char * kwnames
[] = {
20205 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20210 if (!SWIG_IsOK(res1
)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 resultobj
= result
;
20230 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
= 0;
20232 wxDC
*arg1
= (wxDC
*) 0 ;
20233 PyObject
*arg2
= (PyObject
*) 0 ;
20234 PyObject
*arg3
= (PyObject
*) 0 ;
20235 PyObject
*arg4
= (PyObject
*) 0 ;
20236 PyObject
*arg5
= (PyObject
*) 0 ;
20237 PyObject
*result
= 0 ;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 PyObject
* obj2
= 0 ;
20243 PyObject
* obj3
= 0 ;
20244 PyObject
* obj4
= 0 ;
20245 char * kwnames
[] = {
20246 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20251 if (!SWIG_IsOK(res1
)) {
20252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= result
;
20272 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20275 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20276 return SWIG_Py_Void();
20279 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20280 PyObject
*resultobj
= 0;
20281 wxMemoryDC
*result
= 0 ;
20283 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20285 if (!wxPyCheckForApp()) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 result
= (wxMemoryDC
*)new wxMemoryDC();
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20298 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
= 0;
20300 wxDC
*arg1
= (wxDC
*) 0 ;
20301 wxMemoryDC
*result
= 0 ;
20304 PyObject
* obj0
= 0 ;
20305 char * kwnames
[] = {
20306 (char *) "oldDC", NULL
20309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20311 if (!SWIG_IsOK(res1
)) {
20312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20316 if (!wxPyCheckForApp()) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20329 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
= 0;
20331 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20332 wxBitmap
*arg2
= 0 ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 char * kwnames
[] = {
20340 (char *) "self",(char *) "bitmap", NULL
20343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20345 if (!SWIG_IsOK(res1
)) {
20346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20348 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20350 if (!SWIG_IsOK(res2
)) {
20351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20356 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_Py_Void();
20370 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20373 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20374 return SWIG_Py_Void();
20377 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20378 return SWIG_Python_InitShadowInstance(args
);
20381 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20382 PyObject
*resultobj
= 0;
20383 wxDC
*arg1
= (wxDC
*) 0 ;
20384 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20385 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20386 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20387 wxBufferedDC
*result
= 0 ;
20395 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20397 if (!SWIG_IsOK(res1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20402 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20403 if (!SWIG_IsOK(res2
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20409 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20412 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20413 if (!SWIG_IsOK(ecode3
)) {
20414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20416 arg3
= static_cast< int >(val3
);
20419 if (!wxPyCheckForApp()) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20432 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20433 PyObject
*resultobj
= 0;
20434 wxDC
*arg1
= (wxDC
*) 0 ;
20436 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20437 wxBufferedDC
*result
= 0 ;
20444 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20446 if (!SWIG_IsOK(res1
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20452 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20455 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20456 if (!SWIG_IsOK(ecode3
)) {
20457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20459 arg3
= static_cast< int >(val3
);
20462 if (!wxPyCheckForApp()) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20475 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20479 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20481 if ((argc
>= 1) && (argc
<= 3)) {
20485 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20486 _v
= SWIG_CheckState(res
);
20488 if (!_v
) goto check_1
;
20490 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20494 if ((argc
>= 2) && (argc
<= 3)) {
20495 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20499 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20504 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20505 PyObject
*resultobj
= 0;
20506 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20509 PyObject
*swig_obj
[1] ;
20511 if (!args
) SWIG_fail
;
20512 swig_obj
[0] = args
;
20513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20517 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_Py_Void();
20532 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20537 PyObject
*swig_obj
[1] ;
20539 if (!args
) SWIG_fail
;
20540 swig_obj
[0] = args
;
20541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20542 if (!SWIG_IsOK(res1
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20545 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_Py_Void();
20559 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20562 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20563 return SWIG_Py_Void();
20566 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20567 return SWIG_Python_InitShadowInstance(args
);
20570 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
= 0;
20572 wxWindow
*arg1
= (wxWindow
*) 0 ;
20573 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20574 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20575 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20576 wxBufferedPaintDC
*result
= 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 PyObject
* obj2
= 0 ;
20586 char * kwnames
[] = {
20587 (char *) "window",(char *) "buffer",(char *) "style", NULL
20590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20592 if (!SWIG_IsOK(res1
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20595 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20598 if (!SWIG_IsOK(res2
)) {
20599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20604 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20608 if (!SWIG_IsOK(ecode3
)) {
20609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20611 arg3
= static_cast< int >(val3
);
20614 if (!wxPyCheckForApp()) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20627 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20630 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20631 return SWIG_Py_Void();
20634 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20635 return SWIG_Python_InitShadowInstance(args
);
20638 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20639 PyObject
*resultobj
= 0;
20640 wxScreenDC
*result
= 0 ;
20642 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20644 if (!wxPyCheckForApp()) SWIG_fail
;
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (wxScreenDC
*)new wxScreenDC();
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20657 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
= 0;
20659 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20660 wxWindow
*arg2
= (wxWindow
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char * kwnames
[] = {
20669 (char *) "self",(char *) "window", NULL
20672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20677 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20679 if (!SWIG_IsOK(res2
)) {
20680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20682 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20698 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
= 0;
20700 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20701 wxRect
*arg2
= (wxRect
*) NULL
;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 char * kwnames
[] = {
20710 (char *) "self",(char *) "rect", NULL
20713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20718 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20721 if (!SWIG_IsOK(res2
)) {
20722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20724 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20741 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20742 PyObject
*resultobj
= 0;
20743 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20747 PyObject
*swig_obj
[1] ;
20749 if (!args
) SWIG_fail
;
20750 swig_obj
[0] = args
;
20751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20752 if (!SWIG_IsOK(res1
)) {
20753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20755 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (bool)(arg1
)->EndDrawingOnTop();
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20771 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20774 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20775 return SWIG_Py_Void();
20778 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20779 return SWIG_Python_InitShadowInstance(args
);
20782 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
= 0;
20784 wxWindow
*arg1
= (wxWindow
*) 0 ;
20785 wxClientDC
*result
= 0 ;
20788 PyObject
* obj0
= 0 ;
20789 char * kwnames
[] = {
20790 (char *) "win", NULL
20793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20795 if (!SWIG_IsOK(res1
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20800 if (!wxPyCheckForApp()) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (wxClientDC
*)new wxClientDC(arg1
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20813 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20816 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20817 return SWIG_Py_Void();
20820 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20821 return SWIG_Python_InitShadowInstance(args
);
20824 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
= 0;
20826 wxWindow
*arg1
= (wxWindow
*) 0 ;
20827 wxPaintDC
*result
= 0 ;
20830 PyObject
* obj0
= 0 ;
20831 char * kwnames
[] = {
20832 (char *) "win", NULL
20835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20842 if (!wxPyCheckForApp()) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20855 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20858 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20859 return SWIG_Py_Void();
20862 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20863 return SWIG_Python_InitShadowInstance(args
);
20866 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
= 0;
20868 wxWindow
*arg1
= (wxWindow
*) 0 ;
20869 wxWindowDC
*result
= 0 ;
20872 PyObject
* obj0
= 0 ;
20873 char * kwnames
[] = {
20874 (char *) "win", NULL
20877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20879 if (!SWIG_IsOK(res1
)) {
20880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20884 if (!wxPyCheckForApp()) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20897 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20900 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20901 return SWIG_Py_Void();
20904 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20905 return SWIG_Python_InitShadowInstance(args
);
20908 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
= 0;
20912 wxMirrorDC
*result
= 0 ;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 char * kwnames
[] = {
20920 (char *) "dc",(char *) "mirror", NULL
20923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20924 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20925 if (!SWIG_IsOK(res1
)) {
20926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20932 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20933 if (!SWIG_IsOK(ecode2
)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20936 arg2
= static_cast< bool >(val2
);
20938 if (!wxPyCheckForApp()) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20951 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20954 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20955 return SWIG_Py_Void();
20958 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20959 return SWIG_Python_InitShadowInstance(args
);
20962 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
= 0;
20964 wxPrintData
*arg1
= 0 ;
20965 wxPostScriptDC
*result
= 0 ;
20968 PyObject
* obj0
= 0 ;
20969 char * kwnames
[] = {
20970 (char *) "printData", NULL
20973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20981 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
20983 if (!wxPyCheckForApp()) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
20996 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20997 PyObject
*resultobj
= 0;
20998 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
20999 wxPrintData
*result
= 0 ;
21002 PyObject
*swig_obj
[1] ;
21004 if (!args
) SWIG_fail
;
21005 swig_obj
[0] = args
;
21006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21007 if (!SWIG_IsOK(res1
)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21010 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21015 result
= (wxPrintData
*) &_result_ref
;
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21027 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
= 0;
21029 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21030 wxPrintData
*arg2
= 0 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 char * kwnames
[] = {
21038 (char *) "self",(char *) "data", NULL
21041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21043 if (!SWIG_IsOK(res1
)) {
21044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21046 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21048 if (!SWIG_IsOK(res2
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21054 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_Py_Void();
21068 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
= 0;
21073 PyObject
* obj0
= 0 ;
21074 char * kwnames
[] = {
21075 (char *) "ppi", NULL
21078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21079 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21080 if (!SWIG_IsOK(ecode1
)) {
21081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21083 arg1
= static_cast< int >(val1
);
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 wxPostScriptDC::SetResolution(arg1
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= SWIG_Py_Void();
21097 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21098 PyObject
*resultobj
= 0;
21101 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (int)wxPostScriptDC::GetResolution();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= SWIG_From_int(static_cast< int >(result
));
21115 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21119 return SWIG_Py_Void();
21122 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21123 return SWIG_Python_InitShadowInstance(args
);
21126 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
= 0;
21128 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21129 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21130 wxMetaFile
*result
= 0 ;
21131 bool temp1
= false ;
21132 PyObject
* obj0
= 0 ;
21133 char * kwnames
[] = {
21134 (char *) "filename", NULL
21137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21140 arg1
= wxString_in_helper(obj0
);
21141 if (arg1
== NULL
) SWIG_fail
;
21146 if (!wxPyCheckForApp()) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21167 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21168 PyObject
*resultobj
= 0;
21169 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21172 PyObject
*swig_obj
[1] ;
21174 if (!args
) SWIG_fail
;
21175 swig_obj
[0] = args
;
21176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21177 if (!SWIG_IsOK(res1
)) {
21178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21180 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= SWIG_Py_Void();
21195 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21196 PyObject
*resultobj
= 0;
21197 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21201 PyObject
*swig_obj
[1] ;
21203 if (!args
) SWIG_fail
;
21204 swig_obj
[0] = args
;
21205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21206 if (!SWIG_IsOK(res1
)) {
21207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21209 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 result
= (bool)(arg1
)->Ok();
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21225 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= 0;
21227 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21228 int arg2
= (int) 0 ;
21229 int arg3
= (int) 0 ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 PyObject
* obj2
= 0 ;
21240 char * kwnames
[] = {
21241 (char *) "self",(char *) "width",(char *) "height", NULL
21244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21246 if (!SWIG_IsOK(res1
)) {
21247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21249 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21252 if (!SWIG_IsOK(ecode2
)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21255 arg2
= static_cast< int >(val2
);
21258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21259 if (!SWIG_IsOK(ecode3
)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21262 arg3
= static_cast< int >(val3
);
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21279 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21280 PyObject
*resultobj
= 0;
21281 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21285 PyObject
*swig_obj
[1] ;
21287 if (!args
) SWIG_fail
;
21288 swig_obj
[0] = args
;
21289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21290 if (!SWIG_IsOK(res1
)) {
21291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21293 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (arg1
)->GetSize();
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21307 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21308 PyObject
*resultobj
= 0;
21309 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21313 PyObject
*swig_obj
[1] ;
21315 if (!args
) SWIG_fail
;
21316 swig_obj
[0] = args
;
21317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21318 if (!SWIG_IsOK(res1
)) {
21319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21321 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (int)(arg1
)->GetWidth();
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_From_int(static_cast< int >(result
));
21335 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21336 PyObject
*resultobj
= 0;
21337 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21341 PyObject
*swig_obj
[1] ;
21343 if (!args
) SWIG_fail
;
21344 swig_obj
[0] = args
;
21345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21346 if (!SWIG_IsOK(res1
)) {
21347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21349 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (int)(arg1
)->GetHeight();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_From_int(static_cast< int >(result
));
21363 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21366 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21367 return SWIG_Py_Void();
21370 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21371 return SWIG_Python_InitShadowInstance(args
);
21374 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
= 0;
21376 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21377 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21378 int arg2
= (int) 0 ;
21379 int arg3
= (int) 0 ;
21380 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21381 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21382 wxMetaFileDC
*result
= 0 ;
21383 bool temp1
= false ;
21388 bool temp4
= false ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 PyObject
* obj2
= 0 ;
21392 PyObject
* obj3
= 0 ;
21393 char * kwnames
[] = {
21394 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21400 arg1
= wxString_in_helper(obj0
);
21401 if (arg1
== NULL
) SWIG_fail
;
21406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21407 if (!SWIG_IsOK(ecode2
)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21410 arg2
= static_cast< int >(val2
);
21413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21414 if (!SWIG_IsOK(ecode3
)) {
21415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21417 arg3
= static_cast< int >(val3
);
21421 arg4
= wxString_in_helper(obj3
);
21422 if (arg4
== NULL
) SWIG_fail
;
21427 if (!wxPyCheckForApp()) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21456 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21457 PyObject
*resultobj
= 0;
21458 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
21459 wxMetaFile
*result
= 0 ;
21462 PyObject
*swig_obj
[1] ;
21464 if (!args
) SWIG_fail
;
21465 swig_obj
[0] = args
;
21466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
21467 if (!SWIG_IsOK(res1
)) {
21468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
21470 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (wxMetaFile
*)(arg1
)->Close();
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21484 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21487 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21488 return SWIG_Py_Void();
21491 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21492 return SWIG_Python_InitShadowInstance(args
);
21495 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
= 0;
21497 wxPrintData
*arg1
= 0 ;
21498 wxPrinterDC
*result
= 0 ;
21501 PyObject
* obj0
= 0 ;
21502 char * kwnames
[] = {
21503 (char *) "printData", NULL
21506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21507 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21508 if (!SWIG_IsOK(res1
)) {
21509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21514 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21516 if (!wxPyCheckForApp()) SWIG_fail
;
21517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21518 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21529 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21532 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21533 return SWIG_Py_Void();
21536 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21537 return SWIG_Python_InitShadowInstance(args
);
21540 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
= 0;
21544 int arg3
= (int) true ;
21545 int arg4
= (int) 1 ;
21546 wxImageList
*result
= 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 PyObject
* obj2
= 0 ;
21558 PyObject
* obj3
= 0 ;
21559 char * kwnames
[] = {
21560 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21564 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21565 if (!SWIG_IsOK(ecode1
)) {
21566 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21568 arg1
= static_cast< int >(val1
);
21569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21570 if (!SWIG_IsOK(ecode2
)) {
21571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21573 arg2
= static_cast< int >(val2
);
21575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21576 if (!SWIG_IsOK(ecode3
)) {
21577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21579 arg3
= static_cast< int >(val3
);
21582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21583 if (!SWIG_IsOK(ecode4
)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21586 arg4
= static_cast< int >(val4
);
21589 if (!wxPyCheckForApp()) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21604 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21605 PyObject
*resultobj
= 0;
21606 wxImageList
*arg1
= (wxImageList
*) 0 ;
21609 PyObject
*swig_obj
[1] ;
21611 if (!args
) SWIG_fail
;
21612 swig_obj
[0] = args
;
21613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21614 if (!SWIG_IsOK(res1
)) {
21615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21617 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= SWIG_Py_Void();
21632 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
= 0;
21634 wxImageList
*arg1
= (wxImageList
*) 0 ;
21635 wxBitmap
*arg2
= 0 ;
21636 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21637 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 PyObject
* obj2
= 0 ;
21648 char * kwnames
[] = {
21649 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21654 if (!SWIG_IsOK(res1
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21657 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21659 if (!SWIG_IsOK(res2
)) {
21660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21665 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21667 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21668 if (!SWIG_IsOK(res3
)) {
21669 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21674 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= SWIG_From_int(static_cast< int >(result
));
21689 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21690 PyObject
*resultobj
= 0;
21691 wxImageList
*arg1
= (wxImageList
*) 0 ;
21692 wxBitmap
*arg2
= 0 ;
21693 wxColour
*arg3
= 0 ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 PyObject
* obj2
= 0 ;
21703 char * kwnames
[] = {
21704 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21709 if (!SWIG_IsOK(res1
)) {
21710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21712 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21714 if (!SWIG_IsOK(res2
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21720 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21723 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= SWIG_From_int(static_cast< int >(result
));
21738 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
= 0;
21740 wxImageList
*arg1
= (wxImageList
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 char * kwnames
[] = {
21750 (char *) "self",(char *) "icon", NULL
21753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21755 if (!SWIG_IsOK(res1
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21758 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21760 if (!SWIG_IsOK(res2
)) {
21761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21766 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= SWIG_From_int(static_cast< int >(result
));
21780 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
= 0;
21782 wxImageList
*arg1
= (wxImageList
*) 0 ;
21784 SwigValueWrapper
<wxBitmap
> result
;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 char * kwnames
[] = {
21792 (char *) "self",(char *) "index", NULL
21795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21797 if (!SWIG_IsOK(res1
)) {
21798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21800 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21802 if (!SWIG_IsOK(ecode2
)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21805 arg2
= static_cast< int >(val2
);
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21819 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
= 0;
21821 wxImageList
*arg1
= (wxImageList
*) 0 ;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 char * kwnames
[] = {
21831 (char *) "self",(char *) "index", NULL
21834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21839 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21841 if (!SWIG_IsOK(ecode2
)) {
21842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21844 arg2
= static_cast< int >(val2
);
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21858 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= 0;
21860 wxImageList
*arg1
= (wxImageList
*) 0 ;
21862 wxBitmap
*arg3
= 0 ;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 PyObject
* obj2
= 0 ;
21873 char * kwnames
[] = {
21874 (char *) "self",(char *) "index",(char *) "bitmap", NULL
21877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21879 if (!SWIG_IsOK(res1
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21882 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21884 if (!SWIG_IsOK(ecode2
)) {
21885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21887 arg2
= static_cast< int >(val2
);
21888 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21889 if (!SWIG_IsOK(res3
)) {
21890 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21895 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21911 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
= 0;
21913 wxImageList
*arg1
= (wxImageList
*) 0 ;
21918 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21919 bool arg7
= (bool) (bool)false ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 PyObject
* obj2
= 0 ;
21938 PyObject
* obj3
= 0 ;
21939 PyObject
* obj4
= 0 ;
21940 PyObject
* obj5
= 0 ;
21941 PyObject
* obj6
= 0 ;
21942 char * kwnames
[] = {
21943 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21951 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21953 if (!SWIG_IsOK(ecode2
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21956 arg2
= static_cast< int >(val2
);
21957 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21958 if (!SWIG_IsOK(res3
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21964 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21966 if (!SWIG_IsOK(ecode4
)) {
21967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21969 arg4
= static_cast< int >(val4
);
21970 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21971 if (!SWIG_IsOK(ecode5
)) {
21972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21974 arg5
= static_cast< int >(val5
);
21976 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21977 if (!SWIG_IsOK(ecode6
)) {
21978 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21980 arg6
= static_cast< int >(val6
);
21983 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21984 if (!SWIG_IsOK(ecode7
)) {
21985 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21987 arg7
= static_cast< bool >(val7
);
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22004 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22005 PyObject
*resultobj
= 0;
22006 wxImageList
*arg1
= (wxImageList
*) 0 ;
22010 PyObject
*swig_obj
[1] ;
22012 if (!args
) SWIG_fail
;
22013 swig_obj
[0] = args
;
22014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22018 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 result
= (int)(arg1
)->GetImageCount();
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_From_int(static_cast< int >(result
));
22032 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
= 0;
22034 wxImageList
*arg1
= (wxImageList
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 char * kwnames
[] = {
22044 (char *) "self",(char *) "index", NULL
22047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22049 if (!SWIG_IsOK(res1
)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22052 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22054 if (!SWIG_IsOK(ecode2
)) {
22055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22057 arg2
= static_cast< int >(val2
);
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (bool)(arg1
)->Remove(arg2
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22073 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22074 PyObject
*resultobj
= 0;
22075 wxImageList
*arg1
= (wxImageList
*) 0 ;
22079 PyObject
*swig_obj
[1] ;
22081 if (!args
) SWIG_fail
;
22082 swig_obj
[0] = args
;
22083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22084 if (!SWIG_IsOK(res1
)) {
22085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22087 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (bool)(arg1
)->RemoveAll();
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22103 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
= 0;
22105 wxImageList
*arg1
= (wxImageList
*) 0 ;
22114 int res3
= SWIG_TMPOBJ
;
22116 int res4
= SWIG_TMPOBJ
;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char * kwnames
[] = {
22120 (char *) "self",(char *) "index", NULL
22125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22130 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22132 if (!SWIG_IsOK(ecode2
)) {
22133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22135 arg2
= static_cast< int >(val2
);
22137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22138 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= SWIG_Py_Void();
22143 if (SWIG_IsTmpObj(res3
)) {
22144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22146 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22149 if (SWIG_IsTmpObj(res4
)) {
22150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22152 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22161 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22164 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22165 return SWIG_Py_Void();
22168 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22169 return SWIG_Python_InitShadowInstance(args
);
22172 SWIGINTERN
int NORMAL_FONT_set(PyObject
*) {
22173 SWIG_Error(SWIG_AttributeError
,"Variable NORMAL_FONT is read-only.");
22178 SWIGINTERN PyObject
*NORMAL_FONT_get(void) {
22179 PyObject
*pyobj
= 0;
22181 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0 );
22186 SWIGINTERN
int SMALL_FONT_set(PyObject
*) {
22187 SWIG_Error(SWIG_AttributeError
,"Variable SMALL_FONT is read-only.");
22192 SWIGINTERN PyObject
*SMALL_FONT_get(void) {
22193 PyObject
*pyobj
= 0;
22195 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0 );
22200 SWIGINTERN
int ITALIC_FONT_set(PyObject
*) {
22201 SWIG_Error(SWIG_AttributeError
,"Variable ITALIC_FONT is read-only.");
22206 SWIGINTERN PyObject
*ITALIC_FONT_get(void) {
22207 PyObject
*pyobj
= 0;
22209 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0 );
22214 SWIGINTERN
int SWISS_FONT_set(PyObject
*) {
22215 SWIG_Error(SWIG_AttributeError
,"Variable SWISS_FONT is read-only.");
22220 SWIGINTERN PyObject
*SWISS_FONT_get(void) {
22221 PyObject
*pyobj
= 0;
22223 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0 );
22228 SWIGINTERN
int RED_PEN_set(PyObject
*) {
22229 SWIG_Error(SWIG_AttributeError
,"Variable RED_PEN is read-only.");
22234 SWIGINTERN PyObject
*RED_PEN_get(void) {
22235 PyObject
*pyobj
= 0;
22237 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0 );
22242 SWIGINTERN
int CYAN_PEN_set(PyObject
*) {
22243 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_PEN is read-only.");
22248 SWIGINTERN PyObject
*CYAN_PEN_get(void) {
22249 PyObject
*pyobj
= 0;
22251 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0 );
22256 SWIGINTERN
int GREEN_PEN_set(PyObject
*) {
22257 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_PEN is read-only.");
22262 SWIGINTERN PyObject
*GREEN_PEN_get(void) {
22263 PyObject
*pyobj
= 0;
22265 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0 );
22270 SWIGINTERN
int BLACK_PEN_set(PyObject
*) {
22271 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_PEN is read-only.");
22276 SWIGINTERN PyObject
*BLACK_PEN_get(void) {
22277 PyObject
*pyobj
= 0;
22279 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0 );
22284 SWIGINTERN
int WHITE_PEN_set(PyObject
*) {
22285 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_PEN is read-only.");
22290 SWIGINTERN PyObject
*WHITE_PEN_get(void) {
22291 PyObject
*pyobj
= 0;
22293 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0 );
22298 SWIGINTERN
int TRANSPARENT_PEN_set(PyObject
*) {
22299 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_PEN is read-only.");
22304 SWIGINTERN PyObject
*TRANSPARENT_PEN_get(void) {
22305 PyObject
*pyobj
= 0;
22307 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0 );
22312 SWIGINTERN
int BLACK_DASHED_PEN_set(PyObject
*) {
22313 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_DASHED_PEN is read-only.");
22318 SWIGINTERN PyObject
*BLACK_DASHED_PEN_get(void) {
22319 PyObject
*pyobj
= 0;
22321 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0 );
22326 SWIGINTERN
int GREY_PEN_set(PyObject
*) {
22327 SWIG_Error(SWIG_AttributeError
,"Variable GREY_PEN is read-only.");
22332 SWIGINTERN PyObject
*GREY_PEN_get(void) {
22333 PyObject
*pyobj
= 0;
22335 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22340 SWIGINTERN
int MEDIUM_GREY_PEN_set(PyObject
*) {
22341 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_PEN is read-only.");
22346 SWIGINTERN PyObject
*MEDIUM_GREY_PEN_get(void) {
22347 PyObject
*pyobj
= 0;
22349 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22354 SWIGINTERN
int LIGHT_GREY_PEN_set(PyObject
*) {
22355 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_PEN is read-only.");
22360 SWIGINTERN PyObject
*LIGHT_GREY_PEN_get(void) {
22361 PyObject
*pyobj
= 0;
22363 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22368 SWIGINTERN
int BLUE_BRUSH_set(PyObject
*) {
22369 SWIG_Error(SWIG_AttributeError
,"Variable BLUE_BRUSH is read-only.");
22374 SWIGINTERN PyObject
*BLUE_BRUSH_get(void) {
22375 PyObject
*pyobj
= 0;
22377 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22382 SWIGINTERN
int GREEN_BRUSH_set(PyObject
*) {
22383 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_BRUSH is read-only.");
22388 SWIGINTERN PyObject
*GREEN_BRUSH_get(void) {
22389 PyObject
*pyobj
= 0;
22391 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22396 SWIGINTERN
int WHITE_BRUSH_set(PyObject
*) {
22397 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_BRUSH is read-only.");
22402 SWIGINTERN PyObject
*WHITE_BRUSH_get(void) {
22403 PyObject
*pyobj
= 0;
22405 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22410 SWIGINTERN
int BLACK_BRUSH_set(PyObject
*) {
22411 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_BRUSH is read-only.");
22416 SWIGINTERN PyObject
*BLACK_BRUSH_get(void) {
22417 PyObject
*pyobj
= 0;
22419 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22424 SWIGINTERN
int TRANSPARENT_BRUSH_set(PyObject
*) {
22425 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_BRUSH is read-only.");
22430 SWIGINTERN PyObject
*TRANSPARENT_BRUSH_get(void) {
22431 PyObject
*pyobj
= 0;
22433 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22438 SWIGINTERN
int CYAN_BRUSH_set(PyObject
*) {
22439 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_BRUSH is read-only.");
22444 SWIGINTERN PyObject
*CYAN_BRUSH_get(void) {
22445 PyObject
*pyobj
= 0;
22447 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22452 SWIGINTERN
int RED_BRUSH_set(PyObject
*) {
22453 SWIG_Error(SWIG_AttributeError
,"Variable RED_BRUSH is read-only.");
22458 SWIGINTERN PyObject
*RED_BRUSH_get(void) {
22459 PyObject
*pyobj
= 0;
22461 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22466 SWIGINTERN
int GREY_BRUSH_set(PyObject
*) {
22467 SWIG_Error(SWIG_AttributeError
,"Variable GREY_BRUSH is read-only.");
22472 SWIGINTERN PyObject
*GREY_BRUSH_get(void) {
22473 PyObject
*pyobj
= 0;
22475 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22480 SWIGINTERN
int MEDIUM_GREY_BRUSH_set(PyObject
*) {
22481 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
22486 SWIGINTERN PyObject
*MEDIUM_GREY_BRUSH_get(void) {
22487 PyObject
*pyobj
= 0;
22489 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22494 SWIGINTERN
int LIGHT_GREY_BRUSH_set(PyObject
*) {
22495 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
22500 SWIGINTERN PyObject
*LIGHT_GREY_BRUSH_get(void) {
22501 PyObject
*pyobj
= 0;
22503 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22508 SWIGINTERN
int BLACK_set(PyObject
*) {
22509 SWIG_Error(SWIG_AttributeError
,"Variable BLACK is read-only.");
22514 SWIGINTERN PyObject
*BLACK_get(void) {
22515 PyObject
*pyobj
= 0;
22517 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK
), SWIGTYPE_p_wxColour
, 0 );
22522 SWIGINTERN
int WHITE_set(PyObject
*) {
22523 SWIG_Error(SWIG_AttributeError
,"Variable WHITE is read-only.");
22528 SWIGINTERN PyObject
*WHITE_get(void) {
22529 PyObject
*pyobj
= 0;
22531 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE
), SWIGTYPE_p_wxColour
, 0 );
22536 SWIGINTERN
int RED_set(PyObject
*) {
22537 SWIG_Error(SWIG_AttributeError
,"Variable RED is read-only.");
22542 SWIGINTERN PyObject
*RED_get(void) {
22543 PyObject
*pyobj
= 0;
22545 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED
), SWIGTYPE_p_wxColour
, 0 );
22550 SWIGINTERN
int BLUE_set(PyObject
*) {
22551 SWIG_Error(SWIG_AttributeError
,"Variable BLUE is read-only.");
22556 SWIGINTERN PyObject
*BLUE_get(void) {
22557 PyObject
*pyobj
= 0;
22559 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE
), SWIGTYPE_p_wxColour
, 0 );
22564 SWIGINTERN
int GREEN_set(PyObject
*) {
22565 SWIG_Error(SWIG_AttributeError
,"Variable GREEN is read-only.");
22570 SWIGINTERN PyObject
*GREEN_get(void) {
22571 PyObject
*pyobj
= 0;
22573 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN
), SWIGTYPE_p_wxColour
, 0 );
22578 SWIGINTERN
int CYAN_set(PyObject
*) {
22579 SWIG_Error(SWIG_AttributeError
,"Variable CYAN is read-only.");
22584 SWIGINTERN PyObject
*CYAN_get(void) {
22585 PyObject
*pyobj
= 0;
22587 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN
), SWIGTYPE_p_wxColour
, 0 );
22592 SWIGINTERN
int LIGHT_GREY_set(PyObject
*) {
22593 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY is read-only.");
22598 SWIGINTERN PyObject
*LIGHT_GREY_get(void) {
22599 PyObject
*pyobj
= 0;
22601 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0 );
22606 SWIGINTERN
int STANDARD_CURSOR_set(PyObject
*) {
22607 SWIG_Error(SWIG_AttributeError
,"Variable STANDARD_CURSOR is read-only.");
22612 SWIGINTERN PyObject
*STANDARD_CURSOR_get(void) {
22613 PyObject
*pyobj
= 0;
22615 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22620 SWIGINTERN
int HOURGLASS_CURSOR_set(PyObject
*) {
22621 SWIG_Error(SWIG_AttributeError
,"Variable HOURGLASS_CURSOR is read-only.");
22626 SWIGINTERN PyObject
*HOURGLASS_CURSOR_get(void) {
22627 PyObject
*pyobj
= 0;
22629 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22634 SWIGINTERN
int CROSS_CURSOR_set(PyObject
*) {
22635 SWIG_Error(SWIG_AttributeError
,"Variable CROSS_CURSOR is read-only.");
22640 SWIGINTERN PyObject
*CROSS_CURSOR_get(void) {
22641 PyObject
*pyobj
= 0;
22643 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22648 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22649 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22654 SWIGINTERN PyObject
*NullBitmap_get(void) {
22655 PyObject
*pyobj
= 0;
22657 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22662 SWIGINTERN
int NullIcon_set(PyObject
*) {
22663 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22668 SWIGINTERN PyObject
*NullIcon_get(void) {
22669 PyObject
*pyobj
= 0;
22671 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22676 SWIGINTERN
int NullCursor_set(PyObject
*) {
22677 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22682 SWIGINTERN PyObject
*NullCursor_get(void) {
22683 PyObject
*pyobj
= 0;
22685 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22690 SWIGINTERN
int NullPen_set(PyObject
*) {
22691 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22696 SWIGINTERN PyObject
*NullPen_get(void) {
22697 PyObject
*pyobj
= 0;
22699 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22704 SWIGINTERN
int NullBrush_set(PyObject
*) {
22705 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22710 SWIGINTERN PyObject
*NullBrush_get(void) {
22711 PyObject
*pyobj
= 0;
22713 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22718 SWIGINTERN
int NullPalette_set(PyObject
*) {
22719 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22724 SWIGINTERN PyObject
*NullPalette_get(void) {
22725 PyObject
*pyobj
= 0;
22727 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22732 SWIGINTERN
int NullFont_set(PyObject
*) {
22733 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22738 SWIGINTERN PyObject
*NullFont_get(void) {
22739 PyObject
*pyobj
= 0;
22741 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22746 SWIGINTERN
int NullColour_set(PyObject
*) {
22747 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22752 SWIGINTERN PyObject
*NullColour_get(void) {
22753 PyObject
*pyobj
= 0;
22755 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22760 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
= 0;
22762 wxPenList
*arg1
= (wxPenList
*) 0 ;
22763 wxPen
*arg2
= (wxPen
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 char * kwnames
[] = {
22771 (char *) "self",(char *) "pen", NULL
22774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22776 if (!SWIG_IsOK(res1
)) {
22777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22779 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22781 if (!SWIG_IsOK(res2
)) {
22782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22784 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 (arg1
)->AddPen(arg2
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= SWIG_Py_Void();
22798 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
= 0;
22800 wxPenList
*arg1
= (wxPenList
*) 0 ;
22801 wxColour
*arg2
= 0 ;
22804 wxPen
*result
= 0 ;
22812 PyObject
* obj0
= 0 ;
22813 PyObject
* obj1
= 0 ;
22814 PyObject
* obj2
= 0 ;
22815 PyObject
* obj3
= 0 ;
22816 char * kwnames
[] = {
22817 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22822 if (!SWIG_IsOK(res1
)) {
22823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22825 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22828 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22831 if (!SWIG_IsOK(ecode3
)) {
22832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22834 arg3
= static_cast< int >(val3
);
22835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22836 if (!SWIG_IsOK(ecode4
)) {
22837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22839 arg4
= static_cast< int >(val4
);
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22843 wxPyEndAllowThreads(__tstate
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22853 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
= 0;
22855 wxPenList
*arg1
= (wxPenList
*) 0 ;
22856 wxPen
*arg2
= (wxPen
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 char * kwnames
[] = {
22864 (char *) "self",(char *) "pen", NULL
22867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22869 if (!SWIG_IsOK(res1
)) {
22870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22872 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22874 if (!SWIG_IsOK(res2
)) {
22875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22877 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->RemovePen(arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_Py_Void();
22891 SWIGINTERN PyObject
*_wrap_PenList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22892 PyObject
*resultobj
= 0;
22893 wxPenList
*arg1
= (wxPenList
*) 0 ;
22897 PyObject
*swig_obj
[1] ;
22899 if (!args
) SWIG_fail
;
22900 swig_obj
[0] = args
;
22901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_GetCount" "', expected argument " "1"" of type '" "wxPenList *""'");
22905 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (int)(arg1
)->GetCount();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_From_int(static_cast< int >(result
));
22919 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22922 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22923 return SWIG_Py_Void();
22926 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
= 0;
22928 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22929 wxBrush
*arg2
= (wxBrush
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 PyObject
* obj1
= 0 ;
22936 char * kwnames
[] = {
22937 (char *) "self",(char *) "brush", NULL
22940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22942 if (!SWIG_IsOK(res1
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22945 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22947 if (!SWIG_IsOK(res2
)) {
22948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22950 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 (arg1
)->AddBrush(arg2
);
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= SWIG_Py_Void();
22964 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
= 0;
22966 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22967 wxColour
*arg2
= 0 ;
22968 int arg3
= (int) wxSOLID
;
22969 wxBrush
*result
= 0 ;
22975 PyObject
* obj0
= 0 ;
22976 PyObject
* obj1
= 0 ;
22977 PyObject
* obj2
= 0 ;
22978 char * kwnames
[] = {
22979 (char *) "self",(char *) "colour",(char *) "style", NULL
22982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22984 if (!SWIG_IsOK(res1
)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22987 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22990 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22994 if (!SWIG_IsOK(ecode3
)) {
22995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22997 arg3
= static_cast< int >(val3
);
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23012 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
= 0;
23014 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23015 wxBrush
*arg2
= (wxBrush
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char * kwnames
[] = {
23023 (char *) "self",(char *) "brush", NULL
23026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23031 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23033 if (!SWIG_IsOK(res2
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23036 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->RemoveBrush(arg2
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_Py_Void();
23050 SWIGINTERN PyObject
*_wrap_BrushList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23051 PyObject
*resultobj
= 0;
23052 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23056 PyObject
*swig_obj
[1] ;
23058 if (!args
) SWIG_fail
;
23059 swig_obj
[0] = args
;
23060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23061 if (!SWIG_IsOK(res1
)) {
23062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_GetCount" "', expected argument " "1"" of type '" "wxBrushList *""'");
23064 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 result
= (int)(arg1
)->GetCount();
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_From_int(static_cast< int >(result
));
23078 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23081 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23082 return SWIG_Py_Void();
23085 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxColourDatabase
*result
= 0 ;
23089 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23091 if (!wxPyCheckForApp()) SWIG_fail
;
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= (wxColourDatabase
*)new wxColourDatabase();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23104 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23105 PyObject
*resultobj
= 0;
23106 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23109 PyObject
*swig_obj
[1] ;
23111 if (!args
) SWIG_fail
;
23112 swig_obj
[0] = args
;
23113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23117 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_Py_Void();
23132 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
= 0;
23134 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23135 wxString
*arg2
= 0 ;
23139 bool temp2
= false ;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "self",(char *) "name", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23151 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23153 arg2
= wxString_in_helper(obj1
);
23154 if (arg2
== NULL
) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23178 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
= 0;
23180 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23181 wxColour
*arg2
= 0 ;
23186 PyObject
* obj0
= 0 ;
23187 PyObject
* obj1
= 0 ;
23188 char * kwnames
[] = {
23189 (char *) "self",(char *) "colour", NULL
23192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23194 if (!SWIG_IsOK(res1
)) {
23195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23197 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23200 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23221 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
= 0;
23223 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23224 wxString
*arg2
= 0 ;
23225 wxColour
*arg3
= 0 ;
23228 bool temp2
= false ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 PyObject
* obj2
= 0 ;
23233 char * kwnames
[] = {
23234 (char *) "self",(char *) "name",(char *) "colour", NULL
23237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23242 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23244 arg2
= wxString_in_helper(obj1
);
23245 if (arg2
== NULL
) SWIG_fail
;
23250 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= SWIG_Py_Void();
23273 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
= 0;
23275 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23276 wxString
*arg2
= 0 ;
23282 bool temp2
= false ;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 PyObject
* obj2
= 0 ;
23292 PyObject
* obj3
= 0 ;
23293 PyObject
* obj4
= 0 ;
23294 char * kwnames
[] = {
23295 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23303 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23305 arg2
= wxString_in_helper(obj1
);
23306 if (arg2
== NULL
) SWIG_fail
;
23309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23310 if (!SWIG_IsOK(ecode3
)) {
23311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23313 arg3
= static_cast< int >(val3
);
23314 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23315 if (!SWIG_IsOK(ecode4
)) {
23316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23318 arg4
= static_cast< int >(val4
);
23319 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23320 if (!SWIG_IsOK(ecode5
)) {
23321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23323 arg5
= static_cast< int >(val5
);
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_Py_Void();
23345 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23348 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23349 return SWIG_Py_Void();
23352 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23353 return SWIG_Python_InitShadowInstance(args
);
23356 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
= 0;
23358 wxFontList
*arg1
= (wxFontList
*) 0 ;
23359 wxFont
*arg2
= (wxFont
*) 0 ;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char * kwnames
[] = {
23367 (char *) "self",(char *) "font", NULL
23370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23372 if (!SWIG_IsOK(res1
)) {
23373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23375 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23377 if (!SWIG_IsOK(res2
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23380 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 (arg1
)->AddFont(arg2
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_Py_Void();
23394 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
= 0;
23396 wxFontList
*arg1
= (wxFontList
*) 0 ;
23401 bool arg6
= (bool) false ;
23402 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23404 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23405 wxFont
*result
= 0 ;
23418 bool temp7
= false ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 PyObject
* obj2
= 0 ;
23424 PyObject
* obj3
= 0 ;
23425 PyObject
* obj4
= 0 ;
23426 PyObject
* obj5
= 0 ;
23427 PyObject
* obj6
= 0 ;
23428 PyObject
* obj7
= 0 ;
23429 char * kwnames
[] = {
23430 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23435 if (!SWIG_IsOK(res1
)) {
23436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23438 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23440 if (!SWIG_IsOK(ecode2
)) {
23441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23443 arg2
= static_cast< int >(val2
);
23444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23445 if (!SWIG_IsOK(ecode3
)) {
23446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23448 arg3
= static_cast< int >(val3
);
23449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23450 if (!SWIG_IsOK(ecode4
)) {
23451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23453 arg4
= static_cast< int >(val4
);
23454 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23455 if (!SWIG_IsOK(ecode5
)) {
23456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23458 arg5
= static_cast< int >(val5
);
23460 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23461 if (!SWIG_IsOK(ecode6
)) {
23462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23464 arg6
= static_cast< bool >(val6
);
23468 arg7
= wxString_in_helper(obj6
);
23469 if (arg7
== NULL
) SWIG_fail
;
23474 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23475 if (!SWIG_IsOK(ecode8
)) {
23476 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23478 arg8
= static_cast< wxFontEncoding
>(val8
);
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23501 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
= 0;
23503 wxFontList
*arg1
= (wxFontList
*) 0 ;
23504 wxFont
*arg2
= (wxFont
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 char * kwnames
[] = {
23512 (char *) "self",(char *) "font", NULL
23515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23517 if (!SWIG_IsOK(res1
)) {
23518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23520 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23522 if (!SWIG_IsOK(res2
)) {
23523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23525 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 (arg1
)->RemoveFont(arg2
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= SWIG_Py_Void();
23539 SWIGINTERN PyObject
*_wrap_FontList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23540 PyObject
*resultobj
= 0;
23541 wxFontList
*arg1
= (wxFontList
*) 0 ;
23545 PyObject
*swig_obj
[1] ;
23547 if (!args
) SWIG_fail
;
23548 swig_obj
[0] = args
;
23549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23550 if (!SWIG_IsOK(res1
)) {
23551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_GetCount" "', expected argument " "1"" of type '" "wxFontList *""'");
23553 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 result
= (int)(arg1
)->GetCount();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= SWIG_From_int(static_cast< int >(result
));
23567 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23570 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23571 return SWIG_Py_Void();
23574 SWIGINTERN
int TheFontList_set(PyObject
*) {
23575 SWIG_Error(SWIG_AttributeError
,"Variable TheFontList is read-only.");
23580 SWIGINTERN PyObject
*TheFontList_get(void) {
23581 PyObject
*pyobj
= 0;
23583 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0 );
23588 SWIGINTERN
int ThePenList_set(PyObject
*) {
23589 SWIG_Error(SWIG_AttributeError
,"Variable ThePenList is read-only.");
23594 SWIGINTERN PyObject
*ThePenList_get(void) {
23595 PyObject
*pyobj
= 0;
23597 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxThePenList
), SWIGTYPE_p_wxPenList
, 0 );
23602 SWIGINTERN
int TheBrushList_set(PyObject
*) {
23603 SWIG_Error(SWIG_AttributeError
,"Variable TheBrushList is read-only.");
23608 SWIGINTERN PyObject
*TheBrushList_get(void) {
23609 PyObject
*pyobj
= 0;
23611 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0 );
23616 SWIGINTERN
int TheColourDatabase_set(PyObject
*) {
23617 SWIG_Error(SWIG_AttributeError
,"Variable TheColourDatabase is read-only.");
23622 SWIGINTERN PyObject
*TheColourDatabase_get(void) {
23623 PyObject
*pyobj
= 0;
23625 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0 );
23630 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23631 PyObject
*resultobj
= 0;
23632 wxEffects
*result
= 0 ;
23634 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (wxEffects
*)new wxEffects();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23648 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 PyObject
*resultobj
= 0;
23650 wxEffects
*arg1
= (wxEffects
*) 0 ;
23654 PyObject
*swig_obj
[1] ;
23656 if (!args
) SWIG_fail
;
23657 swig_obj
[0] = args
;
23658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23659 if (!SWIG_IsOK(res1
)) {
23660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23662 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23676 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23677 PyObject
*resultobj
= 0;
23678 wxEffects
*arg1
= (wxEffects
*) 0 ;
23682 PyObject
*swig_obj
[1] ;
23684 if (!args
) SWIG_fail
;
23685 swig_obj
[0] = args
;
23686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23690 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23704 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23705 PyObject
*resultobj
= 0;
23706 wxEffects
*arg1
= (wxEffects
*) 0 ;
23710 PyObject
*swig_obj
[1] ;
23712 if (!args
) SWIG_fail
;
23713 swig_obj
[0] = args
;
23714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23715 if (!SWIG_IsOK(res1
)) {
23716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23718 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23732 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23733 PyObject
*resultobj
= 0;
23734 wxEffects
*arg1
= (wxEffects
*) 0 ;
23738 PyObject
*swig_obj
[1] ;
23740 if (!args
) SWIG_fail
;
23741 swig_obj
[0] = args
;
23742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23746 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23760 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23761 PyObject
*resultobj
= 0;
23762 wxEffects
*arg1
= (wxEffects
*) 0 ;
23766 PyObject
*swig_obj
[1] ;
23768 if (!args
) SWIG_fail
;
23769 swig_obj
[0] = args
;
23770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23771 if (!SWIG_IsOK(res1
)) {
23772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23774 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23788 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
= 0;
23790 wxEffects
*arg1
= (wxEffects
*) 0 ;
23791 wxColour
*arg2
= 0 ;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 char * kwnames
[] = {
23798 (char *) "self",(char *) "c", NULL
23801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23803 if (!SWIG_IsOK(res1
)) {
23804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23806 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23809 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_Py_Void();
23824 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
= 0;
23826 wxEffects
*arg1
= (wxEffects
*) 0 ;
23827 wxColour
*arg2
= 0 ;
23831 PyObject
* obj0
= 0 ;
23832 PyObject
* obj1
= 0 ;
23833 char * kwnames
[] = {
23834 (char *) "self",(char *) "c", NULL
23837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23839 if (!SWIG_IsOK(res1
)) {
23840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23842 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23845 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_Py_Void();
23860 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
= 0;
23862 wxEffects
*arg1
= (wxEffects
*) 0 ;
23863 wxColour
*arg2
= 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char * kwnames
[] = {
23870 (char *) "self",(char *) "c", NULL
23873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23878 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23881 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_Py_Void();
23896 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
= 0;
23898 wxEffects
*arg1
= (wxEffects
*) 0 ;
23899 wxColour
*arg2
= 0 ;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23905 char * kwnames
[] = {
23906 (char *) "self",(char *) "c", NULL
23909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23911 if (!SWIG_IsOK(res1
)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23914 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23917 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= SWIG_Py_Void();
23932 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
= 0;
23934 wxEffects
*arg1
= (wxEffects
*) 0 ;
23935 wxColour
*arg2
= 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "c", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23950 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_Py_Void();
23968 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
= 0;
23970 wxEffects
*arg1
= (wxEffects
*) 0 ;
23971 wxColour
*arg2
= 0 ;
23972 wxColour
*arg3
= 0 ;
23973 wxColour
*arg4
= 0 ;
23974 wxColour
*arg5
= 0 ;
23975 wxColour
*arg6
= 0 ;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 PyObject
* obj2
= 0 ;
23986 PyObject
* obj3
= 0 ;
23987 PyObject
* obj4
= 0 ;
23988 PyObject
* obj5
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23998 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24005 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24009 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24013 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24017 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= SWIG_Py_Void();
24032 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
= 0;
24034 wxEffects
*arg1
= (wxEffects
*) 0 ;
24037 int arg4
= (int) 1 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 PyObject
* obj2
= 0 ;
24048 PyObject
* obj3
= 0 ;
24049 char * kwnames
[] = {
24050 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24055 if (!SWIG_IsOK(res1
)) {
24056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24058 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24060 if (!SWIG_IsOK(res2
)) {
24061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24066 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24069 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24072 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24073 if (!SWIG_IsOK(ecode4
)) {
24074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24076 arg4
= static_cast< int >(val4
);
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= SWIG_Py_Void();
24091 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
= 0;
24093 wxEffects
*arg1
= (wxEffects
*) 0 ;
24096 wxBitmap
*arg4
= 0 ;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24107 PyObject
* obj2
= 0 ;
24108 PyObject
* obj3
= 0 ;
24109 char * kwnames
[] = {
24110 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24118 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24121 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24123 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24124 if (!SWIG_IsOK(res3
)) {
24125 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24130 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24131 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24132 if (!SWIG_IsOK(res4
)) {
24133 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24138 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24154 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24157 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24158 return SWIG_Py_Void();
24161 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24162 return SWIG_Python_InitShadowInstance(args
);
24165 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24166 PyObject
*resultobj
= 0;
24170 wxSplitterRenderParams
*result
= 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 PyObject
* obj2
= 0 ;
24180 char * kwnames
[] = {
24181 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24186 if (!SWIG_IsOK(ecode1
)) {
24187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24189 arg1
= static_cast< int >(val1
);
24190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24191 if (!SWIG_IsOK(ecode2
)) {
24192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24194 arg2
= static_cast< int >(val2
);
24195 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24196 if (!SWIG_IsOK(ecode3
)) {
24197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24199 arg3
= static_cast< bool >(val3
);
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24213 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24214 PyObject
*resultobj
= 0;
24215 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24218 PyObject
*swig_obj
[1] ;
24220 if (!args
) SWIG_fail
;
24221 swig_obj
[0] = args
;
24222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24223 if (!SWIG_IsOK(res1
)) {
24224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24226 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= SWIG_Py_Void();
24241 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24242 PyObject
*resultobj
= 0;
24243 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24247 PyObject
*swig_obj
[1] ;
24249 if (!args
) SWIG_fail
;
24250 swig_obj
[0] = args
;
24251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24252 if (!SWIG_IsOK(res1
)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24255 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24256 result
= (int)(int) ((arg1
)->widthSash
);
24257 resultobj
= SWIG_From_int(static_cast< int >(result
));
24264 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24265 PyObject
*resultobj
= 0;
24266 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24270 PyObject
*swig_obj
[1] ;
24272 if (!args
) SWIG_fail
;
24273 swig_obj
[0] = args
;
24274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24275 if (!SWIG_IsOK(res1
)) {
24276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24278 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24279 result
= (int)(int) ((arg1
)->border
);
24280 resultobj
= SWIG_From_int(static_cast< int >(result
));
24287 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24288 PyObject
*resultobj
= 0;
24289 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24293 PyObject
*swig_obj
[1] ;
24295 if (!args
) SWIG_fail
;
24296 swig_obj
[0] = args
;
24297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24298 if (!SWIG_IsOK(res1
)) {
24299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24301 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24302 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24303 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24310 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24313 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24314 return SWIG_Py_Void();
24317 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24318 return SWIG_Python_InitShadowInstance(args
);
24321 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
= 0;
24325 wxRendererVersion
*result
= 0 ;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 char * kwnames
[] = {
24333 (char *) "version_",(char *) "age_", NULL
24336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24338 if (!SWIG_IsOK(ecode1
)) {
24339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24341 arg1
= static_cast< int >(val1
);
24342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24343 if (!SWIG_IsOK(ecode2
)) {
24344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24346 arg2
= static_cast< int >(val2
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24360 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 PyObject
*resultobj
= 0;
24362 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24365 PyObject
*swig_obj
[1] ;
24367 if (!args
) SWIG_fail
;
24368 swig_obj
[0] = args
;
24369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24370 if (!SWIG_IsOK(res1
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24373 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_Py_Void();
24388 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxRendererVersion
*arg1
= 0 ;
24394 PyObject
* obj0
= 0 ;
24395 char * kwnames
[] = {
24396 (char *) "ver", NULL
24399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24400 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24401 if (!SWIG_IsOK(res1
)) {
24402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24407 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24423 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24424 PyObject
*resultobj
= 0;
24425 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24429 PyObject
*swig_obj
[1] ;
24431 if (!args
) SWIG_fail
;
24432 swig_obj
[0] = args
;
24433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24434 if (!SWIG_IsOK(res1
)) {
24435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24437 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24438 result
= (int)(int) ((arg1
)->version
);
24439 resultobj
= SWIG_From_int(static_cast< int >(result
));
24446 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24447 PyObject
*resultobj
= 0;
24448 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24452 PyObject
*swig_obj
[1] ;
24454 if (!args
) SWIG_fail
;
24455 swig_obj
[0] = args
;
24456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24457 if (!SWIG_IsOK(res1
)) {
24458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24460 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24461 result
= (int)(int) ((arg1
)->age
);
24462 resultobj
= SWIG_From_int(static_cast< int >(result
));
24469 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24472 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24473 return SWIG_Py_Void();
24476 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24477 return SWIG_Python_InitShadowInstance(args
);
24480 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
= 0;
24482 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24483 wxWindow
*arg2
= (wxWindow
*) 0 ;
24486 int arg5
= (int) 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 PyObject
* obj2
= 0 ;
24499 PyObject
* obj3
= 0 ;
24500 PyObject
* obj4
= 0 ;
24501 char * kwnames
[] = {
24502 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24507 if (!SWIG_IsOK(res1
)) {
24508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24510 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24512 if (!SWIG_IsOK(res2
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24515 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24516 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24517 if (!SWIG_IsOK(res3
)) {
24518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24523 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24526 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24529 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24530 if (!SWIG_IsOK(ecode5
)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24533 arg5
= static_cast< int >(val5
);
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= SWIG_Py_Void();
24548 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
= 0;
24550 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24551 wxWindow
*arg2
= (wxWindow
*) 0 ;
24554 int arg5
= (int) 0 ;
24564 PyObject
* obj0
= 0 ;
24565 PyObject
* obj1
= 0 ;
24566 PyObject
* obj2
= 0 ;
24567 PyObject
* obj3
= 0 ;
24568 PyObject
* obj4
= 0 ;
24569 char * kwnames
[] = {
24570 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24575 if (!SWIG_IsOK(res1
)) {
24576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24578 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24580 if (!SWIG_IsOK(res2
)) {
24581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24584 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24585 if (!SWIG_IsOK(res3
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24591 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24594 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24597 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24598 if (!SWIG_IsOK(ecode5
)) {
24599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24601 arg5
= static_cast< int >(val5
);
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_Py_Void();
24616 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
= 0;
24618 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24619 wxWindow
*arg2
= (wxWindow
*) 0 ;
24622 int arg5
= (int) 0 ;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 PyObject
* obj2
= 0 ;
24635 PyObject
* obj3
= 0 ;
24636 PyObject
* obj4
= 0 ;
24637 char * kwnames
[] = {
24638 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24643 if (!SWIG_IsOK(res1
)) {
24644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24646 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24648 if (!SWIG_IsOK(res2
)) {
24649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24652 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24653 if (!SWIG_IsOK(res3
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24659 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24662 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24665 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24666 if (!SWIG_IsOK(ecode5
)) {
24667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24669 arg5
= static_cast< int >(val5
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_Py_Void();
24684 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
= 0;
24686 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24687 wxWindow
*arg2
= (wxWindow
*) 0 ;
24691 wxOrientation arg6
;
24692 int arg7
= (int) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 PyObject
* obj2
= 0 ;
24709 PyObject
* obj3
= 0 ;
24710 PyObject
* obj4
= 0 ;
24711 PyObject
* obj5
= 0 ;
24712 PyObject
* obj6
= 0 ;
24713 char * kwnames
[] = {
24714 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24719 if (!SWIG_IsOK(res1
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24722 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24724 if (!SWIG_IsOK(res2
)) {
24725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24727 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24728 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24729 if (!SWIG_IsOK(res3
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24735 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24740 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24741 if (!SWIG_IsOK(ecode5
)) {
24742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24744 arg5
= static_cast< int >(val5
);
24745 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24746 if (!SWIG_IsOK(ecode6
)) {
24747 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24749 arg6
= static_cast< wxOrientation
>(val6
);
24751 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24752 if (!SWIG_IsOK(ecode7
)) {
24753 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24755 arg7
= static_cast< int >(val7
);
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_Py_Void();
24770 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
= 0;
24772 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24773 wxWindow
*arg2
= (wxWindow
*) 0 ;
24776 int arg5
= (int) 0 ;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 PyObject
* obj2
= 0 ;
24789 PyObject
* obj3
= 0 ;
24790 PyObject
* obj4
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24800 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24802 if (!SWIG_IsOK(res2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24805 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24806 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24807 if (!SWIG_IsOK(res3
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24813 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24816 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24819 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24820 if (!SWIG_IsOK(ecode5
)) {
24821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24823 arg5
= static_cast< int >(val5
);
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_Py_Void();
24838 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
= 0;
24840 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24841 wxWindow
*arg2
= (wxWindow
*) 0 ;
24844 int arg5
= (int) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 PyObject
* obj2
= 0 ;
24857 PyObject
* obj3
= 0 ;
24858 PyObject
* obj4
= 0 ;
24859 char * kwnames
[] = {
24860 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24868 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24870 if (!SWIG_IsOK(res2
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24873 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24874 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24875 if (!SWIG_IsOK(res3
)) {
24876 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24881 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24884 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24887 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24888 if (!SWIG_IsOK(ecode5
)) {
24889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24891 arg5
= static_cast< int >(val5
);
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_Py_Void();
24906 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
= 0;
24908 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24909 wxWindow
*arg2
= (wxWindow
*) 0 ;
24910 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 char * kwnames
[] = {
24918 (char *) "self",(char *) "win", NULL
24921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24923 if (!SWIG_IsOK(res1
)) {
24924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24926 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24928 if (!SWIG_IsOK(res2
)) {
24929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24945 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24946 PyObject
*resultobj
= 0;
24947 wxRendererNative
*result
= 0 ;
24949 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24954 result
= (wxRendererNative
*) &_result_ref
;
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24966 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24967 PyObject
*resultobj
= 0;
24968 wxRendererNative
*result
= 0 ;
24970 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24975 result
= (wxRendererNative
*) &_result_ref
;
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24987 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24988 PyObject
*resultobj
= 0;
24989 wxRendererNative
*result
= 0 ;
24991 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24996 result
= (wxRendererNative
*) &_result_ref
;
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25008 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
= 0;
25010 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25011 wxRendererNative
*result
= 0 ;
25014 PyObject
* obj0
= 0 ;
25015 char * kwnames
[] = {
25016 (char *) "renderer", NULL
25019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25021 if (!SWIG_IsOK(res1
)) {
25022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25024 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25038 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25039 PyObject
*resultobj
= 0;
25040 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25041 SwigValueWrapper
<wxRendererVersion
> result
;
25044 PyObject
*swig_obj
[1] ;
25046 if (!args
) SWIG_fail
;
25047 swig_obj
[0] = args
;
25048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25049 if (!SWIG_IsOK(res1
)) {
25050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25052 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25066 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25069 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25070 return SWIG_Py_Void();
25073 static PyMethodDef SwigMethods
[] = {
25074 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25075 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25076 { (char *)"GDIObject_GetVisible", (PyCFunction
)_wrap_GDIObject_GetVisible
, METH_O
, NULL
},
25077 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25078 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25079 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25080 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25081 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25082 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25083 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25084 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25085 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25086 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25087 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25088 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25089 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25090 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25091 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25092 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25093 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25094 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25095 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25096 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25097 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25098 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25099 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25100 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25101 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25102 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25103 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25104 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25105 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25106 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25107 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25108 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25109 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25110 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25111 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25112 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25113 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25114 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25115 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25116 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25117 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25118 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25119 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25120 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25121 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25122 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25123 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25124 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25125 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25126 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25127 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25128 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25129 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25130 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25131 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25132 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25134 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25135 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25136 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25137 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25138 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
25139 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25141 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25142 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25144 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25145 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25146 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25147 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25148 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25149 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25150 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25151 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25152 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25153 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25154 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25155 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25156 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25157 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25158 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25160 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25161 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25162 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25163 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25164 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25165 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25166 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25169 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25170 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25171 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25173 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25174 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25175 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25176 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25177 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25178 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25182 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25183 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25184 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25185 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25190 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25191 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25193 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25194 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25196 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25198 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25199 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25200 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25201 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25204 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25208 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25209 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25211 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25214 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25215 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25216 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25221 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25222 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25228 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25232 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25242 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25245 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25246 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25248 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25249 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25250 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25251 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25252 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25253 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25254 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25255 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25256 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25257 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25258 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25259 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25260 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
25261 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
25262 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
25263 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
25264 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
25266 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
25267 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
25268 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
25269 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
25270 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
25271 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
25272 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
25281 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
25282 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
25284 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
25285 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
25286 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
25287 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
25288 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
25289 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
25290 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
25291 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
25292 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
25294 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
25295 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
25296 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
25299 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
25300 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
25301 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
25304 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
25310 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
25315 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
25316 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
25318 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
25324 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
25327 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
25328 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
25329 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
25330 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
25331 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
25332 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
25333 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
25334 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
25335 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
25336 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
25337 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
25338 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
25339 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
25351 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
25352 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
25353 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
25355 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
25356 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
25358 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
25359 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
25360 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
25361 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
25365 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
25366 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
25367 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
25368 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
25369 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
25370 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
25371 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
25372 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
25373 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
25374 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
25375 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
25377 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
25380 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
25381 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
25382 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
25383 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
25384 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
25385 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
25386 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
25387 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
25396 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
25397 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
25398 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
25399 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
25400 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
25401 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
25402 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
25408 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
25409 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
25410 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
25459 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
25461 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
25462 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
25463 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
25470 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
25471 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
25472 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
25473 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
25474 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
25479 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
25480 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
25481 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
25482 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
25491 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
25492 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
25493 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
25494 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
25495 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
25496 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
25497 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
25498 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
25499 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
25500 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
25501 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
25502 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
25505 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
25507 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
25509 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
25511 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
25512 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
25515 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
25516 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
25520 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
25522 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
25525 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
25526 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
25527 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
25528 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
25529 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
25530 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
25537 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
25538 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
25541 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
25542 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
25543 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
25544 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
25545 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
25546 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
25547 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
25549 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
25550 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
25551 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
25554 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
25555 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
25556 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
25558 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
25559 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
25561 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
25562 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
25564 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
25565 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
25567 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
25568 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
25570 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
25573 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
25574 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
25575 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
25577 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
25578 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
25580 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
25581 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
25582 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
25583 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
25584 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
25586 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
25587 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
25588 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
25590 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
25591 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
25593 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
25601 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
25603 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
25605 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
25606 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"PenList_GetCount", (PyCFunction
)_wrap_PenList_GetCount
, METH_O
, NULL
},
25610 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
25611 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"BrushList_GetCount", (PyCFunction
)_wrap_BrushList_GetCount
, METH_O
, NULL
},
25615 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
25616 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
25617 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
25618 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
25623 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
25624 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"FontList_GetCount", (PyCFunction
)_wrap_FontList_GetCount
, METH_O
, NULL
},
25628 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
25629 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
25630 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
25631 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
25632 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
25633 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
25634 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
25635 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
25644 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
25645 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
25647 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
25648 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
25649 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
25650 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
25651 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
25652 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
25654 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
25656 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
25657 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
25658 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
25659 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
25667 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
25668 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
25669 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
25671 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
25672 { NULL
, NULL
, 0, NULL
}
25676 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25678 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
25679 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
25681 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
25682 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25684 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
25685 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
25687 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
25688 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
25690 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
25691 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
25693 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
25694 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
25696 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
25697 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
25699 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
25700 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
25702 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
25703 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
25705 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
25706 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
25708 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
25709 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
25711 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
25712 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
25714 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
25715 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
25717 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
25718 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
25720 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
25721 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
25723 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
25724 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
25726 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
25727 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25729 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
25730 return (void *)((wxDC
*) ((wxClientDC
*) x
));
25732 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
25733 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
25735 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
25736 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
25738 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
25739 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
25741 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
25742 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25744 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25745 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25747 static void *_p_wxPenTo_p_wxObject(void *x
) {
25748 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
25750 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
25751 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
25753 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25754 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25756 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25757 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25759 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
25760 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
25762 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25765 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25766 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25768 static void *_p_wxIconTo_p_wxObject(void *x
) {
25769 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
25771 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25772 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25774 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25775 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25777 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25778 return (void *)((wxObject
*) ((wxSizer
*) x
));
25780 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25781 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25783 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25786 static void *_p_wxPenListTo_p_wxObject(void *x
) {
25787 return (void *)((wxObject
*) ((wxPenList
*) x
));
25789 static void *_p_wxEventTo_p_wxObject(void *x
) {
25790 return (void *)((wxObject
*) ((wxEvent
*) x
));
25792 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25793 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25795 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25796 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25798 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25799 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25801 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25802 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25804 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25805 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25807 static void *_p_wxDCTo_p_wxObject(void *x
) {
25808 return (void *)((wxObject
*) ((wxDC
*) x
));
25810 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25811 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25813 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25814 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25816 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25817 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25819 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25820 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25822 static void *_p_wxControlTo_p_wxObject(void *x
) {
25823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25825 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25826 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25828 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
25829 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
25831 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25832 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25834 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
25835 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
25837 static void *_p_wxRegionTo_p_wxObject(void *x
) {
25838 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
25840 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25841 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25843 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
25844 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
25846 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
25847 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
25849 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
25850 return (void *)((wxObject
*) ((wxEffects
*) x
));
25852 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25853 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25855 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25858 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
25859 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
25861 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25862 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25864 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25865 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25867 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
25868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
25870 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25871 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25873 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25876 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25877 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25879 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25880 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25882 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25883 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25885 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25886 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25888 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25889 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25891 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25892 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25894 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25895 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25897 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25898 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25900 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25903 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25904 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25906 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25907 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25909 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25910 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25912 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25913 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25915 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25916 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25918 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25919 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25921 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
25922 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
25924 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25925 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25927 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25928 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25930 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25931 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25933 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25934 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25936 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
25937 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25939 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
25940 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
25942 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
25943 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
25945 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
25946 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
25948 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
25949 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
25951 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25952 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25954 static void *_p_wxImageTo_p_wxObject(void *x
) {
25955 return (void *)((wxObject
*) ((wxImage
*) x
));
25957 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25958 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25960 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
25961 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
25963 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
25964 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
25966 static void *_p_wxImageListTo_p_wxObject(void *x
) {
25967 return (void *)((wxObject
*) ((wxImageList
*) x
));
25969 static void *_p_wxCursorTo_p_wxObject(void *x
) {
25970 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
25972 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
25973 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
25975 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
25976 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
25978 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25981 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25982 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25984 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25985 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25987 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25988 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25990 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25991 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25993 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25996 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
25997 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
25999 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
26000 return (void *)((wxObject
*) ((wxBrushList
*) x
));
26002 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26003 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26005 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
26006 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
26008 static void *_p_wxMaskTo_p_wxObject(void *x
) {
26009 return (void *)((wxObject
*) ((wxMask
*) x
));
26011 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26014 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26015 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26017 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26018 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26020 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26021 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26023 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26024 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26026 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26027 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26029 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26032 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26033 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26035 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26036 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26038 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26039 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26041 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26044 static void *_p_wxFontTo_p_wxObject(void *x
) {
26045 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26047 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26048 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26050 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26051 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26053 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26056 static void *_p_wxColourTo_p_wxObject(void *x
) {
26057 return (void *)((wxObject
*) ((wxColour
*) x
));
26059 static void *_p_wxFontListTo_p_wxObject(void *x
) {
26060 return (void *)((wxObject
*) ((wxFontList
*) x
));
26062 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26065 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26066 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26068 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26069 return (void *)((wxWindow
*) ((wxControl
*) x
));
26071 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26072 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26074 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26075 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26077 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26078 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26079 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};
26080 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26081 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26082 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26083 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26084 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26085 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26086 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26087 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26088 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26089 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26090 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26091 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26092 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26093 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26094 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26095 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26096 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26097 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26098 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26099 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26100 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26101 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26102 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26103 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26104 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26105 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26106 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26107 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26108 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26109 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26110 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26111 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26112 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26113 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26114 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26115 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26116 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26117 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26118 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26119 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26120 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26121 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26122 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26123 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26124 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26125 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26126 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26127 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26128 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26129 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26130 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26131 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26132 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26133 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26134 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26135 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26136 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26137 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26138 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26139 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26140 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26141 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26142 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26143 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26144 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26145 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26146 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26147 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26148 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26149 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26150 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26151 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26152 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26153 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26154 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26155 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26156 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26157 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26158 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26159 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26160 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26161 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26162 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26163 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26164 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26165 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26166 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26167 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26168 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26169 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26170 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26171 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26172 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26173 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26174 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26175 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26176 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26177 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26178 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26179 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26180 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26181 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26182 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26183 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26184 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26185 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26186 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26187 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26188 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26189 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26190 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26191 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26192 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26193 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26194 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26195 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26196 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26197 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26198 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26199 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26200 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26201 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26202 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26203 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26204 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26205 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26206 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26207 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26208 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26209 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26210 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26211 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26213 static swig_type_info
*swig_type_initial
[] = {
26216 &_swigt__p_form_ops_t
,
26218 &_swigt__p_unsigned_char
,
26219 &_swigt__p_unsigned_int
,
26220 &_swigt__p_unsigned_long
,
26221 &_swigt__p_wxANIHandler
,
26222 &_swigt__p_wxAcceleratorTable
,
26223 &_swigt__p_wxActivateEvent
,
26224 &_swigt__p_wxBMPHandler
,
26225 &_swigt__p_wxBitmap
,
26226 &_swigt__p_wxBoxSizer
,
26227 &_swigt__p_wxBrush
,
26228 &_swigt__p_wxBrushList
,
26229 &_swigt__p_wxBufferedDC
,
26230 &_swigt__p_wxBufferedPaintDC
,
26231 &_swigt__p_wxCURHandler
,
26232 &_swigt__p_wxChildFocusEvent
,
26233 &_swigt__p_wxClientDC
,
26234 &_swigt__p_wxCloseEvent
,
26235 &_swigt__p_wxColour
,
26236 &_swigt__p_wxColourDatabase
,
26237 &_swigt__p_wxCommandEvent
,
26238 &_swigt__p_wxContextMenuEvent
,
26239 &_swigt__p_wxControl
,
26240 &_swigt__p_wxControlWithItems
,
26241 &_swigt__p_wxCursor
,
26244 &_swigt__p_wxDateEvent
,
26245 &_swigt__p_wxDisplayChangedEvent
,
26246 &_swigt__p_wxDropFilesEvent
,
26247 &_swigt__p_wxDuplexMode
,
26248 &_swigt__p_wxEffects
,
26249 &_swigt__p_wxEncodingConverter
,
26250 &_swigt__p_wxEraseEvent
,
26251 &_swigt__p_wxEvent
,
26252 &_swigt__p_wxEvtHandler
,
26253 &_swigt__p_wxFSFile
,
26254 &_swigt__p_wxFileSystem
,
26255 &_swigt__p_wxFlexGridSizer
,
26256 &_swigt__p_wxFocusEvent
,
26258 &_swigt__p_wxFontList
,
26259 &_swigt__p_wxFontMapper
,
26260 &_swigt__p_wxGBSizerItem
,
26261 &_swigt__p_wxGDIObject
,
26262 &_swigt__p_wxGIFHandler
,
26263 &_swigt__p_wxGridBagSizer
,
26264 &_swigt__p_wxGridSizer
,
26265 &_swigt__p_wxICOHandler
,
26267 &_swigt__p_wxIconBundle
,
26268 &_swigt__p_wxIconLocation
,
26269 &_swigt__p_wxIconizeEvent
,
26270 &_swigt__p_wxIdleEvent
,
26271 &_swigt__p_wxImage
,
26272 &_swigt__p_wxImageHandler
,
26273 &_swigt__p_wxImageList
,
26274 &_swigt__p_wxIndividualLayoutConstraint
,
26275 &_swigt__p_wxInitDialogEvent
,
26276 &_swigt__p_wxJPEGHandler
,
26277 &_swigt__p_wxKeyEvent
,
26278 &_swigt__p_wxLanguageInfo
,
26279 &_swigt__p_wxLayoutConstraints
,
26280 &_swigt__p_wxLocale
,
26282 &_swigt__p_wxMaximizeEvent
,
26283 &_swigt__p_wxMemoryDC
,
26285 &_swigt__p_wxMenuBar
,
26286 &_swigt__p_wxMenuEvent
,
26287 &_swigt__p_wxMenuItem
,
26288 &_swigt__p_wxMetaFile
,
26289 &_swigt__p_wxMetaFileDC
,
26290 &_swigt__p_wxMirrorDC
,
26291 &_swigt__p_wxMouseCaptureChangedEvent
,
26292 &_swigt__p_wxMouseEvent
,
26293 &_swigt__p_wxMoveEvent
,
26294 &_swigt__p_wxNativeEncodingInfo
,
26295 &_swigt__p_wxNativeFontInfo
,
26296 &_swigt__p_wxNavigationKeyEvent
,
26297 &_swigt__p_wxNcPaintEvent
,
26298 &_swigt__p_wxNotifyEvent
,
26299 &_swigt__p_wxObject
,
26300 &_swigt__p_wxPCXHandler
,
26301 &_swigt__p_wxPNGHandler
,
26302 &_swigt__p_wxPNMHandler
,
26303 &_swigt__p_wxPaintDC
,
26304 &_swigt__p_wxPaintEvent
,
26305 &_swigt__p_wxPalette
,
26306 &_swigt__p_wxPaletteChangedEvent
,
26307 &_swigt__p_wxPaperSize
,
26309 &_swigt__p_wxPenList
,
26310 &_swigt__p_wxPoint
,
26311 &_swigt__p_wxPostScriptDC
,
26312 &_swigt__p_wxPrintData
,
26313 &_swigt__p_wxPrinterDC
,
26314 &_swigt__p_wxPyApp
,
26315 &_swigt__p_wxPyCommandEvent
,
26316 &_swigt__p_wxPyEvent
,
26317 &_swigt__p_wxPyFontEnumerator
,
26318 &_swigt__p_wxPyImageHandler
,
26319 &_swigt__p_wxPySizer
,
26320 &_swigt__p_wxPyValidator
,
26321 &_swigt__p_wxQueryNewPaletteEvent
,
26323 &_swigt__p_wxRegion
,
26324 &_swigt__p_wxRegionIterator
,
26325 &_swigt__p_wxRendererNative
,
26326 &_swigt__p_wxRendererVersion
,
26327 &_swigt__p_wxScreenDC
,
26328 &_swigt__p_wxScrollEvent
,
26329 &_swigt__p_wxScrollWinEvent
,
26330 &_swigt__p_wxSetCursorEvent
,
26331 &_swigt__p_wxShowEvent
,
26333 &_swigt__p_wxSizeEvent
,
26334 &_swigt__p_wxSizer
,
26335 &_swigt__p_wxSizerItem
,
26336 &_swigt__p_wxSplitterRenderParams
,
26337 &_swigt__p_wxStaticBoxSizer
,
26338 &_swigt__p_wxStdDialogButtonSizer
,
26339 &_swigt__p_wxString
,
26340 &_swigt__p_wxSysColourChangedEvent
,
26341 &_swigt__p_wxTIFFHandler
,
26342 &_swigt__p_wxUpdateUIEvent
,
26343 &_swigt__p_wxValidator
,
26344 &_swigt__p_wxWindow
,
26345 &_swigt__p_wxWindowCreateEvent
,
26346 &_swigt__p_wxWindowDC
,
26347 &_swigt__p_wxWindowDestroyEvent
,
26348 &_swigt__p_wxXPMHandler
,
26351 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
26352 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
26353 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
26354 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
26355 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
26356 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
26357 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
26358 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
26359 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
26360 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
26361 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}};
26362 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26363 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
26364 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
26365 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
26366 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
26367 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}};
26368 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
26369 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
26370 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
26371 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
26372 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
26373 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
26374 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
26375 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}};
26376 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
26377 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
26378 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
26379 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
26380 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
26381 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
26382 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
26383 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
26384 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}};
26385 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
26386 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
26387 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
26388 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
26389 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
26390 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
26391 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26392 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26393 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
26394 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
26395 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26396 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26397 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26398 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
26399 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
26400 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
26401 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
26402 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26403 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26404 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
26405 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26406 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26407 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26408 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26409 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26410 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26411 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
26412 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
26413 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
26414 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
26415 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26416 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26417 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
26418 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
26419 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26420 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
26421 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26422 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
26423 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26424 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26425 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26426 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
26427 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26428 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
26429 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
26430 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
26431 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
26432 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26433 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26434 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26435 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26436 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
26437 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26438 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26439 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
26440 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26441 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26442 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
26443 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
26444 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
26445 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26446 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26447 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26448 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
26449 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
26450 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26451 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26452 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
26453 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26454 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26455 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26456 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26457 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26458 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
26459 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26460 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26461 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
26462 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
26463 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
26464 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}};
26465 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26466 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
26467 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
26468 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
26469 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
26470 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
26471 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
26472 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
26473 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
26474 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
26475 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
26476 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
26477 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
26478 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
26479 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
26480 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
26481 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
26482 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
26483 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
26484 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}};
26485 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
26487 static swig_cast_info
*swig_cast_initial
[] = {
26490 _swigc__p_form_ops_t
,
26492 _swigc__p_unsigned_char
,
26493 _swigc__p_unsigned_int
,
26494 _swigc__p_unsigned_long
,
26495 _swigc__p_wxANIHandler
,
26496 _swigc__p_wxAcceleratorTable
,
26497 _swigc__p_wxActivateEvent
,
26498 _swigc__p_wxBMPHandler
,
26499 _swigc__p_wxBitmap
,
26500 _swigc__p_wxBoxSizer
,
26502 _swigc__p_wxBrushList
,
26503 _swigc__p_wxBufferedDC
,
26504 _swigc__p_wxBufferedPaintDC
,
26505 _swigc__p_wxCURHandler
,
26506 _swigc__p_wxChildFocusEvent
,
26507 _swigc__p_wxClientDC
,
26508 _swigc__p_wxCloseEvent
,
26509 _swigc__p_wxColour
,
26510 _swigc__p_wxColourDatabase
,
26511 _swigc__p_wxCommandEvent
,
26512 _swigc__p_wxContextMenuEvent
,
26513 _swigc__p_wxControl
,
26514 _swigc__p_wxControlWithItems
,
26515 _swigc__p_wxCursor
,
26518 _swigc__p_wxDateEvent
,
26519 _swigc__p_wxDisplayChangedEvent
,
26520 _swigc__p_wxDropFilesEvent
,
26521 _swigc__p_wxDuplexMode
,
26522 _swigc__p_wxEffects
,
26523 _swigc__p_wxEncodingConverter
,
26524 _swigc__p_wxEraseEvent
,
26526 _swigc__p_wxEvtHandler
,
26527 _swigc__p_wxFSFile
,
26528 _swigc__p_wxFileSystem
,
26529 _swigc__p_wxFlexGridSizer
,
26530 _swigc__p_wxFocusEvent
,
26532 _swigc__p_wxFontList
,
26533 _swigc__p_wxFontMapper
,
26534 _swigc__p_wxGBSizerItem
,
26535 _swigc__p_wxGDIObject
,
26536 _swigc__p_wxGIFHandler
,
26537 _swigc__p_wxGridBagSizer
,
26538 _swigc__p_wxGridSizer
,
26539 _swigc__p_wxICOHandler
,
26541 _swigc__p_wxIconBundle
,
26542 _swigc__p_wxIconLocation
,
26543 _swigc__p_wxIconizeEvent
,
26544 _swigc__p_wxIdleEvent
,
26546 _swigc__p_wxImageHandler
,
26547 _swigc__p_wxImageList
,
26548 _swigc__p_wxIndividualLayoutConstraint
,
26549 _swigc__p_wxInitDialogEvent
,
26550 _swigc__p_wxJPEGHandler
,
26551 _swigc__p_wxKeyEvent
,
26552 _swigc__p_wxLanguageInfo
,
26553 _swigc__p_wxLayoutConstraints
,
26554 _swigc__p_wxLocale
,
26556 _swigc__p_wxMaximizeEvent
,
26557 _swigc__p_wxMemoryDC
,
26559 _swigc__p_wxMenuBar
,
26560 _swigc__p_wxMenuEvent
,
26561 _swigc__p_wxMenuItem
,
26562 _swigc__p_wxMetaFile
,
26563 _swigc__p_wxMetaFileDC
,
26564 _swigc__p_wxMirrorDC
,
26565 _swigc__p_wxMouseCaptureChangedEvent
,
26566 _swigc__p_wxMouseEvent
,
26567 _swigc__p_wxMoveEvent
,
26568 _swigc__p_wxNativeEncodingInfo
,
26569 _swigc__p_wxNativeFontInfo
,
26570 _swigc__p_wxNavigationKeyEvent
,
26571 _swigc__p_wxNcPaintEvent
,
26572 _swigc__p_wxNotifyEvent
,
26573 _swigc__p_wxObject
,
26574 _swigc__p_wxPCXHandler
,
26575 _swigc__p_wxPNGHandler
,
26576 _swigc__p_wxPNMHandler
,
26577 _swigc__p_wxPaintDC
,
26578 _swigc__p_wxPaintEvent
,
26579 _swigc__p_wxPalette
,
26580 _swigc__p_wxPaletteChangedEvent
,
26581 _swigc__p_wxPaperSize
,
26583 _swigc__p_wxPenList
,
26585 _swigc__p_wxPostScriptDC
,
26586 _swigc__p_wxPrintData
,
26587 _swigc__p_wxPrinterDC
,
26589 _swigc__p_wxPyCommandEvent
,
26590 _swigc__p_wxPyEvent
,
26591 _swigc__p_wxPyFontEnumerator
,
26592 _swigc__p_wxPyImageHandler
,
26593 _swigc__p_wxPySizer
,
26594 _swigc__p_wxPyValidator
,
26595 _swigc__p_wxQueryNewPaletteEvent
,
26597 _swigc__p_wxRegion
,
26598 _swigc__p_wxRegionIterator
,
26599 _swigc__p_wxRendererNative
,
26600 _swigc__p_wxRendererVersion
,
26601 _swigc__p_wxScreenDC
,
26602 _swigc__p_wxScrollEvent
,
26603 _swigc__p_wxScrollWinEvent
,
26604 _swigc__p_wxSetCursorEvent
,
26605 _swigc__p_wxShowEvent
,
26607 _swigc__p_wxSizeEvent
,
26609 _swigc__p_wxSizerItem
,
26610 _swigc__p_wxSplitterRenderParams
,
26611 _swigc__p_wxStaticBoxSizer
,
26612 _swigc__p_wxStdDialogButtonSizer
,
26613 _swigc__p_wxString
,
26614 _swigc__p_wxSysColourChangedEvent
,
26615 _swigc__p_wxTIFFHandler
,
26616 _swigc__p_wxUpdateUIEvent
,
26617 _swigc__p_wxValidator
,
26618 _swigc__p_wxWindow
,
26619 _swigc__p_wxWindowCreateEvent
,
26620 _swigc__p_wxWindowDC
,
26621 _swigc__p_wxWindowDestroyEvent
,
26622 _swigc__p_wxXPMHandler
,
26626 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26628 static swig_const_info swig_const_table
[] = {
26629 {0, 0, 0, 0.0, 0, 0}};
26634 /* -----------------------------------------------------------------------------
26635 * Type initialization:
26636 * This problem is tough by the requirement that no dynamic
26637 * memory is used. Also, since swig_type_info structures store pointers to
26638 * swig_cast_info structures and swig_cast_info structures store pointers back
26639 * to swig_type_info structures, we need some lookup code at initialization.
26640 * The idea is that swig generates all the structures that are needed.
26641 * The runtime then collects these partially filled structures.
26642 * The SWIG_InitializeModule function takes these initial arrays out of
26643 * swig_module, and does all the lookup, filling in the swig_module.types
26644 * array with the correct data and linking the correct swig_cast_info
26645 * structures together.
26647 * The generated swig_type_info structures are assigned staticly to an initial
26648 * array. We just loop though that array, and handle each type individually.
26649 * First we lookup if this type has been already loaded, and if so, use the
26650 * loaded structure instead of the generated one. Then we have to fill in the
26651 * cast linked list. The cast data is initially stored in something like a
26652 * two-dimensional array. Each row corresponds to a type (there are the same
26653 * number of rows as there are in the swig_type_initial array). Each entry in
26654 * a column is one of the swig_cast_info structures for that type.
26655 * The cast_initial array is actually an array of arrays, because each row has
26656 * a variable number of columns. So to actually build the cast linked list,
26657 * we find the array of casts associated with the type, and loop through it
26658 * adding the casts to the list. The one last trick we need to do is making
26659 * sure the type pointer in the swig_cast_info struct is correct.
26661 * First off, we lookup the cast->type name to see if it is already loaded.
26662 * There are three cases to handle:
26663 * 1) If the cast->type has already been loaded AND the type we are adding
26664 * casting info to has not been loaded (it is in this module), THEN we
26665 * replace the cast->type pointer with the type pointer that has already
26667 * 2) If BOTH types (the one we are adding casting info to, and the
26668 * cast->type) are loaded, THEN the cast info has already been loaded by
26669 * the previous module so we just ignore it.
26670 * 3) Finally, if cast->type has not already been loaded, then we add that
26671 * swig_cast_info to the linked list (because the cast->type) pointer will
26673 * ----------------------------------------------------------------------------- */
26683 #define SWIGRUNTIME_DEBUG
26687 SWIG_InitializeModule(void *clientdata
) {
26689 swig_module_info
*module_head
;
26690 static int init_run
= 0;
26692 clientdata
= clientdata
;
26694 if (init_run
) return;
26697 /* Initialize the swig_module */
26698 swig_module
.type_initial
= swig_type_initial
;
26699 swig_module
.cast_initial
= swig_cast_initial
;
26701 /* Try and load any already created modules */
26702 module_head
= SWIG_GetModule(clientdata
);
26704 swig_module
.next
= module_head
->next
;
26705 module_head
->next
= &swig_module
;
26707 /* This is the first module loaded */
26708 swig_module
.next
= &swig_module
;
26709 SWIG_SetModule(clientdata
, &swig_module
);
26712 /* Now work on filling in swig_module.types */
26713 #ifdef SWIGRUNTIME_DEBUG
26714 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
26716 for (i
= 0; i
< swig_module
.size
; ++i
) {
26717 swig_type_info
*type
= 0;
26718 swig_type_info
*ret
;
26719 swig_cast_info
*cast
;
26721 #ifdef SWIGRUNTIME_DEBUG
26722 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26725 /* if there is another module already loaded */
26726 if (swig_module
.next
!= &swig_module
) {
26727 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
26730 /* Overwrite clientdata field */
26731 #ifdef SWIGRUNTIME_DEBUG
26732 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
26734 if (swig_module
.type_initial
[i
]->clientdata
) {
26735 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
26736 #ifdef SWIGRUNTIME_DEBUG
26737 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
26741 type
= swig_module
.type_initial
[i
];
26744 /* Insert casting types */
26745 cast
= swig_module
.cast_initial
[i
];
26746 while (cast
->type
) {
26747 /* Don't need to add information already in the list */
26749 #ifdef SWIGRUNTIME_DEBUG
26750 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
26752 if (swig_module
.next
!= &swig_module
) {
26753 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
26754 #ifdef SWIGRUNTIME_DEBUG
26755 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
26759 if (type
== swig_module
.type_initial
[i
]) {
26760 #ifdef SWIGRUNTIME_DEBUG
26761 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
26766 /* Check for casting already in the list */
26767 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
26768 #ifdef SWIGRUNTIME_DEBUG
26769 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
26771 if (!ocast
) ret
= 0;
26776 #ifdef SWIGRUNTIME_DEBUG
26777 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
26780 type
->cast
->prev
= cast
;
26781 cast
->next
= type
->cast
;
26787 /* Set entry in modules->types array equal to the type */
26788 swig_module
.types
[i
] = type
;
26790 swig_module
.types
[i
] = 0;
26792 #ifdef SWIGRUNTIME_DEBUG
26793 printf("**** SWIG_InitializeModule: Cast List ******\n");
26794 for (i
= 0; i
< swig_module
.size
; ++i
) {
26796 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
26797 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26798 while (cast
->type
) {
26799 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
26803 printf("---- Total casts: %d\n",j
);
26805 printf("**** SWIG_InitializeModule: Cast List ******\n");
26809 /* This function will propagate the clientdata field of type to
26810 * any new swig_type_info structures that have been added into the list
26811 * of equivalent types. It is like calling
26812 * SWIG_TypeClientData(type, clientdata) a second time.
26815 SWIG_PropagateClientData(void) {
26817 swig_cast_info
*equiv
;
26818 static int init_run
= 0;
26820 if (init_run
) return;
26823 for (i
= 0; i
< swig_module
.size
; i
++) {
26824 if (swig_module
.types
[i
]->clientdata
) {
26825 equiv
= swig_module
.types
[i
]->cast
;
26827 if (!equiv
->converter
) {
26828 if (equiv
->type
&& !equiv
->type
->clientdata
)
26829 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
26831 equiv
= equiv
->next
;
26851 /* Python-specific SWIG API */
26852 #define SWIG_newvarlink() SWIG_Python_newvarlink()
26853 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
26854 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
26856 /* -----------------------------------------------------------------------------
26857 * global variable support code.
26858 * ----------------------------------------------------------------------------- */
26860 typedef struct swig_globalvar
{
26861 char *name
; /* Name of global variable */
26862 PyObject
*(*get_attr
)(void); /* Return the current value */
26863 int (*set_attr
)(PyObject
*); /* Set the value */
26864 struct swig_globalvar
*next
;
26867 typedef struct swig_varlinkobject
{
26869 swig_globalvar
*vars
;
26870 } swig_varlinkobject
;
26872 SWIGINTERN PyObject
*
26873 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
26874 return PyString_FromString("<Swig global variables>");
26877 SWIGINTERN PyObject
*
26878 swig_varlink_str(swig_varlinkobject
*v
) {
26879 PyObject
*str
= PyString_FromString("(");
26880 swig_globalvar
*var
;
26881 for (var
= v
->vars
; var
; var
=var
->next
) {
26882 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
26883 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
26885 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
26890 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
26891 PyObject
*str
= swig_varlink_str(v
);
26892 fprintf(fp
,"Swig global variables ");
26893 fprintf(fp
,"%s\n", PyString_AsString(str
));
26899 swig_varlink_dealloc(swig_varlinkobject
*v
) {
26900 swig_globalvar
*var
= v
->vars
;
26902 swig_globalvar
*n
= var
->next
;
26909 SWIGINTERN PyObject
*
26910 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
26911 PyObject
*res
= NULL
;
26912 swig_globalvar
*var
= v
->vars
;
26914 if (strcmp(var
->name
,n
) == 0) {
26915 res
= (*var
->get_attr
)();
26920 if (res
== NULL
&& !PyErr_Occurred()) {
26921 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26927 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
26929 swig_globalvar
*var
= v
->vars
;
26931 if (strcmp(var
->name
,n
) == 0) {
26932 res
= (*var
->set_attr
)(p
);
26937 if (res
== 1 && !PyErr_Occurred()) {
26938 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26943 SWIGINTERN PyTypeObject
*
26944 swig_varlink_type(void) {
26945 static char varlink__doc__
[] = "Swig var link object";
26946 static PyTypeObject varlink_type
;
26947 static int type_init
= 0;
26949 const PyTypeObject tmp
26951 PyObject_HEAD_INIT(NULL
)
26952 0, /* Number of items in variable part (ob_size) */
26953 (char *)"swigvarlink", /* Type name (tp_name) */
26954 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
26955 0, /* Itemsize (tp_itemsize) */
26956 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
26957 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
26958 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
26959 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
26960 0, /* tp_compare */
26961 (reprfunc
) swig_varlink_repr
, /* tp_repr */
26962 0, /* tp_as_number */
26963 0, /* tp_as_sequence */
26964 0, /* tp_as_mapping */
26967 (reprfunc
)swig_varlink_str
, /* tp_str */
26968 0, /* tp_getattro */
26969 0, /* tp_setattro */
26970 0, /* tp_as_buffer */
26972 varlink__doc__
, /* tp_doc */
26973 0, /* tp_traverse */
26975 0, /* tp_richcompare */
26976 0, /* tp_weaklistoffset */
26977 #if PY_VERSION_HEX >= 0x02020000
26978 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
26980 #if PY_VERSION_HEX >= 0x02030000
26983 #ifdef COUNT_ALLOCS
26984 0,0,0,0 /* tp_alloc -> tp_next */
26987 varlink_type
= tmp
;
26988 varlink_type
.ob_type
= &PyType_Type
;
26991 return &varlink_type
;
26994 /* Create a variable linking object for use later */
26995 SWIGINTERN PyObject
*
26996 SWIG_Python_newvarlink(void) {
26997 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
27001 return ((PyObject
*) result
);
27005 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
27006 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
27007 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
27009 size_t size
= strlen(name
)+1;
27010 gv
->name
= (char *)malloc(size
);
27012 strncpy(gv
->name
,name
,size
);
27013 gv
->get_attr
= get_attr
;
27014 gv
->set_attr
= set_attr
;
27015 gv
->next
= v
->vars
;
27021 SWIGINTERN PyObject
*
27023 static PyObject
*_SWIG_globals
= 0;
27024 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27025 return _SWIG_globals
;
27028 /* -----------------------------------------------------------------------------
27029 * constants/methods manipulation
27030 * ----------------------------------------------------------------------------- */
27032 /* Install Constants */
27034 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27037 for (i
= 0; constants
[i
].type
; ++i
) {
27038 switch(constants
[i
].type
) {
27039 case SWIG_PY_POINTER
:
27040 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27042 case SWIG_PY_BINARY
:
27043 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27050 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27056 /* -----------------------------------------------------------------------------*/
27057 /* Fix SwigMethods to carry the callback ptrs when needed */
27058 /* -----------------------------------------------------------------------------*/
27061 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27062 swig_const_info
*const_table
,
27063 swig_type_info
**types
,
27064 swig_type_info
**types_initial
) {
27066 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27067 char *c
= methods
[i
].ml_doc
;
27068 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27070 swig_const_info
*ci
= 0;
27071 char *name
= c
+ 10;
27072 for (j
= 0; const_table
[j
].type
; ++j
) {
27073 if (strncmp(const_table
[j
].name
, name
,
27074 strlen(const_table
[j
].name
)) == 0) {
27075 ci
= &(const_table
[j
]);
27080 size_t shift
= (ci
->ptype
) - types
;
27081 swig_type_info
*ty
= types_initial
[shift
];
27082 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27083 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27084 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27087 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27089 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27091 strncpy(buff
, "swig_ptr: ", 10);
27093 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27094 methods
[i
].ml_doc
= ndoc
;
27106 /* -----------------------------------------------------------------------------*
27107 * Partial Init method
27108 * -----------------------------------------------------------------------------*/
27113 SWIGEXPORT
void SWIG_init(void) {
27116 /* Fix SwigMethods to carry the callback ptrs when needed */
27117 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27119 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27120 d
= PyModule_GetDict(m
);
27122 SWIG_InitializeModule(0);
27123 SWIG_InstallConstants(d
,swig_const_table
);
27126 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27127 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27128 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27129 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27130 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27131 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27132 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27133 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27134 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27135 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27136 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27137 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27138 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27139 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27140 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27141 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27142 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27143 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27144 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27145 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27146 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27147 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27148 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27149 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27150 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27151 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27152 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27153 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27154 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27155 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27156 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27157 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27158 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27159 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27160 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27161 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27162 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27163 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27164 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27165 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27166 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27167 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27168 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27169 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27170 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27171 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27172 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27173 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27174 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27175 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27176 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27177 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27178 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27179 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27180 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27181 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27182 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27183 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27184 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27185 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27186 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27187 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27188 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27189 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27190 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27191 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27192 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27193 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27194 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27195 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27196 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27197 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27198 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27199 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27200 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27201 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27202 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27203 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27204 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27205 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27206 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27207 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27208 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27209 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27210 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27211 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27212 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27213 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27214 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27215 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27216 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27217 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27218 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27219 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27220 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27221 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27222 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
27223 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
27224 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
27225 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
27226 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
27227 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
27228 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
27229 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
27230 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
27231 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
27232 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
27233 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
27234 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
27235 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
27236 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
27237 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
27238 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
27239 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
27240 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
27241 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
27242 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
27243 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
27244 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
27245 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
27246 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
27247 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
27248 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
27249 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
27250 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
27251 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
27252 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
27254 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
27256 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
27257 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
27258 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
27259 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
27260 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
27261 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
27262 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
27263 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
27264 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
27265 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
27266 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
27267 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
27268 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
27269 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
27270 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
27271 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
27272 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
27273 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
27274 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
27275 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
27276 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
27277 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
27278 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
27279 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
27280 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
27281 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
27282 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
27283 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
27284 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
27285 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
27286 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
27287 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
27288 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
27289 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
27290 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
27291 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
27292 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
27293 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
27294 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
27295 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
27296 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
27297 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
27298 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
27299 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
27300 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
27301 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
27302 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
27303 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
27304 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
27305 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
27306 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
27307 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
27308 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
27309 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
27310 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
27311 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
27312 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
27313 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
27314 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
27315 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
27316 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
27317 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
27318 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
27319 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
27320 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
27321 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
27322 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
27323 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
27324 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
27325 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
27326 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
27327 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
27328 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
27329 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
27330 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
27331 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
27332 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
27333 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
27334 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
27335 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
27336 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
27337 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
27338 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
27339 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
27340 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
27341 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
27342 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
27343 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
27344 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
27345 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
27346 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
27347 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
27348 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
27349 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
27350 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
27351 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
27352 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
27353 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
27354 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
27355 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
27356 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
27357 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
27358 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
27359 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
27360 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
27361 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
27362 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
27363 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
27364 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
27365 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
27366 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
27367 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
27368 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
27369 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
27370 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
27371 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
27372 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
27373 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
27374 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
27375 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
27376 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
27377 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
27378 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
27379 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
27380 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
27381 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
27382 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
27383 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
27384 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
27385 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
27386 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
27387 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
27388 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
27389 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
27390 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
27391 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
27392 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
27393 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
27394 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
27395 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
27396 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
27397 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
27398 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
27399 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
27400 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
27401 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
27402 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
27403 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
27404 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
27405 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
27406 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
27407 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
27408 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
27409 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
27410 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
27411 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
27412 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
27413 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
27414 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
27415 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
27416 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
27417 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
27418 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
27419 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
27420 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
27421 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
27422 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
27423 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
27424 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
27425 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
27426 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
27427 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
27428 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
27429 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
27430 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
27431 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
27432 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
27433 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
27434 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
27435 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
27436 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
27437 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
27438 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
27439 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
27440 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
27441 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
27442 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
27443 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
27444 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
27445 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
27446 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
27447 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
27448 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
27449 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
27450 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
27451 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
27452 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
27453 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
27454 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
27455 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
27456 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
27457 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
27458 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
27459 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
27460 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
27461 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
27462 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
27463 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
27464 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
27465 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
27466 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
27467 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
27468 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
27469 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
27470 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
27471 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
27472 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
27473 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
27474 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
27475 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
27476 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
27477 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
27478 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
27479 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
27480 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
27481 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
27482 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
27483 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
27484 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
27485 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
27486 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
27487 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
27488 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
27489 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
27490 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
27491 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
27492 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
27493 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
27494 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
27495 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
27496 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
27497 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
27498 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
27499 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
27500 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
27501 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
27502 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
27503 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
27504 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
27505 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
27506 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
27507 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
27508 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
27509 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
27510 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
27511 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
27512 SWIG_addvarlink(SWIG_globals(),(char*)"NORMAL_FONT",NORMAL_FONT_get
, NORMAL_FONT_set
);
27513 SWIG_addvarlink(SWIG_globals(),(char*)"SMALL_FONT",SMALL_FONT_get
, SMALL_FONT_set
);
27514 SWIG_addvarlink(SWIG_globals(),(char*)"ITALIC_FONT",ITALIC_FONT_get
, ITALIC_FONT_set
);
27515 SWIG_addvarlink(SWIG_globals(),(char*)"SWISS_FONT",SWISS_FONT_get
, SWISS_FONT_set
);
27516 SWIG_addvarlink(SWIG_globals(),(char*)"RED_PEN",RED_PEN_get
, RED_PEN_set
);
27517 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_PEN",CYAN_PEN_get
, CYAN_PEN_set
);
27518 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_PEN",GREEN_PEN_get
, GREEN_PEN_set
);
27519 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_PEN",BLACK_PEN_get
, BLACK_PEN_set
);
27520 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_PEN",WHITE_PEN_get
, WHITE_PEN_set
);
27521 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_PEN",TRANSPARENT_PEN_get
, TRANSPARENT_PEN_set
);
27522 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_DASHED_PEN",BLACK_DASHED_PEN_get
, BLACK_DASHED_PEN_set
);
27523 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_PEN",GREY_PEN_get
, GREY_PEN_set
);
27524 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_PEN",MEDIUM_GREY_PEN_get
, MEDIUM_GREY_PEN_set
);
27525 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_PEN",LIGHT_GREY_PEN_get
, LIGHT_GREY_PEN_set
);
27526 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE_BRUSH",BLUE_BRUSH_get
, BLUE_BRUSH_set
);
27527 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_BRUSH",GREEN_BRUSH_get
, GREEN_BRUSH_set
);
27528 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_BRUSH",WHITE_BRUSH_get
, WHITE_BRUSH_set
);
27529 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_BRUSH",BLACK_BRUSH_get
, BLACK_BRUSH_set
);
27530 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_BRUSH",TRANSPARENT_BRUSH_get
, TRANSPARENT_BRUSH_set
);
27531 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_BRUSH",CYAN_BRUSH_get
, CYAN_BRUSH_set
);
27532 SWIG_addvarlink(SWIG_globals(),(char*)"RED_BRUSH",RED_BRUSH_get
, RED_BRUSH_set
);
27533 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_BRUSH",GREY_BRUSH_get
, GREY_BRUSH_set
);
27534 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_BRUSH",MEDIUM_GREY_BRUSH_get
, MEDIUM_GREY_BRUSH_set
);
27535 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_BRUSH",LIGHT_GREY_BRUSH_get
, LIGHT_GREY_BRUSH_set
);
27536 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK",BLACK_get
, BLACK_set
);
27537 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE",WHITE_get
, WHITE_set
);
27538 SWIG_addvarlink(SWIG_globals(),(char*)"RED",RED_get
, RED_set
);
27539 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE",BLUE_get
, BLUE_set
);
27540 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN",GREEN_get
, GREEN_set
);
27541 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN",CYAN_get
, CYAN_set
);
27542 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY",LIGHT_GREY_get
, LIGHT_GREY_set
);
27543 SWIG_addvarlink(SWIG_globals(),(char*)"STANDARD_CURSOR",STANDARD_CURSOR_get
, STANDARD_CURSOR_set
);
27544 SWIG_addvarlink(SWIG_globals(),(char*)"HOURGLASS_CURSOR",HOURGLASS_CURSOR_get
, HOURGLASS_CURSOR_set
);
27545 SWIG_addvarlink(SWIG_globals(),(char*)"CROSS_CURSOR",CROSS_CURSOR_get
, CROSS_CURSOR_set
);
27546 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
27547 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
27548 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
27549 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
27550 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
27551 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
27552 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
27553 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
27554 SWIG_addvarlink(SWIG_globals(),(char*)"TheFontList",TheFontList_get
, TheFontList_set
);
27555 SWIG_addvarlink(SWIG_globals(),(char*)"ThePenList",ThePenList_get
, ThePenList_set
);
27556 SWIG_addvarlink(SWIG_globals(),(char*)"TheBrushList",TheBrushList_get
, TheBrushList_set
);
27557 SWIG_addvarlink(SWIG_globals(),(char*)"TheColourDatabase",TheColourDatabase_get
, TheColourDatabase_set
);
27558 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
27559 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
27560 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
27561 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
27562 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
27563 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
27564 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
27565 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
27566 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
27567 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
27568 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
27569 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
27570 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
27571 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
27572 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
27574 // Work around a chicken/egg problem in drawlist.cpp
27575 wxPyDrawList_SetAPIPtr();