1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_double swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxBrush swig_types[13]
2476 #define SWIGTYPE_p_wxBrushList swig_types[14]
2477 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2478 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2481 #define SWIGTYPE_p_wxClientDC swig_types[19]
2482 #define SWIGTYPE_p_wxCloseEvent swig_types[20]
2483 #define SWIGTYPE_p_wxColour swig_types[21]
2484 #define SWIGTYPE_p_wxColourDatabase swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDash swig_types[29]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEffects swig_types[34]
2497 #define SWIGTYPE_p_wxEncodingConverter swig_types[35]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFont swig_types[43]
2506 #define SWIGTYPE_p_wxFontList swig_types[44]
2507 #define SWIGTYPE_p_wxFontMapper swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGDIObject swig_types[47]
2510 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2511 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
2512 #define SWIGTYPE_p_wxGridSizer swig_types[50]
2513 #define SWIGTYPE_p_wxICOHandler swig_types[51]
2514 #define SWIGTYPE_p_wxIcon swig_types[52]
2515 #define SWIGTYPE_p_wxIconBundle swig_types[53]
2516 #define SWIGTYPE_p_wxIconLocation swig_types[54]
2517 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2518 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2519 #define SWIGTYPE_p_wxImage swig_types[57]
2520 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2521 #define SWIGTYPE_p_wxImageList swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLanguageInfo swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxLocale swig_types[66]
2529 #define SWIGTYPE_p_wxMask swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMemoryDC swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMetaFile swig_types[74]
2537 #define SWIGTYPE_p_wxMetaFileDC swig_types[75]
2538 #define SWIGTYPE_p_wxMirrorDC swig_types[76]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80]
2543 #define SWIGTYPE_p_wxNativeFontInfo swig_types[81]
2544 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
2546 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxObject swig_types[85]
2548 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2550 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPaintDC swig_types[89]
2552 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPalette swig_types[91]
2554 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2555 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2556 #define SWIGTYPE_p_wxPen swig_types[94]
2557 #define SWIGTYPE_p_wxPenList swig_types[95]
2558 #define SWIGTYPE_p_wxPoint swig_types[96]
2559 #define SWIGTYPE_p_wxPostScriptDC swig_types[97]
2560 #define SWIGTYPE_p_wxPrintData swig_types[98]
2561 #define SWIGTYPE_p_wxPrinterDC swig_types[99]
2562 #define SWIGTYPE_p_wxPyApp swig_types[100]
2563 #define SWIGTYPE_p_wxPyCommandEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[103]
2566 #define SWIGTYPE_p_wxPyImageHandler swig_types[104]
2567 #define SWIGTYPE_p_wxPySizer swig_types[105]
2568 #define SWIGTYPE_p_wxPyValidator swig_types[106]
2569 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
2570 #define SWIGTYPE_p_wxRect swig_types[108]
2571 #define SWIGTYPE_p_wxRegion swig_types[109]
2572 #define SWIGTYPE_p_wxRegionIterator swig_types[110]
2573 #define SWIGTYPE_p_wxRendererNative swig_types[111]
2574 #define SWIGTYPE_p_wxRendererVersion swig_types[112]
2575 #define SWIGTYPE_p_wxScreenDC swig_types[113]
2576 #define SWIGTYPE_p_wxScrollEvent swig_types[114]
2577 #define SWIGTYPE_p_wxScrollWinEvent swig_types[115]
2578 #define SWIGTYPE_p_wxSetCursorEvent swig_types[116]
2579 #define SWIGTYPE_p_wxShowEvent swig_types[117]
2580 #define SWIGTYPE_p_wxSize swig_types[118]
2581 #define SWIGTYPE_p_wxSizeEvent swig_types[119]
2582 #define SWIGTYPE_p_wxSizer swig_types[120]
2583 #define SWIGTYPE_p_wxSizerItem swig_types[121]
2584 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[122]
2585 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
2586 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
2587 #define SWIGTYPE_p_wxString swig_types[125]
2588 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126]
2589 #define SWIGTYPE_p_wxTIFFHandler swig_types[127]
2590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
2591 #define SWIGTYPE_p_wxValidator swig_types[129]
2592 #define SWIGTYPE_p_wxWindow swig_types[130]
2593 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
2594 #define SWIGTYPE_p_wxWindowDC swig_types[132]
2595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
2596 #define SWIGTYPE_p_wxXPMHandler swig_types[134]
2597 static swig_type_info
*swig_types
[136];
2598 static swig_module_info swig_module
= {swig_types
, 135, 0, 0, 0, 0};
2599 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2600 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2602 /* -------- TYPES TABLE (END) -------- */
2604 #if (PY_VERSION_HEX <= 0x02000000)
2605 # if !defined(SWIG_PYTHON_CLASSIC)
2606 # error "This python version requires to use swig with the '-classic' option"
2609 #if (PY_VERSION_HEX <= 0x02020000)
2610 # error "This python version requires to use swig with the '-nomodern' option"
2612 #if (PY_VERSION_HEX <= 0x02020000)
2613 # error "This python version requires to use swig with the '-nomodernargs' option"
2616 # error "This python version requires to use swig with the '-nofastunpack' option"
2619 /*-----------------------------------------------
2620 @(target):= _gdi_.so
2621 ------------------------------------------------*/
2622 #define SWIG_init init_gdi_
2624 #define SWIG_name "_gdi_"
2626 #define SWIGVERSION 0x010329
2629 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2630 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2633 #include <stdexcept>
2637 class PyObject_ptr
{
2642 PyObject_ptr() :_obj(0)
2646 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2651 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2653 if (initial_ref
) Py_XINCREF(_obj
);
2656 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2658 Py_XINCREF(item
._obj
);
2669 operator PyObject
*() const
2674 PyObject
*operator->() const
2683 struct PyObject_var
: PyObject_ptr
{
2684 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2686 PyObject_var
& operator = (PyObject
* obj
)
2696 #include "wx/wxPython/wxPython.h"
2697 #include "wx/wxPython/pyclasses.h"
2700 static const wxString
wxPyEmptyString(wxEmptyString
);
2703 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2705 if (PyNumber_Check(obj
)) {
2706 if (val
) *val
= PyInt_AsLong(obj
);
2709 return SWIG_TypeError
;
2714 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2716 if (obj
== Py_True
) {
2717 if (val
) *val
= true;
2719 } else if (obj
== Py_False
) {
2720 if (val
) *val
= false;
2724 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2725 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2733 # define LLONG_MIN LONG_LONG_MIN
2736 # define LLONG_MAX LONG_LONG_MAX
2739 # define ULLONG_MAX ULONG_LONG_MAX
2744 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2747 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2748 return SWIG_TypeError
;
2751 *val
= (unsigned long)v
;
2757 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2760 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
> UCHAR_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< unsigned char >(v
);
2772 #define SWIG_From_long PyInt_FromLong
2775 SWIGINTERNINLINE PyObject
*
2776 SWIG_From_unsigned_SS_long (unsigned long value
)
2778 return (value
> LONG_MAX
) ?
2779 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2783 SWIGINTERNINLINE PyObject
*
2784 SWIG_From_unsigned_SS_char (unsigned char value
)
2786 return SWIG_From_unsigned_SS_long (value
);
2789 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2790 PyObject
* rv
= PyTuple_New(3);
2796 green
= self
->Green();
2797 blue
= self
->Blue();
2799 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2800 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2801 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2804 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2805 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2809 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2812 int res
= SWIG_AsVal_long (obj
, &v
);
2813 if (SWIG_IsOK(res
)) {
2814 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2815 return SWIG_OverflowError
;
2817 if (val
) *val
= static_cast< int >(v
);
2824 SWIGINTERNINLINE PyObject
*
2825 SWIG_From_int (int value
)
2827 return SWIG_From_long (value
);
2830 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2832 int count
= self
->GetDashes(&dashes
);
2833 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2834 PyObject
* retval
= PyList_New(0);
2835 for (int x
=0; x
<count
; x
++) {
2836 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2837 PyList_Append(retval
, pyint
);
2840 wxPyEndBlockThreads(blocked
);
2843 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2845 int size
= PyList_Size(pyDashes
);
2846 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2848 // black magic warning! The array of wxDashes needs to exist as
2849 // long as the pen does because wxPen does not copy the array. So
2850 // stick a copy in a Python string object and attach it to _self,
2851 // and then call SetDashes with a pointer to that array. Then
2852 // when the Python pen object is destroyed the array will be
2854 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2855 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2857 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2859 Py_DECREF(strDashes
);
2860 wxPyEndBlockThreads(blocked
);
2862 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2863 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2865 #include <wx/image.h>
2867 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2868 char** cArray
= NULL
;
2871 if (!PyList_Check(listOfStrings
)) {
2872 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2875 count
= PyList_Size(listOfStrings
);
2876 cArray
= new char*[count
];
2878 for(int x
=0; x
<count
; x
++) {
2879 // TODO: Need some validation and error checking here
2880 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2886 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2887 char** cArray
= NULL
;
2890 cArray
= ConvertListOfStrings(listOfStrings
);
2893 bmp
= new wxBitmap(cArray
);
2897 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2900 PyString_AsStringAndSize(bits
, &buf
, &length
);
2901 return new wxBitmap(buf
, width
, height
, depth
);
2903 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2904 wxSize
size(self
->GetWidth(), self
->GetHeight());
2907 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2908 wxMask
*mask
= new wxMask(*self
, colour
);
2909 self
->SetMask(mask
);
2911 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2912 self
->SetWidth(size
.x
);
2913 self
->SetHeight(size
.y
);
2915 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2916 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2917 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2919 return new wxMask(bitmap
, *wxBLACK
);
2921 return new wxMask(bitmap
, colour
);
2924 #include <wx/iconbndl.h>
2926 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2927 wxIcon
* icon
= new wxIcon();
2928 icon
->CopyFromBitmap(bmp
);
2931 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2932 char** cArray
= NULL
;
2935 cArray
= ConvertListOfStrings(listOfStrings
);
2938 icon
= new wxIcon(cArray
);
2942 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2946 return new wxIconLocation(*filename
);
2949 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2956 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2963 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2965 wxImage
img(cursorName
, type
);
2966 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2967 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2968 return new wxCursor(img
);
2970 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2975 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2978 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2979 return self
->operator bool();
2982 #include <wx/fontutil.h>
2983 #include <wx/fontmap.h>
2984 #include <wx/fontenum.h>
2986 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
2987 return self
->ToString();
2990 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
2991 static wxNativeEncodingInfo info
;
2992 if ( wxGetNativeFontEncoding(encoding
, &info
) )
2999 SWIGINTERNINLINE PyObject
*
3000 SWIG_From_size_t (size_t value
)
3002 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3006 SWIGINTERNINLINE
int
3007 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3010 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3011 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3015 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3016 wxFontEncoding alt_enc
;
3017 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3018 return PyInt_FromLong(alt_enc
);
3024 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3025 wxNativeFontInfo nfi
;
3026 nfi
.FromString(info
);
3027 return new wxFont(nfi
);
3029 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3030 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3032 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3033 return wxFontBase::New(pixelSize
, family
,
3034 style
, weight
, underlined
,
3037 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3038 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3040 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3041 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3043 class wxPyFontEnumerator
: public wxFontEnumerator
{
3045 wxPyFontEnumerator() {}
3046 ~wxPyFontEnumerator() {}
3048 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3049 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3054 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3055 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3058 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3059 wxArrayString
* arr
= self
->GetEncodings();
3061 return wxArrayString2PyList_helper(*arr
);
3063 return PyList_New(0);
3065 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3066 wxArrayString
* arr
= self
->GetFacenames();
3068 return wxArrayString2PyList_helper(*arr
);
3070 return PyList_New(0);
3075 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3078 loc
= new wxLocale();
3080 loc
= new wxLocale(language
, flags
);
3081 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3082 // for the floating point conversions and such to work right.
3083 #if PY_VERSION_HEX < 0x02040000
3084 setlocale(LC_NUMERIC
, "C");
3088 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3089 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3090 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3091 // for the floating point conversions and such to work right.
3092 #if PY_VERSION_HEX < 0x02040000
3093 setlocale(LC_NUMERIC
, "C");
3097 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3098 bool rc
= self
->Init(language
, flags
);
3099 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3100 // for the floating point conversions and such to work right.
3101 #if PY_VERSION_HEX < 0x02040000
3102 setlocale(LC_NUMERIC
, "C");
3107 #include "wx/wxPython/pydrawxxx.h"
3109 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3111 self
->GetPixel(x
, y
, &col
);
3114 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3116 self
->GetPixel(pt
, &col
);
3121 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3123 if (PyNumber_Check(obj
)) {
3124 if (val
) *val
= PyFloat_AsDouble(obj
);
3127 return SWIG_TypeError
;
3130 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3132 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3135 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3137 self
->GetClippingBox(rect
);
3140 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3142 self
->GetPartialTextExtents(text
, widths
);
3146 #define SWIG_From_double PyFloat_FromDouble
3148 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3149 self
->SetLogicalOrigin(point
.x
, point
.y
);
3151 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3152 self
->SetDeviceOrigin(point
.x
, point
.y
);
3154 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3155 self
->CalcBoundingBox(point
.x
, point
.y
);
3157 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3158 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3160 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3161 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3163 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3164 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3166 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3167 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3169 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3170 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3172 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3173 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3176 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3184 #include <wx/dcbuffer.h>
3187 #include <wx/dcps.h>
3190 class wxMetaFile
: public wxObject
{
3192 wxMetaFile(const wxString
&)
3193 { wxPyRaiseNotImplemented(); }
3196 class wxMetaFileDC
: public wxClientDC
{
3198 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3199 { wxPyRaiseNotImplemented(); }
3204 class wxPrinterDC
: public wxClientDC
{
3206 wxPrinterDC(const wxPrintData
&)
3207 { wxPyRaiseNotImplemented(); }
3213 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3214 self
->AddColour(name
, wxColour(red
, green
, blue
));
3217 #include <wx/effects.h>
3220 #include "wx/renderer.h"
3223 SWIGINTERNINLINE PyObject
*
3224 SWIG_From_bool (bool value
)
3226 return PyBool_FromLong(value
? 1 : 0);
3232 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3233 PyObject
*resultobj
= 0;
3234 wxGDIObject
*result
= 0 ;
3236 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3238 if (!wxPyCheckForApp()) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 result
= (wxGDIObject
*)new wxGDIObject();
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3251 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3252 PyObject
*resultobj
= 0;
3253 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3256 PyObject
*swig_obj
[1] ;
3258 if (!args
) SWIG_fail
;
3260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3261 if (!SWIG_IsOK(res1
)) {
3262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3264 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= SWIG_Py_Void();
3279 SWIGINTERN PyObject
*_wrap_GDIObject_GetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3280 PyObject
*resultobj
= 0;
3281 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3285 PyObject
*swig_obj
[1] ;
3287 if (!args
) SWIG_fail
;
3289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3290 if (!SWIG_IsOK(res1
)) {
3291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_GetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3293 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= (bool)(arg1
)->GetVisible();
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3309 SWIGINTERN PyObject
*_wrap_GDIObject_SetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
= 0;
3311 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3319 char * kwnames
[] = {
3320 (char *) "self",(char *) "visible", NULL
3323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3325 if (!SWIG_IsOK(res1
)) {
3326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_SetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3328 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3329 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
3330 if (!SWIG_IsOK(ecode2
)) {
3331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GDIObject_SetVisible" "', expected argument " "2"" of type '" "bool""'");
3333 arg2
= static_cast< bool >(val2
);
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 (arg1
)->SetVisible(arg2
);
3337 wxPyEndAllowThreads(__tstate
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 resultobj
= SWIG_Py_Void();
3347 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3348 PyObject
*resultobj
= 0;
3349 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3353 PyObject
*swig_obj
[1] ;
3355 if (!args
) SWIG_fail
;
3357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3358 if (!SWIG_IsOK(res1
)) {
3359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3361 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 result
= (bool)(arg1
)->IsNull();
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3377 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3380 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3381 return SWIG_Py_Void();
3384 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3385 return SWIG_Python_InitShadowInstance(args
);
3388 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
= 0;
3390 byte arg1
= (byte
) 0 ;
3391 byte arg2
= (byte
) 0 ;
3392 byte arg3
= (byte
) 0 ;
3393 wxColour
*result
= 0 ;
3394 unsigned char val1
;
3396 unsigned char val2
;
3398 unsigned char val3
;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3402 PyObject
* obj2
= 0 ;
3403 char * kwnames
[] = {
3404 (char *) "red",(char *) "green",(char *) "blue", NULL
3407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3409 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3410 if (!SWIG_IsOK(ecode1
)) {
3411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3413 arg1
= static_cast< byte
>(val1
);
3416 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3417 if (!SWIG_IsOK(ecode2
)) {
3418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3420 arg2
= static_cast< byte
>(val2
);
3423 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3424 if (!SWIG_IsOK(ecode3
)) {
3425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3427 arg3
= static_cast< byte
>(val3
);
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3442 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
= 0;
3444 wxString
*arg1
= 0 ;
3445 wxColour
*result
= 0 ;
3446 bool temp1
= false ;
3447 PyObject
* obj0
= 0 ;
3448 char * kwnames
[] = {
3449 (char *) "colorName", NULL
3452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3454 arg1
= wxString_in_helper(obj0
);
3455 if (arg1
== NULL
) SWIG_fail
;
3459 if (!wxPyCheckForApp()) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3480 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
= 0;
3482 unsigned long arg1
;
3483 wxColour
*result
= 0 ;
3484 unsigned long val1
;
3486 PyObject
* obj0
= 0 ;
3487 char * kwnames
[] = {
3488 (char *) "colRGB", NULL
3491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3492 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3493 if (!SWIG_IsOK(ecode1
)) {
3494 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3496 arg1
= static_cast< unsigned long >(val1
);
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 result
= (wxColour
*)new wxColour(arg1
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3510 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3511 PyObject
*resultobj
= 0;
3512 wxColour
*arg1
= (wxColour
*) 0 ;
3515 PyObject
*swig_obj
[1] ;
3517 if (!args
) SWIG_fail
;
3519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3520 if (!SWIG_IsOK(res1
)) {
3521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3523 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= SWIG_Py_Void();
3538 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3539 PyObject
*resultobj
= 0;
3540 wxColour
*arg1
= (wxColour
*) 0 ;
3544 PyObject
*swig_obj
[1] ;
3546 if (!args
) SWIG_fail
;
3548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3549 if (!SWIG_IsOK(res1
)) {
3550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3552 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (byte
)(arg1
)->Red();
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3566 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3567 PyObject
*resultobj
= 0;
3568 wxColour
*arg1
= (wxColour
*) 0 ;
3572 PyObject
*swig_obj
[1] ;
3574 if (!args
) SWIG_fail
;
3576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3577 if (!SWIG_IsOK(res1
)) {
3578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3580 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= (byte
)(arg1
)->Green();
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3594 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3595 PyObject
*resultobj
= 0;
3596 wxColour
*arg1
= (wxColour
*) 0 ;
3600 PyObject
*swig_obj
[1] ;
3602 if (!args
) SWIG_fail
;
3604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3605 if (!SWIG_IsOK(res1
)) {
3606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3608 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (byte
)(arg1
)->Blue();
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3622 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3623 PyObject
*resultobj
= 0;
3624 wxColour
*arg1
= (wxColour
*) 0 ;
3628 PyObject
*swig_obj
[1] ;
3630 if (!args
) SWIG_fail
;
3632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3633 if (!SWIG_IsOK(res1
)) {
3634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3636 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 result
= (bool)(arg1
)->Ok();
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3652 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
= 0;
3654 wxColour
*arg1
= (wxColour
*) 0 ;
3660 unsigned char val2
;
3662 unsigned char val3
;
3664 unsigned char val4
;
3666 PyObject
* obj0
= 0 ;
3667 PyObject
* obj1
= 0 ;
3668 PyObject
* obj2
= 0 ;
3669 PyObject
* obj3
= 0 ;
3670 char * kwnames
[] = {
3671 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3676 if (!SWIG_IsOK(res1
)) {
3677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3679 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3680 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3681 if (!SWIG_IsOK(ecode2
)) {
3682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3684 arg2
= static_cast< byte
>(val2
);
3685 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3686 if (!SWIG_IsOK(ecode3
)) {
3687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3689 arg3
= static_cast< byte
>(val3
);
3690 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3691 if (!SWIG_IsOK(ecode4
)) {
3692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3694 arg4
= static_cast< byte
>(val4
);
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->Set(arg2
,arg3
,arg4
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 resultobj
= SWIG_Py_Void();
3708 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
= 0;
3710 wxColour
*arg1
= (wxColour
*) 0 ;
3711 unsigned long arg2
;
3714 unsigned long val2
;
3716 PyObject
* obj0
= 0 ;
3717 PyObject
* obj1
= 0 ;
3718 char * kwnames
[] = {
3719 (char *) "self",(char *) "colRGB", NULL
3722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3724 if (!SWIG_IsOK(res1
)) {
3725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3727 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3728 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3729 if (!SWIG_IsOK(ecode2
)) {
3730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3732 arg2
= static_cast< unsigned long >(val2
);
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= SWIG_Py_Void();
3746 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
= 0;
3748 wxColour
*arg1
= (wxColour
*) 0 ;
3749 wxString
*arg2
= 0 ;
3752 bool temp2
= false ;
3753 PyObject
* obj0
= 0 ;
3754 PyObject
* obj1
= 0 ;
3755 char * kwnames
[] = {
3756 (char *) "self",(char *) "colourName", NULL
3759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3761 if (!SWIG_IsOK(res1
)) {
3762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3764 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3766 arg2
= wxString_in_helper(obj1
);
3767 if (arg2
== NULL
) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 (arg1
)->InitFromName((wxString
const &)*arg2
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= SWIG_Py_Void();
3791 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3792 PyObject
*resultobj
= 0;
3793 wxColour
*arg1
= (wxColour
*) 0 ;
3797 PyObject
*swig_obj
[1] ;
3799 if (!args
) SWIG_fail
;
3801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3802 if (!SWIG_IsOK(res1
)) {
3803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3805 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3812 resultobj
= SWIG_From_long(static_cast< long >(result
));
3819 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
= 0;
3821 wxColour
*arg1
= (wxColour
*) 0 ;
3822 wxColour
*arg2
= 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3829 char * kwnames
[] = {
3830 (char *) "self",(char *) "colour", NULL
3833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3835 if (!SWIG_IsOK(res1
)) {
3836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour const *""'");
3838 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3858 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
= 0;
3860 wxColour
*arg1
= (wxColour
*) 0 ;
3861 wxColour
*arg2
= 0 ;
3866 PyObject
* obj0
= 0 ;
3867 PyObject
* obj1
= 0 ;
3868 char * kwnames
[] = {
3869 (char *) "self",(char *) "colour", NULL
3872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3874 if (!SWIG_IsOK(res1
)) {
3875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour const *""'");
3877 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3897 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3898 PyObject
*resultobj
= 0;
3899 wxColour
*arg1
= (wxColour
*) 0 ;
3900 PyObject
*result
= 0 ;
3903 PyObject
*swig_obj
[1] ;
3905 if (!args
) SWIG_fail
;
3907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3908 if (!SWIG_IsOK(res1
)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3911 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (PyObject
*)wxColour_Get(arg1
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3925 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3926 PyObject
*resultobj
= 0;
3927 wxColour
*arg1
= (wxColour
*) 0 ;
3928 unsigned long result
;
3931 PyObject
*swig_obj
[1] ;
3933 if (!args
) SWIG_fail
;
3935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3936 if (!SWIG_IsOK(res1
)) {
3937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3939 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (unsigned long)wxColour_GetRGB(arg1
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3953 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3956 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3957 return SWIG_Py_Void();
3960 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3961 return SWIG_Python_InitShadowInstance(args
);
3964 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
= 0;
3967 unsigned char *arg2
= (unsigned char *) 0 ;
3968 unsigned char *arg3
= (unsigned char *) 0 ;
3969 unsigned char *arg4
= (unsigned char *) 0 ;
3970 wxPalette
*result
= 0 ;
3979 PyObject
* obj0
= 0 ;
3980 PyObject
* obj1
= 0 ;
3981 PyObject
* obj2
= 0 ;
3982 PyObject
* obj3
= 0 ;
3983 char * kwnames
[] = {
3984 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3989 if (!SWIG_IsOK(ecode1
)) {
3990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3992 arg1
= static_cast< int >(val1
);
3993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3994 if (!SWIG_IsOK(res2
)) {
3995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3997 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3998 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3999 if (!SWIG_IsOK(res3
)) {
4000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4002 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4003 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4004 if (!SWIG_IsOK(res4
)) {
4005 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4007 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4009 if (!wxPyCheckForApp()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4022 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 PyObject
*resultobj
= 0;
4024 wxPalette
*arg1
= (wxPalette
*) 0 ;
4027 PyObject
*swig_obj
[1] ;
4029 if (!args
) SWIG_fail
;
4031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4032 if (!SWIG_IsOK(res1
)) {
4033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4035 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= SWIG_Py_Void();
4050 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
= 0;
4052 wxPalette
*arg1
= (wxPalette
*) 0 ;
4059 unsigned char val2
;
4061 unsigned char val3
;
4063 unsigned char val4
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4067 PyObject
* obj2
= 0 ;
4068 PyObject
* obj3
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4078 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4079 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4080 if (!SWIG_IsOK(ecode2
)) {
4081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4083 arg2
= static_cast< byte
>(val2
);
4084 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4085 if (!SWIG_IsOK(ecode3
)) {
4086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4088 arg3
= static_cast< byte
>(val3
);
4089 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4090 if (!SWIG_IsOK(ecode4
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4093 arg4
= static_cast< byte
>(val4
);
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_From_int(static_cast< int >(result
));
4107 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
= 0;
4109 wxPalette
*arg1
= (wxPalette
*) 0 ;
4111 byte
*arg3
= (byte
*) 0 ;
4112 byte
*arg4
= (byte
*) 0 ;
4113 byte
*arg5
= (byte
*) 0 ;
4120 int res3
= SWIG_TMPOBJ
;
4122 int res4
= SWIG_TMPOBJ
;
4124 int res5
= SWIG_TMPOBJ
;
4125 PyObject
* obj0
= 0 ;
4126 PyObject
* obj1
= 0 ;
4127 char * kwnames
[] = {
4128 (char *) "self",(char *) "pixel", NULL
4134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4139 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4141 if (!SWIG_IsOK(ecode2
)) {
4142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4144 arg2
= static_cast< int >(val2
);
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4154 if (SWIG_IsTmpObj(res3
)) {
4155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4157 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4160 if (SWIG_IsTmpObj(res4
)) {
4161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4163 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4166 if (SWIG_IsTmpObj(res5
)) {
4167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4169 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4178 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4179 PyObject
*resultobj
= 0;
4180 wxPalette
*arg1
= (wxPalette
*) 0 ;
4184 PyObject
*swig_obj
[1] ;
4186 if (!args
) SWIG_fail
;
4188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4189 if (!SWIG_IsOK(res1
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4192 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_From_int(static_cast< int >(result
));
4206 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4207 PyObject
*resultobj
= 0;
4208 wxPalette
*arg1
= (wxPalette
*) 0 ;
4212 PyObject
*swig_obj
[1] ;
4214 if (!args
) SWIG_fail
;
4216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4217 if (!SWIG_IsOK(res1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4220 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (bool)(arg1
)->Ok();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4236 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4240 return SWIG_Py_Void();
4243 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4244 return SWIG_Python_InitShadowInstance(args
);
4247 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxColour
*arg1
= 0 ;
4250 int arg2
= (int) 1 ;
4251 int arg3
= (int) wxSOLID
;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4260 PyObject
* obj2
= 0 ;
4261 char * kwnames
[] = {
4262 (char *) "colour",(char *) "width",(char *) "style", NULL
4265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4268 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4272 if (!SWIG_IsOK(ecode2
)) {
4273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4275 arg2
= static_cast< int >(val2
);
4278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4279 if (!SWIG_IsOK(ecode3
)) {
4280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4282 arg3
= static_cast< int >(val3
);
4285 if (!wxPyCheckForApp()) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4298 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4299 PyObject
*resultobj
= 0;
4300 wxPen
*arg1
= (wxPen
*) 0 ;
4303 PyObject
*swig_obj
[1] ;
4305 if (!args
) SWIG_fail
;
4307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4308 if (!SWIG_IsOK(res1
)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4311 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_Py_Void();
4326 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4327 PyObject
*resultobj
= 0;
4328 wxPen
*arg1
= (wxPen
*) 0 ;
4332 PyObject
*swig_obj
[1] ;
4334 if (!args
) SWIG_fail
;
4336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4337 if (!SWIG_IsOK(res1
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4340 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (int)(arg1
)->GetCap();
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_From_int(static_cast< int >(result
));
4354 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4355 PyObject
*resultobj
= 0;
4356 wxPen
*arg1
= (wxPen
*) 0 ;
4360 PyObject
*swig_obj
[1] ;
4362 if (!args
) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4368 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (arg1
)->GetColour();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4382 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4383 PyObject
*resultobj
= 0;
4384 wxPen
*arg1
= (wxPen
*) 0 ;
4388 PyObject
*swig_obj
[1] ;
4390 if (!args
) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4396 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (int)(arg1
)->GetJoin();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_From_int(static_cast< int >(result
));
4410 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4411 PyObject
*resultobj
= 0;
4412 wxPen
*arg1
= (wxPen
*) 0 ;
4416 PyObject
*swig_obj
[1] ;
4418 if (!args
) SWIG_fail
;
4420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4421 if (!SWIG_IsOK(res1
)) {
4422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4424 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (int)(arg1
)->GetStyle();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= SWIG_From_int(static_cast< int >(result
));
4438 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4439 PyObject
*resultobj
= 0;
4440 wxPen
*arg1
= (wxPen
*) 0 ;
4444 PyObject
*swig_obj
[1] ;
4446 if (!args
) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4452 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (int)(arg1
)->GetWidth();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_From_int(static_cast< int >(result
));
4466 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4467 PyObject
*resultobj
= 0;
4468 wxPen
*arg1
= (wxPen
*) 0 ;
4472 PyObject
*swig_obj
[1] ;
4474 if (!args
) SWIG_fail
;
4476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4477 if (!SWIG_IsOK(res1
)) {
4478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4480 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (bool)(arg1
)->Ok();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4496 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
= 0;
4498 wxPen
*arg1
= (wxPen
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4506 char * kwnames
[] = {
4507 (char *) "self",(char *) "cap_style", NULL
4510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4512 if (!SWIG_IsOK(res1
)) {
4513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4515 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4517 if (!SWIG_IsOK(ecode2
)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4520 arg2
= static_cast< int >(val2
);
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 (arg1
)->SetCap(arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_Py_Void();
4534 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
= 0;
4536 wxPen
*arg1
= (wxPen
*) 0 ;
4537 wxColour
*arg2
= 0 ;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4543 char * kwnames
[] = {
4544 (char *) "self",(char *) "colour", NULL
4547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4549 if (!SWIG_IsOK(res1
)) {
4550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4552 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 (arg1
)->SetColour(*arg2
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= SWIG_Py_Void();
4570 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxPen
*arg1
= (wxPen
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4580 char * kwnames
[] = {
4581 (char *) "self",(char *) "join_style", NULL
4584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4586 if (!SWIG_IsOK(res1
)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4589 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4591 if (!SWIG_IsOK(ecode2
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4594 arg2
= static_cast< int >(val2
);
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 (arg1
)->SetJoin(arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= SWIG_Py_Void();
4608 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
= 0;
4610 wxPen
*arg1
= (wxPen
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4618 char * kwnames
[] = {
4619 (char *) "self",(char *) "style", NULL
4622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4624 if (!SWIG_IsOK(res1
)) {
4625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4627 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4629 if (!SWIG_IsOK(ecode2
)) {
4630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4632 arg2
= static_cast< int >(val2
);
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 (arg1
)->SetStyle(arg2
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_Py_Void();
4646 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
= 0;
4648 wxPen
*arg1
= (wxPen
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4656 char * kwnames
[] = {
4657 (char *) "self",(char *) "width", NULL
4660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4662 if (!SWIG_IsOK(res1
)) {
4663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4665 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4667 if (!SWIG_IsOK(ecode2
)) {
4668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4670 arg2
= static_cast< int >(val2
);
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 (arg1
)->SetWidth(arg2
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_Py_Void();
4684 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
= 0;
4686 wxPen
*arg1
= (wxPen
*) 0 ;
4688 wxDash
*arg3
= (wxDash
*) 0 ;
4691 PyObject
* obj0
= 0 ;
4692 PyObject
* obj1
= 0 ;
4693 char * kwnames
[] = {
4694 (char *) "self",(char *) "dashes", NULL
4697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4699 if (!SWIG_IsOK(res1
)) {
4700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4702 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4704 arg2
= PyList_Size(obj1
);
4705 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4706 if (arg3
== NULL
) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->SetDashes(arg2
,arg3
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_Py_Void();
4716 if (arg3
) delete [] arg3
;
4721 if (arg3
) delete [] arg3
;
4727 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4728 PyObject
*resultobj
= 0;
4729 wxPen
*arg1
= (wxPen
*) 0 ;
4730 PyObject
*result
= 0 ;
4733 PyObject
*swig_obj
[1] ;
4735 if (!args
) SWIG_fail
;
4737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4738 if (!SWIG_IsOK(res1
)) {
4739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4741 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4755 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
= 0;
4757 wxPen
*arg1
= (wxPen
*) 0 ;
4758 PyObject
*arg2
= (PyObject
*) 0 ;
4759 PyObject
*arg3
= (PyObject
*) 0 ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 PyObject
* obj2
= 0 ;
4765 char * kwnames
[] = {
4766 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4771 if (!SWIG_IsOK(res1
)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4774 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 wxPen__SetDashes(arg1
,arg2
,arg3
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_Py_Void();
4790 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4791 PyObject
*resultobj
= 0;
4792 wxPen
*arg1
= (wxPen
*) 0 ;
4796 PyObject
*swig_obj
[1] ;
4798 if (!args
) SWIG_fail
;
4800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4801 if (!SWIG_IsOK(res1
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4804 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_From_int(static_cast< int >(result
));
4818 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
= 0;
4820 wxPen
*arg1
= (wxPen
*) 0 ;
4821 wxPen
*arg2
= (wxPen
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4829 char * kwnames
[] = {
4830 (char *) "self",(char *) "other", NULL
4833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4835 if (!SWIG_IsOK(res1
)) {
4836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4838 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4840 if (!SWIG_IsOK(res2
)) {
4841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4843 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4859 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
= 0;
4861 wxPen
*arg1
= (wxPen
*) 0 ;
4862 wxPen
*arg2
= (wxPen
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 char * kwnames
[] = {
4871 (char *) "self",(char *) "other", NULL
4874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4879 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4881 if (!SWIG_IsOK(res2
)) {
4882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4884 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4900 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4904 return SWIG_Py_Void();
4907 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4908 return SWIG_Python_InitShadowInstance(args
);
4911 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
= 0;
4913 wxColour
*arg1
= 0 ;
4914 int arg2
= (int) wxSOLID
;
4915 wxBrush
*result
= 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 char * kwnames
[] = {
4922 (char *) "colour",(char *) "style", NULL
4925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4932 if (!SWIG_IsOK(ecode2
)) {
4933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4935 arg2
= static_cast< int >(val2
);
4938 if (!wxPyCheckForApp()) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4951 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
= 0;
4953 wxBitmap
*arg1
= 0 ;
4954 wxBrush
*result
= 0 ;
4957 PyObject
* obj0
= 0 ;
4958 char * kwnames
[] = {
4959 (char *) "stippleBitmap", NULL
4962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4963 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4964 if (!SWIG_IsOK(res1
)) {
4965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4970 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4972 if (!wxPyCheckForApp()) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4985 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4986 PyObject
*resultobj
= 0;
4987 wxBrush
*arg1
= (wxBrush
*) 0 ;
4990 PyObject
*swig_obj
[1] ;
4992 if (!args
) SWIG_fail
;
4994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4995 if (!SWIG_IsOK(res1
)) {
4996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
4998 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= SWIG_Py_Void();
5013 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
= 0;
5015 wxBrush
*arg1
= (wxBrush
*) 0 ;
5016 wxColour
*arg2
= 0 ;
5020 PyObject
* obj0
= 0 ;
5021 PyObject
* obj1
= 0 ;
5022 char * kwnames
[] = {
5023 (char *) "self",(char *) "col", NULL
5026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5031 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5034 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->SetColour((wxColour
const &)*arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_Py_Void();
5049 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
= 0;
5051 wxBrush
*arg1
= (wxBrush
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5059 char * kwnames
[] = {
5060 (char *) "self",(char *) "style", NULL
5063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5065 if (!SWIG_IsOK(res1
)) {
5066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5068 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5070 if (!SWIG_IsOK(ecode2
)) {
5071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5073 arg2
= static_cast< int >(val2
);
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetStyle(arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_Py_Void();
5087 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
= 0;
5089 wxBrush
*arg1
= (wxBrush
*) 0 ;
5090 wxBitmap
*arg2
= 0 ;
5095 PyObject
* obj0
= 0 ;
5096 PyObject
* obj1
= 0 ;
5097 char * kwnames
[] = {
5098 (char *) "self",(char *) "stipple", NULL
5101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5103 if (!SWIG_IsOK(res1
)) {
5104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5106 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5108 if (!SWIG_IsOK(res2
)) {
5109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5114 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_Py_Void();
5128 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5129 PyObject
*resultobj
= 0;
5130 wxBrush
*arg1
= (wxBrush
*) 0 ;
5134 PyObject
*swig_obj
[1] ;
5136 if (!args
) SWIG_fail
;
5138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5139 if (!SWIG_IsOK(res1
)) {
5140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5142 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= ((wxBrush
const *)arg1
)->GetColour();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5156 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5158 wxBrush
*arg1
= (wxBrush
*) 0 ;
5162 PyObject
*swig_obj
[1] ;
5164 if (!args
) SWIG_fail
;
5166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5167 if (!SWIG_IsOK(res1
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5170 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_From_int(static_cast< int >(result
));
5184 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5185 PyObject
*resultobj
= 0;
5186 wxBrush
*arg1
= (wxBrush
*) 0 ;
5187 wxBitmap
*result
= 0 ;
5190 PyObject
*swig_obj
[1] ;
5192 if (!args
) SWIG_fail
;
5194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5195 if (!SWIG_IsOK(res1
)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5198 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5212 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 PyObject
*resultobj
= 0;
5214 wxBrush
*arg1
= (wxBrush
*) 0 ;
5218 PyObject
*swig_obj
[1] ;
5220 if (!args
) SWIG_fail
;
5222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5223 if (!SWIG_IsOK(res1
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5226 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5242 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5243 PyObject
*resultobj
= 0;
5244 wxBrush
*arg1
= (wxBrush
*) 0 ;
5248 PyObject
*swig_obj
[1] ;
5250 if (!args
) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5256 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (bool)(arg1
)->Ok();
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5272 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5275 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5276 return SWIG_Py_Void();
5279 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 return SWIG_Python_InitShadowInstance(args
);
5283 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
= 0;
5285 wxString
*arg1
= 0 ;
5286 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5287 wxBitmap
*result
= 0 ;
5288 bool temp1
= false ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 char * kwnames
[] = {
5294 (char *) "name",(char *) "type", NULL
5297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5299 arg1
= wxString_in_helper(obj0
);
5300 if (arg1
== NULL
) SWIG_fail
;
5304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5305 if (!SWIG_IsOK(ecode2
)) {
5306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5308 arg2
= static_cast< wxBitmapType
>(val2
);
5311 if (!wxPyCheckForApp()) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5332 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5333 PyObject
*resultobj
= 0;
5334 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5337 PyObject
*swig_obj
[1] ;
5339 if (!args
) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5345 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5364 int arg3
= (int) -1 ;
5365 wxBitmap
*result
= 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5374 PyObject
* obj2
= 0 ;
5375 char * kwnames
[] = {
5376 (char *) "width",(char *) "height",(char *) "depth", NULL
5379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5381 if (!SWIG_IsOK(ecode1
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5384 arg1
= static_cast< int >(val1
);
5385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5386 if (!SWIG_IsOK(ecode2
)) {
5387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5389 arg2
= static_cast< int >(val2
);
5391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5392 if (!SWIG_IsOK(ecode3
)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5395 arg3
= static_cast< int >(val3
);
5398 if (!wxPyCheckForApp()) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5411 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
= 0;
5414 wxBitmap
*result
= 0 ;
5417 PyObject
* obj0
= 0 ;
5418 char * kwnames
[] = {
5419 (char *) "icon", NULL
5422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5423 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5424 if (!SWIG_IsOK(res1
)) {
5425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5430 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5432 if (!wxPyCheckForApp()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5445 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5448 int arg2
= (int) -1 ;
5449 wxBitmap
*result
= 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 char * kwnames
[] = {
5457 (char *) "image",(char *) "depth", NULL
5460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5461 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5462 if (!SWIG_IsOK(res1
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5468 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5471 if (!SWIG_IsOK(ecode2
)) {
5472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5474 arg2
= static_cast< int >(val2
);
5477 if (!wxPyCheckForApp()) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5490 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
= 0;
5492 PyObject
*arg1
= (PyObject
*) 0 ;
5493 wxBitmap
*result
= 0 ;
5494 PyObject
* obj0
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "listOfStrings", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5502 if (!wxPyCheckForApp()) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5515 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
= 0;
5517 PyObject
*arg1
= (PyObject
*) 0 ;
5520 int arg4
= (int) 1 ;
5521 wxBitmap
*result
= 0 ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5530 PyObject
* obj2
= 0 ;
5531 PyObject
* obj3
= 0 ;
5532 char * kwnames
[] = {
5533 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5539 if (!SWIG_IsOK(ecode2
)) {
5540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5542 arg2
= static_cast< int >(val2
);
5543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5544 if (!SWIG_IsOK(ecode3
)) {
5545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5547 arg3
= static_cast< int >(val3
);
5549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5550 if (!SWIG_IsOK(ecode4
)) {
5551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5553 arg4
= static_cast< int >(val4
);
5556 if (!wxPyCheckForApp()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5569 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5570 PyObject
*resultobj
= 0;
5571 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5575 PyObject
*swig_obj
[1] ;
5577 if (!args
) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5583 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (bool)(arg1
)->Ok();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5599 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5600 PyObject
*resultobj
= 0;
5601 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5605 PyObject
*swig_obj
[1] ;
5607 if (!args
) SWIG_fail
;
5609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5610 if (!SWIG_IsOK(res1
)) {
5611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5613 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (int)(arg1
)->GetWidth();
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_From_int(static_cast< int >(result
));
5627 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5628 PyObject
*resultobj
= 0;
5629 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5633 PyObject
*swig_obj
[1] ;
5635 if (!args
) SWIG_fail
;
5637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5638 if (!SWIG_IsOK(res1
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5641 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (int)(arg1
)->GetHeight();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_From_int(static_cast< int >(result
));
5655 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(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_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (int)(arg1
)->GetDepth();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_From_int(static_cast< int >(result
));
5683 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(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_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5697 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= wxBitmap_GetSize(arg1
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5711 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 PyObject
*resultobj
= 0;
5713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5714 SwigValueWrapper
<wxImage
> result
;
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_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5725 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5739 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5740 PyObject
*resultobj
= 0;
5741 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5742 wxMask
*result
= 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_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5753 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5767 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
= 0;
5769 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5770 wxMask
*arg2
= (wxMask
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5776 char * kwnames
[] = {
5777 (char *) "self",(char *) "mask", NULL
5780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5782 if (!SWIG_IsOK(res1
)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5785 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5786 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5787 if (!SWIG_IsOK(res2
)) {
5788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->SetMask(arg2
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_Py_Void();
5803 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
= 0;
5805 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5806 wxColour
*arg2
= 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5812 char * kwnames
[] = {
5813 (char *) "self",(char *) "colour", NULL
5816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5818 if (!SWIG_IsOK(res1
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5821 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5824 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= SWIG_Py_Void();
5839 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
= 0;
5841 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5843 SwigValueWrapper
<wxBitmap
> result
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 char * kwnames
[] = {
5850 (char *) "self",(char *) "rect", NULL
5853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5855 if (!SWIG_IsOK(res1
)) {
5856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5858 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5861 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5876 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= 0;
5878 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5879 wxString
*arg2
= 0 ;
5881 wxPalette
*arg4
= (wxPalette
*) NULL
;
5885 bool temp2
= false ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5892 PyObject
* obj2
= 0 ;
5893 PyObject
* obj3
= 0 ;
5894 char * kwnames
[] = {
5895 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5900 if (!SWIG_IsOK(res1
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5903 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5905 arg2
= wxString_in_helper(obj1
);
5906 if (arg2
== NULL
) SWIG_fail
;
5909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5910 if (!SWIG_IsOK(ecode3
)) {
5911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5913 arg3
= static_cast< wxBitmapType
>(val3
);
5915 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5916 if (!SWIG_IsOK(res4
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5919 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5944 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
= 0;
5946 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5947 wxString
*arg2
= 0 ;
5952 bool temp2
= false ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5957 PyObject
* obj2
= 0 ;
5958 char * kwnames
[] = {
5959 (char *) "self",(char *) "name",(char *) "type", NULL
5962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5967 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5969 arg2
= wxString_in_helper(obj1
);
5970 if (arg2
== NULL
) SWIG_fail
;
5973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5974 if (!SWIG_IsOK(ecode3
)) {
5975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5977 arg3
= static_cast< wxBitmapType
>(val3
);
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6001 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6002 PyObject
*resultobj
= 0;
6003 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6004 wxPalette
*result
= 0 ;
6007 PyObject
*swig_obj
[1] ;
6009 if (!args
) SWIG_fail
;
6011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6012 if (!SWIG_IsOK(res1
)) {
6013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6029 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
= 0;
6031 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6040 char * kwnames
[] = {
6041 (char *) "self",(char *) "icon", NULL
6044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6046 if (!SWIG_IsOK(res1
)) {
6047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6049 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6051 if (!SWIG_IsOK(res2
)) {
6052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6057 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6073 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
= 0;
6075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6083 char * kwnames
[] = {
6084 (char *) "self",(char *) "height", NULL
6087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6089 if (!SWIG_IsOK(res1
)) {
6090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6092 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6094 if (!SWIG_IsOK(ecode2
)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6097 arg2
= static_cast< int >(val2
);
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 (arg1
)->SetHeight(arg2
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= SWIG_Py_Void();
6111 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
= 0;
6113 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6121 char * kwnames
[] = {
6122 (char *) "self",(char *) "width", NULL
6125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6127 if (!SWIG_IsOK(res1
)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6130 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6132 if (!SWIG_IsOK(ecode2
)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6135 arg2
= static_cast< int >(val2
);
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 (arg1
)->SetWidth(arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= SWIG_Py_Void();
6149 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
= 0;
6151 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6159 char * kwnames
[] = {
6160 (char *) "self",(char *) "depth", NULL
6163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6165 if (!SWIG_IsOK(res1
)) {
6166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6170 if (!SWIG_IsOK(ecode2
)) {
6171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6173 arg2
= static_cast< int >(val2
);
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->SetDepth(arg2
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_Py_Void();
6187 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
= 0;
6189 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6196 char * kwnames
[] = {
6197 (char *) "self",(char *) "size", NULL
6200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6205 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6208 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_Py_Void();
6223 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
= 0;
6225 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6226 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6234 char * kwnames
[] = {
6235 (char *) "self",(char *) "other", NULL
6238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6240 if (!SWIG_IsOK(res1
)) {
6241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6243 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6245 if (!SWIG_IsOK(res2
)) {
6246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6248 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6264 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6266 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6267 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "self",(char *) "other", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6284 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6286 if (!SWIG_IsOK(res2
)) {
6287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6305 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6308 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6309 return SWIG_Py_Void();
6312 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6313 return SWIG_Python_InitShadowInstance(args
);
6316 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
= 0;
6318 wxBitmap
*arg1
= 0 ;
6319 wxColour
const &arg2_defvalue
= wxNullColour
;
6320 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6321 wxMask
*result
= 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "bitmap",(char *) "colour", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6339 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6347 if (!wxPyCheckForApp()) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6360 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6361 PyObject
*resultobj
= 0;
6362 wxMask
*arg1
= (wxMask
*) 0 ;
6365 PyObject
*swig_obj
[1] ;
6367 if (!args
) SWIG_fail
;
6369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6370 if (!SWIG_IsOK(res1
)) {
6371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6373 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_Py_Void();
6388 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6391 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6392 return SWIG_Py_Void();
6395 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6396 return SWIG_Python_InitShadowInstance(args
);
6399 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
= 0;
6401 wxString
*arg1
= 0 ;
6403 int arg3
= (int) -1 ;
6404 int arg4
= (int) -1 ;
6405 wxIcon
*result
= 0 ;
6406 bool temp1
= false ;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6415 PyObject
* obj2
= 0 ;
6416 PyObject
* obj3
= 0 ;
6417 char * kwnames
[] = {
6418 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6423 arg1
= wxString_in_helper(obj0
);
6424 if (arg1
== NULL
) SWIG_fail
;
6427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6428 if (!SWIG_IsOK(ecode2
)) {
6429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6431 arg2
= static_cast< wxBitmapType
>(val2
);
6433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6434 if (!SWIG_IsOK(ecode3
)) {
6435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6437 arg3
= static_cast< int >(val3
);
6440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6441 if (!SWIG_IsOK(ecode4
)) {
6442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6444 arg4
= static_cast< int >(val4
);
6447 if (!wxPyCheckForApp()) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6468 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6469 PyObject
*resultobj
= 0;
6470 wxIcon
*arg1
= (wxIcon
*) 0 ;
6473 PyObject
*swig_obj
[1] ;
6475 if (!args
) SWIG_fail
;
6477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6478 if (!SWIG_IsOK(res1
)) {
6479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6481 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_Py_Void();
6496 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxIcon
*result
= 0 ;
6500 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6502 if (!wxPyCheckForApp()) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (wxIcon
*)new wxIcon();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6515 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
= 0;
6517 wxIconLocation
*arg1
= 0 ;
6518 wxIcon
*result
= 0 ;
6521 PyObject
* obj0
= 0 ;
6522 char * kwnames
[] = {
6523 (char *) "loc", NULL
6526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6527 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6528 if (!SWIG_IsOK(res1
)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6534 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6536 if (!wxPyCheckForApp()) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6549 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
= 0;
6551 wxBitmap
*arg1
= 0 ;
6552 wxIcon
*result
= 0 ;
6555 PyObject
* obj0
= 0 ;
6556 char * kwnames
[] = {
6557 (char *) "bmp", NULL
6560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6561 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6562 if (!SWIG_IsOK(res1
)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6568 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6570 if (!wxPyCheckForApp()) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6583 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
= 0;
6585 PyObject
*arg1
= (PyObject
*) 0 ;
6586 wxIcon
*result
= 0 ;
6587 PyObject
* obj0
= 0 ;
6588 char * kwnames
[] = {
6589 (char *) "listOfStrings", NULL
6592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6595 if (!wxPyCheckForApp()) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (wxIcon
*)new_wxIcon(arg1
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6608 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
= 0;
6610 wxIcon
*arg1
= (wxIcon
*) 0 ;
6611 wxString
*arg2
= 0 ;
6616 bool temp2
= false ;
6619 PyObject
* obj0
= 0 ;
6620 PyObject
* obj1
= 0 ;
6621 PyObject
* obj2
= 0 ;
6622 char * kwnames
[] = {
6623 (char *) "self",(char *) "name",(char *) "type", NULL
6626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6628 if (!SWIG_IsOK(res1
)) {
6629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6631 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6633 arg2
= wxString_in_helper(obj1
);
6634 if (arg2
== NULL
) SWIG_fail
;
6637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6638 if (!SWIG_IsOK(ecode3
)) {
6639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6641 arg3
= static_cast< wxBitmapType
>(val3
);
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6665 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6666 PyObject
*resultobj
= 0;
6667 wxIcon
*arg1
= (wxIcon
*) 0 ;
6671 PyObject
*swig_obj
[1] ;
6673 if (!args
) SWIG_fail
;
6675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6676 if (!SWIG_IsOK(res1
)) {
6677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6679 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 result
= (bool)(arg1
)->Ok();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6696 PyObject
*resultobj
= 0;
6697 wxIcon
*arg1
= (wxIcon
*) 0 ;
6701 PyObject
*swig_obj
[1] ;
6703 if (!args
) SWIG_fail
;
6705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6706 if (!SWIG_IsOK(res1
)) {
6707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6709 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= (int)(arg1
)->GetWidth();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_From_int(static_cast< int >(result
));
6723 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6724 PyObject
*resultobj
= 0;
6725 wxIcon
*arg1
= (wxIcon
*) 0 ;
6729 PyObject
*swig_obj
[1] ;
6731 if (!args
) SWIG_fail
;
6733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6734 if (!SWIG_IsOK(res1
)) {
6735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6737 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (int)(arg1
)->GetHeight();
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= SWIG_From_int(static_cast< int >(result
));
6751 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6752 PyObject
*resultobj
= 0;
6753 wxIcon
*arg1
= (wxIcon
*) 0 ;
6757 PyObject
*swig_obj
[1] ;
6759 if (!args
) SWIG_fail
;
6761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6762 if (!SWIG_IsOK(res1
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6765 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= (int)(arg1
)->GetDepth();
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_From_int(static_cast< int >(result
));
6779 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxIcon
*arg1
= (wxIcon
*) 0 ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 char * kwnames
[] = {
6790 (char *) "self",(char *) "w", NULL
6793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6798 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 (arg1
)->SetWidth(arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_Py_Void();
6817 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
= 0;
6819 wxIcon
*arg1
= (wxIcon
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6827 char * kwnames
[] = {
6828 (char *) "self",(char *) "h", NULL
6831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6833 if (!SWIG_IsOK(res1
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6836 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6838 if (!SWIG_IsOK(ecode2
)) {
6839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6841 arg2
= static_cast< int >(val2
);
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 (arg1
)->SetHeight(arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_Py_Void();
6855 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
= 0;
6857 wxIcon
*arg1
= (wxIcon
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "d", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6874 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6876 if (!SWIG_IsOK(ecode2
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6879 arg2
= static_cast< int >(val2
);
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 (arg1
)->SetDepth(arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_Py_Void();
6893 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
= 0;
6895 wxIcon
*arg1
= (wxIcon
*) 0 ;
6896 wxBitmap
*arg2
= 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6903 char * kwnames
[] = {
6904 (char *) "self",(char *) "bmp", NULL
6907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6909 if (!SWIG_IsOK(res1
)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6912 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6914 if (!SWIG_IsOK(res2
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6920 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_Py_Void();
6934 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6937 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6938 return SWIG_Py_Void();
6941 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6942 return SWIG_Python_InitShadowInstance(args
);
6945 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
= 0;
6947 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6948 int arg2
= (int) 0 ;
6949 wxIconLocation
*result
= 0 ;
6950 bool temp1
= false ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6955 char * kwnames
[] = {
6956 (char *) "filename",(char *) "num", NULL
6959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6962 arg1
= wxString_in_helper(obj0
);
6963 if (arg1
== NULL
) SWIG_fail
;
6968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6969 if (!SWIG_IsOK(ecode2
)) {
6970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6972 arg2
= static_cast< int >(val2
);
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6995 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6996 PyObject
*resultobj
= 0;
6997 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7000 PyObject
*swig_obj
[1] ;
7002 if (!args
) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7008 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_Py_Void();
7023 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7024 PyObject
*resultobj
= 0;
7025 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7029 PyObject
*swig_obj
[1] ;
7031 if (!args
) SWIG_fail
;
7033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7034 if (!SWIG_IsOK(res1
)) {
7035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7037 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7053 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
= 0;
7055 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7056 wxString
*arg2
= 0 ;
7059 bool temp2
= false ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7062 char * kwnames
[] = {
7063 (char *) "self",(char *) "filename", NULL
7066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7071 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7073 arg2
= wxString_in_helper(obj1
);
7074 if (arg2
== NULL
) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->SetFileName((wxString
const &)*arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7101 wxString
*result
= 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7112 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7117 result
= (wxString
*) &_result_ref
;
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7126 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7135 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
= 0;
7137 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7143 PyObject
* obj0
= 0 ;
7144 PyObject
* obj1
= 0 ;
7145 char * kwnames
[] = {
7146 (char *) "self",(char *) "num", NULL
7149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7151 if (!SWIG_IsOK(res1
)) {
7152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7154 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7156 if (!SWIG_IsOK(ecode2
)) {
7157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7159 arg2
= static_cast< int >(val2
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 wxIconLocation_SetIndex(arg1
,arg2
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_Py_Void();
7173 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7187 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (int)wxIconLocation_GetIndex(arg1
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_From_int(static_cast< int >(result
));
7201 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7204 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7205 return SWIG_Py_Void();
7208 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7209 return SWIG_Python_InitShadowInstance(args
);
7212 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7213 PyObject
*resultobj
= 0;
7214 wxIconBundle
*result
= 0 ;
7216 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (wxIconBundle
*)new wxIconBundle();
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7230 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= 0;
7232 wxString
*arg1
= 0 ;
7234 wxIconBundle
*result
= 0 ;
7235 bool temp1
= false ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7240 char * kwnames
[] = {
7241 (char *) "file",(char *) "type", NULL
7244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7246 arg1
= wxString_in_helper(obj0
);
7247 if (arg1
== NULL
) SWIG_fail
;
7250 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7251 if (!SWIG_IsOK(ecode2
)) {
7252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7254 arg2
= static_cast< long >(val2
);
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7276 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
= 0;
7279 wxIconBundle
*result
= 0 ;
7282 PyObject
* obj0
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "icon", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7288 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7289 if (!SWIG_IsOK(res1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7295 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7309 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 PyObject
*resultobj
= 0;
7311 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7314 PyObject
*swig_obj
[1] ;
7316 if (!args
) SWIG_fail
;
7318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7319 if (!SWIG_IsOK(res1
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7322 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_Py_Void();
7337 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
= 0;
7339 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7347 char * kwnames
[] = {
7348 (char *) "self",(char *) "icon", NULL
7351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7353 if (!SWIG_IsOK(res1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7356 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7358 if (!SWIG_IsOK(res2
)) {
7359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7364 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_Py_Void();
7378 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= 0;
7380 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7381 wxString
*arg2
= 0 ;
7385 bool temp2
= false ;
7388 PyObject
* obj0
= 0 ;
7389 PyObject
* obj1
= 0 ;
7390 PyObject
* obj2
= 0 ;
7391 char * kwnames
[] = {
7392 (char *) "self",(char *) "file",(char *) "type", NULL
7395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7397 if (!SWIG_IsOK(res1
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7400 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7402 arg2
= wxString_in_helper(obj1
);
7403 if (arg2
== NULL
) SWIG_fail
;
7406 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7407 if (!SWIG_IsOK(ecode3
)) {
7408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7410 arg3
= static_cast< long >(val3
);
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_Py_Void();
7432 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
= 0;
7434 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7436 wxIcon
*result
= 0 ;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7442 char * kwnames
[] = {
7443 (char *) "self",(char *) "size", NULL
7446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7448 if (!SWIG_IsOK(res1
)) {
7449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7451 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7454 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7460 result
= (wxIcon
*) &_result_ref
;
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7466 wxIcon
* resultptr
= new wxIcon(*result
);
7467 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7475 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7478 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7479 return SWIG_Py_Void();
7482 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7483 return SWIG_Python_InitShadowInstance(args
);
7486 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
= 0;
7488 wxString
*arg1
= 0 ;
7490 int arg3
= (int) 0 ;
7491 int arg4
= (int) 0 ;
7492 wxCursor
*result
= 0 ;
7493 bool temp1
= false ;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7502 PyObject
* obj2
= 0 ;
7503 PyObject
* obj3
= 0 ;
7504 char * kwnames
[] = {
7505 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7510 arg1
= wxString_in_helper(obj0
);
7511 if (arg1
== NULL
) SWIG_fail
;
7514 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7515 if (!SWIG_IsOK(ecode2
)) {
7516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7518 arg2
= static_cast< long >(val2
);
7520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7521 if (!SWIG_IsOK(ecode3
)) {
7522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7524 arg3
= static_cast< int >(val3
);
7527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7528 if (!SWIG_IsOK(ecode4
)) {
7529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7531 arg4
= static_cast< int >(val4
);
7534 if (!wxPyCheckForApp()) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7555 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7556 PyObject
*resultobj
= 0;
7557 wxCursor
*arg1
= (wxCursor
*) 0 ;
7560 PyObject
*swig_obj
[1] ;
7562 if (!args
) SWIG_fail
;
7564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7565 if (!SWIG_IsOK(res1
)) {
7566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7568 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_Py_Void();
7583 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= 0;
7586 wxCursor
*result
= 0 ;
7589 PyObject
* obj0
= 0 ;
7590 char * kwnames
[] = {
7594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7595 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7596 if (!SWIG_IsOK(ecode1
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7599 arg1
= static_cast< int >(val1
);
7601 if (!wxPyCheckForApp()) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (wxCursor
*)new wxCursor(arg1
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7614 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
= 0;
7617 wxCursor
*result
= 0 ;
7620 PyObject
* obj0
= 0 ;
7621 char * kwnames
[] = {
7622 (char *) "image", NULL
7625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7626 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7627 if (!SWIG_IsOK(res1
)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7633 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7635 if (!wxPyCheckForApp()) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7648 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7649 PyObject
*resultobj
= 0;
7650 wxCursor
*arg1
= (wxCursor
*) 0 ;
7654 PyObject
*swig_obj
[1] ;
7656 if (!args
) SWIG_fail
;
7658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7659 if (!SWIG_IsOK(res1
)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7662 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (bool)(arg1
)->Ok();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7678 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7681 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7682 return SWIG_Py_Void();
7685 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7686 return SWIG_Python_InitShadowInstance(args
);
7689 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
= 0;
7691 int arg1
= (int) 0 ;
7692 int arg2
= (int) 0 ;
7693 int arg3
= (int) 0 ;
7694 int arg4
= (int) 0 ;
7695 wxRegion
*result
= 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7707 PyObject
* obj3
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7715 if (!SWIG_IsOK(ecode1
)) {
7716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7718 arg1
= static_cast< int >(val1
);
7721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7722 if (!SWIG_IsOK(ecode2
)) {
7723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7725 arg2
= static_cast< int >(val2
);
7728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7729 if (!SWIG_IsOK(ecode3
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7732 arg3
= static_cast< int >(val3
);
7735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7736 if (!SWIG_IsOK(ecode4
)) {
7737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7739 arg4
= static_cast< int >(val4
);
7742 if (!wxPyCheckForApp()) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7755 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
= 0;
7757 wxBitmap
*arg1
= 0 ;
7758 wxRegion
*result
= 0 ;
7761 PyObject
* obj0
= 0 ;
7762 char * kwnames
[] = {
7763 (char *) "bmp", NULL
7766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7767 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7768 if (!SWIG_IsOK(res1
)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7774 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7776 if (!wxPyCheckForApp()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7789 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
= 0;
7791 wxBitmap
*arg1
= 0 ;
7792 wxColour
*arg2
= 0 ;
7793 int arg3
= (int) 0 ;
7794 wxRegion
*result
= 0 ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7802 PyObject
* obj2
= 0 ;
7803 char * kwnames
[] = {
7804 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7808 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7809 if (!SWIG_IsOK(res1
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7815 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7822 if (!SWIG_IsOK(ecode3
)) {
7823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7825 arg3
= static_cast< int >(val3
);
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7841 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
= 0;
7844 wxPoint
*arg2
= (wxPoint
*) 0 ;
7845 int arg3
= (int) wxWINDING_RULE
;
7846 wxRegion
*result
= 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7851 char * kwnames
[] = {
7852 (char *) "points",(char *) "fillStyle", NULL
7855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7857 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7858 if (arg2
== NULL
) SWIG_fail
;
7861 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7862 if (!SWIG_IsOK(ecode3
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7865 arg3
= static_cast< int >(val3
);
7868 if (!wxPyCheckForApp()) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7876 if (arg2
) delete [] arg2
;
7881 if (arg2
) delete [] arg2
;
7887 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7888 PyObject
*resultobj
= 0;
7889 wxRegion
*arg1
= (wxRegion
*) 0 ;
7892 PyObject
*swig_obj
[1] ;
7894 if (!args
) SWIG_fail
;
7896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7897 if (!SWIG_IsOK(res1
)) {
7898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7900 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_Py_Void();
7915 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7916 PyObject
*resultobj
= 0;
7917 wxRegion
*arg1
= (wxRegion
*) 0 ;
7920 PyObject
*swig_obj
[1] ;
7922 if (!args
) SWIG_fail
;
7924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7925 if (!SWIG_IsOK(res1
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7928 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= SWIG_Py_Void();
7942 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
= 0;
7944 wxRegion
*arg1
= (wxRegion
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7957 char * kwnames
[] = {
7958 (char *) "self",(char *) "x",(char *) "y", NULL
7961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7963 if (!SWIG_IsOK(res1
)) {
7964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7966 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7968 if (!SWIG_IsOK(ecode2
)) {
7969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7971 arg2
= static_cast< int >(val2
);
7972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7973 if (!SWIG_IsOK(ecode3
)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7976 arg3
= static_cast< int >(val3
);
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7992 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
= 0;
7994 wxRegion
*arg1
= (wxRegion
*) 0 ;
7997 wxRegionContain result
;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8007 char * kwnames
[] = {
8008 (char *) "self",(char *) "x",(char *) "y", NULL
8011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8016 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8018 if (!SWIG_IsOK(ecode2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8021 arg2
= static_cast< int >(val2
);
8022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8023 if (!SWIG_IsOK(ecode3
)) {
8024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8026 arg3
= static_cast< int >(val3
);
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_From_int(static_cast< int >(result
));
8040 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
= 0;
8042 wxRegion
*arg1
= (wxRegion
*) 0 ;
8044 wxRegionContain result
;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8050 char * kwnames
[] = {
8051 (char *) "self",(char *) "pt", NULL
8054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8056 if (!SWIG_IsOK(res1
)) {
8057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8059 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_From_int(static_cast< int >(result
));
8077 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
= 0;
8079 wxRegion
*arg1
= (wxRegion
*) 0 ;
8081 wxRegionContain result
;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8087 char * kwnames
[] = {
8088 (char *) "self",(char *) "rect", NULL
8091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8093 if (!SWIG_IsOK(res1
)) {
8094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8096 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8099 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_From_int(static_cast< int >(result
));
8114 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
= 0;
8116 wxRegion
*arg1
= (wxRegion
*) 0 ;
8121 wxRegionContain result
;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8134 PyObject
* obj2
= 0 ;
8135 PyObject
* obj3
= 0 ;
8136 PyObject
* obj4
= 0 ;
8137 char * kwnames
[] = {
8138 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8143 if (!SWIG_IsOK(res1
)) {
8144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8146 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8148 if (!SWIG_IsOK(ecode2
)) {
8149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8151 arg2
= static_cast< int >(val2
);
8152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8153 if (!SWIG_IsOK(ecode3
)) {
8154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8156 arg3
= static_cast< int >(val3
);
8157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8158 if (!SWIG_IsOK(ecode4
)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8161 arg4
= static_cast< int >(val4
);
8162 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8163 if (!SWIG_IsOK(ecode5
)) {
8164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8166 arg5
= static_cast< int >(val5
);
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= SWIG_From_int(static_cast< int >(result
));
8180 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8181 PyObject
*resultobj
= 0;
8182 wxRegion
*arg1
= (wxRegion
*) 0 ;
8186 PyObject
*swig_obj
[1] ;
8188 if (!args
) SWIG_fail
;
8190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8191 if (!SWIG_IsOK(res1
)) {
8192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8194 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (arg1
)->GetBox();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8208 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
= 0;
8210 wxRegion
*arg1
= (wxRegion
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 PyObject
* obj2
= 0 ;
8229 PyObject
* obj3
= 0 ;
8230 PyObject
* obj4
= 0 ;
8231 char * kwnames
[] = {
8232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8237 if (!SWIG_IsOK(res1
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8240 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8242 if (!SWIG_IsOK(ecode2
)) {
8243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8245 arg2
= static_cast< int >(val2
);
8246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8247 if (!SWIG_IsOK(ecode3
)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8250 arg3
= static_cast< int >(val3
);
8251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8252 if (!SWIG_IsOK(ecode4
)) {
8253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8255 arg4
= static_cast< int >(val4
);
8256 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8257 if (!SWIG_IsOK(ecode5
)) {
8258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8260 arg5
= static_cast< int >(val5
);
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8276 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
= 0;
8278 wxRegion
*arg1
= (wxRegion
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8286 char * kwnames
[] = {
8287 (char *) "self",(char *) "rect", NULL
8290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8292 if (!SWIG_IsOK(res1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8295 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8298 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8315 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
= 0;
8317 wxRegion
*arg1
= (wxRegion
*) 0 ;
8318 wxRegion
*arg2
= 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8326 char * kwnames
[] = {
8327 (char *) "self",(char *) "region", NULL
8330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8332 if (!SWIG_IsOK(res1
)) {
8333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8335 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8337 if (!SWIG_IsOK(res2
)) {
8338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8343 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8359 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8360 PyObject
*resultobj
= 0;
8361 wxRegion
*arg1
= (wxRegion
*) 0 ;
8365 PyObject
*swig_obj
[1] ;
8367 if (!args
) SWIG_fail
;
8369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8370 if (!SWIG_IsOK(res1
)) {
8371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8373 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (bool)(arg1
)->IsEmpty();
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8389 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
= 0;
8391 wxRegion
*arg1
= (wxRegion
*) 0 ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8409 PyObject
* obj2
= 0 ;
8410 PyObject
* obj3
= 0 ;
8411 PyObject
* obj4
= 0 ;
8412 char * kwnames
[] = {
8413 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8418 if (!SWIG_IsOK(res1
)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8421 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8423 if (!SWIG_IsOK(ecode2
)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8426 arg2
= static_cast< int >(val2
);
8427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8428 if (!SWIG_IsOK(ecode3
)) {
8429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8431 arg3
= static_cast< int >(val3
);
8432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8433 if (!SWIG_IsOK(ecode4
)) {
8434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8436 arg4
= static_cast< int >(val4
);
8437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8438 if (!SWIG_IsOK(ecode5
)) {
8439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8441 arg5
= static_cast< int >(val5
);
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8457 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
= 0;
8459 wxRegion
*arg1
= (wxRegion
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 char * kwnames
[] = {
8468 (char *) "self",(char *) "rect", NULL
8471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8476 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8479 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8496 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
= 0;
8498 wxRegion
*arg1
= (wxRegion
*) 0 ;
8499 wxRegion
*arg2
= 0 ;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8507 char * kwnames
[] = {
8508 (char *) "self",(char *) "region", NULL
8511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8516 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8518 if (!SWIG_IsOK(res2
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8524 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8540 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
= 0;
8542 wxRegion
*arg1
= (wxRegion
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8561 PyObject
* obj3
= 0 ;
8562 PyObject
* obj4
= 0 ;
8563 char * kwnames
[] = {
8564 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8569 if (!SWIG_IsOK(res1
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8572 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8574 if (!SWIG_IsOK(ecode2
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8577 arg2
= static_cast< int >(val2
);
8578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8579 if (!SWIG_IsOK(ecode3
)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8582 arg3
= static_cast< int >(val3
);
8583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8584 if (!SWIG_IsOK(ecode4
)) {
8585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8587 arg4
= static_cast< int >(val4
);
8588 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8589 if (!SWIG_IsOK(ecode5
)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8592 arg5
= static_cast< int >(val5
);
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8608 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
= 0;
8610 wxRegion
*arg1
= (wxRegion
*) 0 ;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8618 char * kwnames
[] = {
8619 (char *) "self",(char *) "rect", NULL
8622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8624 if (!SWIG_IsOK(res1
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8627 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8630 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8647 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
= 0;
8649 wxRegion
*arg1
= (wxRegion
*) 0 ;
8650 wxRegion
*arg2
= 0 ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8658 char * kwnames
[] = {
8659 (char *) "self",(char *) "region", NULL
8662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8667 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8669 if (!SWIG_IsOK(res2
)) {
8670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8675 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8691 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
= 0;
8693 wxRegion
*arg1
= (wxRegion
*) 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8711 PyObject
* obj2
= 0 ;
8712 PyObject
* obj3
= 0 ;
8713 PyObject
* obj4
= 0 ;
8714 char * kwnames
[] = {
8715 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8720 if (!SWIG_IsOK(res1
)) {
8721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8723 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8725 if (!SWIG_IsOK(ecode2
)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8728 arg2
= static_cast< int >(val2
);
8729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8730 if (!SWIG_IsOK(ecode3
)) {
8731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8733 arg3
= static_cast< int >(val3
);
8734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8735 if (!SWIG_IsOK(ecode4
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8738 arg4
= static_cast< int >(val4
);
8739 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8740 if (!SWIG_IsOK(ecode5
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8743 arg5
= static_cast< int >(val5
);
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8759 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= 0;
8761 wxRegion
*arg1
= (wxRegion
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "self",(char *) "rect", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8775 if (!SWIG_IsOK(res1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8778 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8781 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8798 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= 0;
8800 wxRegion
*arg1
= (wxRegion
*) 0 ;
8801 wxRegion
*arg2
= 0 ;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 char * kwnames
[] = {
8810 (char *) "self",(char *) "region", NULL
8813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8815 if (!SWIG_IsOK(res1
)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8818 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8820 if (!SWIG_IsOK(res2
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8826 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8842 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8843 PyObject
*resultobj
= 0;
8844 wxRegion
*arg1
= (wxRegion
*) 0 ;
8845 SwigValueWrapper
<wxBitmap
> result
;
8848 PyObject
*swig_obj
[1] ;
8850 if (!args
) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8856 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 result
= (arg1
)->ConvertToBitmap();
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8870 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
= 0;
8872 wxRegion
*arg1
= (wxRegion
*) 0 ;
8873 wxBitmap
*arg2
= 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "self",(char *) "bmp", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8890 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8892 if (!SWIG_IsOK(res2
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8898 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8914 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
= 0;
8916 wxRegion
*arg1
= (wxRegion
*) 0 ;
8917 wxBitmap
*arg2
= 0 ;
8918 wxColour
*arg3
= 0 ;
8919 int arg4
= (int) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 PyObject
* obj2
= 0 ;
8931 PyObject
* obj3
= 0 ;
8932 char * kwnames
[] = {
8933 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8941 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8943 if (!SWIG_IsOK(res2
)) {
8944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8949 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8952 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8956 if (!SWIG_IsOK(ecode4
)) {
8957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8959 arg4
= static_cast< int >(val4
);
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8976 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8979 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8980 return SWIG_Py_Void();
8983 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 return SWIG_Python_InitShadowInstance(args
);
8987 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
= 0;
8989 wxRegion
*arg1
= 0 ;
8990 wxRegionIterator
*result
= 0 ;
8993 PyObject
* obj0
= 0 ;
8994 char * kwnames
[] = {
8995 (char *) "region", NULL
8998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
8999 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9000 if (!SWIG_IsOK(res1
)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9006 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9008 if (!wxPyCheckForApp()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9021 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9022 PyObject
*resultobj
= 0;
9023 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9026 PyObject
*swig_obj
[1] ;
9028 if (!args
) SWIG_fail
;
9030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9031 if (!SWIG_IsOK(res1
)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9034 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_Py_Void();
9049 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9050 PyObject
*resultobj
= 0;
9051 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9055 PyObject
*swig_obj
[1] ;
9057 if (!args
) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9063 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (int)(arg1
)->GetX();
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_From_int(static_cast< int >(result
));
9077 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 PyObject
*resultobj
= 0;
9079 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9083 PyObject
*swig_obj
[1] ;
9085 if (!args
) SWIG_fail
;
9087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9088 if (!SWIG_IsOK(res1
)) {
9089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9091 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (int)(arg1
)->GetY();
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_From_int(static_cast< int >(result
));
9105 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9106 PyObject
*resultobj
= 0;
9107 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9111 PyObject
*swig_obj
[1] ;
9113 if (!args
) SWIG_fail
;
9115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9116 if (!SWIG_IsOK(res1
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9119 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (int)(arg1
)->GetW();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_From_int(static_cast< int >(result
));
9133 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9134 PyObject
*resultobj
= 0;
9135 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9139 PyObject
*swig_obj
[1] ;
9141 if (!args
) SWIG_fail
;
9143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9144 if (!SWIG_IsOK(res1
)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9147 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (int)(arg1
)->GetWidth();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_From_int(static_cast< int >(result
));
9161 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9162 PyObject
*resultobj
= 0;
9163 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9167 PyObject
*swig_obj
[1] ;
9169 if (!args
) SWIG_fail
;
9171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9172 if (!SWIG_IsOK(res1
)) {
9173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9175 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 result
= (int)(arg1
)->GetH();
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_From_int(static_cast< int >(result
));
9189 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9190 PyObject
*resultobj
= 0;
9191 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9195 PyObject
*swig_obj
[1] ;
9197 if (!args
) SWIG_fail
;
9199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9200 if (!SWIG_IsOK(res1
)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9203 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (int)(arg1
)->GetHeight();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_From_int(static_cast< int >(result
));
9217 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9218 PyObject
*resultobj
= 0;
9219 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9223 PyObject
*swig_obj
[1] ;
9225 if (!args
) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9231 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (arg1
)->GetRect();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9245 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9246 PyObject
*resultobj
= 0;
9247 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9251 PyObject
*swig_obj
[1] ;
9253 if (!args
) SWIG_fail
;
9255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9256 if (!SWIG_IsOK(res1
)) {
9257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9259 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= (bool)(arg1
)->HaveRects();
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9275 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9276 PyObject
*resultobj
= 0;
9277 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9280 PyObject
*swig_obj
[1] ;
9282 if (!args
) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9288 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_Py_Void();
9302 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9303 PyObject
*resultobj
= 0;
9304 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9307 PyObject
*swig_obj
[1] ;
9309 if (!args
) SWIG_fail
;
9311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9312 if (!SWIG_IsOK(res1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9315 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 wxRegionIterator_Next(arg1
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_Py_Void();
9329 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9330 PyObject
*resultobj
= 0;
9331 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9335 PyObject
*swig_obj
[1] ;
9337 if (!args
) SWIG_fail
;
9339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9340 if (!SWIG_IsOK(res1
)) {
9341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9343 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9362 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9363 return SWIG_Py_Void();
9366 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 return SWIG_Python_InitShadowInstance(args
);
9370 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9371 PyObject
*resultobj
= 0;
9372 wxNativeFontInfo
*result
= 0 ;
9374 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9388 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9389 PyObject
*resultobj
= 0;
9390 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9393 PyObject
*swig_obj
[1] ;
9395 if (!args
) SWIG_fail
;
9397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9398 if (!SWIG_IsOK(res1
)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9401 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_Py_Void();
9416 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9417 PyObject
*resultobj
= 0;
9418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9421 PyObject
*swig_obj
[1] ;
9423 if (!args
) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9429 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_Py_Void();
9443 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
= 0;
9445 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9452 PyObject
* obj1
= 0 ;
9453 char * kwnames
[] = {
9454 (char *) "self",(char *) "font", NULL
9457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9459 if (!SWIG_IsOK(res1
)) {
9460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9462 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9464 if (!SWIG_IsOK(res2
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9470 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9485 PyObject
*resultobj
= 0;
9486 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9490 PyObject
*swig_obj
[1] ;
9492 if (!args
) SWIG_fail
;
9494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9495 if (!SWIG_IsOK(res1
)) {
9496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9498 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= SWIG_From_int(static_cast< int >(result
));
9512 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9513 PyObject
*resultobj
= 0;
9514 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9518 PyObject
*swig_obj
[1] ;
9520 if (!args
) SWIG_fail
;
9522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9523 if (!SWIG_IsOK(res1
)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9526 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_From_int(static_cast< int >(result
));
9540 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9541 PyObject
*resultobj
= 0;
9542 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9543 wxFontWeight result
;
9546 PyObject
*swig_obj
[1] ;
9548 if (!args
) SWIG_fail
;
9550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9551 if (!SWIG_IsOK(res1
)) {
9552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9554 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_From_int(static_cast< int >(result
));
9568 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9569 PyObject
*resultobj
= 0;
9570 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9574 PyObject
*swig_obj
[1] ;
9576 if (!args
) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9582 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9598 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9599 PyObject
*resultobj
= 0;
9600 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9604 PyObject
*swig_obj
[1] ;
9606 if (!args
) SWIG_fail
;
9608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9609 if (!SWIG_IsOK(res1
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9612 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9632 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9633 PyObject
*resultobj
= 0;
9634 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9635 wxFontFamily result
;
9638 PyObject
*swig_obj
[1] ;
9640 if (!args
) SWIG_fail
;
9642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9643 if (!SWIG_IsOK(res1
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9646 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_From_int(static_cast< int >(result
));
9660 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9661 PyObject
*resultobj
= 0;
9662 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9663 wxFontEncoding result
;
9666 PyObject
*swig_obj
[1] ;
9668 if (!args
) SWIG_fail
;
9670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9671 if (!SWIG_IsOK(res1
)) {
9672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9674 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_From_int(static_cast< int >(result
));
9688 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
= 0;
9690 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 char * kwnames
[] = {
9699 (char *) "self",(char *) "pointsize", NULL
9702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9704 if (!SWIG_IsOK(res1
)) {
9705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9707 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9709 if (!SWIG_IsOK(ecode2
)) {
9710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9712 arg2
= static_cast< int >(val2
);
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 (arg1
)->SetPointSize(arg2
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_Py_Void();
9726 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
= 0;
9728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 char * kwnames
[] = {
9737 (char *) "self",(char *) "style", NULL
9740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9742 if (!SWIG_IsOK(res1
)) {
9743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9745 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9747 if (!SWIG_IsOK(ecode2
)) {
9748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9750 arg2
= static_cast< wxFontStyle
>(val2
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->SetStyle(arg2
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_Py_Void();
9764 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= 0;
9766 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 char * kwnames
[] = {
9775 (char *) "self",(char *) "weight", NULL
9778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9783 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9785 if (!SWIG_IsOK(ecode2
)) {
9786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9788 arg2
= static_cast< wxFontWeight
>(val2
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->SetWeight(arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_Py_Void();
9802 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
= 0;
9804 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9812 char * kwnames
[] = {
9813 (char *) "self",(char *) "underlined", NULL
9816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9818 if (!SWIG_IsOK(res1
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9821 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9822 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9823 if (!SWIG_IsOK(ecode2
)) {
9824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9826 arg2
= static_cast< bool >(val2
);
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 (arg1
)->SetUnderlined(arg2
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_Py_Void();
9840 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
= 0;
9842 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9847 PyObject
* obj1
= 0 ;
9848 char * kwnames
[] = {
9849 (char *) "self",(char *) "facename", NULL
9852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9854 if (!SWIG_IsOK(res1
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9857 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9859 wxString
* sptr
= wxString_in_helper(obj1
);
9860 if (sptr
== NULL
) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 (arg1
)->SetFaceName(arg2
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_Py_Void();
9877 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
= 0;
9879 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9887 char * kwnames
[] = {
9888 (char *) "self",(char *) "family", NULL
9891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9893 if (!SWIG_IsOK(res1
)) {
9894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9896 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9898 if (!SWIG_IsOK(ecode2
)) {
9899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9901 arg2
= static_cast< wxFontFamily
>(val2
);
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 (arg1
)->SetFamily(arg2
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_Py_Void();
9915 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
= 0;
9917 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9918 wxFontEncoding arg2
;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9925 char * kwnames
[] = {
9926 (char *) "self",(char *) "encoding", NULL
9929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9931 if (!SWIG_IsOK(res1
)) {
9932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9934 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9936 if (!SWIG_IsOK(ecode2
)) {
9937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9939 arg2
= static_cast< wxFontEncoding
>(val2
);
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 (arg1
)->SetEncoding(arg2
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_Py_Void();
9953 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9956 wxString
*arg2
= 0 ;
9960 bool temp2
= false ;
9961 PyObject
* obj0
= 0 ;
9962 PyObject
* obj1
= 0 ;
9963 char * kwnames
[] = {
9964 (char *) "self",(char *) "s", NULL
9967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9969 if (!SWIG_IsOK(res1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9972 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9974 arg2
= wxString_in_helper(obj1
);
9975 if (arg2
== NULL
) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10001 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10002 PyObject
*resultobj
= 0;
10003 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10007 PyObject
*swig_obj
[1] ;
10009 if (!args
) SWIG_fail
;
10010 swig_obj
[0] = args
;
10011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10015 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10035 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10036 PyObject
*resultobj
= 0;
10037 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10041 PyObject
*swig_obj
[1] ;
10043 if (!args
) SWIG_fail
;
10044 swig_obj
[0] = args
;
10045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10046 if (!SWIG_IsOK(res1
)) {
10047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10049 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= wxNativeFontInfo___str__(arg1
);
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10069 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
= 0;
10071 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10072 wxString
*arg2
= 0 ;
10076 bool temp2
= false ;
10077 PyObject
* obj0
= 0 ;
10078 PyObject
* obj1
= 0 ;
10079 char * kwnames
[] = {
10080 (char *) "self",(char *) "s", NULL
10083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10085 if (!SWIG_IsOK(res1
)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10088 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10090 arg2
= wxString_in_helper(obj1
);
10091 if (arg2
== NULL
) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10117 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10123 PyObject
*swig_obj
[1] ;
10125 if (!args
) SWIG_fail
;
10126 swig_obj
[0] = args
;
10127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10131 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10151 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10154 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10155 return SWIG_Py_Void();
10158 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10159 return SWIG_Python_InitShadowInstance(args
);
10162 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10163 PyObject
*resultobj
= 0;
10164 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10165 wxString
*arg2
= (wxString
*) 0 ;
10168 bool temp2
= false ;
10169 PyObject
*swig_obj
[2] ;
10171 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10173 if (!SWIG_IsOK(res1
)) {
10174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10176 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10178 arg2
= wxString_in_helper(swig_obj
[1]);
10179 if (arg2
== NULL
) SWIG_fail
;
10182 if (arg1
) (arg1
)->facename
= *arg2
;
10184 resultobj
= SWIG_Py_Void();
10199 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10200 PyObject
*resultobj
= 0;
10201 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10202 wxString
*result
= 0 ;
10205 PyObject
*swig_obj
[1] ;
10207 if (!args
) SWIG_fail
;
10208 swig_obj
[0] = args
;
10209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10210 if (!SWIG_IsOK(res1
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10213 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10214 result
= (wxString
*)& ((arg1
)->facename
);
10217 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10219 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10228 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10229 PyObject
*resultobj
= 0;
10230 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10231 wxFontEncoding arg2
;
10236 PyObject
*swig_obj
[2] ;
10238 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10240 if (!SWIG_IsOK(res1
)) {
10241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10243 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10244 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10245 if (!SWIG_IsOK(ecode2
)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10248 arg2
= static_cast< wxFontEncoding
>(val2
);
10249 if (arg1
) (arg1
)->encoding
= arg2
;
10251 resultobj
= SWIG_Py_Void();
10258 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10259 PyObject
*resultobj
= 0;
10260 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10261 wxFontEncoding result
;
10264 PyObject
*swig_obj
[1] ;
10266 if (!args
) SWIG_fail
;
10267 swig_obj
[0] = args
;
10268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10272 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10273 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10274 resultobj
= SWIG_From_int(static_cast< int >(result
));
10281 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10282 PyObject
*resultobj
= 0;
10283 wxNativeEncodingInfo
*result
= 0 ;
10285 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10299 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10300 PyObject
*resultobj
= 0;
10301 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10304 PyObject
*swig_obj
[1] ;
10306 if (!args
) SWIG_fail
;
10307 swig_obj
[0] = args
;
10308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10312 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= SWIG_Py_Void();
10327 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
= 0;
10329 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10330 wxString
*arg2
= 0 ;
10334 bool temp2
= false ;
10335 PyObject
* obj0
= 0 ;
10336 PyObject
* obj1
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "self",(char *) "s", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10346 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10348 arg2
= wxString_in_helper(obj1
);
10349 if (arg2
== NULL
) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10375 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10376 PyObject
*resultobj
= 0;
10377 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10381 PyObject
*swig_obj
[1] ;
10383 if (!args
) SWIG_fail
;
10384 swig_obj
[0] = args
;
10385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10386 if (!SWIG_IsOK(res1
)) {
10387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10389 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10409 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10412 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10413 return SWIG_Py_Void();
10416 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10417 return SWIG_Python_InitShadowInstance(args
);
10420 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
= 0;
10422 wxFontEncoding arg1
;
10423 wxNativeEncodingInfo
*result
= 0 ;
10426 PyObject
* obj0
= 0 ;
10427 char * kwnames
[] = {
10428 (char *) "encoding", NULL
10431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10433 if (!SWIG_IsOK(ecode1
)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10436 arg1
= static_cast< wxFontEncoding
>(val1
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10450 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
= 0;
10452 wxNativeEncodingInfo
*arg1
= 0 ;
10456 PyObject
* obj0
= 0 ;
10457 char * kwnames
[] = {
10458 (char *) "info", NULL
10461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10462 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10463 if (!SWIG_IsOK(res1
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10469 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10485 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxFontMapper
*result
= 0 ;
10489 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (wxFontMapper
*)new wxFontMapper();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10503 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10504 PyObject
*resultobj
= 0;
10505 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10508 PyObject
*swig_obj
[1] ;
10510 if (!args
) SWIG_fail
;
10511 swig_obj
[0] = args
;
10512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10513 if (!SWIG_IsOK(res1
)) {
10514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10516 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_Py_Void();
10531 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10532 PyObject
*resultobj
= 0;
10533 wxFontMapper
*result
= 0 ;
10535 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (wxFontMapper
*)wxFontMapper::Get();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10549 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
= 0;
10551 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10552 wxFontMapper
*result
= 0 ;
10555 PyObject
* obj0
= 0 ;
10556 char * kwnames
[] = {
10557 (char *) "mapper", NULL
10560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10562 if (!SWIG_IsOK(res1
)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10565 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10579 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= 0;
10581 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10582 wxString
*arg2
= 0 ;
10583 bool arg3
= (bool) true ;
10584 wxFontEncoding result
;
10587 bool temp2
= false ;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 PyObject
* obj2
= 0 ;
10593 char * kwnames
[] = {
10594 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10602 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10604 arg2
= wxString_in_helper(obj1
);
10605 if (arg2
== NULL
) SWIG_fail
;
10609 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10610 if (!SWIG_IsOK(ecode3
)) {
10611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10613 arg3
= static_cast< bool >(val3
);
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_From_int(static_cast< int >(result
));
10636 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10637 PyObject
*resultobj
= 0;
10640 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10654 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
= 0;
10657 wxFontEncoding result
;
10660 PyObject
* obj0
= 0 ;
10661 char * kwnames
[] = {
10665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10666 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10667 if (!SWIG_IsOK(ecode1
)) {
10668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10670 arg1
= static_cast< size_t >(val1
);
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_From_int(static_cast< int >(result
));
10684 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= 0;
10686 wxFontEncoding arg1
;
10690 PyObject
* obj0
= 0 ;
10691 char * kwnames
[] = {
10692 (char *) "encoding", NULL
10695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10696 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10697 if (!SWIG_IsOK(ecode1
)) {
10698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10700 arg1
= static_cast< wxFontEncoding
>(val1
);
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= wxFontMapper::GetEncodingName(arg1
);
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10720 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
= 0;
10722 wxFontEncoding arg1
;
10726 PyObject
* obj0
= 0 ;
10727 char * kwnames
[] = {
10728 (char *) "encoding", NULL
10731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10732 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10733 if (!SWIG_IsOK(ecode1
)) {
10734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10736 arg1
= static_cast< wxFontEncoding
>(val1
);
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= wxFontMapper::GetEncodingDescription(arg1
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10756 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= 0;
10758 wxString
*arg1
= 0 ;
10759 wxFontEncoding result
;
10760 bool temp1
= false ;
10761 PyObject
* obj0
= 0 ;
10762 char * kwnames
[] = {
10763 (char *) "name", NULL
10766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10768 arg1
= wxString_in_helper(obj0
);
10769 if (arg1
== NULL
) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_From_int(static_cast< int >(result
));
10793 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
= 0;
10795 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10796 wxString
*arg2
= 0 ;
10799 bool temp2
= false ;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 char * kwnames
[] = {
10803 (char *) "self",(char *) "prefix", NULL
10806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10808 if (!SWIG_IsOK(res1
)) {
10809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10811 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10813 arg2
= wxString_in_helper(obj1
);
10814 if (arg2
== NULL
) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= SWIG_Py_Void();
10838 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10839 PyObject
*resultobj
= 0;
10842 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= wxFontMapper::GetDefaultConfigPath();
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10862 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
= 0;
10864 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10865 wxFontEncoding arg2
;
10866 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10868 bool arg4
= (bool) true ;
10869 PyObject
*result
= 0 ;
10874 bool temp3
= false ;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 PyObject
* obj2
= 0 ;
10880 PyObject
* obj3
= 0 ;
10881 char * kwnames
[] = {
10882 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10887 if (!SWIG_IsOK(res1
)) {
10888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10890 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10892 if (!SWIG_IsOK(ecode2
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10895 arg2
= static_cast< wxFontEncoding
>(val2
);
10898 arg3
= wxString_in_helper(obj2
);
10899 if (arg3
== NULL
) SWIG_fail
;
10904 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10905 if (!SWIG_IsOK(ecode4
)) {
10906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10908 arg4
= static_cast< bool >(val4
);
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= result
;
10931 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
= 0;
10933 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10934 wxFontEncoding arg2
;
10935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10942 bool temp3
= false ;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 PyObject
* obj2
= 0 ;
10946 char * kwnames
[] = {
10947 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10952 if (!SWIG_IsOK(res1
)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10955 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10957 if (!SWIG_IsOK(ecode2
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10960 arg2
= static_cast< wxFontEncoding
>(val2
);
10963 arg3
= wxString_in_helper(obj2
);
10964 if (arg3
== NULL
) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10991 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
= 0;
10993 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10994 wxWindow
*arg2
= (wxWindow
*) 0 ;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 char * kwnames
[] = {
11002 (char *) "self",(char *) "parent", NULL
11005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11007 if (!SWIG_IsOK(res1
)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11010 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11012 if (!SWIG_IsOK(res2
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11015 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 (arg1
)->SetDialogParent(arg2
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= SWIG_Py_Void();
11029 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
= 0;
11031 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11032 wxString
*arg2
= 0 ;
11035 bool temp2
= false ;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char * kwnames
[] = {
11039 (char *) "self",(char *) "title", NULL
11042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11044 if (!SWIG_IsOK(res1
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11047 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11049 arg2
= wxString_in_helper(obj1
);
11050 if (arg2
== NULL
) SWIG_fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= SWIG_Py_Void();
11074 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11077 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11078 return SWIG_Py_Void();
11081 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11082 return SWIG_Python_InitShadowInstance(args
);
11085 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
= 0;
11091 bool arg5
= (bool) false ;
11092 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11093 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11094 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11095 wxFont
*result
= 0 ;
11106 bool temp6
= false ;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 PyObject
* obj2
= 0 ;
11112 PyObject
* obj3
= 0 ;
11113 PyObject
* obj4
= 0 ;
11114 PyObject
* obj5
= 0 ;
11115 PyObject
* obj6
= 0 ;
11116 char * kwnames
[] = {
11117 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11122 if (!SWIG_IsOK(ecode1
)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11125 arg1
= static_cast< int >(val1
);
11126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11127 if (!SWIG_IsOK(ecode2
)) {
11128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11130 arg2
= static_cast< int >(val2
);
11131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11132 if (!SWIG_IsOK(ecode3
)) {
11133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11135 arg3
= static_cast< int >(val3
);
11136 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11137 if (!SWIG_IsOK(ecode4
)) {
11138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11140 arg4
= static_cast< int >(val4
);
11142 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11143 if (!SWIG_IsOK(ecode5
)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11146 arg5
= static_cast< bool >(val5
);
11150 arg6
= wxString_in_helper(obj5
);
11151 if (arg6
== NULL
) SWIG_fail
;
11156 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11157 if (!SWIG_IsOK(ecode7
)) {
11158 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11160 arg7
= static_cast< wxFontEncoding
>(val7
);
11163 if (!wxPyCheckForApp()) SWIG_fail
;
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11184 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11185 PyObject
*resultobj
= 0;
11186 wxFont
*arg1
= (wxFont
*) 0 ;
11189 PyObject
*swig_obj
[1] ;
11191 if (!args
) SWIG_fail
;
11192 swig_obj
[0] = args
;
11193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11194 if (!SWIG_IsOK(res1
)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11197 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_Py_Void();
11212 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
= 0;
11214 wxNativeFontInfo
*arg1
= 0 ;
11215 wxFont
*result
= 0 ;
11218 PyObject
* obj0
= 0 ;
11219 char * kwnames
[] = {
11220 (char *) "info", NULL
11223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11224 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11231 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11233 if (!wxPyCheckForApp()) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11246 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
= 0;
11248 wxString
*arg1
= 0 ;
11249 wxFont
*result
= 0 ;
11250 bool temp1
= false ;
11251 PyObject
* obj0
= 0 ;
11252 char * kwnames
[] = {
11253 (char *) "info", NULL
11256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11258 arg1
= wxString_in_helper(obj0
);
11259 if (arg1
== NULL
) SWIG_fail
;
11263 if (!wxPyCheckForApp()) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11284 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
= 0;
11287 wxFontFamily arg2
;
11288 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11289 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11290 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11291 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11292 wxFont
*result
= 0 ;
11299 bool temp4
= false ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 PyObject
* obj2
= 0 ;
11305 PyObject
* obj3
= 0 ;
11306 PyObject
* obj4
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11313 if (!SWIG_IsOK(ecode1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11316 arg1
= static_cast< int >(val1
);
11317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11318 if (!SWIG_IsOK(ecode2
)) {
11319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11321 arg2
= static_cast< wxFontFamily
>(val2
);
11323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11324 if (!SWIG_IsOK(ecode3
)) {
11325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11327 arg3
= static_cast< int >(val3
);
11331 arg4
= wxString_in_helper(obj3
);
11332 if (arg4
== NULL
) SWIG_fail
;
11337 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11338 if (!SWIG_IsOK(ecode5
)) {
11339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11341 arg5
= static_cast< wxFontEncoding
>(val5
);
11344 if (!wxPyCheckForApp()) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11365 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= 0;
11371 bool arg5
= (bool) false ;
11372 wxString
const &arg6_defvalue
= wxEmptyString
;
11373 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11374 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11375 wxFont
*result
= 0 ;
11385 bool temp6
= false ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 PyObject
* obj2
= 0 ;
11391 PyObject
* obj3
= 0 ;
11392 PyObject
* obj4
= 0 ;
11393 PyObject
* obj5
= 0 ;
11394 PyObject
* obj6
= 0 ;
11395 char * kwnames
[] = {
11396 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11402 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11405 if (!SWIG_IsOK(ecode2
)) {
11406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11408 arg2
= static_cast< int >(val2
);
11409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11410 if (!SWIG_IsOK(ecode3
)) {
11411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11413 arg3
= static_cast< int >(val3
);
11414 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11415 if (!SWIG_IsOK(ecode4
)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11418 arg4
= static_cast< int >(val4
);
11420 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11421 if (!SWIG_IsOK(ecode5
)) {
11422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11424 arg5
= static_cast< bool >(val5
);
11428 arg6
= wxString_in_helper(obj5
);
11429 if (arg6
== NULL
) SWIG_fail
;
11434 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11435 if (!SWIG_IsOK(ecode7
)) {
11436 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11438 arg7
= static_cast< wxFontEncoding
>(val7
);
11441 if (!wxPyCheckForApp()) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11462 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
= 0;
11465 wxFontFamily arg2
;
11466 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11467 wxString
const &arg4_defvalue
= wxEmptyString
;
11468 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11469 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11470 wxFont
*result
= 0 ;
11476 bool temp4
= false ;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 PyObject
* obj2
= 0 ;
11482 PyObject
* obj3
= 0 ;
11483 PyObject
* obj4
= 0 ;
11484 char * kwnames
[] = {
11485 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11491 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11494 if (!SWIG_IsOK(ecode2
)) {
11495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11497 arg2
= static_cast< wxFontFamily
>(val2
);
11499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11500 if (!SWIG_IsOK(ecode3
)) {
11501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11503 arg3
= static_cast< int >(val3
);
11507 arg4
= wxString_in_helper(obj3
);
11508 if (arg4
== NULL
) SWIG_fail
;
11513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11514 if (!SWIG_IsOK(ecode5
)) {
11515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11517 arg5
= static_cast< wxFontEncoding
>(val5
);
11520 if (!wxPyCheckForApp()) SWIG_fail
;
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11541 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11542 PyObject
*resultobj
= 0;
11543 wxFont
*arg1
= (wxFont
*) 0 ;
11547 PyObject
*swig_obj
[1] ;
11549 if (!args
) SWIG_fail
;
11550 swig_obj
[0] = args
;
11551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11552 if (!SWIG_IsOK(res1
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11555 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (bool)((wxFont
const *)arg1
)->Ok();
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11571 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
= 0;
11573 wxFont
*arg1
= (wxFont
*) 0 ;
11574 wxFont
*arg2
= (wxFont
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char * kwnames
[] = {
11583 (char *) "self",(char *) "other", NULL
11586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11588 if (!SWIG_IsOK(res1
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11591 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11593 if (!SWIG_IsOK(res2
)) {
11594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11596 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11612 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
= 0;
11614 wxFont
*arg1
= (wxFont
*) 0 ;
11615 wxFont
*arg2
= (wxFont
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 char * kwnames
[] = {
11624 (char *) "self",(char *) "other", NULL
11627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11629 if (!SWIG_IsOK(res1
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11632 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11634 if (!SWIG_IsOK(res2
)) {
11635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11637 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11653 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11654 PyObject
*resultobj
= 0;
11655 wxFont
*arg1
= (wxFont
*) 0 ;
11659 PyObject
*swig_obj
[1] ;
11661 if (!args
) SWIG_fail
;
11662 swig_obj
[0] = args
;
11663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11664 if (!SWIG_IsOK(res1
)) {
11665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11667 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_From_int(static_cast< int >(result
));
11681 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxFont
*arg1
= (wxFont
*) 0 ;
11687 PyObject
*swig_obj
[1] ;
11689 if (!args
) SWIG_fail
;
11690 swig_obj
[0] = args
;
11691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11692 if (!SWIG_IsOK(res1
)) {
11693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11695 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11709 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 PyObject
*resultobj
= 0;
11711 wxFont
*arg1
= (wxFont
*) 0 ;
11715 PyObject
*swig_obj
[1] ;
11717 if (!args
) SWIG_fail
;
11718 swig_obj
[0] = args
;
11719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11720 if (!SWIG_IsOK(res1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11723 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11739 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11740 PyObject
*resultobj
= 0;
11741 wxFont
*arg1
= (wxFont
*) 0 ;
11745 PyObject
*swig_obj
[1] ;
11747 if (!args
) SWIG_fail
;
11748 swig_obj
[0] = args
;
11749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11750 if (!SWIG_IsOK(res1
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11753 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_From_int(static_cast< int >(result
));
11767 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11768 PyObject
*resultobj
= 0;
11769 wxFont
*arg1
= (wxFont
*) 0 ;
11773 PyObject
*swig_obj
[1] ;
11775 if (!args
) SWIG_fail
;
11776 swig_obj
[0] = args
;
11777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11781 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_From_int(static_cast< int >(result
));
11795 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11796 PyObject
*resultobj
= 0;
11797 wxFont
*arg1
= (wxFont
*) 0 ;
11801 PyObject
*swig_obj
[1] ;
11803 if (!args
) SWIG_fail
;
11804 swig_obj
[0] = args
;
11805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11809 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_From_int(static_cast< int >(result
));
11823 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 PyObject
*resultobj
= 0;
11825 wxFont
*arg1
= (wxFont
*) 0 ;
11829 PyObject
*swig_obj
[1] ;
11831 if (!args
) SWIG_fail
;
11832 swig_obj
[0] = args
;
11833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11837 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11853 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11854 PyObject
*resultobj
= 0;
11855 wxFont
*arg1
= (wxFont
*) 0 ;
11859 PyObject
*swig_obj
[1] ;
11861 if (!args
) SWIG_fail
;
11862 swig_obj
[0] = args
;
11863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11864 if (!SWIG_IsOK(res1
)) {
11865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11867 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= ((wxFont
const *)arg1
)->GetFaceName();
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11887 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11888 PyObject
*resultobj
= 0;
11889 wxFont
*arg1
= (wxFont
*) 0 ;
11890 wxFontEncoding result
;
11893 PyObject
*swig_obj
[1] ;
11895 if (!args
) SWIG_fail
;
11896 swig_obj
[0] = args
;
11897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11898 if (!SWIG_IsOK(res1
)) {
11899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11901 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_From_int(static_cast< int >(result
));
11915 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11916 PyObject
*resultobj
= 0;
11917 wxFont
*arg1
= (wxFont
*) 0 ;
11918 wxNativeFontInfo
*result
= 0 ;
11921 PyObject
*swig_obj
[1] ;
11923 if (!args
) SWIG_fail
;
11924 swig_obj
[0] = args
;
11925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11926 if (!SWIG_IsOK(res1
)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11929 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11943 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11944 PyObject
*resultobj
= 0;
11945 wxFont
*arg1
= (wxFont
*) 0 ;
11949 PyObject
*swig_obj
[1] ;
11951 if (!args
) SWIG_fail
;
11952 swig_obj
[0] = args
;
11953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11957 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11973 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11974 PyObject
*resultobj
= 0;
11975 wxFont
*arg1
= (wxFont
*) 0 ;
11979 PyObject
*swig_obj
[1] ;
11981 if (!args
) SWIG_fail
;
11982 swig_obj
[0] = args
;
11983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11987 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12007 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12008 PyObject
*resultobj
= 0;
12009 wxFont
*arg1
= (wxFont
*) 0 ;
12013 PyObject
*swig_obj
[1] ;
12015 if (!args
) SWIG_fail
;
12016 swig_obj
[0] = args
;
12017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12018 if (!SWIG_IsOK(res1
)) {
12019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12021 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12041 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= 0;
12043 wxFont
*arg1
= (wxFont
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char * kwnames
[] = {
12052 (char *) "self",(char *) "pointSize", NULL
12055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12060 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12062 if (!SWIG_IsOK(ecode2
)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12065 arg2
= static_cast< int >(val2
);
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->SetPointSize(arg2
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= SWIG_Py_Void();
12079 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
= 0;
12081 wxFont
*arg1
= (wxFont
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 PyObject
* obj1
= 0 ;
12088 char * kwnames
[] = {
12089 (char *) "self",(char *) "pixelSize", NULL
12092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12094 if (!SWIG_IsOK(res1
)) {
12095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12097 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12100 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_Py_Void();
12115 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= 0;
12117 wxFont
*arg1
= (wxFont
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "family", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12134 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12136 if (!SWIG_IsOK(ecode2
)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12139 arg2
= static_cast< int >(val2
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->SetFamily(arg2
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_Py_Void();
12153 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
= 0;
12155 wxFont
*arg1
= (wxFont
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char * kwnames
[] = {
12164 (char *) "self",(char *) "style", NULL
12167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12172 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12174 if (!SWIG_IsOK(ecode2
)) {
12175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12177 arg2
= static_cast< int >(val2
);
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 (arg1
)->SetStyle(arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= SWIG_Py_Void();
12191 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
= 0;
12193 wxFont
*arg1
= (wxFont
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj1
= 0 ;
12201 char * kwnames
[] = {
12202 (char *) "self",(char *) "weight", NULL
12205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12207 if (!SWIG_IsOK(res1
)) {
12208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12210 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12212 if (!SWIG_IsOK(ecode2
)) {
12213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12215 arg2
= static_cast< int >(val2
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 (arg1
)->SetWeight(arg2
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_Py_Void();
12229 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
= 0;
12231 wxFont
*arg1
= (wxFont
*) 0 ;
12232 wxString
*arg2
= 0 ;
12235 bool temp2
= false ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char * kwnames
[] = {
12239 (char *) "self",(char *) "faceName", NULL
12242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12247 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12249 arg2
= wxString_in_helper(obj1
);
12250 if (arg2
== NULL
) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_Py_Void();
12274 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
= 0;
12276 wxFont
*arg1
= (wxFont
*) 0 ;
12282 PyObject
* obj0
= 0 ;
12283 PyObject
* obj1
= 0 ;
12284 char * kwnames
[] = {
12285 (char *) "self",(char *) "underlined", NULL
12288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12290 if (!SWIG_IsOK(res1
)) {
12291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12293 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12294 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12295 if (!SWIG_IsOK(ecode2
)) {
12296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12298 arg2
= static_cast< bool >(val2
);
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 (arg1
)->SetUnderlined(arg2
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_Py_Void();
12312 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
= 0;
12314 wxFont
*arg1
= (wxFont
*) 0 ;
12315 wxFontEncoding arg2
;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 char * kwnames
[] = {
12323 (char *) "self",(char *) "encoding", NULL
12326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12328 if (!SWIG_IsOK(res1
)) {
12329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12331 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12333 if (!SWIG_IsOK(ecode2
)) {
12334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12336 arg2
= static_cast< wxFontEncoding
>(val2
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->SetEncoding(arg2
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_Py_Void();
12350 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
= 0;
12352 wxFont
*arg1
= (wxFont
*) 0 ;
12353 wxNativeFontInfo
*arg2
= 0 ;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 char * kwnames
[] = {
12361 (char *) "self",(char *) "info", NULL
12364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12366 if (!SWIG_IsOK(res1
)) {
12367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12369 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12371 if (!SWIG_IsOK(res2
)) {
12372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12377 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_Py_Void();
12391 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
= 0;
12393 wxFont
*arg1
= (wxFont
*) 0 ;
12394 wxString
*arg2
= 0 ;
12397 bool temp2
= false ;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 char * kwnames
[] = {
12401 (char *) "self",(char *) "info", NULL
12404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12406 if (!SWIG_IsOK(res1
)) {
12407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12409 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12411 arg2
= wxString_in_helper(obj1
);
12412 if (arg2
== NULL
) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= SWIG_Py_Void();
12436 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= 0;
12438 wxFont
*arg1
= (wxFont
*) 0 ;
12439 wxString
*arg2
= 0 ;
12442 bool temp2
= false ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char * kwnames
[] = {
12446 (char *) "self",(char *) "info", NULL
12449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12454 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12456 arg2
= wxString_in_helper(obj1
);
12457 if (arg2
== NULL
) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_Py_Void();
12481 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12482 PyObject
*resultobj
= 0;
12483 wxFont
*arg1
= (wxFont
*) 0 ;
12487 PyObject
*swig_obj
[1] ;
12489 if (!args
) SWIG_fail
;
12490 swig_obj
[0] = args
;
12491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12495 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12515 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12516 PyObject
*resultobj
= 0;
12517 wxFont
*arg1
= (wxFont
*) 0 ;
12521 PyObject
*swig_obj
[1] ;
12523 if (!args
) SWIG_fail
;
12524 swig_obj
[0] = args
;
12525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12526 if (!SWIG_IsOK(res1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12529 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= ((wxFont
const *)arg1
)->GetStyleString();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12549 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12550 PyObject
*resultobj
= 0;
12551 wxFont
*arg1
= (wxFont
*) 0 ;
12555 PyObject
*swig_obj
[1] ;
12557 if (!args
) SWIG_fail
;
12558 swig_obj
[0] = args
;
12559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12563 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= ((wxFont
const *)arg1
)->GetWeightString();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12583 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
= 0;
12585 wxFont
*arg1
= (wxFont
*) 0 ;
12586 bool arg2
= (bool) true ;
12591 PyObject
* obj0
= 0 ;
12592 PyObject
* obj1
= 0 ;
12593 char * kwnames
[] = {
12594 (char *) "self",(char *) "no", NULL
12597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12599 if (!SWIG_IsOK(res1
)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12602 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12605 if (!SWIG_IsOK(ecode2
)) {
12606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12608 arg2
= static_cast< bool >(val2
);
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 (arg1
)->SetNoAntiAliasing(arg2
);
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= SWIG_Py_Void();
12623 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12624 PyObject
*resultobj
= 0;
12625 wxFont
*arg1
= (wxFont
*) 0 ;
12629 PyObject
*swig_obj
[1] ;
12631 if (!args
) SWIG_fail
;
12632 swig_obj
[0] = args
;
12633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12634 if (!SWIG_IsOK(res1
)) {
12635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12637 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12653 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12654 PyObject
*resultobj
= 0;
12655 wxFontEncoding result
;
12657 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12659 if (!wxPyCheckForApp()) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= SWIG_From_int(static_cast< int >(result
));
12672 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
= 0;
12674 wxFontEncoding arg1
;
12677 PyObject
* obj0
= 0 ;
12678 char * kwnames
[] = {
12679 (char *) "encoding", NULL
12682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12683 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12684 if (!SWIG_IsOK(ecode1
)) {
12685 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12687 arg1
= static_cast< wxFontEncoding
>(val1
);
12689 if (!wxPyCheckForApp()) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 wxFont::SetDefaultEncoding(arg1
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_Py_Void();
12702 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12705 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12706 return SWIG_Py_Void();
12709 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12710 return SWIG_Python_InitShadowInstance(args
);
12713 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12714 PyObject
*resultobj
= 0;
12715 wxPyFontEnumerator
*result
= 0 ;
12717 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12719 if (!wxPyCheckForApp()) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12732 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12733 PyObject
*resultobj
= 0;
12734 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12737 PyObject
*swig_obj
[1] ;
12739 if (!args
) SWIG_fail
;
12740 swig_obj
[0] = args
;
12741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12742 if (!SWIG_IsOK(res1
)) {
12743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12745 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_Py_Void();
12760 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
= 0;
12762 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12763 PyObject
*arg2
= (PyObject
*) 0 ;
12764 PyObject
*arg3
= (PyObject
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 PyObject
* obj2
= 0 ;
12773 PyObject
* obj3
= 0 ;
12774 char * kwnames
[] = {
12775 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12783 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12786 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12787 if (!SWIG_IsOK(ecode4
)) {
12788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12790 arg4
= static_cast< bool >(val4
);
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_Py_Void();
12804 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
= 0;
12806 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12807 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12808 bool arg3
= (bool) false ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 PyObject
* obj2
= 0 ;
12819 char * kwnames
[] = {
12820 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12828 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12831 if (!SWIG_IsOK(ecode2
)) {
12832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12834 arg2
= static_cast< wxFontEncoding
>(val2
);
12837 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12838 if (!SWIG_IsOK(ecode3
)) {
12839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12841 arg3
= static_cast< bool >(val3
);
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12861 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12862 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12866 bool temp2
= false ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "facename", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12878 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12881 arg2
= wxString_in_helper(obj1
);
12882 if (arg2
== NULL
) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12910 PyObject
*resultobj
= 0;
12911 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12912 PyObject
*result
= 0 ;
12915 PyObject
*swig_obj
[1] ;
12917 if (!args
) SWIG_fail
;
12918 swig_obj
[0] = args
;
12919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12920 if (!SWIG_IsOK(res1
)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12923 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= result
;
12937 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12938 PyObject
*resultobj
= 0;
12939 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12940 PyObject
*result
= 0 ;
12943 PyObject
*swig_obj
[1] ;
12945 if (!args
) SWIG_fail
;
12946 swig_obj
[0] = args
;
12947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12948 if (!SWIG_IsOK(res1
)) {
12949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12951 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= result
;
12965 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12968 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
12969 return SWIG_Py_Void();
12972 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 return SWIG_Python_InitShadowInstance(args
);
12976 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12977 PyObject
*resultobj
= 0;
12978 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12984 PyObject
*swig_obj
[2] ;
12986 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
12987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
12988 if (!SWIG_IsOK(res1
)) {
12989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
12991 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
12992 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12993 if (!SWIG_IsOK(ecode2
)) {
12994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
12996 arg2
= static_cast< int >(val2
);
12997 if (arg1
) (arg1
)->Language
= arg2
;
12999 resultobj
= SWIG_Py_Void();
13006 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13007 PyObject
*resultobj
= 0;
13008 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13012 PyObject
*swig_obj
[1] ;
13014 if (!args
) SWIG_fail
;
13015 swig_obj
[0] = args
;
13016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13020 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13021 result
= (int) ((arg1
)->Language
);
13022 resultobj
= SWIG_From_int(static_cast< int >(result
));
13029 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13030 PyObject
*resultobj
= 0;
13031 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13032 wxString
*arg2
= (wxString
*) 0 ;
13035 bool temp2
= false ;
13036 PyObject
*swig_obj
[2] ;
13038 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13040 if (!SWIG_IsOK(res1
)) {
13041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13043 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13045 arg2
= wxString_in_helper(swig_obj
[1]);
13046 if (arg2
== NULL
) SWIG_fail
;
13049 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13051 resultobj
= SWIG_Py_Void();
13066 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13067 PyObject
*resultobj
= 0;
13068 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13069 wxString
*result
= 0 ;
13072 PyObject
*swig_obj
[1] ;
13074 if (!args
) SWIG_fail
;
13075 swig_obj
[0] = args
;
13076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13077 if (!SWIG_IsOK(res1
)) {
13078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13080 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13081 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13084 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13086 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13095 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13096 PyObject
*resultobj
= 0;
13097 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13098 wxString
*arg2
= (wxString
*) 0 ;
13101 bool temp2
= false ;
13102 PyObject
*swig_obj
[2] ;
13104 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13106 if (!SWIG_IsOK(res1
)) {
13107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13109 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13111 arg2
= wxString_in_helper(swig_obj
[1]);
13112 if (arg2
== NULL
) SWIG_fail
;
13115 if (arg1
) (arg1
)->Description
= *arg2
;
13117 resultobj
= SWIG_Py_Void();
13132 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13133 PyObject
*resultobj
= 0;
13134 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13135 wxString
*result
= 0 ;
13138 PyObject
*swig_obj
[1] ;
13140 if (!args
) SWIG_fail
;
13141 swig_obj
[0] = args
;
13142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13146 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13147 result
= (wxString
*)& ((arg1
)->Description
);
13150 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13152 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13161 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13164 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13165 return SWIG_Py_Void();
13168 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
= 0;
13170 int arg1
= (int) -1 ;
13171 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13172 wxLocale
*result
= 0 ;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char * kwnames
[] = {
13180 (char *) "language",(char *) "flags", NULL
13183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13186 if (!SWIG_IsOK(ecode1
)) {
13187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13189 arg1
= static_cast< int >(val1
);
13192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13193 if (!SWIG_IsOK(ecode2
)) {
13194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13196 arg2
= static_cast< int >(val2
);
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13211 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13212 PyObject
*resultobj
= 0;
13213 wxLocale
*arg1
= (wxLocale
*) 0 ;
13216 PyObject
*swig_obj
[1] ;
13218 if (!args
) SWIG_fail
;
13219 swig_obj
[0] = args
;
13220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13221 if (!SWIG_IsOK(res1
)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13224 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_Py_Void();
13239 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
= 0;
13241 wxLocale
*arg1
= (wxLocale
*) 0 ;
13242 wxString
*arg2
= 0 ;
13243 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13244 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13245 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13246 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13247 bool arg5
= (bool) true ;
13248 bool arg6
= (bool) false ;
13252 bool temp2
= false ;
13253 bool temp3
= false ;
13254 bool temp4
= false ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 PyObject
* obj2
= 0 ;
13262 PyObject
* obj3
= 0 ;
13263 PyObject
* obj4
= 0 ;
13264 PyObject
* obj5
= 0 ;
13265 char * kwnames
[] = {
13266 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13271 if (!SWIG_IsOK(res1
)) {
13272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13274 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13276 arg2
= wxString_in_helper(obj1
);
13277 if (arg2
== NULL
) SWIG_fail
;
13282 arg3
= wxString_in_helper(obj2
);
13283 if (arg3
== NULL
) SWIG_fail
;
13289 arg4
= wxString_in_helper(obj3
);
13290 if (arg4
== NULL
) SWIG_fail
;
13295 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13296 if (!SWIG_IsOK(ecode5
)) {
13297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13299 arg5
= static_cast< bool >(val5
);
13302 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13303 if (!SWIG_IsOK(ecode6
)) {
13304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13306 arg6
= static_cast< bool >(val6
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13347 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
= 0;
13349 wxLocale
*arg1
= (wxLocale
*) 0 ;
13350 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13351 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13359 PyObject
* obj0
= 0 ;
13360 PyObject
* obj1
= 0 ;
13361 PyObject
* obj2
= 0 ;
13362 char * kwnames
[] = {
13363 (char *) "self",(char *) "language",(char *) "flags", NULL
13366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13368 if (!SWIG_IsOK(res1
)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13371 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13374 if (!SWIG_IsOK(ecode2
)) {
13375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13377 arg2
= static_cast< int >(val2
);
13380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13381 if (!SWIG_IsOK(ecode3
)) {
13382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13384 arg3
= static_cast< int >(val3
);
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13401 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13402 PyObject
*resultobj
= 0;
13405 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (int)wxLocale::GetSystemLanguage();
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= SWIG_From_int(static_cast< int >(result
));
13419 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13420 PyObject
*resultobj
= 0;
13421 wxFontEncoding result
;
13423 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_From_int(static_cast< int >(result
));
13437 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13438 PyObject
*resultobj
= 0;
13441 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= wxLocale::GetSystemEncodingName();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13461 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13462 PyObject
*resultobj
= 0;
13463 wxLocale
*arg1
= (wxLocale
*) 0 ;
13467 PyObject
*swig_obj
[1] ;
13469 if (!args
) SWIG_fail
;
13470 swig_obj
[0] = args
;
13471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13472 if (!SWIG_IsOK(res1
)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13475 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13491 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13492 PyObject
*resultobj
= 0;
13493 wxLocale
*arg1
= (wxLocale
*) 0 ;
13497 PyObject
*swig_obj
[1] ;
13499 if (!args
) SWIG_fail
;
13500 swig_obj
[0] = args
;
13501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13502 if (!SWIG_IsOK(res1
)) {
13503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13505 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= ((wxLocale
const *)arg1
)->GetLocale();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13525 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13526 PyObject
*resultobj
= 0;
13527 wxLocale
*arg1
= (wxLocale
*) 0 ;
13531 PyObject
*swig_obj
[1] ;
13533 if (!args
) SWIG_fail
;
13534 swig_obj
[0] = args
;
13535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13536 if (!SWIG_IsOK(res1
)) {
13537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13539 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= SWIG_From_int(static_cast< int >(result
));
13553 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13554 PyObject
*resultobj
= 0;
13555 wxLocale
*arg1
= (wxLocale
*) 0 ;
13559 PyObject
*swig_obj
[1] ;
13561 if (!args
) SWIG_fail
;
13562 swig_obj
[0] = args
;
13563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13564 if (!SWIG_IsOK(res1
)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13567 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= ((wxLocale
const *)arg1
)->GetSysName();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13587 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13588 PyObject
*resultobj
= 0;
13589 wxLocale
*arg1
= (wxLocale
*) 0 ;
13593 PyObject
*swig_obj
[1] ;
13595 if (!args
) SWIG_fail
;
13596 swig_obj
[0] = args
;
13597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13598 if (!SWIG_IsOK(res1
)) {
13599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13601 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13621 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= 0;
13623 wxString
*arg1
= 0 ;
13624 bool temp1
= false ;
13625 PyObject
* obj0
= 0 ;
13626 char * kwnames
[] = {
13627 (char *) "prefix", NULL
13630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13632 arg1
= wxString_in_helper(obj0
);
13633 if (arg1
== NULL
) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_Py_Void();
13657 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
= 0;
13659 wxLocale
*arg1
= (wxLocale
*) 0 ;
13660 wxString
*arg2
= 0 ;
13664 bool temp2
= false ;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 char * kwnames
[] = {
13668 (char *) "self",(char *) "szDomain", NULL
13671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13673 if (!SWIG_IsOK(res1
)) {
13674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13676 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13678 arg2
= wxString_in_helper(obj1
);
13679 if (arg2
== NULL
) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13705 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
= 0;
13707 wxLocale
*arg1
= (wxLocale
*) 0 ;
13708 wxString
*arg2
= 0 ;
13712 bool temp2
= false ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char * kwnames
[] = {
13716 (char *) "self",(char *) "szDomain", NULL
13719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13721 if (!SWIG_IsOK(res1
)) {
13722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13724 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13726 arg2
= wxString_in_helper(obj1
);
13727 if (arg2
== NULL
) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13753 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
= 0;
13756 wxLanguageInfo
*result
= 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char * kwnames
[] = {
13761 (char *) "lang", NULL
13764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13765 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13766 if (!SWIG_IsOK(ecode1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13769 arg1
= static_cast< int >(val1
);
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13783 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
= 0;
13789 PyObject
* obj0
= 0 ;
13790 char * kwnames
[] = {
13791 (char *) "lang", NULL
13794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13795 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13796 if (!SWIG_IsOK(ecode1
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13799 arg1
= static_cast< int >(val1
);
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= wxLocale::GetLanguageName(arg1
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13819 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
= 0;
13821 wxString
*arg1
= 0 ;
13822 wxLanguageInfo
*result
= 0 ;
13823 bool temp1
= false ;
13824 PyObject
* obj0
= 0 ;
13825 char * kwnames
[] = {
13826 (char *) "locale", NULL
13829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13831 arg1
= wxString_in_helper(obj0
);
13832 if (arg1
== NULL
) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13856 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
= 0;
13858 wxLanguageInfo
*arg1
= 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char * kwnames
[] = {
13863 (char *) "info", NULL
13866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13867 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13874 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_Py_Void();
13888 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
= 0;
13890 wxLocale
*arg1
= (wxLocale
*) 0 ;
13891 wxString
*arg2
= 0 ;
13892 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13893 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13897 bool temp2
= false ;
13898 bool temp3
= false ;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 PyObject
* obj2
= 0 ;
13902 char * kwnames
[] = {
13903 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13908 if (!SWIG_IsOK(res1
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13911 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13913 arg2
= wxString_in_helper(obj1
);
13914 if (arg2
== NULL
) SWIG_fail
;
13919 arg3
= wxString_in_helper(obj2
);
13920 if (arg3
== NULL
) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13959 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13960 PyObject
*resultobj
= 0;
13961 wxLocale
*arg1
= (wxLocale
*) 0 ;
13962 wxString
*result
= 0 ;
13965 PyObject
*swig_obj
[1] ;
13967 if (!args
) SWIG_fail
;
13968 swig_obj
[0] = args
;
13969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13970 if (!SWIG_IsOK(res1
)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13973 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
13978 result
= (wxString
*) &_result_ref
;
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13987 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13996 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13999 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14000 return SWIG_Py_Void();
14003 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14004 return SWIG_Python_InitShadowInstance(args
);
14007 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14008 PyObject
*resultobj
= 0;
14009 wxLocale
*result
= 0 ;
14011 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (wxLocale
*)wxGetLocale();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14025 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14026 PyObject
*resultobj
= 0;
14027 wxString
*arg1
= 0 ;
14029 bool temp1
= false ;
14031 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14033 arg1
= wxString_in_helper(swig_obj
[0]);
14034 if (arg1
== NULL
) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= wxGetTranslation((wxString
const &)*arg1
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14064 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14065 PyObject
*resultobj
= 0;
14066 wxString
*arg1
= 0 ;
14067 wxString
*arg2
= 0 ;
14070 bool temp1
= false ;
14071 bool temp2
= false ;
14075 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14077 arg1
= wxString_in_helper(swig_obj
[0]);
14078 if (arg1
== NULL
) SWIG_fail
;
14082 arg2
= wxString_in_helper(swig_obj
[1]);
14083 if (arg2
== NULL
) SWIG_fail
;
14086 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14087 if (!SWIG_IsOK(ecode3
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14090 arg3
= static_cast< size_t >(val3
);
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14126 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14130 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14133 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14136 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14140 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14145 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14146 PyObject
*resultobj
= 0;
14147 wxEncodingConverter
*result
= 0 ;
14149 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14163 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14164 PyObject
*resultobj
= 0;
14165 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14168 PyObject
*swig_obj
[1] ;
14170 if (!args
) SWIG_fail
;
14171 swig_obj
[0] = args
;
14172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14176 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= SWIG_Py_Void();
14191 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
= 0;
14193 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14194 wxFontEncoding arg2
;
14195 wxFontEncoding arg3
;
14196 int arg4
= (int) wxCONVERT_STRICT
;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 PyObject
* obj2
= 0 ;
14209 PyObject
* obj3
= 0 ;
14210 char * kwnames
[] = {
14211 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14216 if (!SWIG_IsOK(res1
)) {
14217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14219 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14221 if (!SWIG_IsOK(ecode2
)) {
14222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14224 arg2
= static_cast< wxFontEncoding
>(val2
);
14225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14226 if (!SWIG_IsOK(ecode3
)) {
14227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14229 arg3
= static_cast< wxFontEncoding
>(val3
);
14231 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14232 if (!SWIG_IsOK(ecode4
)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14235 arg4
= static_cast< int >(val4
);
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14252 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
= 0;
14254 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14255 wxString
*arg2
= 0 ;
14259 bool temp2
= false ;
14260 PyObject
* obj0
= 0 ;
14261 PyObject
* obj1
= 0 ;
14262 char * kwnames
[] = {
14263 (char *) "self",(char *) "input", NULL
14266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14268 if (!SWIG_IsOK(res1
)) {
14269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14271 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14273 arg2
= wxString_in_helper(obj1
);
14274 if (arg2
== NULL
) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14304 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
= 0;
14306 wxFontEncoding arg1
;
14307 int arg2
= (int) wxPLATFORM_CURRENT
;
14308 wxFontEncodingArray result
;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char * kwnames
[] = {
14316 (char *) "enc",(char *) "platform", NULL
14319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14321 if (!SWIG_IsOK(ecode1
)) {
14322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14324 arg1
= static_cast< wxFontEncoding
>(val1
);
14326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14327 if (!SWIG_IsOK(ecode2
)) {
14328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14330 arg2
= static_cast< int >(val2
);
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= PyList_New(0);
14340 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14341 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14342 PyList_Append(resultobj
, number
);
14352 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
= 0;
14354 wxFontEncoding arg1
;
14355 wxFontEncodingArray result
;
14358 PyObject
* obj0
= 0 ;
14359 char * kwnames
[] = {
14360 (char *) "enc", NULL
14363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14365 if (!SWIG_IsOK(ecode1
)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14368 arg1
= static_cast< wxFontEncoding
>(val1
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= PyList_New(0);
14377 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14378 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14379 PyList_Append(resultobj
, number
);
14389 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
= 0;
14391 wxFontEncoding arg1
;
14392 wxFontEncoding arg2
;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 char * kwnames
[] = {
14401 (char *) "encIn",(char *) "encOut", NULL
14404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14406 if (!SWIG_IsOK(ecode1
)) {
14407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14409 arg1
= static_cast< wxFontEncoding
>(val1
);
14410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14411 if (!SWIG_IsOK(ecode2
)) {
14412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14414 arg2
= static_cast< wxFontEncoding
>(val2
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14430 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14433 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14434 return SWIG_Py_Void();
14437 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14438 return SWIG_Python_InitShadowInstance(args
);
14441 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14442 PyObject
*resultobj
= 0;
14443 wxDC
*arg1
= (wxDC
*) 0 ;
14446 PyObject
*swig_obj
[1] ;
14448 if (!args
) SWIG_fail
;
14449 swig_obj
[0] = args
;
14450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14451 if (!SWIG_IsOK(res1
)) {
14452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_Py_Void();
14469 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
= 0;
14471 wxDC
*arg1
= (wxDC
*) 0 ;
14474 wxColour
*arg4
= 0 ;
14475 int arg5
= (int) wxFLOOD_SURFACE
;
14486 PyObject
* obj0
= 0 ;
14487 PyObject
* obj1
= 0 ;
14488 PyObject
* obj2
= 0 ;
14489 PyObject
* obj3
= 0 ;
14490 PyObject
* obj4
= 0 ;
14491 char * kwnames
[] = {
14492 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14497 if (!SWIG_IsOK(res1
)) {
14498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14502 if (!SWIG_IsOK(ecode2
)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14505 arg2
= static_cast< int >(val2
);
14506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14507 if (!SWIG_IsOK(ecode3
)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14510 arg3
= static_cast< int >(val3
);
14513 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14517 if (!SWIG_IsOK(ecode5
)) {
14518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14520 arg5
= static_cast< int >(val5
);
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14537 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
= 0;
14539 wxDC
*arg1
= (wxDC
*) 0 ;
14540 wxPoint
*arg2
= 0 ;
14541 wxColour
*arg3
= 0 ;
14542 int arg4
= (int) wxFLOOD_SURFACE
;
14550 PyObject
* obj0
= 0 ;
14551 PyObject
* obj1
= 0 ;
14552 PyObject
* obj2
= 0 ;
14553 PyObject
* obj3
= 0 ;
14554 char * kwnames
[] = {
14555 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14570 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14574 if (!SWIG_IsOK(ecode4
)) {
14575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14577 arg4
= static_cast< int >(val4
);
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14594 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
= 0;
14596 wxDC
*arg1
= (wxDC
*) 0 ;
14598 wxColour
*arg3
= 0 ;
14599 wxColour
*arg4
= 0 ;
14600 wxPoint
*arg5
= 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 PyObject
* obj2
= 0 ;
14610 PyObject
* obj3
= 0 ;
14611 PyObject
* obj4
= 0 ;
14612 char * kwnames
[] = {
14613 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14624 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14628 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14632 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14636 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= SWIG_Py_Void();
14651 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14652 PyObject
*resultobj
= 0;
14653 wxDC
*arg1
= (wxDC
*) 0 ;
14655 wxColour
*arg3
= 0 ;
14656 wxColour
*arg4
= 0 ;
14657 wxDirection arg5
= (wxDirection
) wxEAST
;
14665 PyObject
* obj0
= 0 ;
14666 PyObject
* obj1
= 0 ;
14667 PyObject
* obj2
= 0 ;
14668 PyObject
* obj3
= 0 ;
14669 PyObject
* obj4
= 0 ;
14670 char * kwnames
[] = {
14671 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14682 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14686 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14690 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14694 if (!SWIG_IsOK(ecode5
)) {
14695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14697 arg5
= static_cast< wxDirection
>(val5
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_Py_Void();
14712 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
= 0;
14714 wxDC
*arg1
= (wxDC
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 PyObject
* obj2
= 0 ;
14727 char * kwnames
[] = {
14728 (char *) "self",(char *) "x",(char *) "y", NULL
14731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14733 if (!SWIG_IsOK(res1
)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14738 if (!SWIG_IsOK(ecode2
)) {
14739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14741 arg2
= static_cast< int >(val2
);
14742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14743 if (!SWIG_IsOK(ecode3
)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14746 arg3
= static_cast< int >(val3
);
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14760 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
= 0;
14762 wxDC
*arg1
= (wxDC
*) 0 ;
14763 wxPoint
*arg2
= 0 ;
14768 PyObject
* obj0
= 0 ;
14769 PyObject
* obj1
= 0 ;
14770 char * kwnames
[] = {
14771 (char *) "self",(char *) "pt", NULL
14774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14797 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
= 0;
14799 wxDC
*arg1
= (wxDC
*) 0 ;
14814 PyObject
* obj0
= 0 ;
14815 PyObject
* obj1
= 0 ;
14816 PyObject
* obj2
= 0 ;
14817 PyObject
* obj3
= 0 ;
14818 PyObject
* obj4
= 0 ;
14819 char * kwnames
[] = {
14820 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14825 if (!SWIG_IsOK(res1
)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14830 if (!SWIG_IsOK(ecode2
)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14833 arg2
= static_cast< int >(val2
);
14834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14835 if (!SWIG_IsOK(ecode3
)) {
14836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14838 arg3
= static_cast< int >(val3
);
14839 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14840 if (!SWIG_IsOK(ecode4
)) {
14841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14843 arg4
= static_cast< int >(val4
);
14844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14845 if (!SWIG_IsOK(ecode5
)) {
14846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14848 arg5
= static_cast< int >(val5
);
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_Py_Void();
14862 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
= 0;
14864 wxDC
*arg1
= (wxDC
*) 0 ;
14865 wxPoint
*arg2
= 0 ;
14866 wxPoint
*arg3
= 0 ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 PyObject
* obj2
= 0 ;
14874 char * kwnames
[] = {
14875 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14880 if (!SWIG_IsOK(res1
)) {
14881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_Py_Void();
14905 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
= 0;
14907 wxDC
*arg1
= (wxDC
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 PyObject
* obj2
= 0 ;
14919 char * kwnames
[] = {
14920 (char *) "self",(char *) "x",(char *) "y", NULL
14923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14930 if (!SWIG_IsOK(ecode2
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14933 arg2
= static_cast< int >(val2
);
14934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14935 if (!SWIG_IsOK(ecode3
)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14938 arg3
= static_cast< int >(val3
);
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 (arg1
)->CrossHair(arg2
,arg3
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_Py_Void();
14952 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
= 0;
14954 wxDC
*arg1
= (wxDC
*) 0 ;
14955 wxPoint
*arg2
= 0 ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char * kwnames
[] = {
14962 (char *) "self",(char *) "pt", NULL
14965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14967 if (!SWIG_IsOK(res1
)) {
14968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_Py_Void();
14988 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
= 0;
14990 wxDC
*arg1
= (wxDC
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 PyObject
* obj2
= 0 ;
15014 PyObject
* obj3
= 0 ;
15015 PyObject
* obj4
= 0 ;
15016 PyObject
* obj5
= 0 ;
15017 PyObject
* obj6
= 0 ;
15018 char * kwnames
[] = {
15019 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15024 if (!SWIG_IsOK(res1
)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15029 if (!SWIG_IsOK(ecode2
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15032 arg2
= static_cast< int >(val2
);
15033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15034 if (!SWIG_IsOK(ecode3
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15037 arg3
= static_cast< int >(val3
);
15038 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15039 if (!SWIG_IsOK(ecode4
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15042 arg4
= static_cast< int >(val4
);
15043 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15044 if (!SWIG_IsOK(ecode5
)) {
15045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15047 arg5
= static_cast< int >(val5
);
15048 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15049 if (!SWIG_IsOK(ecode6
)) {
15050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15052 arg6
= static_cast< int >(val6
);
15053 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15054 if (!SWIG_IsOK(ecode7
)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15057 arg7
= static_cast< int >(val7
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxDC
*arg1
= (wxDC
*) 0 ;
15074 wxPoint
*arg2
= 0 ;
15075 wxPoint
*arg3
= 0 ;
15076 wxPoint
*arg4
= 0 ;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 PyObject
* obj2
= 0 ;
15085 PyObject
* obj3
= 0 ;
15086 char * kwnames
[] = {
15087 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15092 if (!SWIG_IsOK(res1
)) {
15093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_Py_Void();
15121 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
= 0;
15123 wxDC
*arg1
= (wxDC
*) 0 ;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 PyObject
* obj2
= 0 ;
15141 PyObject
* obj3
= 0 ;
15142 PyObject
* obj4
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15154 if (!SWIG_IsOK(ecode2
)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15157 arg2
= static_cast< int >(val2
);
15158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15159 if (!SWIG_IsOK(ecode3
)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15162 arg3
= static_cast< int >(val3
);
15163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15164 if (!SWIG_IsOK(ecode4
)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15167 arg4
= static_cast< int >(val4
);
15168 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15169 if (!SWIG_IsOK(ecode5
)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15172 arg5
= static_cast< int >(val5
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_Py_Void();
15186 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
= 0;
15188 wxDC
*arg1
= (wxDC
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15195 char * kwnames
[] = {
15196 (char *) "self",(char *) "rect", NULL
15199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15201 if (!SWIG_IsOK(res1
)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_Py_Void();
15222 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
= 0;
15224 wxDC
*arg1
= (wxDC
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 PyObject
* obj1
= 0 ;
15247 PyObject
* obj2
= 0 ;
15248 PyObject
* obj3
= 0 ;
15249 PyObject
* obj4
= 0 ;
15250 PyObject
* obj5
= 0 ;
15251 PyObject
* obj6
= 0 ;
15252 char * kwnames
[] = {
15253 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15258 if (!SWIG_IsOK(res1
)) {
15259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15263 if (!SWIG_IsOK(ecode2
)) {
15264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15266 arg2
= static_cast< int >(val2
);
15267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15268 if (!SWIG_IsOK(ecode3
)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15271 arg3
= static_cast< int >(val3
);
15272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15273 if (!SWIG_IsOK(ecode4
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15276 arg4
= static_cast< int >(val4
);
15277 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15278 if (!SWIG_IsOK(ecode5
)) {
15279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15281 arg5
= static_cast< int >(val5
);
15282 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15283 if (!SWIG_IsOK(ecode6
)) {
15284 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15286 arg6
= static_cast< double >(val6
);
15287 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15288 if (!SWIG_IsOK(ecode7
)) {
15289 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15291 arg7
= static_cast< double >(val7
);
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= SWIG_Py_Void();
15305 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
= 0;
15307 wxDC
*arg1
= (wxDC
*) 0 ;
15308 wxPoint
*arg2
= 0 ;
15320 PyObject
* obj0
= 0 ;
15321 PyObject
* obj1
= 0 ;
15322 PyObject
* obj2
= 0 ;
15323 PyObject
* obj3
= 0 ;
15324 PyObject
* obj4
= 0 ;
15325 char * kwnames
[] = {
15326 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15341 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15343 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15344 if (!SWIG_IsOK(ecode4
)) {
15345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15347 arg4
= static_cast< double >(val4
);
15348 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15349 if (!SWIG_IsOK(ecode5
)) {
15350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15352 arg5
= static_cast< double >(val5
);
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15356 wxPyEndAllowThreads(__tstate
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= SWIG_Py_Void();
15366 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
= 0;
15368 wxDC
*arg1
= (wxDC
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 PyObject
* obj2
= 0 ;
15380 char * kwnames
[] = {
15381 (char *) "self",(char *) "x",(char *) "y", NULL
15384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15386 if (!SWIG_IsOK(res1
)) {
15387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15391 if (!SWIG_IsOK(ecode2
)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15394 arg2
= static_cast< int >(val2
);
15395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15396 if (!SWIG_IsOK(ecode3
)) {
15397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15399 arg3
= static_cast< int >(val3
);
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 (arg1
)->DrawPoint(arg2
,arg3
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_Py_Void();
15413 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
= 0;
15415 wxDC
*arg1
= (wxDC
*) 0 ;
15416 wxPoint
*arg2
= 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 char * kwnames
[] = {
15423 (char *) "self",(char *) "pt", NULL
15426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= SWIG_Py_Void();
15449 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
= 0;
15451 wxDC
*arg1
= (wxDC
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 PyObject
* obj2
= 0 ;
15469 PyObject
* obj3
= 0 ;
15470 PyObject
* obj4
= 0 ;
15471 char * kwnames
[] = {
15472 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15477 if (!SWIG_IsOK(res1
)) {
15478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15482 if (!SWIG_IsOK(ecode2
)) {
15483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15485 arg2
= static_cast< int >(val2
);
15486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15487 if (!SWIG_IsOK(ecode3
)) {
15488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15490 arg3
= static_cast< int >(val3
);
15491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15492 if (!SWIG_IsOK(ecode4
)) {
15493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15495 arg4
= static_cast< int >(val4
);
15496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15497 if (!SWIG_IsOK(ecode5
)) {
15498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15500 arg5
= static_cast< int >(val5
);
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= SWIG_Py_Void();
15514 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
= 0;
15516 wxDC
*arg1
= (wxDC
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char * kwnames
[] = {
15524 (char *) "self",(char *) "rect", NULL
15527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15529 if (!SWIG_IsOK(res1
)) {
15530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15535 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_Py_Void();
15550 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
= 0;
15552 wxDC
*arg1
= (wxDC
*) 0 ;
15553 wxPoint
*arg2
= 0 ;
15559 PyObject
* obj0
= 0 ;
15560 PyObject
* obj1
= 0 ;
15561 PyObject
* obj2
= 0 ;
15562 char * kwnames
[] = {
15563 (char *) "self",(char *) "pt",(char *) "sz", NULL
15566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15568 if (!SWIG_IsOK(res1
)) {
15569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15578 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= SWIG_Py_Void();
15593 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
= 0;
15595 wxDC
*arg1
= (wxDC
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 PyObject
* obj2
= 0 ;
15616 PyObject
* obj3
= 0 ;
15617 PyObject
* obj4
= 0 ;
15618 PyObject
* obj5
= 0 ;
15619 char * kwnames
[] = {
15620 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15625 if (!SWIG_IsOK(res1
)) {
15626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15630 if (!SWIG_IsOK(ecode2
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15633 arg2
= static_cast< int >(val2
);
15634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15635 if (!SWIG_IsOK(ecode3
)) {
15636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15638 arg3
= static_cast< int >(val3
);
15639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15640 if (!SWIG_IsOK(ecode4
)) {
15641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15643 arg4
= static_cast< int >(val4
);
15644 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15645 if (!SWIG_IsOK(ecode5
)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15648 arg5
= static_cast< int >(val5
);
15649 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15650 if (!SWIG_IsOK(ecode6
)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15653 arg6
= static_cast< double >(val6
);
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_Py_Void();
15667 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
= 0;
15669 wxDC
*arg1
= (wxDC
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 PyObject
* obj2
= 0 ;
15680 char * kwnames
[] = {
15681 (char *) "self",(char *) "r",(char *) "radius", NULL
15684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15686 if (!SWIG_IsOK(res1
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15694 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15695 if (!SWIG_IsOK(ecode3
)) {
15696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15698 arg3
= static_cast< double >(val3
);
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_Py_Void();
15712 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
= 0;
15714 wxDC
*arg1
= (wxDC
*) 0 ;
15715 wxPoint
*arg2
= 0 ;
15724 PyObject
* obj0
= 0 ;
15725 PyObject
* obj1
= 0 ;
15726 PyObject
* obj2
= 0 ;
15727 PyObject
* obj3
= 0 ;
15728 char * kwnames
[] = {
15729 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15734 if (!SWIG_IsOK(res1
)) {
15735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15744 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15746 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15747 if (!SWIG_IsOK(ecode4
)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15750 arg4
= static_cast< double >(val4
);
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= SWIG_Py_Void();
15764 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
= 0;
15766 wxDC
*arg1
= (wxDC
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 PyObject
* obj2
= 0 ;
15781 PyObject
* obj3
= 0 ;
15782 char * kwnames
[] = {
15783 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15788 if (!SWIG_IsOK(res1
)) {
15789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15793 if (!SWIG_IsOK(ecode2
)) {
15794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15796 arg2
= static_cast< int >(val2
);
15797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15798 if (!SWIG_IsOK(ecode3
)) {
15799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15801 arg3
= static_cast< int >(val3
);
15802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15803 if (!SWIG_IsOK(ecode4
)) {
15804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15806 arg4
= static_cast< int >(val4
);
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_Py_Void();
15820 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
= 0;
15822 wxDC
*arg1
= (wxDC
*) 0 ;
15823 wxPoint
*arg2
= 0 ;
15830 PyObject
* obj0
= 0 ;
15831 PyObject
* obj1
= 0 ;
15832 PyObject
* obj2
= 0 ;
15833 char * kwnames
[] = {
15834 (char *) "self",(char *) "pt",(char *) "radius", NULL
15837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15839 if (!SWIG_IsOK(res1
)) {
15840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15848 if (!SWIG_IsOK(ecode3
)) {
15849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15851 arg3
= static_cast< int >(val3
);
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_Py_Void();
15865 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
= 0;
15867 wxDC
*arg1
= (wxDC
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 PyObject
* obj2
= 0 ;
15885 PyObject
* obj3
= 0 ;
15886 PyObject
* obj4
= 0 ;
15887 char * kwnames
[] = {
15888 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15893 if (!SWIG_IsOK(res1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15898 if (!SWIG_IsOK(ecode2
)) {
15899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15901 arg2
= static_cast< int >(val2
);
15902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15903 if (!SWIG_IsOK(ecode3
)) {
15904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15906 arg3
= static_cast< int >(val3
);
15907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15908 if (!SWIG_IsOK(ecode4
)) {
15909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15911 arg4
= static_cast< int >(val4
);
15912 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15913 if (!SWIG_IsOK(ecode5
)) {
15914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15916 arg5
= static_cast< int >(val5
);
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_Py_Void();
15930 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
= 0;
15932 wxDC
*arg1
= (wxDC
*) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char * kwnames
[] = {
15940 (char *) "self",(char *) "rect", NULL
15943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15945 if (!SWIG_IsOK(res1
)) {
15946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15951 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= SWIG_Py_Void();
15966 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
= 0;
15968 wxDC
*arg1
= (wxDC
*) 0 ;
15969 wxPoint
*arg2
= 0 ;
15975 PyObject
* obj0
= 0 ;
15976 PyObject
* obj1
= 0 ;
15977 PyObject
* obj2
= 0 ;
15978 char * kwnames
[] = {
15979 (char *) "self",(char *) "pt",(char *) "sz", NULL
15982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15984 if (!SWIG_IsOK(res1
)) {
15985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15990 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15994 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= SWIG_Py_Void();
16009 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
= 0;
16011 wxDC
*arg1
= (wxDC
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 PyObject
* obj2
= 0 ;
16026 PyObject
* obj3
= 0 ;
16027 char * kwnames
[] = {
16028 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16033 if (!SWIG_IsOK(res1
)) {
16034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16038 if (!SWIG_IsOK(res2
)) {
16039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16044 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16046 if (!SWIG_IsOK(ecode3
)) {
16047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16049 arg3
= static_cast< int >(val3
);
16050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16051 if (!SWIG_IsOK(ecode4
)) {
16052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16054 arg4
= static_cast< int >(val4
);
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= SWIG_Py_Void();
16068 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16070 wxDC
*arg1
= (wxDC
*) 0 ;
16072 wxPoint
*arg3
= 0 ;
16078 PyObject
* obj0
= 0 ;
16079 PyObject
* obj1
= 0 ;
16080 PyObject
* obj2
= 0 ;
16081 char * kwnames
[] = {
16082 (char *) "self",(char *) "icon",(char *) "pt", NULL
16085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16087 if (!SWIG_IsOK(res1
)) {
16088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16092 if (!SWIG_IsOK(res2
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16098 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_Py_Void();
16116 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
= 0;
16118 wxDC
*arg1
= (wxDC
*) 0 ;
16119 wxBitmap
*arg2
= 0 ;
16122 bool arg5
= (bool) false ;
16133 PyObject
* obj0
= 0 ;
16134 PyObject
* obj1
= 0 ;
16135 PyObject
* obj2
= 0 ;
16136 PyObject
* obj3
= 0 ;
16137 PyObject
* obj4
= 0 ;
16138 char * kwnames
[] = {
16139 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16144 if (!SWIG_IsOK(res1
)) {
16145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16149 if (!SWIG_IsOK(res2
)) {
16150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16155 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16157 if (!SWIG_IsOK(ecode3
)) {
16158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16160 arg3
= static_cast< int >(val3
);
16161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16162 if (!SWIG_IsOK(ecode4
)) {
16163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16165 arg4
= static_cast< int >(val4
);
16167 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16168 if (!SWIG_IsOK(ecode5
)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16171 arg5
= static_cast< bool >(val5
);
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_Py_Void();
16186 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
= 0;
16188 wxDC
*arg1
= (wxDC
*) 0 ;
16189 wxBitmap
*arg2
= 0 ;
16190 wxPoint
*arg3
= 0 ;
16191 bool arg4
= (bool) false ;
16199 PyObject
* obj0
= 0 ;
16200 PyObject
* obj1
= 0 ;
16201 PyObject
* obj2
= 0 ;
16202 PyObject
* obj3
= 0 ;
16203 char * kwnames
[] = {
16204 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16209 if (!SWIG_IsOK(res1
)) {
16210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16214 if (!SWIG_IsOK(res2
)) {
16215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16220 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16226 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16227 if (!SWIG_IsOK(ecode4
)) {
16228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16230 arg4
= static_cast< bool >(val4
);
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= SWIG_Py_Void();
16245 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
= 0;
16247 wxDC
*arg1
= (wxDC
*) 0 ;
16248 wxString
*arg2
= 0 ;
16253 bool temp2
= false ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 PyObject
* obj2
= 0 ;
16261 PyObject
* obj3
= 0 ;
16262 char * kwnames
[] = {
16263 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16268 if (!SWIG_IsOK(res1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16273 arg2
= wxString_in_helper(obj1
);
16274 if (arg2
== NULL
) SWIG_fail
;
16277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16278 if (!SWIG_IsOK(ecode3
)) {
16279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16281 arg3
= static_cast< int >(val3
);
16282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16283 if (!SWIG_IsOK(ecode4
)) {
16284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16286 arg4
= static_cast< int >(val4
);
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_Py_Void();
16308 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
= 0;
16310 wxDC
*arg1
= (wxDC
*) 0 ;
16311 wxString
*arg2
= 0 ;
16312 wxPoint
*arg3
= 0 ;
16315 bool temp2
= false ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 PyObject
* obj2
= 0 ;
16320 char * kwnames
[] = {
16321 (char *) "self",(char *) "text",(char *) "pt", NULL
16324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16326 if (!SWIG_IsOK(res1
)) {
16327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16331 arg2
= wxString_in_helper(obj1
);
16332 if (arg2
== NULL
) SWIG_fail
;
16337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 resultobj
= SWIG_Py_Void();
16360 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
= 0;
16362 wxDC
*arg1
= (wxDC
*) 0 ;
16363 wxString
*arg2
= 0 ;
16369 bool temp2
= false ;
16376 PyObject
* obj0
= 0 ;
16377 PyObject
* obj1
= 0 ;
16378 PyObject
* obj2
= 0 ;
16379 PyObject
* obj3
= 0 ;
16380 PyObject
* obj4
= 0 ;
16381 char * kwnames
[] = {
16382 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16387 if (!SWIG_IsOK(res1
)) {
16388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16392 arg2
= wxString_in_helper(obj1
);
16393 if (arg2
== NULL
) SWIG_fail
;
16396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16397 if (!SWIG_IsOK(ecode3
)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16400 arg3
= static_cast< int >(val3
);
16401 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16402 if (!SWIG_IsOK(ecode4
)) {
16403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16405 arg4
= static_cast< int >(val4
);
16406 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16407 if (!SWIG_IsOK(ecode5
)) {
16408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16410 arg5
= static_cast< double >(val5
);
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= SWIG_Py_Void();
16432 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
= 0;
16434 wxDC
*arg1
= (wxDC
*) 0 ;
16435 wxString
*arg2
= 0 ;
16436 wxPoint
*arg3
= 0 ;
16440 bool temp2
= false ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 PyObject
* obj2
= 0 ;
16447 PyObject
* obj3
= 0 ;
16448 char * kwnames
[] = {
16449 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16454 if (!SWIG_IsOK(res1
)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16459 arg2
= wxString_in_helper(obj1
);
16460 if (arg2
== NULL
) SWIG_fail
;
16465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16467 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16468 if (!SWIG_IsOK(ecode4
)) {
16469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16471 arg4
= static_cast< double >(val4
);
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_Py_Void();
16493 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
= 0;
16495 wxDC
*arg1
= (wxDC
*) 0 ;
16500 wxDC
*arg6
= (wxDC
*) 0 ;
16503 int arg9
= (int) wxCOPY
;
16504 bool arg10
= (bool) false ;
16505 int arg11
= (int) -1 ;
16506 int arg12
= (int) -1 ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 PyObject
* obj2
= 0 ;
16535 PyObject
* obj3
= 0 ;
16536 PyObject
* obj4
= 0 ;
16537 PyObject
* obj5
= 0 ;
16538 PyObject
* obj6
= 0 ;
16539 PyObject
* obj7
= 0 ;
16540 PyObject
* obj8
= 0 ;
16541 PyObject
* obj9
= 0 ;
16542 PyObject
* obj10
= 0 ;
16543 PyObject
* obj11
= 0 ;
16544 char * kwnames
[] = {
16545 (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
16548 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
;
16549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16550 if (!SWIG_IsOK(res1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16555 if (!SWIG_IsOK(ecode2
)) {
16556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16558 arg2
= static_cast< int >(val2
);
16559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16560 if (!SWIG_IsOK(ecode3
)) {
16561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16563 arg3
= static_cast< int >(val3
);
16564 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16565 if (!SWIG_IsOK(ecode4
)) {
16566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16568 arg4
= static_cast< int >(val4
);
16569 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16570 if (!SWIG_IsOK(ecode5
)) {
16571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16573 arg5
= static_cast< int >(val5
);
16574 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16575 if (!SWIG_IsOK(res6
)) {
16576 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16578 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16579 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16580 if (!SWIG_IsOK(ecode7
)) {
16581 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16583 arg7
= static_cast< int >(val7
);
16584 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16585 if (!SWIG_IsOK(ecode8
)) {
16586 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16588 arg8
= static_cast< int >(val8
);
16590 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16591 if (!SWIG_IsOK(ecode9
)) {
16592 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16594 arg9
= static_cast< int >(val9
);
16597 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16598 if (!SWIG_IsOK(ecode10
)) {
16599 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16601 arg10
= static_cast< bool >(val10
);
16604 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16605 if (!SWIG_IsOK(ecode11
)) {
16606 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16608 arg11
= static_cast< int >(val11
);
16611 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16612 if (!SWIG_IsOK(ecode12
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16615 arg12
= static_cast< int >(val12
);
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16632 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= 0;
16634 wxDC
*arg1
= (wxDC
*) 0 ;
16635 wxPoint
*arg2
= 0 ;
16637 wxDC
*arg4
= (wxDC
*) 0 ;
16638 wxPoint
*arg5
= 0 ;
16639 int arg6
= (int) wxCOPY
;
16640 bool arg7
= (bool) false ;
16641 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16642 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 PyObject
* obj2
= 0 ;
16659 PyObject
* obj3
= 0 ;
16660 PyObject
* obj4
= 0 ;
16661 PyObject
* obj5
= 0 ;
16662 PyObject
* obj6
= 0 ;
16663 PyObject
* obj7
= 0 ;
16664 char * kwnames
[] = {
16665 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16670 if (!SWIG_IsOK(res1
)) {
16671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16680 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16682 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16683 if (!SWIG_IsOK(res4
)) {
16684 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16686 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16689 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16692 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16693 if (!SWIG_IsOK(ecode6
)) {
16694 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16696 arg6
= static_cast< int >(val6
);
16699 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16700 if (!SWIG_IsOK(ecode7
)) {
16701 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16703 arg7
= static_cast< bool >(val7
);
16708 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16726 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
= 0;
16728 wxDC
*arg1
= (wxDC
*) 0 ;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 PyObject
* obj2
= 0 ;
16746 PyObject
* obj3
= 0 ;
16747 PyObject
* obj4
= 0 ;
16748 char * kwnames
[] = {
16749 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16754 if (!SWIG_IsOK(res1
)) {
16755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16759 if (!SWIG_IsOK(ecode2
)) {
16760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16762 arg2
= static_cast< int >(val2
);
16763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16764 if (!SWIG_IsOK(ecode3
)) {
16765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16767 arg3
= static_cast< int >(val3
);
16768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16769 if (!SWIG_IsOK(ecode4
)) {
16770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16772 arg4
= static_cast< int >(val4
);
16773 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16774 if (!SWIG_IsOK(ecode5
)) {
16775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16777 arg5
= static_cast< int >(val5
);
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_Py_Void();
16791 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
= 0;
16793 wxDC
*arg1
= (wxDC
*) 0 ;
16794 wxPoint
*arg2
= 0 ;
16800 PyObject
* obj0
= 0 ;
16801 PyObject
* obj1
= 0 ;
16802 PyObject
* obj2
= 0 ;
16803 char * kwnames
[] = {
16804 (char *) "self",(char *) "pt",(char *) "sz", NULL
16807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16809 if (!SWIG_IsOK(res1
)) {
16810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16819 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_Py_Void();
16834 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
= 0;
16836 wxDC
*arg1
= (wxDC
*) 0 ;
16837 wxRegion
*arg2
= 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char * kwnames
[] = {
16845 (char *) "self",(char *) "region", NULL
16848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16850 if (!SWIG_IsOK(res1
)) {
16851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16855 if (!SWIG_IsOK(res2
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16861 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_Py_Void();
16875 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
= 0;
16877 wxDC
*arg1
= (wxDC
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char * kwnames
[] = {
16885 (char *) "self",(char *) "rect", NULL
16888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16890 if (!SWIG_IsOK(res1
)) {
16891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16893 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16896 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= SWIG_Py_Void();
16911 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
= 0;
16913 wxDC
*arg1
= (wxDC
*) 0 ;
16915 wxPoint
*arg3
= (wxPoint
*) 0 ;
16916 int arg4
= (int) 0 ;
16917 int arg5
= (int) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 PyObject
* obj1
= 0 ;
16926 PyObject
* obj2
= 0 ;
16927 PyObject
* obj3
= 0 ;
16928 char * kwnames
[] = {
16929 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16934 if (!SWIG_IsOK(res1
)) {
16935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16939 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16940 if (arg3
== NULL
) SWIG_fail
;
16943 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16944 if (!SWIG_IsOK(ecode4
)) {
16945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16947 arg4
= static_cast< int >(val4
);
16950 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16951 if (!SWIG_IsOK(ecode5
)) {
16952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16954 arg5
= static_cast< int >(val5
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_Py_Void();
16964 if (arg3
) delete [] arg3
;
16969 if (arg3
) delete [] arg3
;
16975 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
= 0;
16977 wxDC
*arg1
= (wxDC
*) 0 ;
16979 wxPoint
*arg3
= (wxPoint
*) 0 ;
16980 int arg4
= (int) 0 ;
16981 int arg5
= (int) 0 ;
16982 int arg6
= (int) wxODDEVEN_RULE
;
16991 PyObject
* obj0
= 0 ;
16992 PyObject
* obj1
= 0 ;
16993 PyObject
* obj2
= 0 ;
16994 PyObject
* obj3
= 0 ;
16995 PyObject
* obj4
= 0 ;
16996 char * kwnames
[] = {
16997 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17002 if (!SWIG_IsOK(res1
)) {
17003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17007 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17008 if (arg3
== NULL
) SWIG_fail
;
17011 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17012 if (!SWIG_IsOK(ecode4
)) {
17013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17015 arg4
= static_cast< int >(val4
);
17018 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17019 if (!SWIG_IsOK(ecode5
)) {
17020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17022 arg5
= static_cast< int >(val5
);
17025 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17026 if (!SWIG_IsOK(ecode6
)) {
17027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17029 arg6
= static_cast< int >(val6
);
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= SWIG_Py_Void();
17039 if (arg3
) delete [] arg3
;
17044 if (arg3
) delete [] arg3
;
17050 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
= 0;
17052 wxDC
*arg1
= (wxDC
*) 0 ;
17053 wxString
*arg2
= 0 ;
17055 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17056 int arg5
= (int) -1 ;
17059 bool temp2
= false ;
17065 PyObject
* obj0
= 0 ;
17066 PyObject
* obj1
= 0 ;
17067 PyObject
* obj2
= 0 ;
17068 PyObject
* obj3
= 0 ;
17069 PyObject
* obj4
= 0 ;
17070 char * kwnames
[] = {
17071 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17076 if (!SWIG_IsOK(res1
)) {
17077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17081 arg2
= wxString_in_helper(obj1
);
17082 if (arg2
== NULL
) SWIG_fail
;
17087 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17091 if (!SWIG_IsOK(ecode4
)) {
17092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17094 arg4
= static_cast< int >(val4
);
17097 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17098 if (!SWIG_IsOK(ecode5
)) {
17099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17101 arg5
= static_cast< int >(val5
);
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= SWIG_Py_Void();
17124 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
= 0;
17126 wxDC
*arg1
= (wxDC
*) 0 ;
17127 wxString
*arg2
= 0 ;
17128 wxBitmap
*arg3
= 0 ;
17130 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17131 int arg6
= (int) -1 ;
17135 bool temp2
= false ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 PyObject
* obj2
= 0 ;
17146 PyObject
* obj3
= 0 ;
17147 PyObject
* obj4
= 0 ;
17148 PyObject
* obj5
= 0 ;
17149 char * kwnames
[] = {
17150 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17155 if (!SWIG_IsOK(res1
)) {
17156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17160 arg2
= wxString_in_helper(obj1
);
17161 if (arg2
== NULL
) SWIG_fail
;
17164 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17165 if (!SWIG_IsOK(res3
)) {
17166 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17171 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17174 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17177 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17178 if (!SWIG_IsOK(ecode5
)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17181 arg5
= static_cast< int >(val5
);
17184 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17185 if (!SWIG_IsOK(ecode6
)) {
17186 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17188 arg6
= static_cast< int >(val6
);
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17211 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
= 0;
17213 wxDC
*arg1
= (wxDC
*) 0 ;
17215 wxPoint
*arg3
= (wxPoint
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 char * kwnames
[] = {
17221 (char *) "self",(char *) "points", NULL
17224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17226 if (!SWIG_IsOK(res1
)) {
17227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17231 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17232 if (arg3
== NULL
) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 (arg1
)->DrawSpline(arg2
,arg3
);
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= SWIG_Py_Void();
17242 if (arg3
) delete [] arg3
;
17247 if (arg3
) delete [] arg3
;
17253 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17254 PyObject
*resultobj
= 0;
17255 wxDC
*arg1
= (wxDC
*) 0 ;
17258 PyObject
*swig_obj
[1] ;
17260 if (!args
) SWIG_fail
;
17261 swig_obj
[0] = args
;
17262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17263 if (!SWIG_IsOK(res1
)) {
17264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= SWIG_Py_Void();
17280 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
= 0;
17282 wxDC
*arg1
= (wxDC
*) 0 ;
17283 wxString
*arg2
= 0 ;
17287 bool temp2
= false ;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char * kwnames
[] = {
17291 (char *) "self",(char *) "message", NULL
17294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17296 if (!SWIG_IsOK(res1
)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17301 arg2
= wxString_in_helper(obj1
);
17302 if (arg2
== NULL
) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17328 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17329 PyObject
*resultobj
= 0;
17330 wxDC
*arg1
= (wxDC
*) 0 ;
17333 PyObject
*swig_obj
[1] ;
17335 if (!args
) SWIG_fail
;
17336 swig_obj
[0] = args
;
17337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17338 if (!SWIG_IsOK(res1
)) {
17339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_Py_Void();
17355 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17356 PyObject
*resultobj
= 0;
17357 wxDC
*arg1
= (wxDC
*) 0 ;
17360 PyObject
*swig_obj
[1] ;
17362 if (!args
) SWIG_fail
;
17363 swig_obj
[0] = args
;
17364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 (arg1
)->StartPage();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_Py_Void();
17382 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17383 PyObject
*resultobj
= 0;
17384 wxDC
*arg1
= (wxDC
*) 0 ;
17387 PyObject
*swig_obj
[1] ;
17389 if (!args
) SWIG_fail
;
17390 swig_obj
[0] = args
;
17391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17392 if (!SWIG_IsOK(res1
)) {
17393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_Py_Void();
17409 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
= 0;
17411 wxDC
*arg1
= (wxDC
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 PyObject
* obj1
= 0 ;
17419 char * kwnames
[] = {
17420 (char *) "self",(char *) "font", NULL
17423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17425 if (!SWIG_IsOK(res1
)) {
17426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17429 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17430 if (!SWIG_IsOK(res2
)) {
17431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17436 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 (arg1
)->SetFont((wxFont
const &)*arg2
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_Py_Void();
17450 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
= 0;
17452 wxDC
*arg1
= (wxDC
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char * kwnames
[] = {
17461 (char *) "self",(char *) "pen", NULL
17464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17466 if (!SWIG_IsOK(res1
)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17471 if (!SWIG_IsOK(res2
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17477 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 (arg1
)->SetPen((wxPen
const &)*arg2
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= SWIG_Py_Void();
17491 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
= 0;
17493 wxDC
*arg1
= (wxDC
*) 0 ;
17494 wxBrush
*arg2
= 0 ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 char * kwnames
[] = {
17502 (char *) "self",(char *) "brush", NULL
17505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17507 if (!SWIG_IsOK(res1
)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17512 if (!SWIG_IsOK(res2
)) {
17513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17518 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= SWIG_Py_Void();
17532 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
= 0;
17534 wxDC
*arg1
= (wxDC
*) 0 ;
17535 wxBrush
*arg2
= 0 ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 char * kwnames
[] = {
17543 (char *) "self",(char *) "brush", NULL
17546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17548 if (!SWIG_IsOK(res1
)) {
17549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17553 if (!SWIG_IsOK(res2
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17559 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_Py_Void();
17573 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
= 0;
17575 wxDC
*arg1
= (wxDC
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char * kwnames
[] = {
17584 (char *) "self",(char *) "mode", NULL
17587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17589 if (!SWIG_IsOK(res1
)) {
17590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17594 if (!SWIG_IsOK(ecode2
)) {
17595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17597 arg2
= static_cast< int >(val2
);
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->SetBackgroundMode(arg2
);
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_Py_Void();
17611 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17612 PyObject
*resultobj
= 0;
17613 wxDC
*arg1
= (wxDC
*) 0 ;
17614 wxPalette
*arg2
= 0 ;
17619 PyObject
* obj0
= 0 ;
17620 PyObject
* obj1
= 0 ;
17621 char * kwnames
[] = {
17622 (char *) "self",(char *) "palette", NULL
17625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17627 if (!SWIG_IsOK(res1
)) {
17628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17632 if (!SWIG_IsOK(res2
)) {
17633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17638 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_Py_Void();
17652 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17653 PyObject
*resultobj
= 0;
17654 wxDC
*arg1
= (wxDC
*) 0 ;
17657 PyObject
*swig_obj
[1] ;
17659 if (!args
) SWIG_fail
;
17660 swig_obj
[0] = args
;
17661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17662 if (!SWIG_IsOK(res1
)) {
17663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 (arg1
)->DestroyClippingRegion();
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= SWIG_Py_Void();
17679 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17680 PyObject
*resultobj
= 0;
17681 wxDC
*arg1
= (wxDC
*) 0 ;
17682 int *arg2
= (int *) 0 ;
17683 int *arg3
= (int *) 0 ;
17684 int *arg4
= (int *) 0 ;
17685 int *arg5
= (int *) 0 ;
17689 int res2
= SWIG_TMPOBJ
;
17691 int res3
= SWIG_TMPOBJ
;
17693 int res4
= SWIG_TMPOBJ
;
17695 int res5
= SWIG_TMPOBJ
;
17696 PyObject
*swig_obj
[1] ;
17702 if (!args
) SWIG_fail
;
17703 swig_obj
[0] = args
;
17704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17705 if (!SWIG_IsOK(res1
)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_Py_Void();
17716 if (SWIG_IsTmpObj(res2
)) {
17717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17719 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17722 if (SWIG_IsTmpObj(res3
)) {
17723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17725 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17726 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17728 if (SWIG_IsTmpObj(res4
)) {
17729 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17731 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17732 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17734 if (SWIG_IsTmpObj(res5
)) {
17735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17737 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17746 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17747 PyObject
*resultobj
= 0;
17748 wxDC
*arg1
= (wxDC
*) 0 ;
17752 PyObject
*swig_obj
[1] ;
17754 if (!args
) SWIG_fail
;
17755 swig_obj
[0] = args
;
17756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17757 if (!SWIG_IsOK(res1
)) {
17758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 result
= wxDC_GetClippingRect(arg1
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17774 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17775 PyObject
*resultobj
= 0;
17776 wxDC
*arg1
= (wxDC
*) 0 ;
17780 PyObject
*swig_obj
[1] ;
17782 if (!args
) SWIG_fail
;
17783 swig_obj
[0] = args
;
17784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17785 if (!SWIG_IsOK(res1
)) {
17786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= SWIG_From_int(static_cast< int >(result
));
17802 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17803 PyObject
*resultobj
= 0;
17804 wxDC
*arg1
= (wxDC
*) 0 ;
17808 PyObject
*swig_obj
[1] ;
17810 if (!args
) SWIG_fail
;
17811 swig_obj
[0] = args
;
17812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17813 if (!SWIG_IsOK(res1
)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= SWIG_From_int(static_cast< int >(result
));
17830 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
= 0;
17832 wxDC
*arg1
= (wxDC
*) 0 ;
17833 wxString
*arg2
= 0 ;
17834 int *arg3
= (int *) 0 ;
17835 int *arg4
= (int *) 0 ;
17838 bool temp2
= false ;
17840 int res3
= SWIG_TMPOBJ
;
17842 int res4
= SWIG_TMPOBJ
;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char * kwnames
[] = {
17846 (char *) "self",(char *) "string", NULL
17851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17853 if (!SWIG_IsOK(res1
)) {
17854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17858 arg2
= wxString_in_helper(obj1
);
17859 if (arg2
== NULL
) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_Py_Void();
17869 if (SWIG_IsTmpObj(res3
)) {
17870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17872 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17875 if (SWIG_IsTmpObj(res4
)) {
17876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17878 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17895 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
= 0;
17897 wxDC
*arg1
= (wxDC
*) 0 ;
17898 wxString
*arg2
= 0 ;
17899 int *arg3
= (int *) 0 ;
17900 int *arg4
= (int *) 0 ;
17901 int *arg5
= (int *) 0 ;
17902 int *arg6
= (int *) 0 ;
17903 wxFont
*arg7
= (wxFont
*) NULL
;
17906 bool temp2
= false ;
17908 int res3
= SWIG_TMPOBJ
;
17910 int res4
= SWIG_TMPOBJ
;
17912 int res5
= SWIG_TMPOBJ
;
17914 int res6
= SWIG_TMPOBJ
;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 PyObject
* obj2
= 0 ;
17920 char * kwnames
[] = {
17921 (char *) "self",(char *) "string",(char *) "font", NULL
17928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17930 if (!SWIG_IsOK(res1
)) {
17931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17935 arg2
= wxString_in_helper(obj1
);
17936 if (arg2
== NULL
) SWIG_fail
;
17940 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17941 if (!SWIG_IsOK(res7
)) {
17942 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17944 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= SWIG_Py_Void();
17953 if (SWIG_IsTmpObj(res3
)) {
17954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17956 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17959 if (SWIG_IsTmpObj(res4
)) {
17960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17962 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17965 if (SWIG_IsTmpObj(res5
)) {
17966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17968 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17971 if (SWIG_IsTmpObj(res6
)) {
17972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
17974 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
17991 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
= 0;
17993 wxDC
*arg1
= (wxDC
*) 0 ;
17994 wxString
*arg2
= 0 ;
17995 int *arg3
= (int *) 0 ;
17996 int *arg4
= (int *) 0 ;
17997 int *arg5
= (int *) 0 ;
17998 wxFont
*arg6
= (wxFont
*) NULL
;
18001 bool temp2
= false ;
18003 int res3
= SWIG_TMPOBJ
;
18005 int res4
= SWIG_TMPOBJ
;
18007 int res5
= SWIG_TMPOBJ
;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 PyObject
* obj2
= 0 ;
18013 char * kwnames
[] = {
18014 (char *) "self",(char *) "text",(char *) "font", NULL
18020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18022 if (!SWIG_IsOK(res1
)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18027 arg2
= wxString_in_helper(obj1
);
18028 if (arg2
== NULL
) SWIG_fail
;
18032 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18033 if (!SWIG_IsOK(res6
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18036 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_Py_Void();
18045 if (SWIG_IsTmpObj(res3
)) {
18046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18048 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18051 if (SWIG_IsTmpObj(res4
)) {
18052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18054 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18057 if (SWIG_IsTmpObj(res5
)) {
18058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18060 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18077 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
= 0;
18079 wxDC
*arg1
= (wxDC
*) 0 ;
18080 wxString
*arg2
= 0 ;
18084 bool temp2
= false ;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 char * kwnames
[] = {
18088 (char *) "self",(char *) "text", NULL
18091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18093 if (!SWIG_IsOK(res1
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18098 arg2
= wxString_in_helper(obj1
);
18099 if (arg2
== NULL
) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= PyList_New(0);
18111 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18112 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18113 PyList_Append(resultobj
, val
);
18131 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18132 PyObject
*resultobj
= 0;
18133 wxDC
*arg1
= (wxDC
*) 0 ;
18137 PyObject
*swig_obj
[1] ;
18139 if (!args
) SWIG_fail
;
18140 swig_obj
[0] = args
;
18141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18142 if (!SWIG_IsOK(res1
)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (arg1
)->GetSize();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18159 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18160 PyObject
*resultobj
= 0;
18161 wxDC
*arg1
= (wxDC
*) 0 ;
18162 int *arg2
= (int *) 0 ;
18163 int *arg3
= (int *) 0 ;
18167 int res2
= SWIG_TMPOBJ
;
18169 int res3
= SWIG_TMPOBJ
;
18170 PyObject
*swig_obj
[1] ;
18174 if (!args
) SWIG_fail
;
18175 swig_obj
[0] = args
;
18176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18177 if (!SWIG_IsOK(res1
)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 (arg1
)->GetSize(arg2
,arg3
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= SWIG_Py_Void();
18188 if (SWIG_IsTmpObj(res2
)) {
18189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18191 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18194 if (SWIG_IsTmpObj(res3
)) {
18195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18197 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18206 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18207 PyObject
*resultobj
= 0;
18208 wxDC
*arg1
= (wxDC
*) 0 ;
18212 PyObject
*swig_obj
[1] ;
18214 if (!args
) SWIG_fail
;
18215 swig_obj
[0] = args
;
18216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18217 if (!SWIG_IsOK(res1
)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18234 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18235 PyObject
*resultobj
= 0;
18236 wxDC
*arg1
= (wxDC
*) 0 ;
18237 int *arg2
= (int *) 0 ;
18238 int *arg3
= (int *) 0 ;
18242 int res2
= SWIG_TMPOBJ
;
18244 int res3
= SWIG_TMPOBJ
;
18245 PyObject
*swig_obj
[1] ;
18249 if (!args
) SWIG_fail
;
18250 swig_obj
[0] = args
;
18251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18252 if (!SWIG_IsOK(res1
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_Py_Void();
18263 if (SWIG_IsTmpObj(res2
)) {
18264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18266 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18269 if (SWIG_IsTmpObj(res3
)) {
18270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18272 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18281 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= 0;
18283 wxDC
*arg1
= (wxDC
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char * kwnames
[] = {
18293 (char *) "self",(char *) "x", NULL
18296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18298 if (!SWIG_IsOK(res1
)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18303 if (!SWIG_IsOK(ecode2
)) {
18304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18306 arg2
= static_cast< int >(val2
);
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_From_int(static_cast< int >(result
));
18320 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
= 0;
18322 wxDC
*arg1
= (wxDC
*) 0 ;
18329 PyObject
* obj0
= 0 ;
18330 PyObject
* obj1
= 0 ;
18331 char * kwnames
[] = {
18332 (char *) "self",(char *) "y", NULL
18335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18337 if (!SWIG_IsOK(res1
)) {
18338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18342 if (!SWIG_IsOK(ecode2
)) {
18343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18345 arg2
= static_cast< int >(val2
);
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 resultobj
= SWIG_From_int(static_cast< int >(result
));
18359 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
= 0;
18361 wxDC
*arg1
= (wxDC
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 char * kwnames
[] = {
18371 (char *) "self",(char *) "x", NULL
18374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18376 if (!SWIG_IsOK(res1
)) {
18377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18381 if (!SWIG_IsOK(ecode2
)) {
18382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18384 arg2
= static_cast< int >(val2
);
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_From_int(static_cast< int >(result
));
18398 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
= 0;
18400 wxDC
*arg1
= (wxDC
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char * kwnames
[] = {
18410 (char *) "self",(char *) "y", NULL
18413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18420 if (!SWIG_IsOK(ecode2
)) {
18421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18423 arg2
= static_cast< int >(val2
);
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_From_int(static_cast< int >(result
));
18437 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
= 0;
18439 wxDC
*arg1
= (wxDC
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 char * kwnames
[] = {
18449 (char *) "self",(char *) "x", NULL
18452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18454 if (!SWIG_IsOK(res1
)) {
18455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18459 if (!SWIG_IsOK(ecode2
)) {
18460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18462 arg2
= static_cast< int >(val2
);
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_From_int(static_cast< int >(result
));
18476 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
= 0;
18478 wxDC
*arg1
= (wxDC
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 char * kwnames
[] = {
18488 (char *) "self",(char *) "y", NULL
18491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18493 if (!SWIG_IsOK(res1
)) {
18494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18498 if (!SWIG_IsOK(ecode2
)) {
18499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18501 arg2
= static_cast< int >(val2
);
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_From_int(static_cast< int >(result
));
18515 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
= 0;
18517 wxDC
*arg1
= (wxDC
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 char * kwnames
[] = {
18527 (char *) "self",(char *) "x", NULL
18530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18532 if (!SWIG_IsOK(res1
)) {
18533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18537 if (!SWIG_IsOK(ecode2
)) {
18538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18540 arg2
= static_cast< int >(val2
);
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= SWIG_From_int(static_cast< int >(result
));
18554 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
= 0;
18556 wxDC
*arg1
= (wxDC
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char * kwnames
[] = {
18566 (char *) "self",(char *) "y", NULL
18569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18571 if (!SWIG_IsOK(res1
)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18576 if (!SWIG_IsOK(ecode2
)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18579 arg2
= static_cast< int >(val2
);
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_From_int(static_cast< int >(result
));
18593 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18594 PyObject
*resultobj
= 0;
18595 wxDC
*arg1
= (wxDC
*) 0 ;
18599 PyObject
*swig_obj
[1] ;
18601 if (!args
) SWIG_fail
;
18602 swig_obj
[0] = args
;
18603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18604 if (!SWIG_IsOK(res1
)) {
18605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18623 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18624 PyObject
*resultobj
= 0;
18625 wxDC
*arg1
= (wxDC
*) 0 ;
18629 PyObject
*swig_obj
[1] ;
18631 if (!args
) SWIG_fail
;
18632 swig_obj
[0] = args
;
18633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18634 if (!SWIG_IsOK(res1
)) {
18635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18653 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18654 PyObject
*resultobj
= 0;
18655 wxDC
*arg1
= (wxDC
*) 0 ;
18659 PyObject
*swig_obj
[1] ;
18661 if (!args
) SWIG_fail
;
18662 swig_obj
[0] = args
;
18663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18664 if (!SWIG_IsOK(res1
)) {
18665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_From_int(static_cast< int >(result
));
18681 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18682 PyObject
*resultobj
= 0;
18683 wxDC
*arg1
= (wxDC
*) 0 ;
18687 PyObject
*swig_obj
[1] ;
18689 if (!args
) SWIG_fail
;
18690 swig_obj
[0] = args
;
18691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18692 if (!SWIG_IsOK(res1
)) {
18693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 result
= ((wxDC
const *)arg1
)->GetPPI();
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18709 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18710 PyObject
*resultobj
= 0;
18711 wxDC
*arg1
= (wxDC
*) 0 ;
18715 PyObject
*swig_obj
[1] ;
18717 if (!args
) SWIG_fail
;
18718 swig_obj
[0] = args
;
18719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18720 if (!SWIG_IsOK(res1
)) {
18721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= (bool)((wxDC
const *)arg1
)->Ok();
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18739 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18740 PyObject
*resultobj
= 0;
18741 wxDC
*arg1
= (wxDC
*) 0 ;
18745 PyObject
*swig_obj
[1] ;
18747 if (!args
) SWIG_fail
;
18748 swig_obj
[0] = args
;
18749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18750 if (!SWIG_IsOK(res1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= SWIG_From_int(static_cast< int >(result
));
18767 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18768 PyObject
*resultobj
= 0;
18769 wxDC
*arg1
= (wxDC
*) 0 ;
18770 wxBrush
*result
= 0 ;
18773 PyObject
*swig_obj
[1] ;
18775 if (!args
) SWIG_fail
;
18776 swig_obj
[0] = args
;
18777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18778 if (!SWIG_IsOK(res1
)) {
18779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18786 result
= (wxBrush
*) &_result_ref
;
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 wxBrush
* resultptr
= new wxBrush(*result
);
18793 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18801 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18802 PyObject
*resultobj
= 0;
18803 wxDC
*arg1
= (wxDC
*) 0 ;
18804 wxBrush
*result
= 0 ;
18807 PyObject
*swig_obj
[1] ;
18809 if (!args
) SWIG_fail
;
18810 swig_obj
[0] = args
;
18811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18820 result
= (wxBrush
*) &_result_ref
;
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 wxBrush
* resultptr
= new wxBrush(*result
);
18827 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18835 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18836 PyObject
*resultobj
= 0;
18837 wxDC
*arg1
= (wxDC
*) 0 ;
18838 wxFont
*result
= 0 ;
18841 PyObject
*swig_obj
[1] ;
18843 if (!args
) SWIG_fail
;
18844 swig_obj
[0] = args
;
18845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18846 if (!SWIG_IsOK(res1
)) {
18847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18854 result
= (wxFont
*) &_result_ref
;
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18860 wxFont
* resultptr
= new wxFont(*result
);
18861 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18869 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18870 PyObject
*resultobj
= 0;
18871 wxDC
*arg1
= (wxDC
*) 0 ;
18872 wxPen
*result
= 0 ;
18875 PyObject
*swig_obj
[1] ;
18877 if (!args
) SWIG_fail
;
18878 swig_obj
[0] = args
;
18879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18880 if (!SWIG_IsOK(res1
)) {
18881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18888 result
= (wxPen
*) &_result_ref
;
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18894 wxPen
* resultptr
= new wxPen(*result
);
18895 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18903 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18904 PyObject
*resultobj
= 0;
18905 wxDC
*arg1
= (wxDC
*) 0 ;
18906 wxColour
*result
= 0 ;
18909 PyObject
*swig_obj
[1] ;
18911 if (!args
) SWIG_fail
;
18912 swig_obj
[0] = args
;
18913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18922 result
= (wxColour
*) &_result_ref
;
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18934 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18935 PyObject
*resultobj
= 0;
18936 wxDC
*arg1
= (wxDC
*) 0 ;
18937 wxColour
*result
= 0 ;
18940 PyObject
*swig_obj
[1] ;
18942 if (!args
) SWIG_fail
;
18943 swig_obj
[0] = args
;
18944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18953 result
= (wxColour
*) &_result_ref
;
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18965 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
= 0;
18967 wxDC
*arg1
= (wxDC
*) 0 ;
18968 wxColour
*arg2
= 0 ;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 char * kwnames
[] = {
18975 (char *) "self",(char *) "colour", NULL
18978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18980 if (!SWIG_IsOK(res1
)) {
18981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
18983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18986 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= SWIG_Py_Void();
19001 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
= 0;
19003 wxDC
*arg1
= (wxDC
*) 0 ;
19004 wxColour
*arg2
= 0 ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 char * kwnames
[] = {
19011 (char *) "self",(char *) "colour", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19022 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= SWIG_Py_Void();
19037 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19038 PyObject
*resultobj
= 0;
19039 wxDC
*arg1
= (wxDC
*) 0 ;
19043 PyObject
*swig_obj
[1] ;
19045 if (!args
) SWIG_fail
;
19046 swig_obj
[0] = args
;
19047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19048 if (!SWIG_IsOK(res1
)) {
19049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= SWIG_From_int(static_cast< int >(result
));
19065 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
= 0;
19067 wxDC
*arg1
= (wxDC
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 char * kwnames
[] = {
19076 (char *) "self",(char *) "mode", NULL
19079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19081 if (!SWIG_IsOK(res1
)) {
19082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19086 if (!SWIG_IsOK(ecode2
)) {
19087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19089 arg2
= static_cast< int >(val2
);
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 (arg1
)->SetMapMode(arg2
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 resultobj
= SWIG_Py_Void();
19103 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19104 PyObject
*resultobj
= 0;
19105 wxDC
*arg1
= (wxDC
*) 0 ;
19106 double *arg2
= (double *) 0 ;
19107 double *arg3
= (double *) 0 ;
19111 int res2
= SWIG_TMPOBJ
;
19113 int res3
= SWIG_TMPOBJ
;
19114 PyObject
*swig_obj
[1] ;
19118 if (!args
) SWIG_fail
;
19119 swig_obj
[0] = args
;
19120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19121 if (!SWIG_IsOK(res1
)) {
19122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19131 resultobj
= SWIG_Py_Void();
19132 if (SWIG_IsTmpObj(res2
)) {
19133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19135 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19138 if (SWIG_IsTmpObj(res3
)) {
19139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19141 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19150 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
= 0;
19152 wxDC
*arg1
= (wxDC
*) 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 PyObject
* obj2
= 0 ;
19164 char * kwnames
[] = {
19165 (char *) "self",(char *) "x",(char *) "y", NULL
19168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19170 if (!SWIG_IsOK(res1
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19174 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19175 if (!SWIG_IsOK(ecode2
)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19178 arg2
= static_cast< double >(val2
);
19179 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19180 if (!SWIG_IsOK(ecode3
)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19183 arg3
= static_cast< double >(val3
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetUserScale(arg2
,arg3
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_Py_Void();
19197 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19198 PyObject
*resultobj
= 0;
19199 wxDC
*arg1
= (wxDC
*) 0 ;
19200 double *arg2
= (double *) 0 ;
19201 double *arg3
= (double *) 0 ;
19205 int res2
= SWIG_TMPOBJ
;
19207 int res3
= SWIG_TMPOBJ
;
19208 PyObject
*swig_obj
[1] ;
19212 if (!args
) SWIG_fail
;
19213 swig_obj
[0] = args
;
19214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19215 if (!SWIG_IsOK(res1
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 (arg1
)->GetLogicalScale(arg2
,arg3
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_Py_Void();
19226 if (SWIG_IsTmpObj(res2
)) {
19227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19229 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19232 if (SWIG_IsTmpObj(res3
)) {
19233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19235 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19244 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
= 0;
19246 wxDC
*arg1
= (wxDC
*) 0 ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 PyObject
* obj2
= 0 ;
19258 char * kwnames
[] = {
19259 (char *) "self",(char *) "x",(char *) "y", NULL
19262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19264 if (!SWIG_IsOK(res1
)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19268 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19269 if (!SWIG_IsOK(ecode2
)) {
19270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19272 arg2
= static_cast< double >(val2
);
19273 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19274 if (!SWIG_IsOK(ecode3
)) {
19275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19277 arg3
= static_cast< double >(val3
);
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 (arg1
)->SetLogicalScale(arg2
,arg3
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= SWIG_Py_Void();
19291 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19292 PyObject
*resultobj
= 0;
19293 wxDC
*arg1
= (wxDC
*) 0 ;
19297 PyObject
*swig_obj
[1] ;
19299 if (!args
) SWIG_fail
;
19300 swig_obj
[0] = args
;
19301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19319 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19320 PyObject
*resultobj
= 0;
19321 wxDC
*arg1
= (wxDC
*) 0 ;
19322 int *arg2
= (int *) 0 ;
19323 int *arg3
= (int *) 0 ;
19327 int res2
= SWIG_TMPOBJ
;
19329 int res3
= SWIG_TMPOBJ
;
19330 PyObject
*swig_obj
[1] ;
19334 if (!args
) SWIG_fail
;
19335 swig_obj
[0] = args
;
19336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19337 if (!SWIG_IsOK(res1
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 resultobj
= SWIG_Py_Void();
19348 if (SWIG_IsTmpObj(res2
)) {
19349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19351 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19354 if (SWIG_IsTmpObj(res3
)) {
19355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19357 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19366 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
= 0;
19368 wxDC
*arg1
= (wxDC
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 PyObject
* obj2
= 0 ;
19380 char * kwnames
[] = {
19381 (char *) "self",(char *) "x",(char *) "y", NULL
19384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19391 if (!SWIG_IsOK(ecode2
)) {
19392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19394 arg2
= static_cast< int >(val2
);
19395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19396 if (!SWIG_IsOK(ecode3
)) {
19397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19399 arg3
= static_cast< int >(val3
);
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 resultobj
= SWIG_Py_Void();
19413 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
= 0;
19415 wxDC
*arg1
= (wxDC
*) 0 ;
19416 wxPoint
*arg2
= 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char * kwnames
[] = {
19423 (char *) "self",(char *) "point", NULL
19426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19428 if (!SWIG_IsOK(res1
)) {
19429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= SWIG_Py_Void();
19449 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19450 PyObject
*resultobj
= 0;
19451 wxDC
*arg1
= (wxDC
*) 0 ;
19455 PyObject
*swig_obj
[1] ;
19457 if (!args
) SWIG_fail
;
19458 swig_obj
[0] = args
;
19459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19460 if (!SWIG_IsOK(res1
)) {
19461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19477 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19478 PyObject
*resultobj
= 0;
19479 wxDC
*arg1
= (wxDC
*) 0 ;
19480 int *arg2
= (int *) 0 ;
19481 int *arg3
= (int *) 0 ;
19485 int res2
= SWIG_TMPOBJ
;
19487 int res3
= SWIG_TMPOBJ
;
19488 PyObject
*swig_obj
[1] ;
19492 if (!args
) SWIG_fail
;
19493 swig_obj
[0] = args
;
19494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19495 if (!SWIG_IsOK(res1
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 resultobj
= SWIG_Py_Void();
19506 if (SWIG_IsTmpObj(res2
)) {
19507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19509 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19512 if (SWIG_IsTmpObj(res3
)) {
19513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19515 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19524 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxDC
*arg1
= (wxDC
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 PyObject
* obj2
= 0 ;
19538 char * kwnames
[] = {
19539 (char *) "self",(char *) "x",(char *) "y", NULL
19542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19544 if (!SWIG_IsOK(res1
)) {
19545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19549 if (!SWIG_IsOK(ecode2
)) {
19550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19552 arg2
= static_cast< int >(val2
);
19553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19554 if (!SWIG_IsOK(ecode3
)) {
19555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19557 arg3
= static_cast< int >(val3
);
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_Py_Void();
19571 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
= 0;
19573 wxDC
*arg1
= (wxDC
*) 0 ;
19574 wxPoint
*arg2
= 0 ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char * kwnames
[] = {
19581 (char *) "self",(char *) "point", NULL
19584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19586 if (!SWIG_IsOK(res1
)) {
19587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= SWIG_Py_Void();
19607 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
= 0;
19609 wxDC
*arg1
= (wxDC
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 PyObject
* obj2
= 0 ;
19621 char * kwnames
[] = {
19622 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19627 if (!SWIG_IsOK(res1
)) {
19628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19631 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19632 if (!SWIG_IsOK(ecode2
)) {
19633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19635 arg2
= static_cast< bool >(val2
);
19636 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19637 if (!SWIG_IsOK(ecode3
)) {
19638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19640 arg3
= static_cast< bool >(val3
);
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_Py_Void();
19654 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19655 PyObject
*resultobj
= 0;
19656 wxDC
*arg1
= (wxDC
*) 0 ;
19660 PyObject
*swig_obj
[1] ;
19662 if (!args
) SWIG_fail
;
19663 swig_obj
[0] = args
;
19664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19665 if (!SWIG_IsOK(res1
)) {
19666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_From_int(static_cast< int >(result
));
19682 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
= 0;
19684 wxDC
*arg1
= (wxDC
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char * kwnames
[] = {
19693 (char *) "self",(char *) "function", NULL
19696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19698 if (!SWIG_IsOK(res1
)) {
19699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19703 if (!SWIG_IsOK(ecode2
)) {
19704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19706 arg2
= static_cast< int >(val2
);
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 (arg1
)->SetLogicalFunction(arg2
);
19710 wxPyEndAllowThreads(__tstate
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 resultobj
= SWIG_Py_Void();
19720 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19721 PyObject
*resultobj
= 0;
19722 wxDC
*arg1
= (wxDC
*) 0 ;
19725 PyObject
*swig_obj
[1] ;
19727 if (!args
) SWIG_fail
;
19728 swig_obj
[0] = args
;
19729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19730 if (!SWIG_IsOK(res1
)) {
19731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 (arg1
)->ComputeScaleAndOrigin();
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_Py_Void();
19747 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
= 0;
19749 wxDC
*arg1
= (wxDC
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 PyObject
* obj2
= 0 ;
19761 char * kwnames
[] = {
19762 (char *) "self",(char *) "x",(char *) "y", NULL
19765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19767 if (!SWIG_IsOK(res1
)) {
19768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19772 if (!SWIG_IsOK(ecode2
)) {
19773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19775 arg2
= static_cast< int >(val2
);
19776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19777 if (!SWIG_IsOK(ecode3
)) {
19778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19780 arg3
= static_cast< int >(val3
);
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_Py_Void();
19794 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
= 0;
19796 wxDC
*arg1
= (wxDC
*) 0 ;
19797 wxPoint
*arg2
= 0 ;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char * kwnames
[] = {
19804 (char *) "self",(char *) "point", NULL
19807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19809 if (!SWIG_IsOK(res1
)) {
19810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_Py_Void();
19830 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19831 PyObject
*resultobj
= 0;
19832 wxDC
*arg1
= (wxDC
*) 0 ;
19835 PyObject
*swig_obj
[1] ;
19837 if (!args
) SWIG_fail
;
19838 swig_obj
[0] = args
;
19839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 (arg1
)->ResetBoundingBox();
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= SWIG_Py_Void();
19857 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 PyObject
*resultobj
= 0;
19859 wxDC
*arg1
= (wxDC
*) 0 ;
19863 PyObject
*swig_obj
[1] ;
19865 if (!args
) SWIG_fail
;
19866 swig_obj
[0] = args
;
19867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19868 if (!SWIG_IsOK(res1
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 result
= (int)((wxDC
const *)arg1
)->MinX();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= SWIG_From_int(static_cast< int >(result
));
19885 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19886 PyObject
*resultobj
= 0;
19887 wxDC
*arg1
= (wxDC
*) 0 ;
19891 PyObject
*swig_obj
[1] ;
19893 if (!args
) SWIG_fail
;
19894 swig_obj
[0] = args
;
19895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19896 if (!SWIG_IsOK(res1
)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (int)((wxDC
const *)arg1
)->MaxX();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= SWIG_From_int(static_cast< int >(result
));
19913 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19914 PyObject
*resultobj
= 0;
19915 wxDC
*arg1
= (wxDC
*) 0 ;
19919 PyObject
*swig_obj
[1] ;
19921 if (!args
) SWIG_fail
;
19922 swig_obj
[0] = args
;
19923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19924 if (!SWIG_IsOK(res1
)) {
19925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (int)((wxDC
const *)arg1
)->MinY();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_From_int(static_cast< int >(result
));
19941 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19942 PyObject
*resultobj
= 0;
19943 wxDC
*arg1
= (wxDC
*) 0 ;
19947 PyObject
*swig_obj
[1] ;
19949 if (!args
) SWIG_fail
;
19950 swig_obj
[0] = args
;
19951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19952 if (!SWIG_IsOK(res1
)) {
19953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (int)((wxDC
const *)arg1
)->MaxY();
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_From_int(static_cast< int >(result
));
19969 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19970 PyObject
*resultobj
= 0;
19971 wxDC
*arg1
= (wxDC
*) 0 ;
19972 int *arg2
= (int *) 0 ;
19973 int *arg3
= (int *) 0 ;
19974 int *arg4
= (int *) 0 ;
19975 int *arg5
= (int *) 0 ;
19979 int res2
= SWIG_TMPOBJ
;
19981 int res3
= SWIG_TMPOBJ
;
19983 int res4
= SWIG_TMPOBJ
;
19985 int res5
= SWIG_TMPOBJ
;
19986 PyObject
*swig_obj
[1] ;
19992 if (!args
) SWIG_fail
;
19993 swig_obj
[0] = args
;
19994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_Py_Void();
20006 if (SWIG_IsTmpObj(res2
)) {
20007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20009 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20012 if (SWIG_IsTmpObj(res3
)) {
20013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20015 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20018 if (SWIG_IsTmpObj(res4
)) {
20019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20021 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20024 if (SWIG_IsTmpObj(res5
)) {
20025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20027 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20036 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxDC
*arg1
= (wxDC
*) 0 ;
20039 PyObject
*arg2
= (PyObject
*) 0 ;
20040 PyObject
*arg3
= (PyObject
*) 0 ;
20041 PyObject
*arg4
= (PyObject
*) 0 ;
20042 PyObject
*result
= 0 ;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 PyObject
* obj2
= 0 ;
20048 PyObject
* obj3
= 0 ;
20049 char * kwnames
[] = {
20050 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= result
;
20075 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
= 0;
20077 wxDC
*arg1
= (wxDC
*) 0 ;
20078 PyObject
*arg2
= (PyObject
*) 0 ;
20079 PyObject
*arg3
= (PyObject
*) 0 ;
20080 PyObject
*arg4
= (PyObject
*) 0 ;
20081 PyObject
*result
= 0 ;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20086 PyObject
* obj2
= 0 ;
20087 PyObject
* obj3
= 0 ;
20088 char * kwnames
[] = {
20089 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 resultobj
= result
;
20114 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
= 0;
20116 wxDC
*arg1
= (wxDC
*) 0 ;
20117 PyObject
*arg2
= (PyObject
*) 0 ;
20118 PyObject
*arg3
= (PyObject
*) 0 ;
20119 PyObject
*arg4
= (PyObject
*) 0 ;
20120 PyObject
*result
= 0 ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 PyObject
* obj2
= 0 ;
20126 PyObject
* obj3
= 0 ;
20127 char * kwnames
[] = {
20128 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20133 if (!SWIG_IsOK(res1
)) {
20134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= result
;
20153 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
= 0;
20155 wxDC
*arg1
= (wxDC
*) 0 ;
20156 PyObject
*arg2
= (PyObject
*) 0 ;
20157 PyObject
*arg3
= (PyObject
*) 0 ;
20158 PyObject
*arg4
= (PyObject
*) 0 ;
20159 PyObject
*result
= 0 ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 PyObject
* obj2
= 0 ;
20165 PyObject
* obj3
= 0 ;
20166 char * kwnames
[] = {
20167 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20172 if (!SWIG_IsOK(res1
)) {
20173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= result
;
20192 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= 0;
20194 wxDC
*arg1
= (wxDC
*) 0 ;
20195 PyObject
*arg2
= (PyObject
*) 0 ;
20196 PyObject
*arg3
= (PyObject
*) 0 ;
20197 PyObject
*arg4
= (PyObject
*) 0 ;
20198 PyObject
*result
= 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 PyObject
* obj2
= 0 ;
20204 PyObject
* obj3
= 0 ;
20205 char * kwnames
[] = {
20206 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20211 if (!SWIG_IsOK(res1
)) {
20212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
;
20231 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
= 0;
20233 wxDC
*arg1
= (wxDC
*) 0 ;
20234 PyObject
*arg2
= (PyObject
*) 0 ;
20235 PyObject
*arg3
= (PyObject
*) 0 ;
20236 PyObject
*arg4
= (PyObject
*) 0 ;
20237 PyObject
*arg5
= (PyObject
*) 0 ;
20238 PyObject
*result
= 0 ;
20241 PyObject
* obj0
= 0 ;
20242 PyObject
* obj1
= 0 ;
20243 PyObject
* obj2
= 0 ;
20244 PyObject
* obj3
= 0 ;
20245 PyObject
* obj4
= 0 ;
20246 char * kwnames
[] = {
20247 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20252 if (!SWIG_IsOK(res1
)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
;
20273 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20275 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20276 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20277 return SWIG_Py_Void();
20280 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20281 PyObject
*resultobj
= 0;
20282 wxMemoryDC
*result
= 0 ;
20284 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20286 if (!wxPyCheckForApp()) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (wxMemoryDC
*)new wxMemoryDC();
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20299 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
= 0;
20301 wxDC
*arg1
= (wxDC
*) 0 ;
20302 wxMemoryDC
*result
= 0 ;
20305 PyObject
* obj0
= 0 ;
20306 char * kwnames
[] = {
20307 (char *) "oldDC", NULL
20310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20312 if (!SWIG_IsOK(res1
)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20317 if (!wxPyCheckForApp()) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20330 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
= 0;
20332 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20333 wxBitmap
*arg2
= 0 ;
20338 PyObject
* obj0
= 0 ;
20339 PyObject
* obj1
= 0 ;
20340 char * kwnames
[] = {
20341 (char *) "self",(char *) "bitmap", NULL
20344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20346 if (!SWIG_IsOK(res1
)) {
20347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20349 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20351 if (!SWIG_IsOK(res2
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20357 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= SWIG_Py_Void();
20371 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20374 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20375 return SWIG_Py_Void();
20378 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20379 return SWIG_Python_InitShadowInstance(args
);
20382 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20383 PyObject
*resultobj
= 0;
20384 wxDC
*arg1
= (wxDC
*) 0 ;
20385 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20386 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20387 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20388 wxBufferedDC
*result
= 0 ;
20396 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20398 if (!SWIG_IsOK(res1
)) {
20399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20403 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20404 if (!SWIG_IsOK(res2
)) {
20405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20410 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20413 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20414 if (!SWIG_IsOK(ecode3
)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20417 arg3
= static_cast< int >(val3
);
20420 if (!wxPyCheckForApp()) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20433 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20434 PyObject
*resultobj
= 0;
20435 wxDC
*arg1
= (wxDC
*) 0 ;
20437 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20438 wxBufferedDC
*result
= 0 ;
20445 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20447 if (!SWIG_IsOK(res1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20453 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20456 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20457 if (!SWIG_IsOK(ecode3
)) {
20458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20460 arg3
= static_cast< int >(val3
);
20463 if (!wxPyCheckForApp()) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20476 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20480 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20482 if ((argc
>= 1) && (argc
<= 3)) {
20486 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20487 _v
= SWIG_CheckState(res
);
20489 if (!_v
) goto check_1
;
20491 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20495 if ((argc
>= 2) && (argc
<= 3)) {
20496 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20500 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20505 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20506 PyObject
*resultobj
= 0;
20507 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20510 PyObject
*swig_obj
[1] ;
20512 if (!args
) SWIG_fail
;
20513 swig_obj
[0] = args
;
20514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20515 if (!SWIG_IsOK(res1
)) {
20516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20518 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= SWIG_Py_Void();
20533 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20534 PyObject
*resultobj
= 0;
20535 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20538 PyObject
*swig_obj
[1] ;
20540 if (!args
) SWIG_fail
;
20541 swig_obj
[0] = args
;
20542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20543 if (!SWIG_IsOK(res1
)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20546 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_Py_Void();
20560 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20563 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20564 return SWIG_Py_Void();
20567 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20568 return SWIG_Python_InitShadowInstance(args
);
20571 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
= 0;
20573 wxWindow
*arg1
= (wxWindow
*) 0 ;
20574 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20575 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20576 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20577 wxBufferedPaintDC
*result
= 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 PyObject
* obj2
= 0 ;
20587 char * kwnames
[] = {
20588 (char *) "window",(char *) "buffer",(char *) "style", NULL
20591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20593 if (!SWIG_IsOK(res1
)) {
20594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20599 if (!SWIG_IsOK(res2
)) {
20600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20605 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20609 if (!SWIG_IsOK(ecode3
)) {
20610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20612 arg3
= static_cast< int >(val3
);
20615 if (!wxPyCheckForApp()) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20628 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20631 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20632 return SWIG_Py_Void();
20635 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20636 return SWIG_Python_InitShadowInstance(args
);
20639 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20640 PyObject
*resultobj
= 0;
20641 wxScreenDC
*result
= 0 ;
20643 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20645 if (!wxPyCheckForApp()) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (wxScreenDC
*)new wxScreenDC();
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20658 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
= 0;
20660 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20661 wxWindow
*arg2
= (wxWindow
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 char * kwnames
[] = {
20670 (char *) "self",(char *) "window", NULL
20673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20675 if (!SWIG_IsOK(res1
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20678 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20680 if (!SWIG_IsOK(res2
)) {
20681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20699 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= 0;
20701 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20702 wxRect
*arg2
= (wxRect
*) NULL
;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 char * kwnames
[] = {
20711 (char *) "self",(char *) "rect", NULL
20714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20716 if (!SWIG_IsOK(res1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20719 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20722 if (!SWIG_IsOK(res2
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20725 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20742 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20743 PyObject
*resultobj
= 0;
20744 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20748 PyObject
*swig_obj
[1] ;
20750 if (!args
) SWIG_fail
;
20751 swig_obj
[0] = args
;
20752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20756 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (bool)(arg1
)->EndDrawingOnTop();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20772 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20775 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20776 return SWIG_Py_Void();
20779 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20780 return SWIG_Python_InitShadowInstance(args
);
20783 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
= 0;
20785 wxWindow
*arg1
= (wxWindow
*) 0 ;
20786 wxClientDC
*result
= 0 ;
20789 PyObject
* obj0
= 0 ;
20790 char * kwnames
[] = {
20791 (char *) "win", NULL
20794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20801 if (!wxPyCheckForApp()) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (wxClientDC
*)new wxClientDC(arg1
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20814 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20817 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20818 return SWIG_Py_Void();
20821 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20822 return SWIG_Python_InitShadowInstance(args
);
20825 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
= 0;
20827 wxWindow
*arg1
= (wxWindow
*) 0 ;
20828 wxPaintDC
*result
= 0 ;
20831 PyObject
* obj0
= 0 ;
20832 char * kwnames
[] = {
20833 (char *) "win", NULL
20836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20838 if (!SWIG_IsOK(res1
)) {
20839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20843 if (!wxPyCheckForApp()) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20856 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20860 return SWIG_Py_Void();
20863 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20864 return SWIG_Python_InitShadowInstance(args
);
20867 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
= 0;
20869 wxWindow
*arg1
= (wxWindow
*) 0 ;
20870 wxWindowDC
*result
= 0 ;
20873 PyObject
* obj0
= 0 ;
20874 char * kwnames
[] = {
20875 (char *) "win", NULL
20878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20880 if (!SWIG_IsOK(res1
)) {
20881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20883 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20885 if (!wxPyCheckForApp()) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20898 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20901 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20902 return SWIG_Py_Void();
20905 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20906 return SWIG_Python_InitShadowInstance(args
);
20909 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
= 0;
20913 wxMirrorDC
*result
= 0 ;
20918 PyObject
* obj0
= 0 ;
20919 PyObject
* obj1
= 0 ;
20920 char * kwnames
[] = {
20921 (char *) "dc",(char *) "mirror", NULL
20924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20925 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20926 if (!SWIG_IsOK(res1
)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20933 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20934 if (!SWIG_IsOK(ecode2
)) {
20935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20937 arg2
= static_cast< bool >(val2
);
20939 if (!wxPyCheckForApp()) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20952 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20955 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20956 return SWIG_Py_Void();
20959 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20960 return SWIG_Python_InitShadowInstance(args
);
20963 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
= 0;
20965 wxPrintData
*arg1
= 0 ;
20966 wxPostScriptDC
*result
= 0 ;
20969 PyObject
* obj0
= 0 ;
20970 char * kwnames
[] = {
20971 (char *) "printData", NULL
20974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
20975 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
20976 if (!SWIG_IsOK(res1
)) {
20977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20982 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
20984 if (!wxPyCheckForApp()) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
20997 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20998 PyObject
*resultobj
= 0;
20999 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21000 wxPrintData
*result
= 0 ;
21003 PyObject
*swig_obj
[1] ;
21005 if (!args
) SWIG_fail
;
21006 swig_obj
[0] = args
;
21007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21008 if (!SWIG_IsOK(res1
)) {
21009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21011 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21016 result
= (wxPrintData
*) &_result_ref
;
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21028 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
= 0;
21030 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21031 wxPrintData
*arg2
= 0 ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 char * kwnames
[] = {
21039 (char *) "self",(char *) "data", NULL
21042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21047 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21049 if (!SWIG_IsOK(res2
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21055 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_Py_Void();
21069 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
= 0;
21074 PyObject
* obj0
= 0 ;
21075 char * kwnames
[] = {
21076 (char *) "ppi", NULL
21079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21080 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21081 if (!SWIG_IsOK(ecode1
)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21084 arg1
= static_cast< int >(val1
);
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 wxPostScriptDC::SetResolution(arg1
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_Py_Void();
21098 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21099 PyObject
*resultobj
= 0;
21102 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (int)wxPostScriptDC::GetResolution();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= SWIG_From_int(static_cast< int >(result
));
21116 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21119 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21120 return SWIG_Py_Void();
21123 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21124 return SWIG_Python_InitShadowInstance(args
);
21127 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
= 0;
21129 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21130 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21131 wxMetaFile
*result
= 0 ;
21132 bool temp1
= false ;
21133 PyObject
* obj0
= 0 ;
21134 char * kwnames
[] = {
21135 (char *) "filename", NULL
21138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21141 arg1
= wxString_in_helper(obj0
);
21142 if (arg1
== NULL
) SWIG_fail
;
21147 if (!wxPyCheckForApp()) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21168 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21171 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21172 return SWIG_Py_Void();
21175 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21176 return SWIG_Python_InitShadowInstance(args
);
21179 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
= 0;
21181 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21182 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21183 int arg2
= (int) 0 ;
21184 int arg3
= (int) 0 ;
21185 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21186 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21187 wxMetaFileDC
*result
= 0 ;
21188 bool temp1
= false ;
21193 bool temp4
= false ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 PyObject
* obj2
= 0 ;
21197 PyObject
* obj3
= 0 ;
21198 char * kwnames
[] = {
21199 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21205 arg1
= wxString_in_helper(obj0
);
21206 if (arg1
== NULL
) SWIG_fail
;
21211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21212 if (!SWIG_IsOK(ecode2
)) {
21213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21215 arg2
= static_cast< int >(val2
);
21218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21219 if (!SWIG_IsOK(ecode3
)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21222 arg3
= static_cast< int >(val3
);
21226 arg4
= wxString_in_helper(obj3
);
21227 if (arg4
== NULL
) SWIG_fail
;
21232 if (!wxPyCheckForApp()) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21261 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21264 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21265 return SWIG_Py_Void();
21268 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21269 return SWIG_Python_InitShadowInstance(args
);
21272 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
= 0;
21274 wxPrintData
*arg1
= 0 ;
21275 wxPrinterDC
*result
= 0 ;
21278 PyObject
* obj0
= 0 ;
21279 char * kwnames
[] = {
21280 (char *) "printData", NULL
21283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21284 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21285 if (!SWIG_IsOK(res1
)) {
21286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21291 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21293 if (!wxPyCheckForApp()) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21306 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21310 return SWIG_Py_Void();
21313 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21314 return SWIG_Python_InitShadowInstance(args
);
21317 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
= 0;
21321 int arg3
= (int) true ;
21322 int arg4
= (int) 1 ;
21323 wxImageList
*result
= 0 ;
21332 PyObject
* obj0
= 0 ;
21333 PyObject
* obj1
= 0 ;
21334 PyObject
* obj2
= 0 ;
21335 PyObject
* obj3
= 0 ;
21336 char * kwnames
[] = {
21337 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21342 if (!SWIG_IsOK(ecode1
)) {
21343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21345 arg1
= static_cast< int >(val1
);
21346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21347 if (!SWIG_IsOK(ecode2
)) {
21348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21350 arg2
= static_cast< int >(val2
);
21352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21353 if (!SWIG_IsOK(ecode3
)) {
21354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21356 arg3
= static_cast< int >(val3
);
21359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21360 if (!SWIG_IsOK(ecode4
)) {
21361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21363 arg4
= static_cast< int >(val4
);
21366 if (!wxPyCheckForApp()) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21381 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21382 PyObject
*resultobj
= 0;
21383 wxImageList
*arg1
= (wxImageList
*) 0 ;
21386 PyObject
*swig_obj
[1] ;
21388 if (!args
) SWIG_fail
;
21389 swig_obj
[0] = args
;
21390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21391 if (!SWIG_IsOK(res1
)) {
21392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21394 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= SWIG_Py_Void();
21409 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
= 0;
21411 wxImageList
*arg1
= (wxImageList
*) 0 ;
21412 wxBitmap
*arg2
= 0 ;
21413 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21414 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 PyObject
* obj2
= 0 ;
21425 char * kwnames
[] = {
21426 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21431 if (!SWIG_IsOK(res1
)) {
21432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21434 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21436 if (!SWIG_IsOK(res2
)) {
21437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21442 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21444 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21445 if (!SWIG_IsOK(res3
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21451 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_From_int(static_cast< int >(result
));
21466 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
= 0;
21468 wxImageList
*arg1
= (wxImageList
*) 0 ;
21469 wxBitmap
*arg2
= 0 ;
21470 wxColour
*arg3
= 0 ;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 PyObject
* obj2
= 0 ;
21480 char * kwnames
[] = {
21481 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21486 if (!SWIG_IsOK(res1
)) {
21487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21489 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21491 if (!SWIG_IsOK(res2
)) {
21492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21497 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21500 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= SWIG_From_int(static_cast< int >(result
));
21515 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
= 0;
21517 wxImageList
*arg1
= (wxImageList
*) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 char * kwnames
[] = {
21527 (char *) "self",(char *) "icon", NULL
21530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21532 if (!SWIG_IsOK(res1
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21535 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21537 if (!SWIG_IsOK(res2
)) {
21538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21543 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_From_int(static_cast< int >(result
));
21557 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
= 0;
21559 wxImageList
*arg1
= (wxImageList
*) 0 ;
21561 SwigValueWrapper
<wxBitmap
> result
;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "self",(char *) "index", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21577 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21579 if (!SWIG_IsOK(ecode2
)) {
21580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21582 arg2
= static_cast< int >(val2
);
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21596 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
= 0;
21598 wxImageList
*arg1
= (wxImageList
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char * kwnames
[] = {
21608 (char *) "self",(char *) "index", NULL
21611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21613 if (!SWIG_IsOK(res1
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21616 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21618 if (!SWIG_IsOK(ecode2
)) {
21619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21621 arg2
= static_cast< int >(val2
);
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21635 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
= 0;
21637 wxImageList
*arg1
= (wxImageList
*) 0 ;
21639 wxBitmap
*arg3
= 0 ;
21647 PyObject
* obj0
= 0 ;
21648 PyObject
* obj1
= 0 ;
21649 PyObject
* obj2
= 0 ;
21650 char * kwnames
[] = {
21651 (char *) "self",(char *) "index",(char *) "bitmap", NULL
21654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21656 if (!SWIG_IsOK(res1
)) {
21657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21659 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21661 if (!SWIG_IsOK(ecode2
)) {
21662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21664 arg2
= static_cast< int >(val2
);
21665 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21666 if (!SWIG_IsOK(res3
)) {
21667 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21672 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21688 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
= 0;
21690 wxImageList
*arg1
= (wxImageList
*) 0 ;
21695 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21696 bool arg7
= (bool) (bool)false ;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 PyObject
* obj2
= 0 ;
21715 PyObject
* obj3
= 0 ;
21716 PyObject
* obj4
= 0 ;
21717 PyObject
* obj5
= 0 ;
21718 PyObject
* obj6
= 0 ;
21719 char * kwnames
[] = {
21720 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21725 if (!SWIG_IsOK(res1
)) {
21726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21728 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21730 if (!SWIG_IsOK(ecode2
)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21733 arg2
= static_cast< int >(val2
);
21734 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21735 if (!SWIG_IsOK(res3
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21741 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21742 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21743 if (!SWIG_IsOK(ecode4
)) {
21744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21746 arg4
= static_cast< int >(val4
);
21747 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21748 if (!SWIG_IsOK(ecode5
)) {
21749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21751 arg5
= static_cast< int >(val5
);
21753 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21754 if (!SWIG_IsOK(ecode6
)) {
21755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21757 arg6
= static_cast< int >(val6
);
21760 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21761 if (!SWIG_IsOK(ecode7
)) {
21762 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21764 arg7
= static_cast< bool >(val7
);
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21781 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21782 PyObject
*resultobj
= 0;
21783 wxImageList
*arg1
= (wxImageList
*) 0 ;
21787 PyObject
*swig_obj
[1] ;
21789 if (!args
) SWIG_fail
;
21790 swig_obj
[0] = args
;
21791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21792 if (!SWIG_IsOK(res1
)) {
21793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
21795 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 result
= (int)(arg1
)->GetImageCount();
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= SWIG_From_int(static_cast< int >(result
));
21809 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
= 0;
21811 wxImageList
*arg1
= (wxImageList
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char * kwnames
[] = {
21821 (char *) "self",(char *) "index", NULL
21824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21826 if (!SWIG_IsOK(res1
)) {
21827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
21829 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21831 if (!SWIG_IsOK(ecode2
)) {
21832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
21834 arg2
= static_cast< int >(val2
);
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 result
= (bool)(arg1
)->Remove(arg2
);
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21850 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21851 PyObject
*resultobj
= 0;
21852 wxImageList
*arg1
= (wxImageList
*) 0 ;
21856 PyObject
*swig_obj
[1] ;
21858 if (!args
) SWIG_fail
;
21859 swig_obj
[0] = args
;
21860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21861 if (!SWIG_IsOK(res1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
21864 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (bool)(arg1
)->RemoveAll();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21880 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
= 0;
21882 wxImageList
*arg1
= (wxImageList
*) 0 ;
21891 int res3
= SWIG_TMPOBJ
;
21893 int res4
= SWIG_TMPOBJ
;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 char * kwnames
[] = {
21897 (char *) "self",(char *) "index", NULL
21902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21904 if (!SWIG_IsOK(res1
)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
21907 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21909 if (!SWIG_IsOK(ecode2
)) {
21910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
21912 arg2
= static_cast< int >(val2
);
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_Py_Void();
21920 if (SWIG_IsTmpObj(res3
)) {
21921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21923 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21926 if (SWIG_IsTmpObj(res4
)) {
21927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21929 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21938 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21941 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
21942 return SWIG_Py_Void();
21945 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21946 return SWIG_Python_InitShadowInstance(args
);
21949 SWIGINTERN
int NORMAL_FONT_set(PyObject
*) {
21950 SWIG_Error(SWIG_AttributeError
,"Variable NORMAL_FONT is read-only.");
21955 SWIGINTERN PyObject
*NORMAL_FONT_get(void) {
21956 PyObject
*pyobj
= 0;
21958 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0 );
21963 SWIGINTERN
int SMALL_FONT_set(PyObject
*) {
21964 SWIG_Error(SWIG_AttributeError
,"Variable SMALL_FONT is read-only.");
21969 SWIGINTERN PyObject
*SMALL_FONT_get(void) {
21970 PyObject
*pyobj
= 0;
21972 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0 );
21977 SWIGINTERN
int ITALIC_FONT_set(PyObject
*) {
21978 SWIG_Error(SWIG_AttributeError
,"Variable ITALIC_FONT is read-only.");
21983 SWIGINTERN PyObject
*ITALIC_FONT_get(void) {
21984 PyObject
*pyobj
= 0;
21986 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0 );
21991 SWIGINTERN
int SWISS_FONT_set(PyObject
*) {
21992 SWIG_Error(SWIG_AttributeError
,"Variable SWISS_FONT is read-only.");
21997 SWIGINTERN PyObject
*SWISS_FONT_get(void) {
21998 PyObject
*pyobj
= 0;
22000 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0 );
22005 SWIGINTERN
int RED_PEN_set(PyObject
*) {
22006 SWIG_Error(SWIG_AttributeError
,"Variable RED_PEN is read-only.");
22011 SWIGINTERN PyObject
*RED_PEN_get(void) {
22012 PyObject
*pyobj
= 0;
22014 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0 );
22019 SWIGINTERN
int CYAN_PEN_set(PyObject
*) {
22020 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_PEN is read-only.");
22025 SWIGINTERN PyObject
*CYAN_PEN_get(void) {
22026 PyObject
*pyobj
= 0;
22028 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0 );
22033 SWIGINTERN
int GREEN_PEN_set(PyObject
*) {
22034 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_PEN is read-only.");
22039 SWIGINTERN PyObject
*GREEN_PEN_get(void) {
22040 PyObject
*pyobj
= 0;
22042 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0 );
22047 SWIGINTERN
int BLACK_PEN_set(PyObject
*) {
22048 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_PEN is read-only.");
22053 SWIGINTERN PyObject
*BLACK_PEN_get(void) {
22054 PyObject
*pyobj
= 0;
22056 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0 );
22061 SWIGINTERN
int WHITE_PEN_set(PyObject
*) {
22062 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_PEN is read-only.");
22067 SWIGINTERN PyObject
*WHITE_PEN_get(void) {
22068 PyObject
*pyobj
= 0;
22070 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0 );
22075 SWIGINTERN
int TRANSPARENT_PEN_set(PyObject
*) {
22076 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_PEN is read-only.");
22081 SWIGINTERN PyObject
*TRANSPARENT_PEN_get(void) {
22082 PyObject
*pyobj
= 0;
22084 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0 );
22089 SWIGINTERN
int BLACK_DASHED_PEN_set(PyObject
*) {
22090 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_DASHED_PEN is read-only.");
22095 SWIGINTERN PyObject
*BLACK_DASHED_PEN_get(void) {
22096 PyObject
*pyobj
= 0;
22098 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0 );
22103 SWIGINTERN
int GREY_PEN_set(PyObject
*) {
22104 SWIG_Error(SWIG_AttributeError
,"Variable GREY_PEN is read-only.");
22109 SWIGINTERN PyObject
*GREY_PEN_get(void) {
22110 PyObject
*pyobj
= 0;
22112 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22117 SWIGINTERN
int MEDIUM_GREY_PEN_set(PyObject
*) {
22118 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_PEN is read-only.");
22123 SWIGINTERN PyObject
*MEDIUM_GREY_PEN_get(void) {
22124 PyObject
*pyobj
= 0;
22126 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22131 SWIGINTERN
int LIGHT_GREY_PEN_set(PyObject
*) {
22132 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_PEN is read-only.");
22137 SWIGINTERN PyObject
*LIGHT_GREY_PEN_get(void) {
22138 PyObject
*pyobj
= 0;
22140 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
22145 SWIGINTERN
int BLUE_BRUSH_set(PyObject
*) {
22146 SWIG_Error(SWIG_AttributeError
,"Variable BLUE_BRUSH is read-only.");
22151 SWIGINTERN PyObject
*BLUE_BRUSH_get(void) {
22152 PyObject
*pyobj
= 0;
22154 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22159 SWIGINTERN
int GREEN_BRUSH_set(PyObject
*) {
22160 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_BRUSH is read-only.");
22165 SWIGINTERN PyObject
*GREEN_BRUSH_get(void) {
22166 PyObject
*pyobj
= 0;
22168 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22173 SWIGINTERN
int WHITE_BRUSH_set(PyObject
*) {
22174 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_BRUSH is read-only.");
22179 SWIGINTERN PyObject
*WHITE_BRUSH_get(void) {
22180 PyObject
*pyobj
= 0;
22182 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22187 SWIGINTERN
int BLACK_BRUSH_set(PyObject
*) {
22188 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_BRUSH is read-only.");
22193 SWIGINTERN PyObject
*BLACK_BRUSH_get(void) {
22194 PyObject
*pyobj
= 0;
22196 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22201 SWIGINTERN
int TRANSPARENT_BRUSH_set(PyObject
*) {
22202 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_BRUSH is read-only.");
22207 SWIGINTERN PyObject
*TRANSPARENT_BRUSH_get(void) {
22208 PyObject
*pyobj
= 0;
22210 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22215 SWIGINTERN
int CYAN_BRUSH_set(PyObject
*) {
22216 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_BRUSH is read-only.");
22221 SWIGINTERN PyObject
*CYAN_BRUSH_get(void) {
22222 PyObject
*pyobj
= 0;
22224 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22229 SWIGINTERN
int RED_BRUSH_set(PyObject
*) {
22230 SWIG_Error(SWIG_AttributeError
,"Variable RED_BRUSH is read-only.");
22235 SWIGINTERN PyObject
*RED_BRUSH_get(void) {
22236 PyObject
*pyobj
= 0;
22238 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22243 SWIGINTERN
int GREY_BRUSH_set(PyObject
*) {
22244 SWIG_Error(SWIG_AttributeError
,"Variable GREY_BRUSH is read-only.");
22249 SWIGINTERN PyObject
*GREY_BRUSH_get(void) {
22250 PyObject
*pyobj
= 0;
22252 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22257 SWIGINTERN
int MEDIUM_GREY_BRUSH_set(PyObject
*) {
22258 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
22263 SWIGINTERN PyObject
*MEDIUM_GREY_BRUSH_get(void) {
22264 PyObject
*pyobj
= 0;
22266 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22271 SWIGINTERN
int LIGHT_GREY_BRUSH_set(PyObject
*) {
22272 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
22277 SWIGINTERN PyObject
*LIGHT_GREY_BRUSH_get(void) {
22278 PyObject
*pyobj
= 0;
22280 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
22285 SWIGINTERN
int BLACK_set(PyObject
*) {
22286 SWIG_Error(SWIG_AttributeError
,"Variable BLACK is read-only.");
22291 SWIGINTERN PyObject
*BLACK_get(void) {
22292 PyObject
*pyobj
= 0;
22294 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK
), SWIGTYPE_p_wxColour
, 0 );
22299 SWIGINTERN
int WHITE_set(PyObject
*) {
22300 SWIG_Error(SWIG_AttributeError
,"Variable WHITE is read-only.");
22305 SWIGINTERN PyObject
*WHITE_get(void) {
22306 PyObject
*pyobj
= 0;
22308 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE
), SWIGTYPE_p_wxColour
, 0 );
22313 SWIGINTERN
int RED_set(PyObject
*) {
22314 SWIG_Error(SWIG_AttributeError
,"Variable RED is read-only.");
22319 SWIGINTERN PyObject
*RED_get(void) {
22320 PyObject
*pyobj
= 0;
22322 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED
), SWIGTYPE_p_wxColour
, 0 );
22327 SWIGINTERN
int BLUE_set(PyObject
*) {
22328 SWIG_Error(SWIG_AttributeError
,"Variable BLUE is read-only.");
22333 SWIGINTERN PyObject
*BLUE_get(void) {
22334 PyObject
*pyobj
= 0;
22336 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE
), SWIGTYPE_p_wxColour
, 0 );
22341 SWIGINTERN
int GREEN_set(PyObject
*) {
22342 SWIG_Error(SWIG_AttributeError
,"Variable GREEN is read-only.");
22347 SWIGINTERN PyObject
*GREEN_get(void) {
22348 PyObject
*pyobj
= 0;
22350 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN
), SWIGTYPE_p_wxColour
, 0 );
22355 SWIGINTERN
int CYAN_set(PyObject
*) {
22356 SWIG_Error(SWIG_AttributeError
,"Variable CYAN is read-only.");
22361 SWIGINTERN PyObject
*CYAN_get(void) {
22362 PyObject
*pyobj
= 0;
22364 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN
), SWIGTYPE_p_wxColour
, 0 );
22369 SWIGINTERN
int LIGHT_GREY_set(PyObject
*) {
22370 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY is read-only.");
22375 SWIGINTERN PyObject
*LIGHT_GREY_get(void) {
22376 PyObject
*pyobj
= 0;
22378 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0 );
22383 SWIGINTERN
int STANDARD_CURSOR_set(PyObject
*) {
22384 SWIG_Error(SWIG_AttributeError
,"Variable STANDARD_CURSOR is read-only.");
22389 SWIGINTERN PyObject
*STANDARD_CURSOR_get(void) {
22390 PyObject
*pyobj
= 0;
22392 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22397 SWIGINTERN
int HOURGLASS_CURSOR_set(PyObject
*) {
22398 SWIG_Error(SWIG_AttributeError
,"Variable HOURGLASS_CURSOR is read-only.");
22403 SWIGINTERN PyObject
*HOURGLASS_CURSOR_get(void) {
22404 PyObject
*pyobj
= 0;
22406 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22411 SWIGINTERN
int CROSS_CURSOR_set(PyObject
*) {
22412 SWIG_Error(SWIG_AttributeError
,"Variable CROSS_CURSOR is read-only.");
22417 SWIGINTERN PyObject
*CROSS_CURSOR_get(void) {
22418 PyObject
*pyobj
= 0;
22420 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
22425 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22426 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22431 SWIGINTERN PyObject
*NullBitmap_get(void) {
22432 PyObject
*pyobj
= 0;
22434 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22439 SWIGINTERN
int NullIcon_set(PyObject
*) {
22440 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22445 SWIGINTERN PyObject
*NullIcon_get(void) {
22446 PyObject
*pyobj
= 0;
22448 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22453 SWIGINTERN
int NullCursor_set(PyObject
*) {
22454 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22459 SWIGINTERN PyObject
*NullCursor_get(void) {
22460 PyObject
*pyobj
= 0;
22462 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22467 SWIGINTERN
int NullPen_set(PyObject
*) {
22468 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22473 SWIGINTERN PyObject
*NullPen_get(void) {
22474 PyObject
*pyobj
= 0;
22476 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22481 SWIGINTERN
int NullBrush_set(PyObject
*) {
22482 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22487 SWIGINTERN PyObject
*NullBrush_get(void) {
22488 PyObject
*pyobj
= 0;
22490 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22495 SWIGINTERN
int NullPalette_set(PyObject
*) {
22496 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22501 SWIGINTERN PyObject
*NullPalette_get(void) {
22502 PyObject
*pyobj
= 0;
22504 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22509 SWIGINTERN
int NullFont_set(PyObject
*) {
22510 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22515 SWIGINTERN PyObject
*NullFont_get(void) {
22516 PyObject
*pyobj
= 0;
22518 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22523 SWIGINTERN
int NullColour_set(PyObject
*) {
22524 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22529 SWIGINTERN PyObject
*NullColour_get(void) {
22530 PyObject
*pyobj
= 0;
22532 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22537 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
= 0;
22539 wxPenList
*arg1
= (wxPenList
*) 0 ;
22540 wxPen
*arg2
= (wxPen
*) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 char * kwnames
[] = {
22548 (char *) "self",(char *) "pen", NULL
22551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22553 if (!SWIG_IsOK(res1
)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22556 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22558 if (!SWIG_IsOK(res2
)) {
22559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22561 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->AddPen(arg2
);
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_Py_Void();
22575 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
= 0;
22577 wxPenList
*arg1
= (wxPenList
*) 0 ;
22578 wxColour
*arg2
= 0 ;
22581 wxPen
*result
= 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 PyObject
* obj2
= 0 ;
22592 PyObject
* obj3
= 0 ;
22593 char * kwnames
[] = {
22594 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22602 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22605 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22608 if (!SWIG_IsOK(ecode3
)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22611 arg3
= static_cast< int >(val3
);
22612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22613 if (!SWIG_IsOK(ecode4
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22616 arg4
= static_cast< int >(val4
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22630 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
= 0;
22632 wxPenList
*arg1
= (wxPenList
*) 0 ;
22633 wxPen
*arg2
= (wxPen
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 char * kwnames
[] = {
22641 (char *) "self",(char *) "pen", NULL
22644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22646 if (!SWIG_IsOK(res1
)) {
22647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22649 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22651 if (!SWIG_IsOK(res2
)) {
22652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22654 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 (arg1
)->RemovePen(arg2
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_Py_Void();
22668 SWIGINTERN PyObject
*_wrap_PenList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22669 PyObject
*resultobj
= 0;
22670 wxPenList
*arg1
= (wxPenList
*) 0 ;
22674 PyObject
*swig_obj
[1] ;
22676 if (!args
) SWIG_fail
;
22677 swig_obj
[0] = args
;
22678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22679 if (!SWIG_IsOK(res1
)) {
22680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_GetCount" "', expected argument " "1"" of type '" "wxPenList *""'");
22682 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= (int)(arg1
)->GetCount();
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_From_int(static_cast< int >(result
));
22696 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22699 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22700 return SWIG_Py_Void();
22703 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
= 0;
22705 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22706 wxBrush
*arg2
= (wxBrush
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 char * kwnames
[] = {
22714 (char *) "self",(char *) "brush", NULL
22717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22719 if (!SWIG_IsOK(res1
)) {
22720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22722 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22724 if (!SWIG_IsOK(res2
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22727 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 (arg1
)->AddBrush(arg2
);
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= SWIG_Py_Void();
22741 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
= 0;
22743 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22744 wxColour
*arg2
= 0 ;
22745 int arg3
= (int) wxSOLID
;
22746 wxBrush
*result
= 0 ;
22752 PyObject
* obj0
= 0 ;
22753 PyObject
* obj1
= 0 ;
22754 PyObject
* obj2
= 0 ;
22755 char * kwnames
[] = {
22756 (char *) "self",(char *) "colour",(char *) "style", NULL
22759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22761 if (!SWIG_IsOK(res1
)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22764 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22767 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22771 if (!SWIG_IsOK(ecode3
)) {
22772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22774 arg3
= static_cast< int >(val3
);
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22789 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
= 0;
22791 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22792 wxBrush
*arg2
= (wxBrush
*) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 char * kwnames
[] = {
22800 (char *) "self",(char *) "brush", NULL
22803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22805 if (!SWIG_IsOK(res1
)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22808 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22810 if (!SWIG_IsOK(res2
)) {
22811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22813 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 (arg1
)->RemoveBrush(arg2
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 resultobj
= SWIG_Py_Void();
22827 SWIGINTERN PyObject
*_wrap_BrushList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22828 PyObject
*resultobj
= 0;
22829 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22833 PyObject
*swig_obj
[1] ;
22835 if (!args
) SWIG_fail
;
22836 swig_obj
[0] = args
;
22837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22838 if (!SWIG_IsOK(res1
)) {
22839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_GetCount" "', expected argument " "1"" of type '" "wxBrushList *""'");
22841 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 result
= (int)(arg1
)->GetCount();
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_From_int(static_cast< int >(result
));
22855 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22858 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
22859 return SWIG_Py_Void();
22862 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22863 PyObject
*resultobj
= 0;
22864 wxColourDatabase
*result
= 0 ;
22866 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
22868 if (!wxPyCheckForApp()) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (wxColourDatabase
*)new wxColourDatabase();
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
22881 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22886 PyObject
*swig_obj
[1] ;
22888 if (!args
) SWIG_fail
;
22889 swig_obj
[0] = args
;
22890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
22891 if (!SWIG_IsOK(res1
)) {
22892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
22894 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_Py_Void();
22909 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
= 0;
22911 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22912 wxString
*arg2
= 0 ;
22916 bool temp2
= false ;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 char * kwnames
[] = {
22920 (char *) "self",(char *) "name", NULL
22923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22925 if (!SWIG_IsOK(res1
)) {
22926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22928 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22930 arg2
= wxString_in_helper(obj1
);
22931 if (arg2
== NULL
) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
22955 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
= 0;
22957 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22958 wxColour
*arg2
= 0 ;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 char * kwnames
[] = {
22966 (char *) "self",(char *) "colour", NULL
22969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22974 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22977 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22998 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
= 0;
23000 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23001 wxString
*arg2
= 0 ;
23002 wxColour
*arg3
= 0 ;
23005 bool temp2
= false ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 PyObject
* obj2
= 0 ;
23010 char * kwnames
[] = {
23011 (char *) "self",(char *) "name",(char *) "colour", NULL
23014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23016 if (!SWIG_IsOK(res1
)) {
23017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23019 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23021 arg2
= wxString_in_helper(obj1
);
23022 if (arg2
== NULL
) SWIG_fail
;
23027 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= SWIG_Py_Void();
23050 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
= 0;
23052 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23053 wxString
*arg2
= 0 ;
23059 bool temp2
= false ;
23066 PyObject
* obj0
= 0 ;
23067 PyObject
* obj1
= 0 ;
23068 PyObject
* obj2
= 0 ;
23069 PyObject
* obj3
= 0 ;
23070 PyObject
* obj4
= 0 ;
23071 char * kwnames
[] = {
23072 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23077 if (!SWIG_IsOK(res1
)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23080 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23082 arg2
= wxString_in_helper(obj1
);
23083 if (arg2
== NULL
) SWIG_fail
;
23086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23087 if (!SWIG_IsOK(ecode3
)) {
23088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23090 arg3
= static_cast< int >(val3
);
23091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23092 if (!SWIG_IsOK(ecode4
)) {
23093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23095 arg4
= static_cast< int >(val4
);
23096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23097 if (!SWIG_IsOK(ecode5
)) {
23098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23100 arg5
= static_cast< int >(val5
);
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_Py_Void();
23122 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23125 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23126 return SWIG_Py_Void();
23129 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23130 return SWIG_Python_InitShadowInstance(args
);
23133 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
= 0;
23135 wxFontList
*arg1
= (wxFontList
*) 0 ;
23136 wxFont
*arg2
= (wxFont
*) 0 ;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 char * kwnames
[] = {
23144 (char *) "self",(char *) "font", NULL
23147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23149 if (!SWIG_IsOK(res1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23152 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23154 if (!SWIG_IsOK(res2
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23157 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 (arg1
)->AddFont(arg2
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_Py_Void();
23171 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
= 0;
23173 wxFontList
*arg1
= (wxFontList
*) 0 ;
23178 bool arg6
= (bool) false ;
23179 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23180 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23181 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23182 wxFont
*result
= 0 ;
23195 bool temp7
= false ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 PyObject
* obj2
= 0 ;
23201 PyObject
* obj3
= 0 ;
23202 PyObject
* obj4
= 0 ;
23203 PyObject
* obj5
= 0 ;
23204 PyObject
* obj6
= 0 ;
23205 PyObject
* obj7
= 0 ;
23206 char * kwnames
[] = {
23207 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23212 if (!SWIG_IsOK(res1
)) {
23213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23215 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23217 if (!SWIG_IsOK(ecode2
)) {
23218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23220 arg2
= static_cast< int >(val2
);
23221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23222 if (!SWIG_IsOK(ecode3
)) {
23223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23225 arg3
= static_cast< int >(val3
);
23226 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23227 if (!SWIG_IsOK(ecode4
)) {
23228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23230 arg4
= static_cast< int >(val4
);
23231 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23232 if (!SWIG_IsOK(ecode5
)) {
23233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23235 arg5
= static_cast< int >(val5
);
23237 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23238 if (!SWIG_IsOK(ecode6
)) {
23239 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23241 arg6
= static_cast< bool >(val6
);
23245 arg7
= wxString_in_helper(obj6
);
23246 if (arg7
== NULL
) SWIG_fail
;
23251 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23252 if (!SWIG_IsOK(ecode8
)) {
23253 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23255 arg8
= static_cast< wxFontEncoding
>(val8
);
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23278 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
= 0;
23280 wxFontList
*arg1
= (wxFontList
*) 0 ;
23281 wxFont
*arg2
= (wxFont
*) 0 ;
23286 PyObject
* obj0
= 0 ;
23287 PyObject
* obj1
= 0 ;
23288 char * kwnames
[] = {
23289 (char *) "self",(char *) "font", NULL
23292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23294 if (!SWIG_IsOK(res1
)) {
23295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23297 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23299 if (!SWIG_IsOK(res2
)) {
23300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23302 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 (arg1
)->RemoveFont(arg2
);
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= SWIG_Py_Void();
23316 SWIGINTERN PyObject
*_wrap_FontList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23317 PyObject
*resultobj
= 0;
23318 wxFontList
*arg1
= (wxFontList
*) 0 ;
23322 PyObject
*swig_obj
[1] ;
23324 if (!args
) SWIG_fail
;
23325 swig_obj
[0] = args
;
23326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23327 if (!SWIG_IsOK(res1
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_GetCount" "', expected argument " "1"" of type '" "wxFontList *""'");
23330 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 result
= (int)(arg1
)->GetCount();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= SWIG_From_int(static_cast< int >(result
));
23344 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23347 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23348 return SWIG_Py_Void();
23351 SWIGINTERN
int TheFontList_set(PyObject
*) {
23352 SWIG_Error(SWIG_AttributeError
,"Variable TheFontList is read-only.");
23357 SWIGINTERN PyObject
*TheFontList_get(void) {
23358 PyObject
*pyobj
= 0;
23360 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0 );
23365 SWIGINTERN
int ThePenList_set(PyObject
*) {
23366 SWIG_Error(SWIG_AttributeError
,"Variable ThePenList is read-only.");
23371 SWIGINTERN PyObject
*ThePenList_get(void) {
23372 PyObject
*pyobj
= 0;
23374 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxThePenList
), SWIGTYPE_p_wxPenList
, 0 );
23379 SWIGINTERN
int TheBrushList_set(PyObject
*) {
23380 SWIG_Error(SWIG_AttributeError
,"Variable TheBrushList is read-only.");
23385 SWIGINTERN PyObject
*TheBrushList_get(void) {
23386 PyObject
*pyobj
= 0;
23388 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0 );
23393 SWIGINTERN
int TheColourDatabase_set(PyObject
*) {
23394 SWIG_Error(SWIG_AttributeError
,"Variable TheColourDatabase is read-only.");
23399 SWIGINTERN PyObject
*TheColourDatabase_get(void) {
23400 PyObject
*pyobj
= 0;
23402 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0 );
23407 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23408 PyObject
*resultobj
= 0;
23409 wxEffects
*result
= 0 ;
23411 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (wxEffects
*)new wxEffects();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23425 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23426 PyObject
*resultobj
= 0;
23427 wxEffects
*arg1
= (wxEffects
*) 0 ;
23431 PyObject
*swig_obj
[1] ;
23433 if (!args
) SWIG_fail
;
23434 swig_obj
[0] = args
;
23435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23436 if (!SWIG_IsOK(res1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23439 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23453 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23454 PyObject
*resultobj
= 0;
23455 wxEffects
*arg1
= (wxEffects
*) 0 ;
23459 PyObject
*swig_obj
[1] ;
23461 if (!args
) SWIG_fail
;
23462 swig_obj
[0] = args
;
23463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23467 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23481 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23482 PyObject
*resultobj
= 0;
23483 wxEffects
*arg1
= (wxEffects
*) 0 ;
23487 PyObject
*swig_obj
[1] ;
23489 if (!args
) SWIG_fail
;
23490 swig_obj
[0] = args
;
23491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23492 if (!SWIG_IsOK(res1
)) {
23493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23495 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23509 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23510 PyObject
*resultobj
= 0;
23511 wxEffects
*arg1
= (wxEffects
*) 0 ;
23515 PyObject
*swig_obj
[1] ;
23517 if (!args
) SWIG_fail
;
23518 swig_obj
[0] = args
;
23519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23520 if (!SWIG_IsOK(res1
)) {
23521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23523 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23537 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23538 PyObject
*resultobj
= 0;
23539 wxEffects
*arg1
= (wxEffects
*) 0 ;
23543 PyObject
*swig_obj
[1] ;
23545 if (!args
) SWIG_fail
;
23546 swig_obj
[0] = args
;
23547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23551 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23565 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
= 0;
23567 wxEffects
*arg1
= (wxEffects
*) 0 ;
23568 wxColour
*arg2
= 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 char * kwnames
[] = {
23575 (char *) "self",(char *) "c", NULL
23578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23580 if (!SWIG_IsOK(res1
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23583 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23586 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_Py_Void();
23601 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
= 0;
23603 wxEffects
*arg1
= (wxEffects
*) 0 ;
23604 wxColour
*arg2
= 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char * kwnames
[] = {
23611 (char *) "self",(char *) "c", NULL
23614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23619 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23622 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_Py_Void();
23637 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
= 0;
23639 wxEffects
*arg1
= (wxEffects
*) 0 ;
23640 wxColour
*arg2
= 0 ;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj1
= 0 ;
23646 char * kwnames
[] = {
23647 (char *) "self",(char *) "c", NULL
23650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23652 if (!SWIG_IsOK(res1
)) {
23653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23655 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_Py_Void();
23673 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
= 0;
23675 wxEffects
*arg1
= (wxEffects
*) 0 ;
23676 wxColour
*arg2
= 0 ;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 char * kwnames
[] = {
23683 (char *) "self",(char *) "c", NULL
23686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23688 if (!SWIG_IsOK(res1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23691 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_Py_Void();
23709 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
= 0;
23711 wxEffects
*arg1
= (wxEffects
*) 0 ;
23712 wxColour
*arg2
= 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char * kwnames
[] = {
23719 (char *) "self",(char *) "c", NULL
23722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23724 if (!SWIG_IsOK(res1
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23727 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_Py_Void();
23745 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
= 0;
23747 wxEffects
*arg1
= (wxEffects
*) 0 ;
23748 wxColour
*arg2
= 0 ;
23749 wxColour
*arg3
= 0 ;
23750 wxColour
*arg4
= 0 ;
23751 wxColour
*arg5
= 0 ;
23752 wxColour
*arg6
= 0 ;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 PyObject
* obj2
= 0 ;
23763 PyObject
* obj3
= 0 ;
23764 PyObject
* obj4
= 0 ;
23765 PyObject
* obj5
= 0 ;
23766 char * kwnames
[] = {
23767 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23775 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23782 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23786 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23790 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
23794 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_Py_Void();
23809 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
= 0;
23811 wxEffects
*arg1
= (wxEffects
*) 0 ;
23814 int arg4
= (int) 1 ;
23822 PyObject
* obj0
= 0 ;
23823 PyObject
* obj1
= 0 ;
23824 PyObject
* obj2
= 0 ;
23825 PyObject
* obj3
= 0 ;
23826 char * kwnames
[] = {
23827 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
23830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23832 if (!SWIG_IsOK(res1
)) {
23833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
23835 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
23837 if (!SWIG_IsOK(res2
)) {
23838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23843 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23846 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
23849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23850 if (!SWIG_IsOK(ecode4
)) {
23851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
23853 arg4
= static_cast< int >(val4
);
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= SWIG_Py_Void();
23868 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
= 0;
23870 wxEffects
*arg1
= (wxEffects
*) 0 ;
23873 wxBitmap
*arg4
= 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 PyObject
* obj2
= 0 ;
23885 PyObject
* obj3
= 0 ;
23886 char * kwnames
[] = {
23887 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
23890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23892 if (!SWIG_IsOK(res1
)) {
23893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
23895 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23898 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23900 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
23901 if (!SWIG_IsOK(res3
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23907 arg3
= reinterpret_cast< wxDC
* >(argp3
);
23908 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
23909 if (!SWIG_IsOK(res4
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23915 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23931 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23934 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
23935 return SWIG_Py_Void();
23938 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23939 return SWIG_Python_InitShadowInstance(args
);
23942 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
= 0;
23947 wxSplitterRenderParams
*result
= 0 ;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 PyObject
* obj2
= 0 ;
23957 char * kwnames
[] = {
23958 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
23961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23962 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23963 if (!SWIG_IsOK(ecode1
)) {
23964 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
23966 arg1
= static_cast< int >(val1
);
23967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23968 if (!SWIG_IsOK(ecode2
)) {
23969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
23971 arg2
= static_cast< int >(val2
);
23972 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23973 if (!SWIG_IsOK(ecode3
)) {
23974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
23976 arg3
= static_cast< bool >(val3
);
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
23990 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23991 PyObject
*resultobj
= 0;
23992 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23995 PyObject
*swig_obj
[1] ;
23997 if (!args
) SWIG_fail
;
23998 swig_obj
[0] = args
;
23999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24000 if (!SWIG_IsOK(res1
)) {
24001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24003 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_Py_Void();
24018 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24019 PyObject
*resultobj
= 0;
24020 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24024 PyObject
*swig_obj
[1] ;
24026 if (!args
) SWIG_fail
;
24027 swig_obj
[0] = args
;
24028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24029 if (!SWIG_IsOK(res1
)) {
24030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24032 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24033 result
= (int)(int) ((arg1
)->widthSash
);
24034 resultobj
= SWIG_From_int(static_cast< int >(result
));
24041 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24042 PyObject
*resultobj
= 0;
24043 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24047 PyObject
*swig_obj
[1] ;
24049 if (!args
) SWIG_fail
;
24050 swig_obj
[0] = args
;
24051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24052 if (!SWIG_IsOK(res1
)) {
24053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24055 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24056 result
= (int)(int) ((arg1
)->border
);
24057 resultobj
= SWIG_From_int(static_cast< int >(result
));
24064 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24065 PyObject
*resultobj
= 0;
24066 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24070 PyObject
*swig_obj
[1] ;
24072 if (!args
) SWIG_fail
;
24073 swig_obj
[0] = args
;
24074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24075 if (!SWIG_IsOK(res1
)) {
24076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24078 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24079 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24080 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24087 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24090 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24091 return SWIG_Py_Void();
24094 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24095 return SWIG_Python_InitShadowInstance(args
);
24098 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
= 0;
24102 wxRendererVersion
*result
= 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 char * kwnames
[] = {
24110 (char *) "version_",(char *) "age_", NULL
24113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24115 if (!SWIG_IsOK(ecode1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24118 arg1
= static_cast< int >(val1
);
24119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24120 if (!SWIG_IsOK(ecode2
)) {
24121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24123 arg2
= static_cast< int >(val2
);
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24137 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24138 PyObject
*resultobj
= 0;
24139 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24142 PyObject
*swig_obj
[1] ;
24144 if (!args
) SWIG_fail
;
24145 swig_obj
[0] = args
;
24146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24147 if (!SWIG_IsOK(res1
)) {
24148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24150 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_Py_Void();
24165 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24166 PyObject
*resultobj
= 0;
24167 wxRendererVersion
*arg1
= 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char * kwnames
[] = {
24173 (char *) "ver", NULL
24176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24177 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24178 if (!SWIG_IsOK(res1
)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24184 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24200 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24201 PyObject
*resultobj
= 0;
24202 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24206 PyObject
*swig_obj
[1] ;
24208 if (!args
) SWIG_fail
;
24209 swig_obj
[0] = args
;
24210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24211 if (!SWIG_IsOK(res1
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24214 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24215 result
= (int)(int) ((arg1
)->version
);
24216 resultobj
= SWIG_From_int(static_cast< int >(result
));
24223 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24224 PyObject
*resultobj
= 0;
24225 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24229 PyObject
*swig_obj
[1] ;
24231 if (!args
) SWIG_fail
;
24232 swig_obj
[0] = args
;
24233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24237 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24238 result
= (int)(int) ((arg1
)->age
);
24239 resultobj
= SWIG_From_int(static_cast< int >(result
));
24246 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24249 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24250 return SWIG_Py_Void();
24253 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24254 return SWIG_Python_InitShadowInstance(args
);
24257 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24258 PyObject
*resultobj
= 0;
24259 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24260 wxWindow
*arg2
= (wxWindow
*) 0 ;
24263 int arg5
= (int) 0 ;
24273 PyObject
* obj0
= 0 ;
24274 PyObject
* obj1
= 0 ;
24275 PyObject
* obj2
= 0 ;
24276 PyObject
* obj3
= 0 ;
24277 PyObject
* obj4
= 0 ;
24278 char * kwnames
[] = {
24279 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24287 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24289 if (!SWIG_IsOK(res2
)) {
24290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24292 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24293 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24294 if (!SWIG_IsOK(res3
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24300 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24303 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24307 if (!SWIG_IsOK(ecode5
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24310 arg5
= static_cast< int >(val5
);
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= SWIG_Py_Void();
24325 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
= 0;
24327 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24328 wxWindow
*arg2
= (wxWindow
*) 0 ;
24331 int arg5
= (int) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 PyObject
* obj2
= 0 ;
24344 PyObject
* obj3
= 0 ;
24345 PyObject
* obj4
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24355 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24357 if (!SWIG_IsOK(res2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24360 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24361 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24362 if (!SWIG_IsOK(res3
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24368 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24371 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24375 if (!SWIG_IsOK(ecode5
)) {
24376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24378 arg5
= static_cast< int >(val5
);
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= SWIG_Py_Void();
24393 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
= 0;
24395 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24396 wxWindow
*arg2
= (wxWindow
*) 0 ;
24399 int arg5
= (int) 0 ;
24409 PyObject
* obj0
= 0 ;
24410 PyObject
* obj1
= 0 ;
24411 PyObject
* obj2
= 0 ;
24412 PyObject
* obj3
= 0 ;
24413 PyObject
* obj4
= 0 ;
24414 char * kwnames
[] = {
24415 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24423 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24425 if (!SWIG_IsOK(res2
)) {
24426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24428 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24429 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24430 if (!SWIG_IsOK(res3
)) {
24431 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24436 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24439 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24442 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24443 if (!SWIG_IsOK(ecode5
)) {
24444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24446 arg5
= static_cast< int >(val5
);
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= SWIG_Py_Void();
24461 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
= 0;
24463 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24464 wxWindow
*arg2
= (wxWindow
*) 0 ;
24468 wxOrientation arg6
;
24469 int arg7
= (int) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 PyObject
* obj2
= 0 ;
24486 PyObject
* obj3
= 0 ;
24487 PyObject
* obj4
= 0 ;
24488 PyObject
* obj5
= 0 ;
24489 PyObject
* obj6
= 0 ;
24490 char * kwnames
[] = {
24491 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24499 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24501 if (!SWIG_IsOK(res2
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24504 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24505 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24506 if (!SWIG_IsOK(res3
)) {
24507 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24512 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24515 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24517 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24518 if (!SWIG_IsOK(ecode5
)) {
24519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24521 arg5
= static_cast< int >(val5
);
24522 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24523 if (!SWIG_IsOK(ecode6
)) {
24524 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24526 arg6
= static_cast< wxOrientation
>(val6
);
24528 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24529 if (!SWIG_IsOK(ecode7
)) {
24530 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24532 arg7
= static_cast< int >(val7
);
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_Py_Void();
24547 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
= 0;
24549 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24550 wxWindow
*arg2
= (wxWindow
*) 0 ;
24553 int arg5
= (int) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 PyObject
* obj2
= 0 ;
24566 PyObject
* obj3
= 0 ;
24567 PyObject
* obj4
= 0 ;
24568 char * kwnames
[] = {
24569 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24574 if (!SWIG_IsOK(res1
)) {
24575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24577 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24579 if (!SWIG_IsOK(res2
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24582 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24583 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24584 if (!SWIG_IsOK(res3
)) {
24585 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24590 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24593 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24596 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24597 if (!SWIG_IsOK(ecode5
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24600 arg5
= static_cast< int >(val5
);
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_Py_Void();
24615 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
= 0;
24617 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24618 wxWindow
*arg2
= (wxWindow
*) 0 ;
24621 int arg5
= (int) 0 ;
24631 PyObject
* obj0
= 0 ;
24632 PyObject
* obj1
= 0 ;
24633 PyObject
* obj2
= 0 ;
24634 PyObject
* obj3
= 0 ;
24635 PyObject
* obj4
= 0 ;
24636 char * kwnames
[] = {
24637 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24642 if (!SWIG_IsOK(res1
)) {
24643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24645 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24647 if (!SWIG_IsOK(res2
)) {
24648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24650 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24651 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24652 if (!SWIG_IsOK(res3
)) {
24653 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24658 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24661 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24665 if (!SWIG_IsOK(ecode5
)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24668 arg5
= static_cast< int >(val5
);
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= SWIG_Py_Void();
24683 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= 0;
24685 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24686 wxWindow
*arg2
= (wxWindow
*) 0 ;
24687 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 char * kwnames
[] = {
24695 (char *) "self",(char *) "win", NULL
24698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24700 if (!SWIG_IsOK(res1
)) {
24701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24703 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24705 if (!SWIG_IsOK(res2
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24722 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24723 PyObject
*resultobj
= 0;
24724 wxRendererNative
*result
= 0 ;
24726 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24731 result
= (wxRendererNative
*) &_result_ref
;
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24743 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24744 PyObject
*resultobj
= 0;
24745 wxRendererNative
*result
= 0 ;
24747 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24752 result
= (wxRendererNative
*) &_result_ref
;
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24764 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24765 PyObject
*resultobj
= 0;
24766 wxRendererNative
*result
= 0 ;
24768 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24773 result
= (wxRendererNative
*) &_result_ref
;
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24785 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
= 0;
24787 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24788 wxRendererNative
*result
= 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char * kwnames
[] = {
24793 (char *) "renderer", NULL
24796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
24797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24798 if (!SWIG_IsOK(res1
)) {
24799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24801 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24815 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24816 PyObject
*resultobj
= 0;
24817 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24818 SwigValueWrapper
<wxRendererVersion
> result
;
24821 PyObject
*swig_obj
[1] ;
24823 if (!args
) SWIG_fail
;
24824 swig_obj
[0] = args
;
24825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24826 if (!SWIG_IsOK(res1
)) {
24827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
24829 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
24843 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24846 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
24847 return SWIG_Py_Void();
24850 static PyMethodDef SwigMethods
[] = {
24851 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
24852 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
24853 { (char *)"GDIObject_GetVisible", (PyCFunction
)_wrap_GDIObject_GetVisible
, METH_O
, NULL
},
24854 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24855 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
24856 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
24857 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
24858 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24859 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24860 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24861 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
24862 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
24863 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
24864 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
24865 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
24866 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24867 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24868 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24869 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
24870 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24871 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24872 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
24873 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
24874 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
24875 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
24876 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24877 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
24878 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24879 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24880 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
24881 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
24882 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
24883 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
24884 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24885 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
24886 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
24887 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
24888 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
24889 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
24890 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
24891 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
24892 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24893 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24894 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24895 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24896 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24897 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24898 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
24899 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24900 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
24901 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24902 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24903 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
24904 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
24905 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24906 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24907 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
24908 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24909 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24910 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24911 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
24912 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
24913 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
24914 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
24915 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
24916 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
24917 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
24918 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24919 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
24920 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24921 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24922 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24923 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24924 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24925 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
24926 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
24927 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
24928 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
24929 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
24930 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
24931 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
24932 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24933 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24934 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24935 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24936 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24937 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
24938 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24939 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24940 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24941 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24942 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24943 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24944 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24945 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
24946 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
24947 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24948 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
24949 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
24950 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
24951 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24952 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
24953 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
24954 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24955 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24956 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24957 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24958 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
24959 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
24960 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
24961 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
24962 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24963 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24964 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24965 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24966 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
24967 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
24968 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24969 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
24970 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
24971 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24972 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
24973 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24974 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
24975 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
24976 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
24977 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
24978 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24979 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24980 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
24981 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24982 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24983 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24984 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
24985 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
24986 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24987 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
24988 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24989 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24990 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
24991 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
24992 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
24993 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24994 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24995 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24996 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24997 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
24998 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
24999 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25000 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25001 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25002 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25003 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25004 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25005 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25006 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25007 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25008 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25009 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25010 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25011 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25012 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25013 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25014 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25015 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25016 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25017 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25018 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25019 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25020 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25021 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25022 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25023 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25024 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25025 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25026 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25027 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25028 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25029 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25030 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25031 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25032 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25033 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25034 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25035 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25036 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25037 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
25038 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
25039 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
25040 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
25041 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25042 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
25043 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
25044 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
25045 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
25046 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
25047 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
25048 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
25049 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25050 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25051 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25052 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25053 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25054 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25055 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25056 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25057 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
25058 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
25059 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25060 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
25061 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
25062 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
25063 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
25064 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
25065 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
25066 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
25067 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
25068 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
25069 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25070 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
25071 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
25072 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
25073 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25074 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25075 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
25076 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
25077 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
25078 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25079 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25080 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
25081 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25082 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25083 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25084 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25085 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25086 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
25087 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25088 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25089 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25090 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25091 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
25092 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
25093 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25094 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
25095 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25096 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25097 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25098 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25099 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25100 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
25101 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25102 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25103 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
25104 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
25105 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
25106 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
25107 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
25108 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
25109 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
25110 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
25111 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
25112 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
25113 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
25114 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
25115 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
25116 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25117 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25118 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25119 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25120 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25121 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25122 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25123 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25124 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25125 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25126 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25127 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
25128 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
25129 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
25130 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25131 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
25132 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
25133 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25134 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
25135 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
25136 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
25137 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
25138 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25139 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25141 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
25142 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
25143 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
25144 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
25145 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
25146 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
25147 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
25148 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
25149 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
25150 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
25151 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
25152 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
25154 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25156 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
25157 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
25158 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
25159 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
25160 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
25161 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
25162 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
25163 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
25164 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25165 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25166 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25169 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25171 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
25173 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
25174 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
25175 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
25176 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
25177 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
25178 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
25179 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25182 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
25185 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
25186 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
25187 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25194 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
25236 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
25238 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
25239 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
25240 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
25247 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
25248 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
25249 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
25250 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
25251 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
25256 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
25257 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
25258 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
25259 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25260 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25264 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
25268 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
25269 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
25270 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
25271 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
25272 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
25273 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
25274 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
25275 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
25276 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
25277 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
25278 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
25279 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
25282 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
25284 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
25286 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
25288 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
25289 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
25292 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
25293 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
25297 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
25299 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
25302 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
25303 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
25304 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
25305 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
25306 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
25307 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
25314 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
25315 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
25318 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
25319 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
25320 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
25321 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
25322 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
25323 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
25324 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
25326 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
25327 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
25328 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
25331 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
25332 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
25333 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
25335 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
25336 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
25338 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
25339 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
25341 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
25342 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
25344 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
25345 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
25347 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
25350 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
25351 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
25352 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
25354 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
25355 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
25357 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
25358 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
25360 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
25361 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
25363 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
25371 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
25373 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
25375 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
25376 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"PenList_GetCount", (PyCFunction
)_wrap_PenList_GetCount
, METH_O
, NULL
},
25380 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
25381 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"BrushList_GetCount", (PyCFunction
)_wrap_BrushList_GetCount
, METH_O
, NULL
},
25385 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
25386 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
25387 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
25388 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
25393 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
25394 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"FontList_GetCount", (PyCFunction
)_wrap_FontList_GetCount
, METH_O
, NULL
},
25398 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
25399 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
25400 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
25401 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
25402 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
25403 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
25404 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
25405 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
25414 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
25415 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
25417 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
25418 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
25419 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
25420 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
25421 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
25422 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
25424 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
25426 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
25427 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
25428 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
25429 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
25437 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
25438 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
25439 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
25441 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
25442 { NULL
, NULL
, 0, NULL
}
25446 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25448 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
25449 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
25451 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
25452 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25454 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
25455 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
25457 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
25458 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
25460 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
25461 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
25463 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
25464 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
25466 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
25467 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
25469 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
25470 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
25472 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
25473 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
25475 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
25476 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
25478 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
25479 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
25481 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
25482 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
25484 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
25485 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
25487 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
25488 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
25490 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
25491 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
25493 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
25494 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
25496 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
25497 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25499 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
25500 return (void *)((wxDC
*) ((wxClientDC
*) x
));
25502 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
25503 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
25505 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
25506 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
25508 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
25509 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
25511 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
25512 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25514 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25515 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25517 static void *_p_wxPenTo_p_wxObject(void *x
) {
25518 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
25520 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
25521 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
25523 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25524 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25526 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25527 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25529 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
25532 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25535 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25536 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25538 static void *_p_wxIconTo_p_wxObject(void *x
) {
25539 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
25541 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25542 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25544 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25545 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25547 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25548 return (void *)((wxObject
*) ((wxSizer
*) x
));
25550 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25551 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25553 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25556 static void *_p_wxPenListTo_p_wxObject(void *x
) {
25557 return (void *)((wxObject
*) ((wxPenList
*) x
));
25559 static void *_p_wxEventTo_p_wxObject(void *x
) {
25560 return (void *)((wxObject
*) ((wxEvent
*) x
));
25562 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25563 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25565 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25566 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25568 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25569 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25571 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25572 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25574 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25575 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25577 static void *_p_wxDCTo_p_wxObject(void *x
) {
25578 return (void *)((wxObject
*) ((wxDC
*) x
));
25580 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25581 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25583 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25584 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25586 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25587 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25589 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25590 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25592 static void *_p_wxControlTo_p_wxObject(void *x
) {
25593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25595 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25596 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25598 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
25599 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
25601 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25602 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25604 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
25605 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
25607 static void *_p_wxRegionTo_p_wxObject(void *x
) {
25608 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
25610 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25611 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25613 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
25616 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
25619 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) ((wxEffects
*) x
));
25622 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25625 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25628 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
25631 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25634 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25637 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
25640 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25641 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25643 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25646 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25647 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25649 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25650 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25652 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25653 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25655 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25656 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25658 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25659 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25661 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25662 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25664 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25665 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25667 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25670 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25673 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25674 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25676 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25679 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25680 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25682 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25683 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25685 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25686 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25688 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25689 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25691 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
25692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
25694 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25695 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25697 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25700 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25703 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25704 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25706 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
25707 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25709 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
25710 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
25712 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
25713 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
25715 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
25716 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
25718 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
25719 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
25721 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25722 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25724 static void *_p_wxImageTo_p_wxObject(void *x
) {
25725 return (void *)((wxObject
*) ((wxImage
*) x
));
25727 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25728 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25730 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
25731 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
25733 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
25734 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
25736 static void *_p_wxImageListTo_p_wxObject(void *x
) {
25737 return (void *)((wxObject
*) ((wxImageList
*) x
));
25739 static void *_p_wxCursorTo_p_wxObject(void *x
) {
25740 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
25742 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
25743 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
25745 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
25746 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
25748 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25749 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25751 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25752 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25754 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25755 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25757 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25760 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25761 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25763 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25766 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
25769 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) ((wxBrushList
*) x
));
25772 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25775 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
25778 static void *_p_wxMaskTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) ((wxMask
*) x
));
25781 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25784 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25787 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25790 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25793 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25796 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25799 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25802 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25805 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25808 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25811 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25814 static void *_p_wxFontTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
25817 static void *_p_wxBrushTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
25820 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
25823 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25826 static void *_p_wxColourTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) ((wxColour
*) x
));
25829 static void *_p_wxFontListTo_p_wxObject(void *x
) {
25830 return (void *)((wxObject
*) ((wxFontList
*) x
));
25832 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25835 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25836 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25838 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25839 return (void *)((wxWindow
*) ((wxControl
*) x
));
25841 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25842 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25844 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25845 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25847 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
25848 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
25849 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};
25850 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
25851 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
25852 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
25853 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
25854 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
25855 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
25856 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
25857 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
25858 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
25859 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
25860 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
25861 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
25862 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
25863 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
25864 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
25865 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
25866 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
25867 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
25868 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
25869 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
25870 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
25871 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
25872 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
25873 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
25874 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
25875 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
25876 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
25877 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
25878 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
25879 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
25880 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
25881 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
25882 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
25883 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
25884 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
25885 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
25886 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
25887 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
25888 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
25889 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
25890 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
25891 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
25892 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
25893 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
25894 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
25895 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
25896 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
25897 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
25898 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
25899 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
25900 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
25901 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
25902 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
25903 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
25904 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
25905 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
25906 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
25907 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
25908 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
25909 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
25910 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
25911 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
25912 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
25913 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
25914 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
25915 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
25916 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
25917 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
25918 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
25919 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
25920 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
25921 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
25922 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
25923 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
25924 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
25925 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
25926 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
25927 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
25928 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
25929 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
25930 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
25931 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
25932 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
25933 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
25934 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
25935 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
25936 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
25937 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
25938 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
25939 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
25940 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
25941 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
25942 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
25943 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
25944 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
25945 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
25946 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
25947 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
25948 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
25949 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
25950 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
25951 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
25952 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
25953 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
25954 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
25955 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
25956 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
25957 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
25958 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
25959 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
25960 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
25961 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
25962 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
25963 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
25964 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
25965 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
25966 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
25967 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
25968 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
25969 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
25970 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
25971 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
25972 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
25973 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
25974 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
25975 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
25976 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
25977 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
25978 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
25979 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
25980 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
25981 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
25983 static swig_type_info
*swig_type_initial
[] = {
25986 &_swigt__p_form_ops_t
,
25988 &_swigt__p_unsigned_char
,
25989 &_swigt__p_unsigned_int
,
25990 &_swigt__p_unsigned_long
,
25991 &_swigt__p_wxANIHandler
,
25992 &_swigt__p_wxAcceleratorTable
,
25993 &_swigt__p_wxActivateEvent
,
25994 &_swigt__p_wxBMPHandler
,
25995 &_swigt__p_wxBitmap
,
25996 &_swigt__p_wxBoxSizer
,
25997 &_swigt__p_wxBrush
,
25998 &_swigt__p_wxBrushList
,
25999 &_swigt__p_wxBufferedDC
,
26000 &_swigt__p_wxBufferedPaintDC
,
26001 &_swigt__p_wxCURHandler
,
26002 &_swigt__p_wxChildFocusEvent
,
26003 &_swigt__p_wxClientDC
,
26004 &_swigt__p_wxCloseEvent
,
26005 &_swigt__p_wxColour
,
26006 &_swigt__p_wxColourDatabase
,
26007 &_swigt__p_wxCommandEvent
,
26008 &_swigt__p_wxContextMenuEvent
,
26009 &_swigt__p_wxControl
,
26010 &_swigt__p_wxControlWithItems
,
26011 &_swigt__p_wxCursor
,
26014 &_swigt__p_wxDateEvent
,
26015 &_swigt__p_wxDisplayChangedEvent
,
26016 &_swigt__p_wxDropFilesEvent
,
26017 &_swigt__p_wxDuplexMode
,
26018 &_swigt__p_wxEffects
,
26019 &_swigt__p_wxEncodingConverter
,
26020 &_swigt__p_wxEraseEvent
,
26021 &_swigt__p_wxEvent
,
26022 &_swigt__p_wxEvtHandler
,
26023 &_swigt__p_wxFSFile
,
26024 &_swigt__p_wxFileSystem
,
26025 &_swigt__p_wxFlexGridSizer
,
26026 &_swigt__p_wxFocusEvent
,
26028 &_swigt__p_wxFontList
,
26029 &_swigt__p_wxFontMapper
,
26030 &_swigt__p_wxGBSizerItem
,
26031 &_swigt__p_wxGDIObject
,
26032 &_swigt__p_wxGIFHandler
,
26033 &_swigt__p_wxGridBagSizer
,
26034 &_swigt__p_wxGridSizer
,
26035 &_swigt__p_wxICOHandler
,
26037 &_swigt__p_wxIconBundle
,
26038 &_swigt__p_wxIconLocation
,
26039 &_swigt__p_wxIconizeEvent
,
26040 &_swigt__p_wxIdleEvent
,
26041 &_swigt__p_wxImage
,
26042 &_swigt__p_wxImageHandler
,
26043 &_swigt__p_wxImageList
,
26044 &_swigt__p_wxIndividualLayoutConstraint
,
26045 &_swigt__p_wxInitDialogEvent
,
26046 &_swigt__p_wxJPEGHandler
,
26047 &_swigt__p_wxKeyEvent
,
26048 &_swigt__p_wxLanguageInfo
,
26049 &_swigt__p_wxLayoutConstraints
,
26050 &_swigt__p_wxLocale
,
26052 &_swigt__p_wxMaximizeEvent
,
26053 &_swigt__p_wxMemoryDC
,
26055 &_swigt__p_wxMenuBar
,
26056 &_swigt__p_wxMenuEvent
,
26057 &_swigt__p_wxMenuItem
,
26058 &_swigt__p_wxMetaFile
,
26059 &_swigt__p_wxMetaFileDC
,
26060 &_swigt__p_wxMirrorDC
,
26061 &_swigt__p_wxMouseCaptureChangedEvent
,
26062 &_swigt__p_wxMouseEvent
,
26063 &_swigt__p_wxMoveEvent
,
26064 &_swigt__p_wxNativeEncodingInfo
,
26065 &_swigt__p_wxNativeFontInfo
,
26066 &_swigt__p_wxNavigationKeyEvent
,
26067 &_swigt__p_wxNcPaintEvent
,
26068 &_swigt__p_wxNotifyEvent
,
26069 &_swigt__p_wxObject
,
26070 &_swigt__p_wxPCXHandler
,
26071 &_swigt__p_wxPNGHandler
,
26072 &_swigt__p_wxPNMHandler
,
26073 &_swigt__p_wxPaintDC
,
26074 &_swigt__p_wxPaintEvent
,
26075 &_swigt__p_wxPalette
,
26076 &_swigt__p_wxPaletteChangedEvent
,
26077 &_swigt__p_wxPaperSize
,
26079 &_swigt__p_wxPenList
,
26080 &_swigt__p_wxPoint
,
26081 &_swigt__p_wxPostScriptDC
,
26082 &_swigt__p_wxPrintData
,
26083 &_swigt__p_wxPrinterDC
,
26084 &_swigt__p_wxPyApp
,
26085 &_swigt__p_wxPyCommandEvent
,
26086 &_swigt__p_wxPyEvent
,
26087 &_swigt__p_wxPyFontEnumerator
,
26088 &_swigt__p_wxPyImageHandler
,
26089 &_swigt__p_wxPySizer
,
26090 &_swigt__p_wxPyValidator
,
26091 &_swigt__p_wxQueryNewPaletteEvent
,
26093 &_swigt__p_wxRegion
,
26094 &_swigt__p_wxRegionIterator
,
26095 &_swigt__p_wxRendererNative
,
26096 &_swigt__p_wxRendererVersion
,
26097 &_swigt__p_wxScreenDC
,
26098 &_swigt__p_wxScrollEvent
,
26099 &_swigt__p_wxScrollWinEvent
,
26100 &_swigt__p_wxSetCursorEvent
,
26101 &_swigt__p_wxShowEvent
,
26103 &_swigt__p_wxSizeEvent
,
26104 &_swigt__p_wxSizer
,
26105 &_swigt__p_wxSizerItem
,
26106 &_swigt__p_wxSplitterRenderParams
,
26107 &_swigt__p_wxStaticBoxSizer
,
26108 &_swigt__p_wxStdDialogButtonSizer
,
26109 &_swigt__p_wxString
,
26110 &_swigt__p_wxSysColourChangedEvent
,
26111 &_swigt__p_wxTIFFHandler
,
26112 &_swigt__p_wxUpdateUIEvent
,
26113 &_swigt__p_wxValidator
,
26114 &_swigt__p_wxWindow
,
26115 &_swigt__p_wxWindowCreateEvent
,
26116 &_swigt__p_wxWindowDC
,
26117 &_swigt__p_wxWindowDestroyEvent
,
26118 &_swigt__p_wxXPMHandler
,
26121 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
26122 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
26123 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
26124 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
26125 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
26126 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
26127 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
26128 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
26129 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
26130 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
26131 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}};
26132 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26133 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
26134 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
26135 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
26136 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
26137 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}};
26138 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
26139 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
26140 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
26141 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
26142 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
26143 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
26144 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
26145 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}};
26146 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
26147 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
26148 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
26149 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
26150 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
26151 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
26152 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
26153 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
26154 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}};
26155 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
26156 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
26157 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
26158 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
26159 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
26160 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
26161 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26162 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26163 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
26164 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
26165 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26166 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26167 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26168 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
26169 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
26170 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
26171 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
26172 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26173 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26174 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
26175 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26176 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26177 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26178 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26179 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26180 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26181 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
26182 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
26183 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
26184 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
26185 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26186 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26187 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
26188 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
26189 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26190 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
26191 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26192 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
26193 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26194 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26195 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26196 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
26197 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26198 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
26199 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
26200 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
26201 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
26202 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26203 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26204 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26205 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26206 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
26207 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26208 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26209 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
26210 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26211 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26212 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
26213 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
26214 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
26215 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26216 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26217 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26218 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
26219 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
26220 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26221 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26222 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
26223 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26224 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26225 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26226 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26227 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26228 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
26229 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26230 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26231 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
26232 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
26233 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
26234 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}};
26235 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26236 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
26237 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
26238 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
26239 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
26240 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
26241 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
26242 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
26243 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
26244 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
26245 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
26246 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
26247 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
26248 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
26249 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
26250 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
26251 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
26252 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
26253 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
26254 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}};
26255 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
26257 static swig_cast_info
*swig_cast_initial
[] = {
26260 _swigc__p_form_ops_t
,
26262 _swigc__p_unsigned_char
,
26263 _swigc__p_unsigned_int
,
26264 _swigc__p_unsigned_long
,
26265 _swigc__p_wxANIHandler
,
26266 _swigc__p_wxAcceleratorTable
,
26267 _swigc__p_wxActivateEvent
,
26268 _swigc__p_wxBMPHandler
,
26269 _swigc__p_wxBitmap
,
26270 _swigc__p_wxBoxSizer
,
26272 _swigc__p_wxBrushList
,
26273 _swigc__p_wxBufferedDC
,
26274 _swigc__p_wxBufferedPaintDC
,
26275 _swigc__p_wxCURHandler
,
26276 _swigc__p_wxChildFocusEvent
,
26277 _swigc__p_wxClientDC
,
26278 _swigc__p_wxCloseEvent
,
26279 _swigc__p_wxColour
,
26280 _swigc__p_wxColourDatabase
,
26281 _swigc__p_wxCommandEvent
,
26282 _swigc__p_wxContextMenuEvent
,
26283 _swigc__p_wxControl
,
26284 _swigc__p_wxControlWithItems
,
26285 _swigc__p_wxCursor
,
26288 _swigc__p_wxDateEvent
,
26289 _swigc__p_wxDisplayChangedEvent
,
26290 _swigc__p_wxDropFilesEvent
,
26291 _swigc__p_wxDuplexMode
,
26292 _swigc__p_wxEffects
,
26293 _swigc__p_wxEncodingConverter
,
26294 _swigc__p_wxEraseEvent
,
26296 _swigc__p_wxEvtHandler
,
26297 _swigc__p_wxFSFile
,
26298 _swigc__p_wxFileSystem
,
26299 _swigc__p_wxFlexGridSizer
,
26300 _swigc__p_wxFocusEvent
,
26302 _swigc__p_wxFontList
,
26303 _swigc__p_wxFontMapper
,
26304 _swigc__p_wxGBSizerItem
,
26305 _swigc__p_wxGDIObject
,
26306 _swigc__p_wxGIFHandler
,
26307 _swigc__p_wxGridBagSizer
,
26308 _swigc__p_wxGridSizer
,
26309 _swigc__p_wxICOHandler
,
26311 _swigc__p_wxIconBundle
,
26312 _swigc__p_wxIconLocation
,
26313 _swigc__p_wxIconizeEvent
,
26314 _swigc__p_wxIdleEvent
,
26316 _swigc__p_wxImageHandler
,
26317 _swigc__p_wxImageList
,
26318 _swigc__p_wxIndividualLayoutConstraint
,
26319 _swigc__p_wxInitDialogEvent
,
26320 _swigc__p_wxJPEGHandler
,
26321 _swigc__p_wxKeyEvent
,
26322 _swigc__p_wxLanguageInfo
,
26323 _swigc__p_wxLayoutConstraints
,
26324 _swigc__p_wxLocale
,
26326 _swigc__p_wxMaximizeEvent
,
26327 _swigc__p_wxMemoryDC
,
26329 _swigc__p_wxMenuBar
,
26330 _swigc__p_wxMenuEvent
,
26331 _swigc__p_wxMenuItem
,
26332 _swigc__p_wxMetaFile
,
26333 _swigc__p_wxMetaFileDC
,
26334 _swigc__p_wxMirrorDC
,
26335 _swigc__p_wxMouseCaptureChangedEvent
,
26336 _swigc__p_wxMouseEvent
,
26337 _swigc__p_wxMoveEvent
,
26338 _swigc__p_wxNativeEncodingInfo
,
26339 _swigc__p_wxNativeFontInfo
,
26340 _swigc__p_wxNavigationKeyEvent
,
26341 _swigc__p_wxNcPaintEvent
,
26342 _swigc__p_wxNotifyEvent
,
26343 _swigc__p_wxObject
,
26344 _swigc__p_wxPCXHandler
,
26345 _swigc__p_wxPNGHandler
,
26346 _swigc__p_wxPNMHandler
,
26347 _swigc__p_wxPaintDC
,
26348 _swigc__p_wxPaintEvent
,
26349 _swigc__p_wxPalette
,
26350 _swigc__p_wxPaletteChangedEvent
,
26351 _swigc__p_wxPaperSize
,
26353 _swigc__p_wxPenList
,
26355 _swigc__p_wxPostScriptDC
,
26356 _swigc__p_wxPrintData
,
26357 _swigc__p_wxPrinterDC
,
26359 _swigc__p_wxPyCommandEvent
,
26360 _swigc__p_wxPyEvent
,
26361 _swigc__p_wxPyFontEnumerator
,
26362 _swigc__p_wxPyImageHandler
,
26363 _swigc__p_wxPySizer
,
26364 _swigc__p_wxPyValidator
,
26365 _swigc__p_wxQueryNewPaletteEvent
,
26367 _swigc__p_wxRegion
,
26368 _swigc__p_wxRegionIterator
,
26369 _swigc__p_wxRendererNative
,
26370 _swigc__p_wxRendererVersion
,
26371 _swigc__p_wxScreenDC
,
26372 _swigc__p_wxScrollEvent
,
26373 _swigc__p_wxScrollWinEvent
,
26374 _swigc__p_wxSetCursorEvent
,
26375 _swigc__p_wxShowEvent
,
26377 _swigc__p_wxSizeEvent
,
26379 _swigc__p_wxSizerItem
,
26380 _swigc__p_wxSplitterRenderParams
,
26381 _swigc__p_wxStaticBoxSizer
,
26382 _swigc__p_wxStdDialogButtonSizer
,
26383 _swigc__p_wxString
,
26384 _swigc__p_wxSysColourChangedEvent
,
26385 _swigc__p_wxTIFFHandler
,
26386 _swigc__p_wxUpdateUIEvent
,
26387 _swigc__p_wxValidator
,
26388 _swigc__p_wxWindow
,
26389 _swigc__p_wxWindowCreateEvent
,
26390 _swigc__p_wxWindowDC
,
26391 _swigc__p_wxWindowDestroyEvent
,
26392 _swigc__p_wxXPMHandler
,
26396 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26398 static swig_const_info swig_const_table
[] = {
26399 {0, 0, 0, 0.0, 0, 0}};
26404 /* -----------------------------------------------------------------------------
26405 * Type initialization:
26406 * This problem is tough by the requirement that no dynamic
26407 * memory is used. Also, since swig_type_info structures store pointers to
26408 * swig_cast_info structures and swig_cast_info structures store pointers back
26409 * to swig_type_info structures, we need some lookup code at initialization.
26410 * The idea is that swig generates all the structures that are needed.
26411 * The runtime then collects these partially filled structures.
26412 * The SWIG_InitializeModule function takes these initial arrays out of
26413 * swig_module, and does all the lookup, filling in the swig_module.types
26414 * array with the correct data and linking the correct swig_cast_info
26415 * structures together.
26417 * The generated swig_type_info structures are assigned staticly to an initial
26418 * array. We just loop though that array, and handle each type individually.
26419 * First we lookup if this type has been already loaded, and if so, use the
26420 * loaded structure instead of the generated one. Then we have to fill in the
26421 * cast linked list. The cast data is initially stored in something like a
26422 * two-dimensional array. Each row corresponds to a type (there are the same
26423 * number of rows as there are in the swig_type_initial array). Each entry in
26424 * a column is one of the swig_cast_info structures for that type.
26425 * The cast_initial array is actually an array of arrays, because each row has
26426 * a variable number of columns. So to actually build the cast linked list,
26427 * we find the array of casts associated with the type, and loop through it
26428 * adding the casts to the list. The one last trick we need to do is making
26429 * sure the type pointer in the swig_cast_info struct is correct.
26431 * First off, we lookup the cast->type name to see if it is already loaded.
26432 * There are three cases to handle:
26433 * 1) If the cast->type has already been loaded AND the type we are adding
26434 * casting info to has not been loaded (it is in this module), THEN we
26435 * replace the cast->type pointer with the type pointer that has already
26437 * 2) If BOTH types (the one we are adding casting info to, and the
26438 * cast->type) are loaded, THEN the cast info has already been loaded by
26439 * the previous module so we just ignore it.
26440 * 3) Finally, if cast->type has not already been loaded, then we add that
26441 * swig_cast_info to the linked list (because the cast->type) pointer will
26443 * ----------------------------------------------------------------------------- */
26453 #define SWIGRUNTIME_DEBUG
26457 SWIG_InitializeModule(void *clientdata
) {
26459 swig_module_info
*module_head
;
26460 static int init_run
= 0;
26462 clientdata
= clientdata
;
26464 if (init_run
) return;
26467 /* Initialize the swig_module */
26468 swig_module
.type_initial
= swig_type_initial
;
26469 swig_module
.cast_initial
= swig_cast_initial
;
26471 /* Try and load any already created modules */
26472 module_head
= SWIG_GetModule(clientdata
);
26474 swig_module
.next
= module_head
->next
;
26475 module_head
->next
= &swig_module
;
26477 /* This is the first module loaded */
26478 swig_module
.next
= &swig_module
;
26479 SWIG_SetModule(clientdata
, &swig_module
);
26482 /* Now work on filling in swig_module.types */
26483 #ifdef SWIGRUNTIME_DEBUG
26484 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
26486 for (i
= 0; i
< swig_module
.size
; ++i
) {
26487 swig_type_info
*type
= 0;
26488 swig_type_info
*ret
;
26489 swig_cast_info
*cast
;
26491 #ifdef SWIGRUNTIME_DEBUG
26492 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26495 /* if there is another module already loaded */
26496 if (swig_module
.next
!= &swig_module
) {
26497 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
26500 /* Overwrite clientdata field */
26501 #ifdef SWIGRUNTIME_DEBUG
26502 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
26504 if (swig_module
.type_initial
[i
]->clientdata
) {
26505 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
26506 #ifdef SWIGRUNTIME_DEBUG
26507 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
26511 type
= swig_module
.type_initial
[i
];
26514 /* Insert casting types */
26515 cast
= swig_module
.cast_initial
[i
];
26516 while (cast
->type
) {
26517 /* Don't need to add information already in the list */
26519 #ifdef SWIGRUNTIME_DEBUG
26520 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
26522 if (swig_module
.next
!= &swig_module
) {
26523 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
26524 #ifdef SWIGRUNTIME_DEBUG
26525 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
26529 if (type
== swig_module
.type_initial
[i
]) {
26530 #ifdef SWIGRUNTIME_DEBUG
26531 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
26536 /* Check for casting already in the list */
26537 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
26538 #ifdef SWIGRUNTIME_DEBUG
26539 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
26541 if (!ocast
) ret
= 0;
26546 #ifdef SWIGRUNTIME_DEBUG
26547 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
26550 type
->cast
->prev
= cast
;
26551 cast
->next
= type
->cast
;
26557 /* Set entry in modules->types array equal to the type */
26558 swig_module
.types
[i
] = type
;
26560 swig_module
.types
[i
] = 0;
26562 #ifdef SWIGRUNTIME_DEBUG
26563 printf("**** SWIG_InitializeModule: Cast List ******\n");
26564 for (i
= 0; i
< swig_module
.size
; ++i
) {
26566 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
26567 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26568 while (cast
->type
) {
26569 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
26573 printf("---- Total casts: %d\n",j
);
26575 printf("**** SWIG_InitializeModule: Cast List ******\n");
26579 /* This function will propagate the clientdata field of type to
26580 * any new swig_type_info structures that have been added into the list
26581 * of equivalent types. It is like calling
26582 * SWIG_TypeClientData(type, clientdata) a second time.
26585 SWIG_PropagateClientData(void) {
26587 swig_cast_info
*equiv
;
26588 static int init_run
= 0;
26590 if (init_run
) return;
26593 for (i
= 0; i
< swig_module
.size
; i
++) {
26594 if (swig_module
.types
[i
]->clientdata
) {
26595 equiv
= swig_module
.types
[i
]->cast
;
26597 if (!equiv
->converter
) {
26598 if (equiv
->type
&& !equiv
->type
->clientdata
)
26599 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
26601 equiv
= equiv
->next
;
26621 /* Python-specific SWIG API */
26622 #define SWIG_newvarlink() SWIG_Python_newvarlink()
26623 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
26624 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
26626 /* -----------------------------------------------------------------------------
26627 * global variable support code.
26628 * ----------------------------------------------------------------------------- */
26630 typedef struct swig_globalvar
{
26631 char *name
; /* Name of global variable */
26632 PyObject
*(*get_attr
)(void); /* Return the current value */
26633 int (*set_attr
)(PyObject
*); /* Set the value */
26634 struct swig_globalvar
*next
;
26637 typedef struct swig_varlinkobject
{
26639 swig_globalvar
*vars
;
26640 } swig_varlinkobject
;
26642 SWIGINTERN PyObject
*
26643 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
26644 return PyString_FromString("<Swig global variables>");
26647 SWIGINTERN PyObject
*
26648 swig_varlink_str(swig_varlinkobject
*v
) {
26649 PyObject
*str
= PyString_FromString("(");
26650 swig_globalvar
*var
;
26651 for (var
= v
->vars
; var
; var
=var
->next
) {
26652 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
26653 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
26655 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
26660 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
26661 PyObject
*str
= swig_varlink_str(v
);
26662 fprintf(fp
,"Swig global variables ");
26663 fprintf(fp
,"%s\n", PyString_AsString(str
));
26669 swig_varlink_dealloc(swig_varlinkobject
*v
) {
26670 swig_globalvar
*var
= v
->vars
;
26672 swig_globalvar
*n
= var
->next
;
26679 SWIGINTERN PyObject
*
26680 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
26681 PyObject
*res
= NULL
;
26682 swig_globalvar
*var
= v
->vars
;
26684 if (strcmp(var
->name
,n
) == 0) {
26685 res
= (*var
->get_attr
)();
26690 if (res
== NULL
&& !PyErr_Occurred()) {
26691 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26697 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
26699 swig_globalvar
*var
= v
->vars
;
26701 if (strcmp(var
->name
,n
) == 0) {
26702 res
= (*var
->set_attr
)(p
);
26707 if (res
== 1 && !PyErr_Occurred()) {
26708 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26713 SWIGINTERN PyTypeObject
*
26714 swig_varlink_type(void) {
26715 static char varlink__doc__
[] = "Swig var link object";
26716 static PyTypeObject varlink_type
;
26717 static int type_init
= 0;
26719 const PyTypeObject tmp
26721 PyObject_HEAD_INIT(NULL
)
26722 0, /* Number of items in variable part (ob_size) */
26723 (char *)"swigvarlink", /* Type name (tp_name) */
26724 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
26725 0, /* Itemsize (tp_itemsize) */
26726 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
26727 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
26728 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
26729 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
26730 0, /* tp_compare */
26731 (reprfunc
) swig_varlink_repr
, /* tp_repr */
26732 0, /* tp_as_number */
26733 0, /* tp_as_sequence */
26734 0, /* tp_as_mapping */
26737 (reprfunc
)swig_varlink_str
, /* tp_str */
26738 0, /* tp_getattro */
26739 0, /* tp_setattro */
26740 0, /* tp_as_buffer */
26742 varlink__doc__
, /* tp_doc */
26743 0, /* tp_traverse */
26745 0, /* tp_richcompare */
26746 0, /* tp_weaklistoffset */
26747 #if PY_VERSION_HEX >= 0x02020000
26748 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
26750 #if PY_VERSION_HEX >= 0x02030000
26753 #ifdef COUNT_ALLOCS
26754 0,0,0,0 /* tp_alloc -> tp_next */
26757 varlink_type
= tmp
;
26758 varlink_type
.ob_type
= &PyType_Type
;
26761 return &varlink_type
;
26764 /* Create a variable linking object for use later */
26765 SWIGINTERN PyObject
*
26766 SWIG_Python_newvarlink(void) {
26767 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
26771 return ((PyObject
*) result
);
26775 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
26776 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
26777 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
26779 size_t size
= strlen(name
)+1;
26780 gv
->name
= (char *)malloc(size
);
26782 strncpy(gv
->name
,name
,size
);
26783 gv
->get_attr
= get_attr
;
26784 gv
->set_attr
= set_attr
;
26785 gv
->next
= v
->vars
;
26791 SWIGINTERN PyObject
*
26793 static PyObject
*_SWIG_globals
= 0;
26794 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
26795 return _SWIG_globals
;
26798 /* -----------------------------------------------------------------------------
26799 * constants/methods manipulation
26800 * ----------------------------------------------------------------------------- */
26802 /* Install Constants */
26804 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
26807 for (i
= 0; constants
[i
].type
; ++i
) {
26808 switch(constants
[i
].type
) {
26809 case SWIG_PY_POINTER
:
26810 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
26812 case SWIG_PY_BINARY
:
26813 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
26820 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
26826 /* -----------------------------------------------------------------------------*/
26827 /* Fix SwigMethods to carry the callback ptrs when needed */
26828 /* -----------------------------------------------------------------------------*/
26831 SWIG_Python_FixMethods(PyMethodDef
*methods
,
26832 swig_const_info
*const_table
,
26833 swig_type_info
**types
,
26834 swig_type_info
**types_initial
) {
26836 for (i
= 0; methods
[i
].ml_name
; ++i
) {
26837 char *c
= methods
[i
].ml_doc
;
26838 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
26840 swig_const_info
*ci
= 0;
26841 char *name
= c
+ 10;
26842 for (j
= 0; const_table
[j
].type
; ++j
) {
26843 if (strncmp(const_table
[j
].name
, name
,
26844 strlen(const_table
[j
].name
)) == 0) {
26845 ci
= &(const_table
[j
]);
26850 size_t shift
= (ci
->ptype
) - types
;
26851 swig_type_info
*ty
= types_initial
[shift
];
26852 size_t ldoc
= (c
- methods
[i
].ml_doc
);
26853 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
26854 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
26857 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
26859 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
26861 strncpy(buff
, "swig_ptr: ", 10);
26863 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
26864 methods
[i
].ml_doc
= ndoc
;
26876 /* -----------------------------------------------------------------------------*
26877 * Partial Init method
26878 * -----------------------------------------------------------------------------*/
26883 SWIGEXPORT
void SWIG_init(void) {
26886 /* Fix SwigMethods to carry the callback ptrs when needed */
26887 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
26889 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26890 d
= PyModule_GetDict(m
);
26892 SWIG_InitializeModule(0);
26893 SWIG_InstallConstants(d
,swig_const_table
);
26896 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
26897 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
26898 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
26899 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
26900 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
26901 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
26902 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
26903 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
26904 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
26905 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
26906 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
26907 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
26908 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
26909 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
26910 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
26911 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
26912 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
26913 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
26914 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
26915 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
26916 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
26917 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
26918 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
26919 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
26920 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
26921 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
26922 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
26923 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
26924 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
26925 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
26926 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
26927 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
26928 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
26929 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
26930 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
26931 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
26932 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
26933 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
26934 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
26935 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
26936 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
26937 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
26938 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
26939 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
26940 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
26941 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
26942 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
26943 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
26944 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
26945 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
26946 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
26947 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
26948 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
26949 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
26950 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
26951 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
26952 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
26953 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
26954 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
26955 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
26956 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
26957 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
26958 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
26959 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
26960 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
26961 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
26962 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
26963 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
26964 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
26965 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
26966 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
26967 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
26968 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
26969 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
26970 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
26971 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
26972 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
26973 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
26974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
26975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
26976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
26977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
26978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
26979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
26980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
26981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
26982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
26983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
26984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
26985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
26986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
26987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
26988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
26989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
26990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
26991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
26992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
26993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
26994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
26995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
26996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
26997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
26998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
26999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
27000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
27001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
27002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
27003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
27004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
27005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
27006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
27007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
27008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
27009 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
27010 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
27011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
27012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
27013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
27014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
27015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
27016 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
27017 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
27018 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
27019 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
27020 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
27021 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
27022 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
27024 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
27026 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
27027 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
27028 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
27029 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
27030 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
27031 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
27032 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
27033 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
27034 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
27035 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
27036 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
27037 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
27038 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
27039 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
27040 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
27041 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
27042 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
27043 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
27044 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
27045 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
27046 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
27047 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
27048 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
27049 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
27050 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
27051 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
27052 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
27053 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
27054 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
27055 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
27056 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
27057 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
27058 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
27059 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
27060 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
27061 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
27062 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
27063 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
27064 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
27065 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
27066 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
27067 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
27068 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
27069 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
27070 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
27071 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
27072 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
27073 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
27074 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
27075 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
27076 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
27077 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
27078 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
27079 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
27080 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
27081 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
27082 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
27083 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
27084 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
27085 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
27086 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
27087 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
27088 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
27089 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
27090 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
27091 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
27092 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
27093 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
27094 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
27095 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
27096 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
27097 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
27098 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
27099 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
27100 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
27101 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
27102 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
27103 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
27104 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
27105 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
27106 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
27107 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
27108 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
27109 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
27110 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
27111 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
27112 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
27113 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
27114 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
27115 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
27116 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
27117 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
27118 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
27119 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
27120 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
27121 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
27122 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
27123 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
27124 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
27125 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
27126 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
27127 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
27128 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
27129 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
27130 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
27131 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
27132 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
27133 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
27134 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
27135 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
27136 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
27137 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
27138 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
27139 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
27140 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
27141 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
27142 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
27143 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
27144 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
27145 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
27146 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
27147 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
27148 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
27149 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
27150 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
27151 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
27152 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
27153 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
27154 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
27155 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
27156 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
27157 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
27158 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
27159 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
27160 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
27161 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
27162 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
27163 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
27164 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
27165 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
27166 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
27167 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
27168 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
27169 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
27170 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
27171 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
27172 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
27173 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
27174 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
27175 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
27176 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
27177 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
27178 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
27179 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
27180 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
27181 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
27182 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
27183 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
27184 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
27185 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
27186 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
27187 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
27188 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
27189 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
27190 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
27191 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
27192 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
27193 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
27194 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
27195 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
27196 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
27197 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
27198 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
27199 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
27200 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
27201 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
27202 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
27203 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
27204 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
27205 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
27206 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
27207 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
27208 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
27209 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
27210 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
27211 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
27212 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
27213 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
27214 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
27215 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
27216 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
27217 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
27218 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
27219 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
27220 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
27221 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
27222 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
27223 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
27224 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
27225 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
27226 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
27227 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
27228 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
27229 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
27230 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
27231 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
27232 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
27233 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
27234 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
27235 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
27236 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
27237 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
27238 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
27239 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
27240 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
27241 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
27242 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
27243 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
27244 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
27245 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
27246 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
27247 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
27248 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
27249 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
27250 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
27251 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
27252 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
27253 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
27254 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
27255 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
27256 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
27257 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
27258 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
27259 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
27260 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
27261 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
27262 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
27263 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
27264 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
27265 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
27266 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
27267 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
27268 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
27269 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
27270 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
27271 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
27272 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
27273 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
27274 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
27275 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
27276 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
27277 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
27278 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
27279 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
27280 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
27281 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
27282 SWIG_addvarlink(SWIG_globals(),(char*)"NORMAL_FONT",NORMAL_FONT_get
, NORMAL_FONT_set
);
27283 SWIG_addvarlink(SWIG_globals(),(char*)"SMALL_FONT",SMALL_FONT_get
, SMALL_FONT_set
);
27284 SWIG_addvarlink(SWIG_globals(),(char*)"ITALIC_FONT",ITALIC_FONT_get
, ITALIC_FONT_set
);
27285 SWIG_addvarlink(SWIG_globals(),(char*)"SWISS_FONT",SWISS_FONT_get
, SWISS_FONT_set
);
27286 SWIG_addvarlink(SWIG_globals(),(char*)"RED_PEN",RED_PEN_get
, RED_PEN_set
);
27287 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_PEN",CYAN_PEN_get
, CYAN_PEN_set
);
27288 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_PEN",GREEN_PEN_get
, GREEN_PEN_set
);
27289 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_PEN",BLACK_PEN_get
, BLACK_PEN_set
);
27290 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_PEN",WHITE_PEN_get
, WHITE_PEN_set
);
27291 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_PEN",TRANSPARENT_PEN_get
, TRANSPARENT_PEN_set
);
27292 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_DASHED_PEN",BLACK_DASHED_PEN_get
, BLACK_DASHED_PEN_set
);
27293 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_PEN",GREY_PEN_get
, GREY_PEN_set
);
27294 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_PEN",MEDIUM_GREY_PEN_get
, MEDIUM_GREY_PEN_set
);
27295 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_PEN",LIGHT_GREY_PEN_get
, LIGHT_GREY_PEN_set
);
27296 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE_BRUSH",BLUE_BRUSH_get
, BLUE_BRUSH_set
);
27297 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_BRUSH",GREEN_BRUSH_get
, GREEN_BRUSH_set
);
27298 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_BRUSH",WHITE_BRUSH_get
, WHITE_BRUSH_set
);
27299 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_BRUSH",BLACK_BRUSH_get
, BLACK_BRUSH_set
);
27300 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_BRUSH",TRANSPARENT_BRUSH_get
, TRANSPARENT_BRUSH_set
);
27301 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_BRUSH",CYAN_BRUSH_get
, CYAN_BRUSH_set
);
27302 SWIG_addvarlink(SWIG_globals(),(char*)"RED_BRUSH",RED_BRUSH_get
, RED_BRUSH_set
);
27303 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_BRUSH",GREY_BRUSH_get
, GREY_BRUSH_set
);
27304 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_BRUSH",MEDIUM_GREY_BRUSH_get
, MEDIUM_GREY_BRUSH_set
);
27305 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_BRUSH",LIGHT_GREY_BRUSH_get
, LIGHT_GREY_BRUSH_set
);
27306 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK",BLACK_get
, BLACK_set
);
27307 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE",WHITE_get
, WHITE_set
);
27308 SWIG_addvarlink(SWIG_globals(),(char*)"RED",RED_get
, RED_set
);
27309 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE",BLUE_get
, BLUE_set
);
27310 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN",GREEN_get
, GREEN_set
);
27311 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN",CYAN_get
, CYAN_set
);
27312 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY",LIGHT_GREY_get
, LIGHT_GREY_set
);
27313 SWIG_addvarlink(SWIG_globals(),(char*)"STANDARD_CURSOR",STANDARD_CURSOR_get
, STANDARD_CURSOR_set
);
27314 SWIG_addvarlink(SWIG_globals(),(char*)"HOURGLASS_CURSOR",HOURGLASS_CURSOR_get
, HOURGLASS_CURSOR_set
);
27315 SWIG_addvarlink(SWIG_globals(),(char*)"CROSS_CURSOR",CROSS_CURSOR_get
, CROSS_CURSOR_set
);
27316 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
27317 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
27318 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
27319 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
27320 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
27321 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
27322 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
27323 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
27324 SWIG_addvarlink(SWIG_globals(),(char*)"TheFontList",TheFontList_get
, TheFontList_set
);
27325 SWIG_addvarlink(SWIG_globals(),(char*)"ThePenList",ThePenList_get
, ThePenList_set
);
27326 SWIG_addvarlink(SWIG_globals(),(char*)"TheBrushList",TheBrushList_get
, TheBrushList_set
);
27327 SWIG_addvarlink(SWIG_globals(),(char*)"TheColourDatabase",TheColourDatabase_get
, TheColourDatabase_set
);
27328 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
27329 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
27330 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
27331 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
27332 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
27333 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
27334 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
27335 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
27336 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
27337 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
27338 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
27339 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
27340 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
27341 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
27342 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
27344 // Work around a chicken/egg problem in drawlist.cpp
27345 wxPyDrawList_SetAPIPtr();