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_wxClipboardTextEvent swig_types[20]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2484 #define SWIGTYPE_p_wxColour swig_types[22]
2485 #define SWIGTYPE_p_wxColourDatabase swig_types[23]
2486 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2487 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2488 #define SWIGTYPE_p_wxControl swig_types[26]
2489 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2490 #define SWIGTYPE_p_wxCursor swig_types[28]
2491 #define SWIGTYPE_p_wxDC swig_types[29]
2492 #define SWIGTYPE_p_wxDash swig_types[30]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2496 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2497 #define SWIGTYPE_p_wxEffects swig_types[35]
2498 #define SWIGTYPE_p_wxEncodingConverter swig_types[36]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvent swig_types[38]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2502 #define SWIGTYPE_p_wxFSFile swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontList swig_types[45]
2508 #define SWIGTYPE_p_wxFontMapper swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGDIObjListBase swig_types[48]
2511 #define SWIGTYPE_p_wxGDIObject swig_types[49]
2512 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2513 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2514 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconLocation swig_types[56]
2519 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2520 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2521 #define SWIGTYPE_p_wxImage swig_types[59]
2522 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2523 #define SWIGTYPE_p_wxImageList swig_types[61]
2524 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2525 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2526 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2527 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2528 #define SWIGTYPE_p_wxLanguageInfo swig_types[66]
2529 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2530 #define SWIGTYPE_p_wxLocale swig_types[68]
2531 #define SWIGTYPE_p_wxMask swig_types[69]
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2533 #define SWIGTYPE_p_wxMemoryDC swig_types[71]
2534 #define SWIGTYPE_p_wxMenu swig_types[72]
2535 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2536 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2538 #define SWIGTYPE_p_wxMetaFile swig_types[76]
2539 #define SWIGTYPE_p_wxMetaFileDC swig_types[77]
2540 #define SWIGTYPE_p_wxMirrorDC swig_types[78]
2541 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2542 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2543 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[82]
2545 #define SWIGTYPE_p_wxNativeFontInfo swig_types[83]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2549 #define SWIGTYPE_p_wxObject swig_types[87]
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2553 #define SWIGTYPE_p_wxPaintDC swig_types[91]
2554 #define SWIGTYPE_p_wxPaintEvent swig_types[92]
2555 #define SWIGTYPE_p_wxPalette swig_types[93]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2557 #define SWIGTYPE_p_wxPaperSize swig_types[95]
2558 #define SWIGTYPE_p_wxPen swig_types[96]
2559 #define SWIGTYPE_p_wxPenList swig_types[97]
2560 #define SWIGTYPE_p_wxPoint swig_types[98]
2561 #define SWIGTYPE_p_wxPostScriptDC swig_types[99]
2562 #define SWIGTYPE_p_wxPrintData swig_types[100]
2563 #define SWIGTYPE_p_wxPrinterDC swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPySizer swig_types[107]
2570 #define SWIGTYPE_p_wxPyValidator swig_types[108]
2571 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[109]
2572 #define SWIGTYPE_p_wxRect swig_types[110]
2573 #define SWIGTYPE_p_wxRegion swig_types[111]
2574 #define SWIGTYPE_p_wxRegionIterator swig_types[112]
2575 #define SWIGTYPE_p_wxRendererNative swig_types[113]
2576 #define SWIGTYPE_p_wxRendererVersion swig_types[114]
2577 #define SWIGTYPE_p_wxScreenDC swig_types[115]
2578 #define SWIGTYPE_p_wxScrollEvent swig_types[116]
2579 #define SWIGTYPE_p_wxScrollWinEvent swig_types[117]
2580 #define SWIGTYPE_p_wxSetCursorEvent swig_types[118]
2581 #define SWIGTYPE_p_wxShowEvent swig_types[119]
2582 #define SWIGTYPE_p_wxSize swig_types[120]
2583 #define SWIGTYPE_p_wxSizeEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSizer swig_types[122]
2585 #define SWIGTYPE_p_wxSizerItem swig_types[123]
2586 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[124]
2587 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[125]
2588 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[126]
2589 #define SWIGTYPE_p_wxStockGDI swig_types[127]
2590 #define SWIGTYPE_p_wxString swig_types[128]
2591 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[129]
2592 #define SWIGTYPE_p_wxTIFFHandler swig_types[130]
2593 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[131]
2594 #define SWIGTYPE_p_wxValidator swig_types[132]
2595 #define SWIGTYPE_p_wxWindow swig_types[133]
2596 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[134]
2597 #define SWIGTYPE_p_wxWindowDC swig_types[135]
2598 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[136]
2599 #define SWIGTYPE_p_wxXPMHandler swig_types[137]
2600 static swig_type_info
*swig_types
[139];
2601 static swig_module_info swig_module
= {swig_types
, 138, 0, 0, 0, 0};
2602 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2603 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2605 /* -------- TYPES TABLE (END) -------- */
2607 #if (PY_VERSION_HEX <= 0x02000000)
2608 # if !defined(SWIG_PYTHON_CLASSIC)
2609 # error "This python version requires to use swig with the '-classic' option"
2612 #if (PY_VERSION_HEX <= 0x02020000)
2613 # error "This python version requires to use swig with the '-nomodern' option"
2615 #if (PY_VERSION_HEX <= 0x02020000)
2616 # error "This python version requires to use swig with the '-nomodernargs' option"
2619 # error "This python version requires to use swig with the '-nofastunpack' option"
2622 /*-----------------------------------------------
2623 @(target):= _gdi_.so
2624 ------------------------------------------------*/
2625 #define SWIG_init init_gdi_
2627 #define SWIG_name "_gdi_"
2629 #define SWIGVERSION 0x010329
2632 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2633 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2636 #include <stdexcept>
2640 class PyObject_ptr
{
2645 PyObject_ptr() :_obj(0)
2649 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2654 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2656 if (initial_ref
) Py_XINCREF(_obj
);
2659 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2661 Py_XINCREF(item
._obj
);
2672 operator PyObject
*() const
2677 PyObject
*operator->() const
2686 struct PyObject_var
: PyObject_ptr
{
2687 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2689 PyObject_var
& operator = (PyObject
* obj
)
2699 #include "wx/wxPython/wxPython.h"
2700 #include "wx/wxPython/pyclasses.h"
2703 static const wxString
wxPyEmptyString(wxEmptyString
);
2705 #define SWIG_From_long PyInt_FromLong
2708 SWIGINTERNINLINE PyObject
*
2709 SWIG_From_int (int value
)
2711 return SWIG_From_long (value
);
2717 # define LLONG_MIN LONG_LONG_MIN
2720 # define LLONG_MAX LONG_LONG_MAX
2723 # define ULLONG_MAX ULONG_LONG_MAX
2728 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2730 if (PyNumber_Check(obj
)) {
2731 if (val
) *val
= PyInt_AsLong(obj
);
2734 return SWIG_TypeError
;
2739 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2742 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2743 return SWIG_TypeError
;
2746 *val
= (unsigned long)v
;
2752 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2755 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2756 if (SWIG_IsOK(res
)) {
2757 if ((v
> UCHAR_MAX
)) {
2758 return SWIG_OverflowError
;
2760 if (val
) *val
= static_cast< unsigned char >(v
);
2767 SWIGINTERNINLINE PyObject
*
2768 SWIG_From_unsigned_SS_long (unsigned long value
)
2770 return (value
> LONG_MAX
) ?
2771 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2775 SWIGINTERNINLINE PyObject
*
2776 SWIG_From_unsigned_SS_char (unsigned char value
)
2778 return SWIG_From_unsigned_SS_long (value
);
2781 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2782 wxColour temp
, *obj
= &temp
;
2783 if ( other
== Py_None
) return false;
2784 if ( ! wxColour_helper(other
, &obj
) ) {
2788 return self
->operator==(*obj
);
2790 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2791 wxColour temp
, *obj
= &temp
;
2792 if ( other
== Py_None
) return true;
2793 if ( ! wxColour_helper(other
, &obj
)) {
2797 return self
->operator!=(*obj
);
2799 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2800 PyObject
* rv
= PyTuple_New(3);
2806 green
= self
->Green();
2807 blue
= self
->Blue();
2809 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2810 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2811 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2814 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2815 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2819 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2822 int res
= SWIG_AsVal_long (obj
, &v
);
2823 if (SWIG_IsOK(res
)) {
2824 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2825 return SWIG_OverflowError
;
2827 if (val
) *val
= static_cast< int >(v
);
2833 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2835 int count
= self
->GetDashes(&dashes
);
2836 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2837 PyObject
* retval
= PyList_New(0);
2838 for (int x
=0; x
<count
; x
++) {
2839 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2840 PyList_Append(retval
, pyint
);
2843 wxPyEndBlockThreads(blocked
);
2846 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2848 int size
= PyList_Size(pyDashes
);
2849 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2851 // black magic warning! The array of wxDashes needs to exist as
2852 // long as the pen does because wxPen does not copy the array. So
2853 // stick a copy in a Python string object and attach it to _self,
2854 // and then call SetDashes with a pointer to that array. Then
2855 // when the Python pen object is destroyed the array will be
2857 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2858 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2860 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2862 Py_DECREF(strDashes
);
2863 wxPyEndBlockThreads(blocked
);
2865 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2866 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2868 SWIGINTERNINLINE PyObject
*
2869 SWIG_From_short (short value
)
2871 return SWIG_From_long (value
);
2876 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< short >(v
);
2891 #include <wx/image.h>
2893 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2894 char** cArray
= NULL
;
2897 if (!PyList_Check(listOfStrings
)) {
2898 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2901 count
= PyList_Size(listOfStrings
);
2902 cArray
= new char*[count
];
2904 for(int x
=0; x
<count
; x
++) {
2905 // TODO: Need some validation and error checking here
2906 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2912 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2913 char** cArray
= NULL
;
2916 cArray
= ConvertListOfStrings(listOfStrings
);
2919 bmp
= new wxBitmap(cArray
);
2923 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2926 PyString_AsStringAndSize(bits
, &buf
, &length
);
2927 return new wxBitmap(buf
, width
, height
, depth
);
2929 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2930 wxSize
size(self
->GetWidth(), self
->GetHeight());
2933 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2934 wxMask
*mask
= new wxMask(*self
, colour
);
2935 self
->SetMask(mask
);
2937 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2938 self
->SetWidth(size
.x
);
2939 self
->SetHeight(size
.y
);
2941 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2942 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2943 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2945 return new wxMask(bitmap
, *wxBLACK
);
2947 return new wxMask(bitmap
, colour
);
2950 #include <wx/iconbndl.h>
2952 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2953 wxIcon
* icon
= new wxIcon();
2954 icon
->CopyFromBitmap(bmp
);
2957 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2958 char** cArray
= NULL
;
2961 cArray
= ConvertListOfStrings(listOfStrings
);
2964 icon
= new wxIcon(cArray
);
2968 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2972 return new wxIconLocation(*filename
);
2975 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2982 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2989 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2991 wxImage
img(cursorName
, type
);
2992 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2993 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2994 return new wxCursor(img
);
2996 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3001 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3004 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3005 return self
->operator bool();
3008 #include <wx/fontutil.h>
3009 #include <wx/fontmap.h>
3010 #include <wx/fontenum.h>
3014 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3016 if (obj
== Py_True
) {
3017 if (val
) *val
= true;
3019 } else if (obj
== Py_False
) {
3020 if (val
) *val
= false;
3024 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3025 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3030 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3031 return self
->ToString();
3034 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3035 static wxNativeEncodingInfo info
;
3036 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3043 SWIGINTERNINLINE PyObject
*
3044 SWIG_From_size_t (size_t value
)
3046 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3050 SWIGINTERNINLINE
int
3051 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3054 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3055 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3059 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3060 wxFontEncoding alt_enc
;
3061 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3062 return PyInt_FromLong(alt_enc
);
3068 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3069 wxNativeFontInfo nfi
;
3070 nfi
.FromString(info
);
3071 return new wxFont(nfi
);
3073 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3074 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3076 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3077 return wxFontBase::New(pixelSize
, family
,
3078 style
, weight
, underlined
,
3081 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3082 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3084 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3085 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3087 class wxPyFontEnumerator
: public wxFontEnumerator
{
3089 wxPyFontEnumerator() {}
3090 ~wxPyFontEnumerator() {}
3092 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3093 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3098 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3099 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3102 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3104 wxArrayString
* arr
= self
->GetEncodings();
3105 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3107 ret
= wxArrayString2PyList_helper(*arr
);
3109 ret
= PyList_New(0);
3110 wxPyEndBlockThreads(blocked
);
3113 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3115 wxArrayString
* arr
= self
->GetFacenames();
3116 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3118 ret
= wxArrayString2PyList_helper(*arr
);
3120 ret
= PyList_New(0);
3121 wxPyEndBlockThreads(blocked
);
3127 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3130 loc
= new wxLocale();
3132 loc
= new wxLocale(language
, flags
);
3133 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3134 // for the floating point conversions and such to work right.
3135 #if PY_VERSION_HEX < 0x02040000
3136 setlocale(LC_NUMERIC
, "C");
3140 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3141 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3142 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3143 // for the floating point conversions and such to work right.
3144 #if PY_VERSION_HEX < 0x02040000
3145 setlocale(LC_NUMERIC
, "C");
3149 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3150 bool rc
= self
->Init(language
, flags
);
3151 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3152 // for the floating point conversions and such to work right.
3153 #if PY_VERSION_HEX < 0x02040000
3154 setlocale(LC_NUMERIC
, "C");
3159 #include "wx/wxPython/pydrawxxx.h"
3161 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3163 self
->GetPixel(x
, y
, &col
);
3166 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3168 self
->GetPixel(pt
, &col
);
3173 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3175 if (PyNumber_Check(obj
)) {
3176 if (val
) *val
= PyFloat_AsDouble(obj
);
3179 return SWIG_TypeError
;
3182 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3184 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3187 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3189 self
->GetClippingBox(rect
);
3192 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3194 self
->GetPartialTextExtents(text
, widths
);
3198 #define SWIG_From_double PyFloat_FromDouble
3200 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3201 self
->SetLogicalOrigin(point
.x
, point
.y
);
3203 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3204 self
->SetDeviceOrigin(point
.x
, point
.y
);
3206 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3207 self
->CalcBoundingBox(point
.x
, point
.y
);
3209 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3210 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3212 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3213 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3215 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3216 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3218 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3219 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3221 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3222 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3224 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3225 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3228 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3236 #include <wx/dcbuffer.h>
3239 #include <wx/dcps.h>
3242 #include <wx/metafile.h>
3246 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3247 self
->AddColour(name
, wxColour(red
, green
, blue
));
3250 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3251 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3252 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3253 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3256 #include <wx/effects.h>
3259 #include "wx/renderer.h"
3262 SWIGINTERNINLINE PyObject
*
3263 SWIG_From_bool (bool value
)
3265 return PyBool_FromLong(value
? 1 : 0);
3271 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3272 PyObject
*resultobj
= 0;
3273 wxGDIObject
*result
= 0 ;
3275 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3277 if (!wxPyCheckForApp()) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 result
= (wxGDIObject
*)new wxGDIObject();
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3290 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3291 PyObject
*resultobj
= 0;
3292 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3295 PyObject
*swig_obj
[1] ;
3297 if (!args
) SWIG_fail
;
3299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3300 if (!SWIG_IsOK(res1
)) {
3301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3303 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 resultobj
= SWIG_Py_Void();
3318 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3319 PyObject
*resultobj
= 0;
3320 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3324 PyObject
*swig_obj
[1] ;
3326 if (!args
) SWIG_fail
;
3328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3329 if (!SWIG_IsOK(res1
)) {
3330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3332 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3335 result
= (bool)(arg1
)->IsNull();
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3348 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3351 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3352 return SWIG_Py_Void();
3355 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3356 return SWIG_Python_InitShadowInstance(args
);
3359 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
*resultobj
= 0;
3361 byte arg1
= (byte
) 0 ;
3362 byte arg2
= (byte
) 0 ;
3363 byte arg3
= (byte
) 0 ;
3364 wxColour
*result
= 0 ;
3365 unsigned char val1
;
3367 unsigned char val2
;
3369 unsigned char val3
;
3371 PyObject
* obj0
= 0 ;
3372 PyObject
* obj1
= 0 ;
3373 PyObject
* obj2
= 0 ;
3374 char * kwnames
[] = {
3375 (char *) "red",(char *) "green",(char *) "blue", NULL
3378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3380 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3381 if (!SWIG_IsOK(ecode1
)) {
3382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3384 arg1
= static_cast< byte
>(val1
);
3387 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3388 if (!SWIG_IsOK(ecode2
)) {
3389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3391 arg2
= static_cast< byte
>(val2
);
3394 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3395 if (!SWIG_IsOK(ecode3
)) {
3396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3398 arg3
= static_cast< byte
>(val3
);
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3413 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
= 0;
3415 wxString
*arg1
= 0 ;
3416 wxColour
*result
= 0 ;
3417 bool temp1
= false ;
3418 PyObject
* obj0
= 0 ;
3419 char * kwnames
[] = {
3420 (char *) "colorName", NULL
3423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3425 arg1
= wxString_in_helper(obj0
);
3426 if (arg1
== NULL
) SWIG_fail
;
3430 if (!wxPyCheckForApp()) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3451 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
= 0;
3453 unsigned long arg1
;
3454 wxColour
*result
= 0 ;
3455 unsigned long val1
;
3457 PyObject
* obj0
= 0 ;
3458 char * kwnames
[] = {
3459 (char *) "colRGB", NULL
3462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3463 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3464 if (!SWIG_IsOK(ecode1
)) {
3465 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3467 arg1
= static_cast< unsigned long >(val1
);
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (wxColour
*)new wxColour(arg1
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3481 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3482 PyObject
*resultobj
= 0;
3483 wxColour
*arg1
= (wxColour
*) 0 ;
3486 PyObject
*swig_obj
[1] ;
3488 if (!args
) SWIG_fail
;
3490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3491 if (!SWIG_IsOK(res1
)) {
3492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3494 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 resultobj
= SWIG_Py_Void();
3509 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3510 PyObject
*resultobj
= 0;
3511 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
, 0 | 0 );
3520 if (!SWIG_IsOK(res1
)) {
3521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3523 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (byte
)(arg1
)->Red();
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3530 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3537 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3538 PyObject
*resultobj
= 0;
3539 wxColour
*arg1
= (wxColour
*) 0 ;
3543 PyObject
*swig_obj
[1] ;
3545 if (!args
) SWIG_fail
;
3547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3548 if (!SWIG_IsOK(res1
)) {
3549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3551 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (byte
)(arg1
)->Green();
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3565 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3566 PyObject
*resultobj
= 0;
3567 wxColour
*arg1
= (wxColour
*) 0 ;
3571 PyObject
*swig_obj
[1] ;
3573 if (!args
) SWIG_fail
;
3575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3576 if (!SWIG_IsOK(res1
)) {
3577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3579 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (byte
)(arg1
)->Blue();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3593 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3594 PyObject
*resultobj
= 0;
3595 wxColour
*arg1
= (wxColour
*) 0 ;
3599 PyObject
*swig_obj
[1] ;
3601 if (!args
) SWIG_fail
;
3603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3604 if (!SWIG_IsOK(res1
)) {
3605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3607 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= (bool)(arg1
)->Ok();
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3623 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
= 0;
3625 wxColour
*arg1
= (wxColour
*) 0 ;
3631 unsigned char val2
;
3633 unsigned char val3
;
3635 unsigned char val4
;
3637 PyObject
* obj0
= 0 ;
3638 PyObject
* obj1
= 0 ;
3639 PyObject
* obj2
= 0 ;
3640 PyObject
* obj3
= 0 ;
3641 char * kwnames
[] = {
3642 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3647 if (!SWIG_IsOK(res1
)) {
3648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3650 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3651 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3652 if (!SWIG_IsOK(ecode2
)) {
3653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3655 arg2
= static_cast< byte
>(val2
);
3656 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3657 if (!SWIG_IsOK(ecode3
)) {
3658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3660 arg3
= static_cast< byte
>(val3
);
3661 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3662 if (!SWIG_IsOK(ecode4
)) {
3663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3665 arg4
= static_cast< byte
>(val4
);
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 (arg1
)->Set(arg2
,arg3
,arg4
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_Py_Void();
3679 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
= 0;
3681 wxColour
*arg1
= (wxColour
*) 0 ;
3682 unsigned long arg2
;
3685 unsigned long val2
;
3687 PyObject
* obj0
= 0 ;
3688 PyObject
* obj1
= 0 ;
3689 char * kwnames
[] = {
3690 (char *) "self",(char *) "colRGB", NULL
3693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3695 if (!SWIG_IsOK(res1
)) {
3696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3698 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3699 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3700 if (!SWIG_IsOK(ecode2
)) {
3701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3703 arg2
= static_cast< unsigned long >(val2
);
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= SWIG_Py_Void();
3717 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
= 0;
3719 wxColour
*arg1
= (wxColour
*) 0 ;
3720 wxString
*arg2
= 0 ;
3723 bool temp2
= false ;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3726 char * kwnames
[] = {
3727 (char *) "self",(char *) "colourName", NULL
3730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3732 if (!SWIG_IsOK(res1
)) {
3733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3735 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3737 arg2
= wxString_in_helper(obj1
);
3738 if (arg2
== NULL
) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 (arg1
)->InitFromName((wxString
const &)*arg2
);
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_Py_Void();
3762 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
= 0;
3764 wxColour
*arg1
= (wxColour
*) 0 ;
3765 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 char * kwnames
[] = {
3774 (char *) "self",(char *) "flags", NULL
3777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3779 if (!SWIG_IsOK(res1
)) {
3780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3782 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3784 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3785 if (!SWIG_IsOK(ecode2
)) {
3786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3788 arg2
= static_cast< long >(val2
);
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3809 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3810 PyObject
*resultobj
= 0;
3811 wxColour
*arg1
= (wxColour
*) 0 ;
3815 PyObject
*swig_obj
[1] ;
3817 if (!args
) SWIG_fail
;
3819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3820 if (!SWIG_IsOK(res1
)) {
3821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3823 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 resultobj
= SWIG_From_long(static_cast< long >(result
));
3837 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
= 0;
3839 wxColour
*arg1
= (wxColour
*) 0 ;
3840 PyObject
*arg2
= (PyObject
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3845 PyObject
* obj1
= 0 ;
3846 char * kwnames
[] = {
3847 (char *) "self",(char *) "other", NULL
3850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3852 if (!SWIG_IsOK(res1
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3855 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3858 result
= (bool)wxColour___eq__(arg1
,arg2
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3870 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
= 0;
3872 wxColour
*arg1
= (wxColour
*) 0 ;
3873 PyObject
*arg2
= (PyObject
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3878 PyObject
* obj1
= 0 ;
3879 char * kwnames
[] = {
3880 (char *) "self",(char *) "other", NULL
3883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3885 if (!SWIG_IsOK(res1
)) {
3886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3888 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3891 result
= (bool)wxColour___ne__(arg1
,arg2
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3903 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3904 PyObject
*resultobj
= 0;
3905 wxColour
*arg1
= (wxColour
*) 0 ;
3906 PyObject
*result
= 0 ;
3909 PyObject
*swig_obj
[1] ;
3911 if (!args
) SWIG_fail
;
3913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3914 if (!SWIG_IsOK(res1
)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3917 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 result
= (PyObject
*)wxColour_Get(arg1
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3931 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3932 PyObject
*resultobj
= 0;
3933 wxColour
*arg1
= (wxColour
*) 0 ;
3934 unsigned long result
;
3937 PyObject
*swig_obj
[1] ;
3939 if (!args
) SWIG_fail
;
3941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3942 if (!SWIG_IsOK(res1
)) {
3943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3945 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 result
= (unsigned long)wxColour_GetRGB(arg1
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3959 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3962 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3963 return SWIG_Py_Void();
3966 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3967 return SWIG_Python_InitShadowInstance(args
);
3970 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
= 0;
3973 unsigned char *arg2
= (unsigned char *) 0 ;
3974 unsigned char *arg3
= (unsigned char *) 0 ;
3975 unsigned char *arg4
= (unsigned char *) 0 ;
3976 wxPalette
*result
= 0 ;
3985 PyObject
* obj0
= 0 ;
3986 PyObject
* obj1
= 0 ;
3987 PyObject
* obj2
= 0 ;
3988 PyObject
* obj3
= 0 ;
3989 char * kwnames
[] = {
3990 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3995 if (!SWIG_IsOK(ecode1
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3998 arg1
= static_cast< int >(val1
);
3999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4000 if (!SWIG_IsOK(res2
)) {
4001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4003 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4004 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4005 if (!SWIG_IsOK(res3
)) {
4006 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4008 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4009 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4010 if (!SWIG_IsOK(res4
)) {
4011 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4013 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4015 if (!wxPyCheckForApp()) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4028 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4029 PyObject
*resultobj
= 0;
4030 wxPalette
*arg1
= (wxPalette
*) 0 ;
4033 PyObject
*swig_obj
[1] ;
4035 if (!args
) SWIG_fail
;
4037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4038 if (!SWIG_IsOK(res1
)) {
4039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4041 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= SWIG_Py_Void();
4056 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
= 0;
4058 wxPalette
*arg1
= (wxPalette
*) 0 ;
4065 unsigned char val2
;
4067 unsigned char val3
;
4069 unsigned char val4
;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4073 PyObject
* obj2
= 0 ;
4074 PyObject
* obj3
= 0 ;
4075 char * kwnames
[] = {
4076 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4081 if (!SWIG_IsOK(res1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4084 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4085 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4086 if (!SWIG_IsOK(ecode2
)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4089 arg2
= static_cast< byte
>(val2
);
4090 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4091 if (!SWIG_IsOK(ecode3
)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4094 arg3
= static_cast< byte
>(val3
);
4095 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4096 if (!SWIG_IsOK(ecode4
)) {
4097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4099 arg4
= static_cast< byte
>(val4
);
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= SWIG_From_int(static_cast< int >(result
));
4113 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
= 0;
4115 wxPalette
*arg1
= (wxPalette
*) 0 ;
4117 byte
*arg3
= (byte
*) 0 ;
4118 byte
*arg4
= (byte
*) 0 ;
4119 byte
*arg5
= (byte
*) 0 ;
4126 int res3
= SWIG_TMPOBJ
;
4128 int res4
= SWIG_TMPOBJ
;
4130 int res5
= SWIG_TMPOBJ
;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4133 char * kwnames
[] = {
4134 (char *) "self",(char *) "pixel", NULL
4140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4142 if (!SWIG_IsOK(res1
)) {
4143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4145 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4147 if (!SWIG_IsOK(ecode2
)) {
4148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4150 arg2
= static_cast< int >(val2
);
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4160 if (SWIG_IsTmpObj(res3
)) {
4161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4163 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4166 if (SWIG_IsTmpObj(res4
)) {
4167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4169 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4172 if (SWIG_IsTmpObj(res5
)) {
4173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4175 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4184 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4185 PyObject
*resultobj
= 0;
4186 wxPalette
*arg1
= (wxPalette
*) 0 ;
4190 PyObject
*swig_obj
[1] ;
4192 if (!args
) SWIG_fail
;
4194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4195 if (!SWIG_IsOK(res1
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4198 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= SWIG_From_int(static_cast< int >(result
));
4212 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4213 PyObject
*resultobj
= 0;
4214 wxPalette
*arg1
= (wxPalette
*) 0 ;
4218 PyObject
*swig_obj
[1] ;
4220 if (!args
) SWIG_fail
;
4222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4223 if (!SWIG_IsOK(res1
)) {
4224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4226 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (bool)(arg1
)->Ok();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4242 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4246 return SWIG_Py_Void();
4249 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4250 return SWIG_Python_InitShadowInstance(args
);
4253 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
= 0;
4255 wxColour
*arg1
= 0 ;
4256 int arg2
= (int) 1 ;
4257 int arg3
= (int) wxSOLID
;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4266 PyObject
* obj2
= 0 ;
4267 char * kwnames
[] = {
4268 (char *) "colour",(char *) "width",(char *) "style", NULL
4271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4274 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4278 if (!SWIG_IsOK(ecode2
)) {
4279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4281 arg2
= static_cast< int >(val2
);
4284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4285 if (!SWIG_IsOK(ecode3
)) {
4286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4288 arg3
= static_cast< int >(val3
);
4291 if (!wxPyCheckForApp()) SWIG_fail
;
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4304 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4305 PyObject
*resultobj
= 0;
4306 wxPen
*arg1
= (wxPen
*) 0 ;
4309 PyObject
*swig_obj
[1] ;
4311 if (!args
) SWIG_fail
;
4313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4314 if (!SWIG_IsOK(res1
)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4317 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_Py_Void();
4332 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4333 PyObject
*resultobj
= 0;
4334 wxPen
*arg1
= (wxPen
*) 0 ;
4338 PyObject
*swig_obj
[1] ;
4340 if (!args
) SWIG_fail
;
4342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4343 if (!SWIG_IsOK(res1
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4346 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (int)(arg1
)->GetCap();
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_From_int(static_cast< int >(result
));
4360 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4361 PyObject
*resultobj
= 0;
4362 wxPen
*arg1
= (wxPen
*) 0 ;
4366 PyObject
*swig_obj
[1] ;
4368 if (!args
) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4374 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (arg1
)->GetColour();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4388 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4389 PyObject
*resultobj
= 0;
4390 wxPen
*arg1
= (wxPen
*) 0 ;
4394 PyObject
*swig_obj
[1] ;
4396 if (!args
) SWIG_fail
;
4398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4399 if (!SWIG_IsOK(res1
)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4402 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (int)(arg1
)->GetJoin();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= SWIG_From_int(static_cast< int >(result
));
4416 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4417 PyObject
*resultobj
= 0;
4418 wxPen
*arg1
= (wxPen
*) 0 ;
4422 PyObject
*swig_obj
[1] ;
4424 if (!args
) SWIG_fail
;
4426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4427 if (!SWIG_IsOK(res1
)) {
4428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4430 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= (int)(arg1
)->GetStyle();
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= SWIG_From_int(static_cast< int >(result
));
4444 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4445 PyObject
*resultobj
= 0;
4446 wxPen
*arg1
= (wxPen
*) 0 ;
4450 PyObject
*swig_obj
[1] ;
4452 if (!args
) SWIG_fail
;
4454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4455 if (!SWIG_IsOK(res1
)) {
4456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4458 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (int)(arg1
)->GetWidth();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_From_int(static_cast< int >(result
));
4472 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4473 PyObject
*resultobj
= 0;
4474 wxPen
*arg1
= (wxPen
*) 0 ;
4478 PyObject
*swig_obj
[1] ;
4480 if (!args
) SWIG_fail
;
4482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4483 if (!SWIG_IsOK(res1
)) {
4484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4486 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)(arg1
)->Ok();
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4502 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
= 0;
4504 wxPen
*arg1
= (wxPen
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4511 PyObject
* obj1
= 0 ;
4512 char * kwnames
[] = {
4513 (char *) "self",(char *) "cap_style", NULL
4516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4518 if (!SWIG_IsOK(res1
)) {
4519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4521 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4523 if (!SWIG_IsOK(ecode2
)) {
4524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4526 arg2
= static_cast< int >(val2
);
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 (arg1
)->SetCap(arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_Py_Void();
4540 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= 0;
4542 wxPen
*arg1
= (wxPen
*) 0 ;
4543 wxColour
*arg2
= 0 ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 char * kwnames
[] = {
4550 (char *) "self",(char *) "colour", NULL
4553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4555 if (!SWIG_IsOK(res1
)) {
4556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4558 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4561 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 (arg1
)->SetColour(*arg2
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 resultobj
= SWIG_Py_Void();
4576 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
= 0;
4578 wxPen
*arg1
= (wxPen
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 char * kwnames
[] = {
4587 (char *) "self",(char *) "join_style", NULL
4590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4595 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4597 if (!SWIG_IsOK(ecode2
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4600 arg2
= static_cast< int >(val2
);
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 (arg1
)->SetJoin(arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= SWIG_Py_Void();
4614 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
= 0;
4616 wxPen
*arg1
= (wxPen
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4624 char * kwnames
[] = {
4625 (char *) "self",(char *) "style", NULL
4628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4630 if (!SWIG_IsOK(res1
)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4633 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4635 if (!SWIG_IsOK(ecode2
)) {
4636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4638 arg2
= static_cast< int >(val2
);
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 (arg1
)->SetStyle(arg2
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_Py_Void();
4652 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
= 0;
4654 wxPen
*arg1
= (wxPen
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4661 PyObject
* obj1
= 0 ;
4662 char * kwnames
[] = {
4663 (char *) "self",(char *) "width", NULL
4666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4668 if (!SWIG_IsOK(res1
)) {
4669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4671 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4673 if (!SWIG_IsOK(ecode2
)) {
4674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4676 arg2
= static_cast< int >(val2
);
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 (arg1
)->SetWidth(arg2
);
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_Py_Void();
4690 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
= 0;
4692 wxPen
*arg1
= (wxPen
*) 0 ;
4694 wxDash
*arg3
= (wxDash
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4698 PyObject
* obj1
= 0 ;
4699 char * kwnames
[] = {
4700 (char *) "self",(char *) "dashes", NULL
4703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4705 if (!SWIG_IsOK(res1
)) {
4706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4708 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4710 arg2
= PyList_Size(obj1
);
4711 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4712 if (arg3
== NULL
) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 (arg1
)->SetDashes(arg2
,arg3
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_Py_Void();
4722 if (arg3
) delete [] arg3
;
4727 if (arg3
) delete [] arg3
;
4733 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4734 PyObject
*resultobj
= 0;
4735 wxPen
*arg1
= (wxPen
*) 0 ;
4736 PyObject
*result
= 0 ;
4739 PyObject
*swig_obj
[1] ;
4741 if (!args
) SWIG_fail
;
4743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4744 if (!SWIG_IsOK(res1
)) {
4745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4747 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4761 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
= 0;
4763 wxPen
*arg1
= (wxPen
*) 0 ;
4764 PyObject
*arg2
= (PyObject
*) 0 ;
4765 PyObject
*arg3
= (PyObject
*) 0 ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4770 PyObject
* obj2
= 0 ;
4771 char * kwnames
[] = {
4772 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4777 if (!SWIG_IsOK(res1
)) {
4778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4780 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 wxPen__SetDashes(arg1
,arg2
,arg3
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_Py_Void();
4796 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
= 0;
4798 wxPen
*arg1
= (wxPen
*) 0 ;
4799 wxPen
*arg2
= (wxPen
*) 0 ;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4807 char * kwnames
[] = {
4808 (char *) "self",(char *) "other", NULL
4811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4813 if (!SWIG_IsOK(res1
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4816 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4818 if (!SWIG_IsOK(res2
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4821 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4837 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
= 0;
4839 wxPen
*arg1
= (wxPen
*) 0 ;
4840 wxPen
*arg2
= (wxPen
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4847 PyObject
* obj1
= 0 ;
4848 char * kwnames
[] = {
4849 (char *) "self",(char *) "other", NULL
4852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4857 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4859 if (!SWIG_IsOK(res2
)) {
4860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4862 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4878 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4881 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4882 return SWIG_Py_Void();
4885 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4886 return SWIG_Python_InitShadowInstance(args
);
4889 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
= 0;
4891 wxColour
*arg1
= 0 ;
4892 int arg2
= (int) wxSOLID
;
4893 wxBrush
*result
= 0 ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4899 char * kwnames
[] = {
4900 (char *) "colour",(char *) "style", NULL
4903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4906 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4910 if (!SWIG_IsOK(ecode2
)) {
4911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4913 arg2
= static_cast< int >(val2
);
4916 if (!wxPyCheckForApp()) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4929 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
= 0;
4931 wxBitmap
*arg1
= 0 ;
4932 wxBrush
*result
= 0 ;
4935 PyObject
* obj0
= 0 ;
4936 char * kwnames
[] = {
4937 (char *) "stippleBitmap", NULL
4940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4941 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4942 if (!SWIG_IsOK(res1
)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4950 if (!wxPyCheckForApp()) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4963 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4964 PyObject
*resultobj
= 0;
4965 wxBrush
*arg1
= (wxBrush
*) 0 ;
4968 PyObject
*swig_obj
[1] ;
4970 if (!args
) SWIG_fail
;
4972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4973 if (!SWIG_IsOK(res1
)) {
4974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
4976 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_Py_Void();
4991 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
= 0;
4993 wxBrush
*arg1
= (wxBrush
*) 0 ;
4994 wxColour
*arg2
= 0 ;
4998 PyObject
* obj0
= 0 ;
4999 PyObject
* obj1
= 0 ;
5000 char * kwnames
[] = {
5001 (char *) "self",(char *) "col", NULL
5004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5006 if (!SWIG_IsOK(res1
)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5009 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 (arg1
)->SetColour((wxColour
const &)*arg2
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= SWIG_Py_Void();
5027 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
= 0;
5029 wxBrush
*arg1
= (wxBrush
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5037 char * kwnames
[] = {
5038 (char *) "self",(char *) "style", NULL
5041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5043 if (!SWIG_IsOK(res1
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5046 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5048 if (!SWIG_IsOK(ecode2
)) {
5049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5051 arg2
= static_cast< int >(val2
);
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 (arg1
)->SetStyle(arg2
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_Py_Void();
5065 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
= 0;
5067 wxBrush
*arg1
= (wxBrush
*) 0 ;
5068 wxBitmap
*arg2
= 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 char * kwnames
[] = {
5076 (char *) "self",(char *) "stipple", NULL
5079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5081 if (!SWIG_IsOK(res1
)) {
5082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5084 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5086 if (!SWIG_IsOK(res2
)) {
5087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5092 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_Py_Void();
5106 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5107 PyObject
*resultobj
= 0;
5108 wxBrush
*arg1
= (wxBrush
*) 0 ;
5112 PyObject
*swig_obj
[1] ;
5114 if (!args
) SWIG_fail
;
5116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5117 if (!SWIG_IsOK(res1
)) {
5118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5120 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= ((wxBrush
const *)arg1
)->GetColour();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5134 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5135 PyObject
*resultobj
= 0;
5136 wxBrush
*arg1
= (wxBrush
*) 0 ;
5140 PyObject
*swig_obj
[1] ;
5142 if (!args
) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5148 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_From_int(static_cast< int >(result
));
5162 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5163 PyObject
*resultobj
= 0;
5164 wxBrush
*arg1
= (wxBrush
*) 0 ;
5165 wxBitmap
*result
= 0 ;
5168 PyObject
*swig_obj
[1] ;
5170 if (!args
) SWIG_fail
;
5172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5173 if (!SWIG_IsOK(res1
)) {
5174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5176 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5190 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5191 PyObject
*resultobj
= 0;
5192 wxBrush
*arg1
= (wxBrush
*) 0 ;
5196 PyObject
*swig_obj
[1] ;
5198 if (!args
) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5204 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5220 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5221 PyObject
*resultobj
= 0;
5222 wxBrush
*arg1
= (wxBrush
*) 0 ;
5226 PyObject
*swig_obj
[1] ;
5228 if (!args
) SWIG_fail
;
5230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5231 if (!SWIG_IsOK(res1
)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5234 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (bool)(arg1
)->Ok();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5250 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5251 PyObject
*resultobj
= 0;
5252 wxBrush
*arg1
= (wxBrush
*) 0 ;
5256 PyObject
*swig_obj
[1] ;
5258 if (!args
) SWIG_fail
;
5260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5261 if (!SWIG_IsOK(res1
)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5264 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (short)(arg1
)->MacGetTheme();
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_From_short(static_cast< short >(result
));
5278 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
= 0;
5280 wxBrush
*arg1
= (wxBrush
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5287 PyObject
* obj1
= 0 ;
5288 char * kwnames
[] = {
5289 (char *) "self",(char *) "macThemeBrush", NULL
5292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5294 if (!SWIG_IsOK(res1
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5297 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5298 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5299 if (!SWIG_IsOK(ecode2
)) {
5300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5302 arg2
= static_cast< short >(val2
);
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 (arg1
)->MacSetTheme(arg2
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= SWIG_Py_Void();
5316 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5319 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5320 return SWIG_Py_Void();
5323 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5324 return SWIG_Python_InitShadowInstance(args
);
5327 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
= 0;
5329 wxString
*arg1
= 0 ;
5330 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5331 wxBitmap
*result
= 0 ;
5332 bool temp1
= false ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5337 char * kwnames
[] = {
5338 (char *) "name",(char *) "type", NULL
5341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5343 arg1
= wxString_in_helper(obj0
);
5344 if (arg1
== NULL
) SWIG_fail
;
5348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5349 if (!SWIG_IsOK(ecode2
)) {
5350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5352 arg2
= static_cast< wxBitmapType
>(val2
);
5355 if (!wxPyCheckForApp()) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5376 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5377 PyObject
*resultobj
= 0;
5378 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5381 PyObject
*swig_obj
[1] ;
5383 if (!args
) SWIG_fail
;
5385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5386 if (!SWIG_IsOK(res1
)) {
5387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5389 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_Py_Void();
5404 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
= 0;
5408 int arg3
= (int) -1 ;
5409 wxBitmap
*result
= 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5418 PyObject
* obj2
= 0 ;
5419 char * kwnames
[] = {
5420 (char *) "width",(char *) "height",(char *) "depth", NULL
5423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5425 if (!SWIG_IsOK(ecode1
)) {
5426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5428 arg1
= static_cast< int >(val1
);
5429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5430 if (!SWIG_IsOK(ecode2
)) {
5431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5433 arg2
= static_cast< int >(val2
);
5435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5436 if (!SWIG_IsOK(ecode3
)) {
5437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5439 arg3
= static_cast< int >(val3
);
5442 if (!wxPyCheckForApp()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5455 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= 0;
5458 wxBitmap
*result
= 0 ;
5461 PyObject
* obj0
= 0 ;
5462 char * kwnames
[] = {
5463 (char *) "icon", NULL
5466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5467 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5468 if (!SWIG_IsOK(res1
)) {
5469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5474 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5476 if (!wxPyCheckForApp()) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5489 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
= 0;
5492 int arg2
= (int) -1 ;
5493 wxBitmap
*result
= 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5500 char * kwnames
[] = {
5501 (char *) "image",(char *) "depth", NULL
5504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5505 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5506 if (!SWIG_IsOK(res1
)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5512 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5515 if (!SWIG_IsOK(ecode2
)) {
5516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5518 arg2
= static_cast< int >(val2
);
5521 if (!wxPyCheckForApp()) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5534 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
= 0;
5536 PyObject
*arg1
= (PyObject
*) 0 ;
5537 wxBitmap
*result
= 0 ;
5538 PyObject
* obj0
= 0 ;
5539 char * kwnames
[] = {
5540 (char *) "listOfStrings", NULL
5543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5546 if (!wxPyCheckForApp()) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5559 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
= 0;
5561 PyObject
*arg1
= (PyObject
*) 0 ;
5564 int arg4
= (int) 1 ;
5565 wxBitmap
*result
= 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5574 PyObject
* obj2
= 0 ;
5575 PyObject
* obj3
= 0 ;
5576 char * kwnames
[] = {
5577 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5583 if (!SWIG_IsOK(ecode2
)) {
5584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5586 arg2
= static_cast< int >(val2
);
5587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5588 if (!SWIG_IsOK(ecode3
)) {
5589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5591 arg3
= static_cast< int >(val3
);
5593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5594 if (!SWIG_IsOK(ecode4
)) {
5595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5597 arg4
= static_cast< int >(val4
);
5600 if (!wxPyCheckForApp()) SWIG_fail
;
5601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5613 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5614 PyObject
*resultobj
= 0;
5615 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5619 PyObject
*swig_obj
[1] ;
5621 if (!args
) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5627 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (bool)(arg1
)->Ok();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5643 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5644 PyObject
*resultobj
= 0;
5645 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5649 PyObject
*swig_obj
[1] ;
5651 if (!args
) SWIG_fail
;
5653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5654 if (!SWIG_IsOK(res1
)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5657 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (int)(arg1
)->GetWidth();
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_From_int(static_cast< int >(result
));
5671 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5672 PyObject
*resultobj
= 0;
5673 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5677 PyObject
*swig_obj
[1] ;
5679 if (!args
) SWIG_fail
;
5681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5682 if (!SWIG_IsOK(res1
)) {
5683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5685 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= (int)(arg1
)->GetHeight();
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= SWIG_From_int(static_cast< int >(result
));
5699 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5700 PyObject
*resultobj
= 0;
5701 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5705 PyObject
*swig_obj
[1] ;
5707 if (!args
) SWIG_fail
;
5709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5710 if (!SWIG_IsOK(res1
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5713 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 result
= (int)(arg1
)->GetDepth();
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= SWIG_From_int(static_cast< int >(result
));
5727 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 PyObject
*resultobj
= 0;
5729 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5733 PyObject
*swig_obj
[1] ;
5735 if (!args
) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5741 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= wxBitmap_GetSize(arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5755 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5756 PyObject
*resultobj
= 0;
5757 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5758 SwigValueWrapper
<wxImage
> result
;
5761 PyObject
*swig_obj
[1] ;
5763 if (!args
) SWIG_fail
;
5765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5766 if (!SWIG_IsOK(res1
)) {
5767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5769 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5783 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5784 PyObject
*resultobj
= 0;
5785 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5786 wxMask
*result
= 0 ;
5789 PyObject
*swig_obj
[1] ;
5791 if (!args
) SWIG_fail
;
5793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5794 if (!SWIG_IsOK(res1
)) {
5795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5797 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5811 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
= 0;
5813 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5814 wxMask
*arg2
= (wxMask
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5819 PyObject
* obj1
= 0 ;
5820 char * kwnames
[] = {
5821 (char *) "self",(char *) "mask", NULL
5824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5826 if (!SWIG_IsOK(res1
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5829 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5830 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5831 if (!SWIG_IsOK(res2
)) {
5832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 (arg1
)->SetMask(arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_Py_Void();
5847 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
= 0;
5849 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5850 wxColour
*arg2
= 0 ;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5856 char * kwnames
[] = {
5857 (char *) "self",(char *) "colour", NULL
5860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5862 if (!SWIG_IsOK(res1
)) {
5863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5865 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5868 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= SWIG_Py_Void();
5883 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
= 0;
5885 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5887 SwigValueWrapper
<wxBitmap
> result
;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5893 char * kwnames
[] = {
5894 (char *) "self",(char *) "rect", NULL
5897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5899 if (!SWIG_IsOK(res1
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5902 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5905 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5920 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
= 0;
5922 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5923 wxString
*arg2
= 0 ;
5925 wxPalette
*arg4
= (wxPalette
*) NULL
;
5929 bool temp2
= false ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5936 PyObject
* obj2
= 0 ;
5937 PyObject
* obj3
= 0 ;
5938 char * kwnames
[] = {
5939 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5944 if (!SWIG_IsOK(res1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5947 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5949 arg2
= wxString_in_helper(obj1
);
5950 if (arg2
== NULL
) SWIG_fail
;
5953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5954 if (!SWIG_IsOK(ecode3
)) {
5955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5957 arg3
= static_cast< wxBitmapType
>(val3
);
5959 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5960 if (!SWIG_IsOK(res4
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5963 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5988 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
= 0;
5990 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5991 wxString
*arg2
= 0 ;
5996 bool temp2
= false ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6001 PyObject
* obj2
= 0 ;
6002 char * kwnames
[] = {
6003 (char *) "self",(char *) "name",(char *) "type", NULL
6006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6011 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6013 arg2
= wxString_in_helper(obj1
);
6014 if (arg2
== NULL
) SWIG_fail
;
6017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6018 if (!SWIG_IsOK(ecode3
)) {
6019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6021 arg3
= static_cast< wxBitmapType
>(val3
);
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6045 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6046 PyObject
*resultobj
= 0;
6047 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6048 wxPalette
*result
= 0 ;
6051 PyObject
*swig_obj
[1] ;
6053 if (!args
) SWIG_fail
;
6055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6056 if (!SWIG_IsOK(res1
)) {
6057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6059 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6073 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
= 0;
6075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6083 PyObject
* obj1
= 0 ;
6084 char * kwnames
[] = {
6085 (char *) "self",(char *) "icon", NULL
6088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6090 if (!SWIG_IsOK(res1
)) {
6091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6093 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6095 if (!SWIG_IsOK(res2
)) {
6096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6101 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6105 wxPyEndAllowThreads(__tstate
);
6106 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6117 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
= 0;
6119 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6125 PyObject
* obj0
= 0 ;
6126 PyObject
* obj1
= 0 ;
6127 char * kwnames
[] = {
6128 (char *) "self",(char *) "height", NULL
6131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6133 if (!SWIG_IsOK(res1
)) {
6134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6136 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6138 if (!SWIG_IsOK(ecode2
)) {
6139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6141 arg2
= static_cast< int >(val2
);
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 (arg1
)->SetHeight(arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= SWIG_Py_Void();
6155 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
= 0;
6157 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6165 char * kwnames
[] = {
6166 (char *) "self",(char *) "width", NULL
6169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6171 if (!SWIG_IsOK(res1
)) {
6172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6174 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6176 if (!SWIG_IsOK(ecode2
)) {
6177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6179 arg2
= static_cast< int >(val2
);
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->SetWidth(arg2
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_Py_Void();
6193 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
= 0;
6195 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6203 char * kwnames
[] = {
6204 (char *) "self",(char *) "depth", NULL
6207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6214 if (!SWIG_IsOK(ecode2
)) {
6215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6217 arg2
= static_cast< int >(val2
);
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 (arg1
)->SetDepth(arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= SWIG_Py_Void();
6231 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
= 0;
6233 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6240 char * kwnames
[] = {
6241 (char *) "self",(char *) "size", NULL
6244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6246 if (!SWIG_IsOK(res1
)) {
6247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6249 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6252 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_Py_Void();
6267 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
= 0;
6269 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6270 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6278 char * kwnames
[] = {
6279 (char *) "self",(char *) "other", NULL
6282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6287 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6289 if (!SWIG_IsOK(res2
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6292 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6308 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6311 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 char * kwnames
[] = {
6320 (char *) "self",(char *) "other", NULL
6323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6325 if (!SWIG_IsOK(res1
)) {
6326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6328 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6329 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6330 if (!SWIG_IsOK(res2
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6333 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6349 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6352 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6353 return SWIG_Py_Void();
6356 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 return SWIG_Python_InitShadowInstance(args
);
6360 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
= 0;
6362 wxBitmap
*arg1
= 0 ;
6363 wxColour
const &arg2_defvalue
= wxNullColour
;
6364 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6365 wxMask
*result
= 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6371 char * kwnames
[] = {
6372 (char *) "bitmap",(char *) "colour", NULL
6375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6376 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6377 if (!SWIG_IsOK(res1
)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6383 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6387 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6391 if (!wxPyCheckForApp()) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6404 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6405 PyObject
*resultobj
= 0;
6406 wxMask
*arg1
= (wxMask
*) 0 ;
6409 PyObject
*swig_obj
[1] ;
6411 if (!args
) SWIG_fail
;
6413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6414 if (!SWIG_IsOK(res1
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6417 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_Py_Void();
6432 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6435 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6436 return SWIG_Py_Void();
6439 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6440 return SWIG_Python_InitShadowInstance(args
);
6443 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
= 0;
6445 wxString
*arg1
= 0 ;
6447 int arg3
= (int) -1 ;
6448 int arg4
= (int) -1 ;
6449 wxIcon
*result
= 0 ;
6450 bool temp1
= false ;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6459 PyObject
* obj2
= 0 ;
6460 PyObject
* obj3
= 0 ;
6461 char * kwnames
[] = {
6462 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6467 arg1
= wxString_in_helper(obj0
);
6468 if (arg1
== NULL
) SWIG_fail
;
6471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6472 if (!SWIG_IsOK(ecode2
)) {
6473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6475 arg2
= static_cast< wxBitmapType
>(val2
);
6477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6478 if (!SWIG_IsOK(ecode3
)) {
6479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6481 arg3
= static_cast< int >(val3
);
6484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6485 if (!SWIG_IsOK(ecode4
)) {
6486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6488 arg4
= static_cast< int >(val4
);
6491 if (!wxPyCheckForApp()) SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6512 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6513 PyObject
*resultobj
= 0;
6514 wxIcon
*arg1
= (wxIcon
*) 0 ;
6517 PyObject
*swig_obj
[1] ;
6519 if (!args
) SWIG_fail
;
6521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6522 if (!SWIG_IsOK(res1
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6525 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_Py_Void();
6540 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6541 PyObject
*resultobj
= 0;
6542 wxIcon
*result
= 0 ;
6544 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6546 if (!wxPyCheckForApp()) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= (wxIcon
*)new wxIcon();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6559 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
= 0;
6561 wxIconLocation
*arg1
= 0 ;
6562 wxIcon
*result
= 0 ;
6565 PyObject
* obj0
= 0 ;
6566 char * kwnames
[] = {
6567 (char *) "loc", NULL
6570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6578 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6580 if (!wxPyCheckForApp()) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6593 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
= 0;
6595 wxBitmap
*arg1
= 0 ;
6596 wxIcon
*result
= 0 ;
6599 PyObject
* obj0
= 0 ;
6600 char * kwnames
[] = {
6601 (char *) "bmp", NULL
6604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6605 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6606 if (!SWIG_IsOK(res1
)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6612 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6614 if (!wxPyCheckForApp()) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6627 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
= 0;
6629 PyObject
*arg1
= (PyObject
*) 0 ;
6630 wxIcon
*result
= 0 ;
6631 PyObject
* obj0
= 0 ;
6632 char * kwnames
[] = {
6633 (char *) "listOfStrings", NULL
6636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6639 if (!wxPyCheckForApp()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (wxIcon
*)new_wxIcon(arg1
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6652 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6653 PyObject
*resultobj
= 0;
6654 wxIcon
*arg1
= (wxIcon
*) 0 ;
6658 PyObject
*swig_obj
[1] ;
6660 if (!args
) SWIG_fail
;
6662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6663 if (!SWIG_IsOK(res1
)) {
6664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6666 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 result
= (bool)(arg1
)->Ok();
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6682 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6683 PyObject
*resultobj
= 0;
6684 wxIcon
*arg1
= (wxIcon
*) 0 ;
6688 PyObject
*swig_obj
[1] ;
6690 if (!args
) SWIG_fail
;
6692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6693 if (!SWIG_IsOK(res1
)) {
6694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6696 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (int)(arg1
)->GetWidth();
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= SWIG_From_int(static_cast< int >(result
));
6710 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6711 PyObject
*resultobj
= 0;
6712 wxIcon
*arg1
= (wxIcon
*) 0 ;
6716 PyObject
*swig_obj
[1] ;
6718 if (!args
) SWIG_fail
;
6720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6721 if (!SWIG_IsOK(res1
)) {
6722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6724 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (int)(arg1
)->GetHeight();
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= SWIG_From_int(static_cast< int >(result
));
6738 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6739 PyObject
*resultobj
= 0;
6740 wxIcon
*arg1
= (wxIcon
*) 0 ;
6744 PyObject
*swig_obj
[1] ;
6746 if (!args
) SWIG_fail
;
6748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6749 if (!SWIG_IsOK(res1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6752 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= (int)(arg1
)->GetDepth();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_From_int(static_cast< int >(result
));
6766 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
= 0;
6768 wxIcon
*arg1
= (wxIcon
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6775 PyObject
* obj1
= 0 ;
6776 char * kwnames
[] = {
6777 (char *) "self",(char *) "w", NULL
6780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6782 if (!SWIG_IsOK(res1
)) {
6783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6785 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6787 if (!SWIG_IsOK(ecode2
)) {
6788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6790 arg2
= static_cast< int >(val2
);
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 (arg1
)->SetWidth(arg2
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_Py_Void();
6804 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
= 0;
6806 wxIcon
*arg1
= (wxIcon
*) 0 ;
6812 PyObject
* obj0
= 0 ;
6813 PyObject
* obj1
= 0 ;
6814 char * kwnames
[] = {
6815 (char *) "self",(char *) "h", NULL
6818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6820 if (!SWIG_IsOK(res1
)) {
6821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6823 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6825 if (!SWIG_IsOK(ecode2
)) {
6826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6828 arg2
= static_cast< int >(val2
);
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 (arg1
)->SetHeight(arg2
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_Py_Void();
6842 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
= 0;
6844 wxIcon
*arg1
= (wxIcon
*) 0 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6852 char * kwnames
[] = {
6853 (char *) "self",(char *) "d", NULL
6856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6858 if (!SWIG_IsOK(res1
)) {
6859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6861 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6863 if (!SWIG_IsOK(ecode2
)) {
6864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6866 arg2
= static_cast< int >(val2
);
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 (arg1
)->SetDepth(arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_Py_Void();
6880 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
= 0;
6882 wxIcon
*arg1
= (wxIcon
*) 0 ;
6883 wxBitmap
*arg2
= 0 ;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6890 char * kwnames
[] = {
6891 (char *) "self",(char *) "bmp", NULL
6894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6896 if (!SWIG_IsOK(res1
)) {
6897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6899 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6901 if (!SWIG_IsOK(res2
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6907 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_Py_Void();
6921 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6924 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6925 return SWIG_Py_Void();
6928 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6929 return SWIG_Python_InitShadowInstance(args
);
6932 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6935 int arg2
= (int) 0 ;
6936 wxIconLocation
*result
= 0 ;
6937 bool temp1
= false ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 char * kwnames
[] = {
6943 (char *) "filename",(char *) "num", NULL
6946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6949 arg1
= wxString_in_helper(obj0
);
6950 if (arg1
== NULL
) SWIG_fail
;
6955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6956 if (!SWIG_IsOK(ecode2
)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6959 arg2
= static_cast< int >(val2
);
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6982 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6983 PyObject
*resultobj
= 0;
6984 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6987 PyObject
*swig_obj
[1] ;
6989 if (!args
) SWIG_fail
;
6991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
6992 if (!SWIG_IsOK(res1
)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
6995 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_Py_Void();
7010 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7011 PyObject
*resultobj
= 0;
7012 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7016 PyObject
*swig_obj
[1] ;
7018 if (!args
) SWIG_fail
;
7020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7021 if (!SWIG_IsOK(res1
)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7024 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7040 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
= 0;
7042 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7043 wxString
*arg2
= 0 ;
7046 bool temp2
= false ;
7047 PyObject
* obj0
= 0 ;
7048 PyObject
* obj1
= 0 ;
7049 char * kwnames
[] = {
7050 (char *) "self",(char *) "filename", NULL
7053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7055 if (!SWIG_IsOK(res1
)) {
7056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7058 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7060 arg2
= wxString_in_helper(obj1
);
7061 if (arg2
== NULL
) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 (arg1
)->SetFileName((wxString
const &)*arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_Py_Void();
7085 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7086 PyObject
*resultobj
= 0;
7087 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7088 wxString
*result
= 0 ;
7091 PyObject
*swig_obj
[1] ;
7093 if (!args
) SWIG_fail
;
7095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7096 if (!SWIG_IsOK(res1
)) {
7097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7099 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7104 result
= (wxString
*) &_result_ref
;
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7122 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
= 0;
7124 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7132 char * kwnames
[] = {
7133 (char *) "self",(char *) "num", NULL
7136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7138 if (!SWIG_IsOK(res1
)) {
7139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7141 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7143 if (!SWIG_IsOK(ecode2
)) {
7144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7146 arg2
= static_cast< int >(val2
);
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 wxIconLocation_SetIndex(arg1
,arg2
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_Py_Void();
7160 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7161 PyObject
*resultobj
= 0;
7162 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7166 PyObject
*swig_obj
[1] ;
7168 if (!args
) SWIG_fail
;
7170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7171 if (!SWIG_IsOK(res1
)) {
7172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7174 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (int)wxIconLocation_GetIndex(arg1
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= SWIG_From_int(static_cast< int >(result
));
7188 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7191 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7192 return SWIG_Py_Void();
7195 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7196 return SWIG_Python_InitShadowInstance(args
);
7199 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 PyObject
*resultobj
= 0;
7201 wxIconBundle
*result
= 0 ;
7203 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (wxIconBundle
*)new wxIconBundle();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7217 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
= 0;
7219 wxString
*arg1
= 0 ;
7221 wxIconBundle
*result
= 0 ;
7222 bool temp1
= false ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7227 char * kwnames
[] = {
7228 (char *) "file",(char *) "type", NULL
7231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7233 arg1
= wxString_in_helper(obj0
);
7234 if (arg1
== NULL
) SWIG_fail
;
7237 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7238 if (!SWIG_IsOK(ecode2
)) {
7239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7241 arg2
= static_cast< long >(val2
);
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7263 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
= 0;
7266 wxIconBundle
*result
= 0 ;
7269 PyObject
* obj0
= 0 ;
7270 char * kwnames
[] = {
7271 (char *) "icon", NULL
7274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7275 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7276 if (!SWIG_IsOK(res1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7282 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7296 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7297 PyObject
*resultobj
= 0;
7298 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7301 PyObject
*swig_obj
[1] ;
7303 if (!args
) SWIG_fail
;
7305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7306 if (!SWIG_IsOK(res1
)) {
7307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7309 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_Py_Void();
7324 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
= 0;
7326 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7334 char * kwnames
[] = {
7335 (char *) "self",(char *) "icon", NULL
7338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7340 if (!SWIG_IsOK(res1
)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7343 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7345 if (!SWIG_IsOK(res2
)) {
7346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7351 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_Py_Void();
7365 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
= 0;
7367 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7368 wxString
*arg2
= 0 ;
7372 bool temp2
= false ;
7375 PyObject
* obj0
= 0 ;
7376 PyObject
* obj1
= 0 ;
7377 PyObject
* obj2
= 0 ;
7378 char * kwnames
[] = {
7379 (char *) "self",(char *) "file",(char *) "type", NULL
7382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7384 if (!SWIG_IsOK(res1
)) {
7385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7387 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7389 arg2
= wxString_in_helper(obj1
);
7390 if (arg2
== NULL
) SWIG_fail
;
7393 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7394 if (!SWIG_IsOK(ecode3
)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7397 arg3
= static_cast< long >(val3
);
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= SWIG_Py_Void();
7419 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
= 0;
7421 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7423 wxIcon
*result
= 0 ;
7427 PyObject
* obj0
= 0 ;
7428 PyObject
* obj1
= 0 ;
7429 char * kwnames
[] = {
7430 (char *) "self",(char *) "size", NULL
7433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7435 if (!SWIG_IsOK(res1
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7438 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7441 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7447 result
= (wxIcon
*) &_result_ref
;
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 wxIcon
* resultptr
= new wxIcon(*result
);
7454 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7462 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7465 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7466 return SWIG_Py_Void();
7469 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7470 return SWIG_Python_InitShadowInstance(args
);
7473 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
= 0;
7475 wxString
*arg1
= 0 ;
7477 int arg3
= (int) 0 ;
7478 int arg4
= (int) 0 ;
7479 wxCursor
*result
= 0 ;
7480 bool temp1
= false ;
7487 PyObject
* obj0
= 0 ;
7488 PyObject
* obj1
= 0 ;
7489 PyObject
* obj2
= 0 ;
7490 PyObject
* obj3
= 0 ;
7491 char * kwnames
[] = {
7492 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7497 arg1
= wxString_in_helper(obj0
);
7498 if (arg1
== NULL
) SWIG_fail
;
7501 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7502 if (!SWIG_IsOK(ecode2
)) {
7503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7505 arg2
= static_cast< long >(val2
);
7507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7508 if (!SWIG_IsOK(ecode3
)) {
7509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7511 arg3
= static_cast< int >(val3
);
7514 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7515 if (!SWIG_IsOK(ecode4
)) {
7516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7518 arg4
= static_cast< int >(val4
);
7521 if (!wxPyCheckForApp()) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7542 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7543 PyObject
*resultobj
= 0;
7544 wxCursor
*arg1
= (wxCursor
*) 0 ;
7547 PyObject
*swig_obj
[1] ;
7549 if (!args
) SWIG_fail
;
7551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7552 if (!SWIG_IsOK(res1
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7555 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= SWIG_Py_Void();
7570 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= 0;
7573 wxCursor
*result
= 0 ;
7576 PyObject
* obj0
= 0 ;
7577 char * kwnames
[] = {
7581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7582 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7583 if (!SWIG_IsOK(ecode1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7586 arg1
= static_cast< int >(val1
);
7588 if (!wxPyCheckForApp()) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (wxCursor
*)new wxCursor(arg1
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7601 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
= 0;
7604 wxCursor
*result
= 0 ;
7607 PyObject
* obj0
= 0 ;
7608 char * kwnames
[] = {
7609 (char *) "image", NULL
7612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7620 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7622 if (!wxPyCheckForApp()) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7635 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7636 PyObject
*resultobj
= 0;
7637 wxCursor
*arg1
= (wxCursor
*) 0 ;
7641 PyObject
*swig_obj
[1] ;
7643 if (!args
) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7649 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (bool)(arg1
)->Ok();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7665 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7668 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7669 return SWIG_Py_Void();
7672 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7673 return SWIG_Python_InitShadowInstance(args
);
7676 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
= 0;
7678 int arg1
= (int) 0 ;
7679 int arg2
= (int) 0 ;
7680 int arg3
= (int) 0 ;
7681 int arg4
= (int) 0 ;
7682 wxRegion
*result
= 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7693 PyObject
* obj2
= 0 ;
7694 PyObject
* obj3
= 0 ;
7695 char * kwnames
[] = {
7696 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7702 if (!SWIG_IsOK(ecode1
)) {
7703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7705 arg1
= static_cast< int >(val1
);
7708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7709 if (!SWIG_IsOK(ecode2
)) {
7710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7712 arg2
= static_cast< int >(val2
);
7715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7716 if (!SWIG_IsOK(ecode3
)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7719 arg3
= static_cast< int >(val3
);
7722 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7723 if (!SWIG_IsOK(ecode4
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7726 arg4
= static_cast< int >(val4
);
7729 if (!wxPyCheckForApp()) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7742 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
= 0;
7744 wxBitmap
*arg1
= 0 ;
7745 wxRegion
*result
= 0 ;
7748 PyObject
* obj0
= 0 ;
7749 char * kwnames
[] = {
7750 (char *) "bmp", NULL
7753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7754 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7755 if (!SWIG_IsOK(res1
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7761 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7763 if (!wxPyCheckForApp()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7776 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
= 0;
7778 wxBitmap
*arg1
= 0 ;
7779 wxColour
*arg2
= 0 ;
7780 int arg3
= (int) 0 ;
7781 wxRegion
*result
= 0 ;
7787 PyObject
* obj0
= 0 ;
7788 PyObject
* obj1
= 0 ;
7789 PyObject
* obj2
= 0 ;
7790 char * kwnames
[] = {
7791 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7795 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7796 if (!SWIG_IsOK(res1
)) {
7797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7802 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7809 if (!SWIG_IsOK(ecode3
)) {
7810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7812 arg3
= static_cast< int >(val3
);
7815 if (!wxPyCheckForApp()) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7828 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
= 0;
7831 wxPoint
*arg2
= (wxPoint
*) 0 ;
7832 int arg3
= (int) wxWINDING_RULE
;
7833 wxRegion
*result
= 0 ;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7838 char * kwnames
[] = {
7839 (char *) "points",(char *) "fillStyle", NULL
7842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7844 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7845 if (arg2
== NULL
) SWIG_fail
;
7848 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7849 if (!SWIG_IsOK(ecode3
)) {
7850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7852 arg3
= static_cast< int >(val3
);
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7863 if (arg2
) delete [] arg2
;
7868 if (arg2
) delete [] arg2
;
7874 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7875 PyObject
*resultobj
= 0;
7876 wxRegion
*arg1
= (wxRegion
*) 0 ;
7879 PyObject
*swig_obj
[1] ;
7881 if (!args
) SWIG_fail
;
7883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7884 if (!SWIG_IsOK(res1
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7887 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_Py_Void();
7902 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7903 PyObject
*resultobj
= 0;
7904 wxRegion
*arg1
= (wxRegion
*) 0 ;
7907 PyObject
*swig_obj
[1] ;
7909 if (!args
) SWIG_fail
;
7911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7912 if (!SWIG_IsOK(res1
)) {
7913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7915 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_Py_Void();
7929 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
= 0;
7931 wxRegion
*arg1
= (wxRegion
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7943 PyObject
* obj2
= 0 ;
7944 char * kwnames
[] = {
7945 (char *) "self",(char *) "x",(char *) "y", NULL
7948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7950 if (!SWIG_IsOK(res1
)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7953 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7955 if (!SWIG_IsOK(ecode2
)) {
7956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7958 arg2
= static_cast< int >(val2
);
7959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7960 if (!SWIG_IsOK(ecode3
)) {
7961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7963 arg3
= static_cast< int >(val3
);
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7979 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
= 0;
7981 wxRegion
*arg1
= (wxRegion
*) 0 ;
7984 wxRegionContain result
;
7991 PyObject
* obj0
= 0 ;
7992 PyObject
* obj1
= 0 ;
7993 PyObject
* obj2
= 0 ;
7994 char * kwnames
[] = {
7995 (char *) "self",(char *) "x",(char *) "y", NULL
7998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8000 if (!SWIG_IsOK(res1
)) {
8001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8003 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8005 if (!SWIG_IsOK(ecode2
)) {
8006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8008 arg2
= static_cast< int >(val2
);
8009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8010 if (!SWIG_IsOK(ecode3
)) {
8011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8013 arg3
= static_cast< int >(val3
);
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_From_int(static_cast< int >(result
));
8027 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
= 0;
8029 wxRegion
*arg1
= (wxRegion
*) 0 ;
8031 wxRegionContain result
;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8037 char * kwnames
[] = {
8038 (char *) "self",(char *) "pt", NULL
8041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8046 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_From_int(static_cast< int >(result
));
8064 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxRegion
*arg1
= (wxRegion
*) 0 ;
8068 wxRegionContain result
;
8072 PyObject
* obj0
= 0 ;
8073 PyObject
* obj1
= 0 ;
8074 char * kwnames
[] = {
8075 (char *) "self",(char *) "rect", NULL
8078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8080 if (!SWIG_IsOK(res1
)) {
8081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8083 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8086 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= SWIG_From_int(static_cast< int >(result
));
8101 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
= 0;
8103 wxRegion
*arg1
= (wxRegion
*) 0 ;
8108 wxRegionContain result
;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8121 PyObject
* obj2
= 0 ;
8122 PyObject
* obj3
= 0 ;
8123 PyObject
* obj4
= 0 ;
8124 char * kwnames
[] = {
8125 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8130 if (!SWIG_IsOK(res1
)) {
8131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8133 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8135 if (!SWIG_IsOK(ecode2
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8138 arg2
= static_cast< int >(val2
);
8139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8140 if (!SWIG_IsOK(ecode3
)) {
8141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8143 arg3
= static_cast< int >(val3
);
8144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8145 if (!SWIG_IsOK(ecode4
)) {
8146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8148 arg4
= static_cast< int >(val4
);
8149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8150 if (!SWIG_IsOK(ecode5
)) {
8151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8153 arg5
= static_cast< int >(val5
);
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= SWIG_From_int(static_cast< int >(result
));
8167 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8168 PyObject
*resultobj
= 0;
8169 wxRegion
*arg1
= (wxRegion
*) 0 ;
8173 PyObject
*swig_obj
[1] ;
8175 if (!args
) SWIG_fail
;
8177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8178 if (!SWIG_IsOK(res1
)) {
8179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8181 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (arg1
)->GetBox();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8195 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
= 0;
8197 wxRegion
*arg1
= (wxRegion
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8214 PyObject
* obj1
= 0 ;
8215 PyObject
* obj2
= 0 ;
8216 PyObject
* obj3
= 0 ;
8217 PyObject
* obj4
= 0 ;
8218 char * kwnames
[] = {
8219 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8224 if (!SWIG_IsOK(res1
)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8227 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8229 if (!SWIG_IsOK(ecode2
)) {
8230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8232 arg2
= static_cast< int >(val2
);
8233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8234 if (!SWIG_IsOK(ecode3
)) {
8235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8237 arg3
= static_cast< int >(val3
);
8238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8239 if (!SWIG_IsOK(ecode4
)) {
8240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8242 arg4
= static_cast< int >(val4
);
8243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8244 if (!SWIG_IsOK(ecode5
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8247 arg5
= static_cast< int >(val5
);
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8263 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
= 0;
8265 wxRegion
*arg1
= (wxRegion
*) 0 ;
8271 PyObject
* obj0
= 0 ;
8272 PyObject
* obj1
= 0 ;
8273 char * kwnames
[] = {
8274 (char *) "self",(char *) "rect", NULL
8277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8279 if (!SWIG_IsOK(res1
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8282 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8285 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8290 wxPyEndAllowThreads(__tstate
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8302 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
= 0;
8304 wxRegion
*arg1
= (wxRegion
*) 0 ;
8305 wxRegion
*arg2
= 0 ;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8313 char * kwnames
[] = {
8314 (char *) "self",(char *) "region", NULL
8317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8319 if (!SWIG_IsOK(res1
)) {
8320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8322 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8324 if (!SWIG_IsOK(res2
)) {
8325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8330 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8346 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8347 PyObject
*resultobj
= 0;
8348 wxRegion
*arg1
= (wxRegion
*) 0 ;
8352 PyObject
*swig_obj
[1] ;
8354 if (!args
) SWIG_fail
;
8356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8357 if (!SWIG_IsOK(res1
)) {
8358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8360 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (bool)(arg1
)->IsEmpty();
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8376 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
= 0;
8378 wxRegion
*arg1
= (wxRegion
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8397 PyObject
* obj3
= 0 ;
8398 PyObject
* obj4
= 0 ;
8399 char * kwnames
[] = {
8400 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8405 if (!SWIG_IsOK(res1
)) {
8406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8408 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8410 if (!SWIG_IsOK(ecode2
)) {
8411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8413 arg2
= static_cast< int >(val2
);
8414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8415 if (!SWIG_IsOK(ecode3
)) {
8416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8418 arg3
= static_cast< int >(val3
);
8419 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8420 if (!SWIG_IsOK(ecode4
)) {
8421 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8423 arg4
= static_cast< int >(val4
);
8424 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8425 if (!SWIG_IsOK(ecode5
)) {
8426 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8428 arg5
= static_cast< int >(val5
);
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8444 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
= 0;
8446 wxRegion
*arg1
= (wxRegion
*) 0 ;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8454 char * kwnames
[] = {
8455 (char *) "self",(char *) "rect", NULL
8458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8460 if (!SWIG_IsOK(res1
)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8463 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8466 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8483 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
= 0;
8485 wxRegion
*arg1
= (wxRegion
*) 0 ;
8486 wxRegion
*arg2
= 0 ;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8494 char * kwnames
[] = {
8495 (char *) "self",(char *) "region", NULL
8498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8500 if (!SWIG_IsOK(res1
)) {
8501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8503 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8505 if (!SWIG_IsOK(res2
)) {
8506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8511 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8527 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
= 0;
8529 wxRegion
*arg1
= (wxRegion
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8547 PyObject
* obj2
= 0 ;
8548 PyObject
* obj3
= 0 ;
8549 PyObject
* obj4
= 0 ;
8550 char * kwnames
[] = {
8551 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8559 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8561 if (!SWIG_IsOK(ecode2
)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8564 arg2
= static_cast< int >(val2
);
8565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8566 if (!SWIG_IsOK(ecode3
)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8569 arg3
= static_cast< int >(val3
);
8570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8571 if (!SWIG_IsOK(ecode4
)) {
8572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8574 arg4
= static_cast< int >(val4
);
8575 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8576 if (!SWIG_IsOK(ecode5
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8579 arg5
= static_cast< int >(val5
);
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8595 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
= 0;
8597 wxRegion
*arg1
= (wxRegion
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 char * kwnames
[] = {
8606 (char *) "self",(char *) "rect", NULL
8609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8614 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8617 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8634 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
= 0;
8636 wxRegion
*arg1
= (wxRegion
*) 0 ;
8637 wxRegion
*arg2
= 0 ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8645 char * kwnames
[] = {
8646 (char *) "self",(char *) "region", NULL
8649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8651 if (!SWIG_IsOK(res1
)) {
8652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8654 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8656 if (!SWIG_IsOK(res2
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8662 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8678 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
= 0;
8680 wxRegion
*arg1
= (wxRegion
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8698 PyObject
* obj2
= 0 ;
8699 PyObject
* obj3
= 0 ;
8700 PyObject
* obj4
= 0 ;
8701 char * kwnames
[] = {
8702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8707 if (!SWIG_IsOK(res1
)) {
8708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8710 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8712 if (!SWIG_IsOK(ecode2
)) {
8713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8715 arg2
= static_cast< int >(val2
);
8716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8717 if (!SWIG_IsOK(ecode3
)) {
8718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8720 arg3
= static_cast< int >(val3
);
8721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8722 if (!SWIG_IsOK(ecode4
)) {
8723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8725 arg4
= static_cast< int >(val4
);
8726 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8727 if (!SWIG_IsOK(ecode5
)) {
8728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8730 arg5
= static_cast< int >(val5
);
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8746 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
= 0;
8748 wxRegion
*arg1
= (wxRegion
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8756 char * kwnames
[] = {
8757 (char *) "self",(char *) "rect", NULL
8760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8762 if (!SWIG_IsOK(res1
)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8765 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8768 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8785 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
= 0;
8787 wxRegion
*arg1
= (wxRegion
*) 0 ;
8788 wxRegion
*arg2
= 0 ;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8796 char * kwnames
[] = {
8797 (char *) "self",(char *) "region", NULL
8800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8802 if (!SWIG_IsOK(res1
)) {
8803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8805 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8807 if (!SWIG_IsOK(res2
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8813 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8829 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8830 PyObject
*resultobj
= 0;
8831 wxRegion
*arg1
= (wxRegion
*) 0 ;
8832 SwigValueWrapper
<wxBitmap
> result
;
8835 PyObject
*swig_obj
[1] ;
8837 if (!args
) SWIG_fail
;
8839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8840 if (!SWIG_IsOK(res1
)) {
8841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8843 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (arg1
)->ConvertToBitmap();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8857 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
= 0;
8859 wxRegion
*arg1
= (wxRegion
*) 0 ;
8860 wxBitmap
*arg2
= 0 ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 char * kwnames
[] = {
8869 (char *) "self",(char *) "bmp", NULL
8872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8874 if (!SWIG_IsOK(res1
)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8877 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8879 if (!SWIG_IsOK(res2
)) {
8880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8885 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8901 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
*resultobj
= 0;
8903 wxRegion
*arg1
= (wxRegion
*) 0 ;
8904 wxBitmap
*arg2
= 0 ;
8905 wxColour
*arg3
= 0 ;
8906 int arg4
= (int) 0 ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 PyObject
* obj2
= 0 ;
8918 PyObject
* obj3
= 0 ;
8919 char * kwnames
[] = {
8920 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8925 if (!SWIG_IsOK(res1
)) {
8926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8928 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8930 if (!SWIG_IsOK(res2
)) {
8931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8936 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8939 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8943 if (!SWIG_IsOK(ecode4
)) {
8944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8946 arg4
= static_cast< int >(val4
);
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8966 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8967 return SWIG_Py_Void();
8970 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8971 return SWIG_Python_InitShadowInstance(args
);
8974 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
= 0;
8976 wxRegion
*arg1
= 0 ;
8977 wxRegionIterator
*result
= 0 ;
8980 PyObject
* obj0
= 0 ;
8981 char * kwnames
[] = {
8982 (char *) "region", NULL
8985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
8986 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
8987 if (!SWIG_IsOK(res1
)) {
8988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
8991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
8993 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8995 if (!wxPyCheckForApp()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9008 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9009 PyObject
*resultobj
= 0;
9010 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9013 PyObject
*swig_obj
[1] ;
9015 if (!args
) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9021 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_Py_Void();
9036 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9037 PyObject
*resultobj
= 0;
9038 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9042 PyObject
*swig_obj
[1] ;
9044 if (!args
) SWIG_fail
;
9046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9047 if (!SWIG_IsOK(res1
)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9050 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (int)(arg1
)->GetX();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= SWIG_From_int(static_cast< int >(result
));
9064 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9065 PyObject
*resultobj
= 0;
9066 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9070 PyObject
*swig_obj
[1] ;
9072 if (!args
) SWIG_fail
;
9074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9075 if (!SWIG_IsOK(res1
)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9078 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (int)(arg1
)->GetY();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= SWIG_From_int(static_cast< int >(result
));
9092 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9093 PyObject
*resultobj
= 0;
9094 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9098 PyObject
*swig_obj
[1] ;
9100 if (!args
) SWIG_fail
;
9102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9103 if (!SWIG_IsOK(res1
)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9106 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (int)(arg1
)->GetW();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_From_int(static_cast< int >(result
));
9120 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9121 PyObject
*resultobj
= 0;
9122 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9126 PyObject
*swig_obj
[1] ;
9128 if (!args
) SWIG_fail
;
9130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9131 if (!SWIG_IsOK(res1
)) {
9132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9134 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 result
= (int)(arg1
)->GetWidth();
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_From_int(static_cast< int >(result
));
9148 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9149 PyObject
*resultobj
= 0;
9150 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9154 PyObject
*swig_obj
[1] ;
9156 if (!args
) SWIG_fail
;
9158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9159 if (!SWIG_IsOK(res1
)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9162 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= (int)(arg1
)->GetH();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_From_int(static_cast< int >(result
));
9176 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9177 PyObject
*resultobj
= 0;
9178 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9182 PyObject
*swig_obj
[1] ;
9184 if (!args
) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9190 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (int)(arg1
)->GetHeight();
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= SWIG_From_int(static_cast< int >(result
));
9204 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9205 PyObject
*resultobj
= 0;
9206 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9210 PyObject
*swig_obj
[1] ;
9212 if (!args
) SWIG_fail
;
9214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9215 if (!SWIG_IsOK(res1
)) {
9216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9218 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (arg1
)->GetRect();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9232 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9233 PyObject
*resultobj
= 0;
9234 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9238 PyObject
*swig_obj
[1] ;
9240 if (!args
) SWIG_fail
;
9242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9243 if (!SWIG_IsOK(res1
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9246 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (bool)(arg1
)->HaveRects();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9262 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9263 PyObject
*resultobj
= 0;
9264 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9267 PyObject
*swig_obj
[1] ;
9269 if (!args
) SWIG_fail
;
9271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9272 if (!SWIG_IsOK(res1
)) {
9273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9275 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= SWIG_Py_Void();
9289 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9290 PyObject
*resultobj
= 0;
9291 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9294 PyObject
*swig_obj
[1] ;
9296 if (!args
) SWIG_fail
;
9298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9299 if (!SWIG_IsOK(res1
)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9302 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 wxRegionIterator_Next(arg1
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_Py_Void();
9316 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9317 PyObject
*resultobj
= 0;
9318 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9322 PyObject
*swig_obj
[1] ;
9324 if (!args
) SWIG_fail
;
9326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9327 if (!SWIG_IsOK(res1
)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9330 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9346 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9349 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9350 return SWIG_Py_Void();
9353 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9354 return SWIG_Python_InitShadowInstance(args
);
9357 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9358 PyObject
*resultobj
= 0;
9359 wxNativeFontInfo
*result
= 0 ;
9361 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9375 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9376 PyObject
*resultobj
= 0;
9377 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9380 PyObject
*swig_obj
[1] ;
9382 if (!args
) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9388 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_Py_Void();
9403 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 PyObject
*resultobj
= 0;
9405 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9408 PyObject
*swig_obj
[1] ;
9410 if (!args
) SWIG_fail
;
9412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9413 if (!SWIG_IsOK(res1
)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9416 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_Py_Void();
9430 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
= 0;
9432 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9440 char * kwnames
[] = {
9441 (char *) "self",(char *) "font", NULL
9444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9446 if (!SWIG_IsOK(res1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9449 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9451 if (!SWIG_IsOK(res2
)) {
9452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9457 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 resultobj
= SWIG_Py_Void();
9471 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9472 PyObject
*resultobj
= 0;
9473 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9477 PyObject
*swig_obj
[1] ;
9479 if (!args
) SWIG_fail
;
9481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9482 if (!SWIG_IsOK(res1
)) {
9483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9485 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_From_int(static_cast< int >(result
));
9499 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9500 PyObject
*resultobj
= 0;
9501 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9505 PyObject
*swig_obj
[1] ;
9507 if (!args
) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9513 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_From_int(static_cast< int >(result
));
9527 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9528 PyObject
*resultobj
= 0;
9529 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9530 wxFontWeight result
;
9533 PyObject
*swig_obj
[1] ;
9535 if (!args
) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9541 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9544 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= SWIG_From_int(static_cast< int >(result
));
9555 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9556 PyObject
*resultobj
= 0;
9557 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9561 PyObject
*swig_obj
[1] ;
9563 if (!args
) SWIG_fail
;
9565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9566 if (!SWIG_IsOK(res1
)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9569 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9585 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9586 PyObject
*resultobj
= 0;
9587 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9591 PyObject
*swig_obj
[1] ;
9593 if (!args
) SWIG_fail
;
9595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9596 if (!SWIG_IsOK(res1
)) {
9597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9599 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9619 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9620 PyObject
*resultobj
= 0;
9621 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9622 wxFontFamily result
;
9625 PyObject
*swig_obj
[1] ;
9627 if (!args
) SWIG_fail
;
9629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9630 if (!SWIG_IsOK(res1
)) {
9631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9633 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_From_int(static_cast< int >(result
));
9647 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9648 PyObject
*resultobj
= 0;
9649 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9650 wxFontEncoding result
;
9653 PyObject
*swig_obj
[1] ;
9655 if (!args
) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9661 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_From_int(static_cast< int >(result
));
9675 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
= 0;
9677 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9683 PyObject
* obj0
= 0 ;
9684 PyObject
* obj1
= 0 ;
9685 char * kwnames
[] = {
9686 (char *) "self",(char *) "pointsize", NULL
9689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9691 if (!SWIG_IsOK(res1
)) {
9692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9694 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9696 if (!SWIG_IsOK(ecode2
)) {
9697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9699 arg2
= static_cast< int >(val2
);
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 (arg1
)->SetPointSize(arg2
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= SWIG_Py_Void();
9713 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
= 0;
9715 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9723 char * kwnames
[] = {
9724 (char *) "self",(char *) "style", NULL
9727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9729 if (!SWIG_IsOK(res1
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9732 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9734 if (!SWIG_IsOK(ecode2
)) {
9735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9737 arg2
= static_cast< wxFontStyle
>(val2
);
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 (arg1
)->SetStyle(arg2
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= SWIG_Py_Void();
9751 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
= 0;
9753 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9759 PyObject
* obj0
= 0 ;
9760 PyObject
* obj1
= 0 ;
9761 char * kwnames
[] = {
9762 (char *) "self",(char *) "weight", NULL
9765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9767 if (!SWIG_IsOK(res1
)) {
9768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9770 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9772 if (!SWIG_IsOK(ecode2
)) {
9773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9775 arg2
= static_cast< wxFontWeight
>(val2
);
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 (arg1
)->SetWeight(arg2
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_Py_Void();
9789 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
= 0;
9791 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9798 PyObject
* obj1
= 0 ;
9799 char * kwnames
[] = {
9800 (char *) "self",(char *) "underlined", NULL
9803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9805 if (!SWIG_IsOK(res1
)) {
9806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9808 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9810 if (!SWIG_IsOK(ecode2
)) {
9811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9813 arg2
= static_cast< bool >(val2
);
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 (arg1
)->SetUnderlined(arg2
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= SWIG_Py_Void();
9827 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
= 0;
9829 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9835 char * kwnames
[] = {
9836 (char *) "self",(char *) "facename", NULL
9839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9841 if (!SWIG_IsOK(res1
)) {
9842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9844 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9846 wxString
* sptr
= wxString_in_helper(obj1
);
9847 if (sptr
== NULL
) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 (arg1
)->SetFaceName(arg2
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_Py_Void();
9864 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
= 0;
9866 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 char * kwnames
[] = {
9875 (char *) "self",(char *) "family", NULL
9878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9883 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9885 if (!SWIG_IsOK(ecode2
)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9888 arg2
= static_cast< wxFontFamily
>(val2
);
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 (arg1
)->SetFamily(arg2
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_Py_Void();
9902 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= 0;
9904 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9905 wxFontEncoding arg2
;
9910 PyObject
* obj0
= 0 ;
9911 PyObject
* obj1
= 0 ;
9912 char * kwnames
[] = {
9913 (char *) "self",(char *) "encoding", NULL
9916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9921 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9923 if (!SWIG_IsOK(ecode2
)) {
9924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9926 arg2
= static_cast< wxFontEncoding
>(val2
);
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 (arg1
)->SetEncoding(arg2
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_Py_Void();
9940 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
= 0;
9942 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9943 wxString
*arg2
= 0 ;
9947 bool temp2
= false ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 char * kwnames
[] = {
9951 (char *) "self",(char *) "s", NULL
9954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9956 if (!SWIG_IsOK(res1
)) {
9957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9959 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9961 arg2
= wxString_in_helper(obj1
);
9962 if (arg2
== NULL
) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9988 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9989 PyObject
*resultobj
= 0;
9990 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9994 PyObject
*swig_obj
[1] ;
9996 if (!args
) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10002 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10022 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10023 PyObject
*resultobj
= 0;
10024 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10028 PyObject
*swig_obj
[1] ;
10030 if (!args
) SWIG_fail
;
10031 swig_obj
[0] = args
;
10032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10033 if (!SWIG_IsOK(res1
)) {
10034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10036 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 result
= wxNativeFontInfo___str__(arg1
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10056 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= 0;
10058 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10059 wxString
*arg2
= 0 ;
10063 bool temp2
= false ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char * kwnames
[] = {
10067 (char *) "self",(char *) "s", NULL
10070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10072 if (!SWIG_IsOK(res1
)) {
10073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10075 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10077 arg2
= wxString_in_helper(obj1
);
10078 if (arg2
== NULL
) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10104 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10105 PyObject
*resultobj
= 0;
10106 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10110 PyObject
*swig_obj
[1] ;
10112 if (!args
) SWIG_fail
;
10113 swig_obj
[0] = args
;
10114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10115 if (!SWIG_IsOK(res1
)) {
10116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10118 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10138 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10141 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10142 return SWIG_Py_Void();
10145 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10146 return SWIG_Python_InitShadowInstance(args
);
10149 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10150 PyObject
*resultobj
= 0;
10151 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10152 wxString
*arg2
= (wxString
*) 0 ;
10155 bool temp2
= false ;
10156 PyObject
*swig_obj
[2] ;
10158 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10160 if (!SWIG_IsOK(res1
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10163 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10165 arg2
= wxString_in_helper(swig_obj
[1]);
10166 if (arg2
== NULL
) SWIG_fail
;
10169 if (arg1
) (arg1
)->facename
= *arg2
;
10171 resultobj
= SWIG_Py_Void();
10186 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10187 PyObject
*resultobj
= 0;
10188 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10189 wxString
*result
= 0 ;
10192 PyObject
*swig_obj
[1] ;
10194 if (!args
) SWIG_fail
;
10195 swig_obj
[0] = args
;
10196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10197 if (!SWIG_IsOK(res1
)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10200 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10201 result
= (wxString
*)& ((arg1
)->facename
);
10204 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10206 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10215 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10216 PyObject
*resultobj
= 0;
10217 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10218 wxFontEncoding arg2
;
10223 PyObject
*swig_obj
[2] ;
10225 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10227 if (!SWIG_IsOK(res1
)) {
10228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10230 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10231 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10232 if (!SWIG_IsOK(ecode2
)) {
10233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10235 arg2
= static_cast< wxFontEncoding
>(val2
);
10236 if (arg1
) (arg1
)->encoding
= arg2
;
10238 resultobj
= SWIG_Py_Void();
10245 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10246 PyObject
*resultobj
= 0;
10247 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10248 wxFontEncoding result
;
10251 PyObject
*swig_obj
[1] ;
10253 if (!args
) SWIG_fail
;
10254 swig_obj
[0] = args
;
10255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10256 if (!SWIG_IsOK(res1
)) {
10257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10259 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10260 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10261 resultobj
= SWIG_From_int(static_cast< int >(result
));
10268 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10269 PyObject
*resultobj
= 0;
10270 wxNativeEncodingInfo
*result
= 0 ;
10272 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10286 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10287 PyObject
*resultobj
= 0;
10288 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10291 PyObject
*swig_obj
[1] ;
10293 if (!args
) SWIG_fail
;
10294 swig_obj
[0] = args
;
10295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10299 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= SWIG_Py_Void();
10314 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
= 0;
10316 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10317 wxString
*arg2
= 0 ;
10321 bool temp2
= false ;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 char * kwnames
[] = {
10325 (char *) "self",(char *) "s", NULL
10328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10330 if (!SWIG_IsOK(res1
)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10333 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10335 arg2
= wxString_in_helper(obj1
);
10336 if (arg2
== NULL
) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10362 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10363 PyObject
*resultobj
= 0;
10364 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10368 PyObject
*swig_obj
[1] ;
10370 if (!args
) SWIG_fail
;
10371 swig_obj
[0] = args
;
10372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10376 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10396 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10399 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10400 return SWIG_Py_Void();
10403 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10404 return SWIG_Python_InitShadowInstance(args
);
10407 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
= 0;
10409 wxFontEncoding arg1
;
10410 wxNativeEncodingInfo
*result
= 0 ;
10413 PyObject
* obj0
= 0 ;
10414 char * kwnames
[] = {
10415 (char *) "encoding", NULL
10418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10419 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10420 if (!SWIG_IsOK(ecode1
)) {
10421 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10423 arg1
= static_cast< wxFontEncoding
>(val1
);
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10437 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
= 0;
10439 wxNativeEncodingInfo
*arg1
= 0 ;
10443 PyObject
* obj0
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "info", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10449 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10456 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10472 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10473 PyObject
*resultobj
= 0;
10474 wxFontMapper
*result
= 0 ;
10476 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (wxFontMapper
*)new wxFontMapper();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10490 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10491 PyObject
*resultobj
= 0;
10492 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10495 PyObject
*swig_obj
[1] ;
10497 if (!args
) SWIG_fail
;
10498 swig_obj
[0] = args
;
10499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10500 if (!SWIG_IsOK(res1
)) {
10501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10503 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_Py_Void();
10518 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10519 PyObject
*resultobj
= 0;
10520 wxFontMapper
*result
= 0 ;
10522 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 result
= (wxFontMapper
*)wxFontMapper::Get();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10536 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
= 0;
10538 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10539 wxFontMapper
*result
= 0 ;
10542 PyObject
* obj0
= 0 ;
10543 char * kwnames
[] = {
10544 (char *) "mapper", NULL
10547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10549 if (!SWIG_IsOK(res1
)) {
10550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10552 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10566 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
= 0;
10568 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10569 wxString
*arg2
= 0 ;
10570 bool arg3
= (bool) true ;
10571 wxFontEncoding result
;
10574 bool temp2
= false ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 PyObject
* obj2
= 0 ;
10580 char * kwnames
[] = {
10581 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10589 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10591 arg2
= wxString_in_helper(obj1
);
10592 if (arg2
== NULL
) SWIG_fail
;
10596 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10597 if (!SWIG_IsOK(ecode3
)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10600 arg3
= static_cast< bool >(val3
);
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_From_int(static_cast< int >(result
));
10623 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10624 PyObject
*resultobj
= 0;
10627 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10641 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
= 0;
10644 wxFontEncoding result
;
10647 PyObject
* obj0
= 0 ;
10648 char * kwnames
[] = {
10652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10653 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10654 if (!SWIG_IsOK(ecode1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10657 arg1
= static_cast< size_t >(val1
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_From_int(static_cast< int >(result
));
10671 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
= 0;
10673 wxFontEncoding arg1
;
10677 PyObject
* obj0
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "encoding", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10683 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10684 if (!SWIG_IsOK(ecode1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10687 arg1
= static_cast< wxFontEncoding
>(val1
);
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 result
= wxFontMapper::GetEncodingName(arg1
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10707 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
= 0;
10709 wxFontEncoding arg1
;
10713 PyObject
* obj0
= 0 ;
10714 char * kwnames
[] = {
10715 (char *) "encoding", NULL
10718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10720 if (!SWIG_IsOK(ecode1
)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10723 arg1
= static_cast< wxFontEncoding
>(val1
);
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= wxFontMapper::GetEncodingDescription(arg1
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10743 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
= 0;
10745 wxString
*arg1
= 0 ;
10746 wxFontEncoding result
;
10747 bool temp1
= false ;
10748 PyObject
* obj0
= 0 ;
10749 char * kwnames
[] = {
10750 (char *) "name", NULL
10753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10755 arg1
= wxString_in_helper(obj0
);
10756 if (arg1
== NULL
) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= SWIG_From_int(static_cast< int >(result
));
10780 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= 0;
10782 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10783 wxString
*arg2
= 0 ;
10786 bool temp2
= false ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 char * kwnames
[] = {
10790 (char *) "self",(char *) "prefix", NULL
10793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10798 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10800 arg2
= wxString_in_helper(obj1
);
10801 if (arg2
== NULL
) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_Py_Void();
10825 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 PyObject
*resultobj
= 0;
10829 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= wxFontMapper::GetDefaultConfigPath();
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10849 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
= 0;
10851 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10852 wxFontEncoding arg2
;
10853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10855 bool arg4
= (bool) true ;
10856 PyObject
*result
= 0 ;
10861 bool temp3
= false ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 PyObject
* obj2
= 0 ;
10867 PyObject
* obj3
= 0 ;
10868 char * kwnames
[] = {
10869 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10874 if (!SWIG_IsOK(res1
)) {
10875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10877 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10879 if (!SWIG_IsOK(ecode2
)) {
10880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10882 arg2
= static_cast< wxFontEncoding
>(val2
);
10885 arg3
= wxString_in_helper(obj2
);
10886 if (arg3
== NULL
) SWIG_fail
;
10891 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10892 if (!SWIG_IsOK(ecode4
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10895 arg4
= static_cast< bool >(val4
);
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= result
;
10918 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
= 0;
10920 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10921 wxFontEncoding arg2
;
10922 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10923 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10929 bool temp3
= false ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 PyObject
* obj2
= 0 ;
10933 char * kwnames
[] = {
10934 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10939 if (!SWIG_IsOK(res1
)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10942 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10944 if (!SWIG_IsOK(ecode2
)) {
10945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10947 arg2
= static_cast< wxFontEncoding
>(val2
);
10950 arg3
= wxString_in_helper(obj2
);
10951 if (arg3
== NULL
) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10978 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
= 0;
10980 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10981 wxWindow
*arg2
= (wxWindow
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 char * kwnames
[] = {
10989 (char *) "self",(char *) "parent", NULL
10992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10997 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10999 if (!SWIG_IsOK(res2
)) {
11000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11002 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 (arg1
)->SetDialogParent(arg2
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_Py_Void();
11016 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= 0;
11018 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11019 wxString
*arg2
= 0 ;
11022 bool temp2
= false ;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "title", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11034 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11036 arg2
= wxString_in_helper(obj1
);
11037 if (arg2
== NULL
) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_Py_Void();
11061 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11064 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11065 return SWIG_Py_Void();
11068 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11069 return SWIG_Python_InitShadowInstance(args
);
11072 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
= 0;
11078 bool arg5
= (bool) false ;
11079 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11080 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11081 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11082 wxFont
*result
= 0 ;
11093 bool temp6
= false ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 PyObject
* obj2
= 0 ;
11099 PyObject
* obj3
= 0 ;
11100 PyObject
* obj4
= 0 ;
11101 PyObject
* obj5
= 0 ;
11102 PyObject
* obj6
= 0 ;
11103 char * kwnames
[] = {
11104 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11109 if (!SWIG_IsOK(ecode1
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11112 arg1
= static_cast< int >(val1
);
11113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11114 if (!SWIG_IsOK(ecode2
)) {
11115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11117 arg2
= static_cast< int >(val2
);
11118 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11119 if (!SWIG_IsOK(ecode3
)) {
11120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11122 arg3
= static_cast< int >(val3
);
11123 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11124 if (!SWIG_IsOK(ecode4
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11127 arg4
= static_cast< int >(val4
);
11129 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11130 if (!SWIG_IsOK(ecode5
)) {
11131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11133 arg5
= static_cast< bool >(val5
);
11137 arg6
= wxString_in_helper(obj5
);
11138 if (arg6
== NULL
) SWIG_fail
;
11143 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11144 if (!SWIG_IsOK(ecode7
)) {
11145 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11147 arg7
= static_cast< wxFontEncoding
>(val7
);
11150 if (!wxPyCheckForApp()) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11171 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11172 PyObject
*resultobj
= 0;
11173 wxFont
*arg1
= (wxFont
*) 0 ;
11176 PyObject
*swig_obj
[1] ;
11178 if (!args
) SWIG_fail
;
11179 swig_obj
[0] = args
;
11180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11181 if (!SWIG_IsOK(res1
)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11184 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= SWIG_Py_Void();
11199 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
= 0;
11201 wxNativeFontInfo
*arg1
= 0 ;
11202 wxFont
*result
= 0 ;
11205 PyObject
* obj0
= 0 ;
11206 char * kwnames
[] = {
11207 (char *) "info", NULL
11210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11211 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11212 if (!SWIG_IsOK(res1
)) {
11213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11218 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11220 if (!wxPyCheckForApp()) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11233 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxString
*arg1
= 0 ;
11236 wxFont
*result
= 0 ;
11237 bool temp1
= false ;
11238 PyObject
* obj0
= 0 ;
11239 char * kwnames
[] = {
11240 (char *) "info", NULL
11243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11245 arg1
= wxString_in_helper(obj0
);
11246 if (arg1
== NULL
) SWIG_fail
;
11250 if (!wxPyCheckForApp()) SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11271 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
= 0;
11274 wxFontFamily arg2
;
11275 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11276 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11277 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11278 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11279 wxFont
*result
= 0 ;
11286 bool temp4
= false ;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 PyObject
* obj2
= 0 ;
11292 PyObject
* obj3
= 0 ;
11293 PyObject
* obj4
= 0 ;
11294 char * kwnames
[] = {
11295 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11299 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11300 if (!SWIG_IsOK(ecode1
)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11303 arg1
= static_cast< int >(val1
);
11304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11305 if (!SWIG_IsOK(ecode2
)) {
11306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11308 arg2
= static_cast< wxFontFamily
>(val2
);
11310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11311 if (!SWIG_IsOK(ecode3
)) {
11312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11314 arg3
= static_cast< int >(val3
);
11318 arg4
= wxString_in_helper(obj3
);
11319 if (arg4
== NULL
) SWIG_fail
;
11324 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11325 if (!SWIG_IsOK(ecode5
)) {
11326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11328 arg5
= static_cast< wxFontEncoding
>(val5
);
11331 if (!wxPyCheckForApp()) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11352 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
= 0;
11358 bool arg5
= (bool) false ;
11359 wxString
const &arg6_defvalue
= wxEmptyString
;
11360 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11361 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11362 wxFont
*result
= 0 ;
11372 bool temp6
= false ;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 PyObject
* obj2
= 0 ;
11378 PyObject
* obj3
= 0 ;
11379 PyObject
* obj4
= 0 ;
11380 PyObject
* obj5
= 0 ;
11381 PyObject
* obj6
= 0 ;
11382 char * kwnames
[] = {
11383 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11389 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11392 if (!SWIG_IsOK(ecode2
)) {
11393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11395 arg2
= static_cast< int >(val2
);
11396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11397 if (!SWIG_IsOK(ecode3
)) {
11398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11400 arg3
= static_cast< int >(val3
);
11401 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11402 if (!SWIG_IsOK(ecode4
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11405 arg4
= static_cast< int >(val4
);
11407 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11408 if (!SWIG_IsOK(ecode5
)) {
11409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11411 arg5
= static_cast< bool >(val5
);
11415 arg6
= wxString_in_helper(obj5
);
11416 if (arg6
== NULL
) SWIG_fail
;
11421 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11422 if (!SWIG_IsOK(ecode7
)) {
11423 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11425 arg7
= static_cast< wxFontEncoding
>(val7
);
11428 if (!wxPyCheckForApp()) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11449 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
= 0;
11452 wxFontFamily arg2
;
11453 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11454 wxString
const &arg4_defvalue
= wxEmptyString
;
11455 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11456 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11457 wxFont
*result
= 0 ;
11463 bool temp4
= false ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 PyObject
* obj2
= 0 ;
11469 PyObject
* obj3
= 0 ;
11470 PyObject
* obj4
= 0 ;
11471 char * kwnames
[] = {
11472 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11478 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11481 if (!SWIG_IsOK(ecode2
)) {
11482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11484 arg2
= static_cast< wxFontFamily
>(val2
);
11486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11487 if (!SWIG_IsOK(ecode3
)) {
11488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11490 arg3
= static_cast< int >(val3
);
11494 arg4
= wxString_in_helper(obj3
);
11495 if (arg4
== NULL
) SWIG_fail
;
11500 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11501 if (!SWIG_IsOK(ecode5
)) {
11502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11504 arg5
= static_cast< wxFontEncoding
>(val5
);
11507 if (!wxPyCheckForApp()) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11528 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11529 PyObject
*resultobj
= 0;
11530 wxFont
*arg1
= (wxFont
*) 0 ;
11534 PyObject
*swig_obj
[1] ;
11536 if (!args
) SWIG_fail
;
11537 swig_obj
[0] = args
;
11538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11539 if (!SWIG_IsOK(res1
)) {
11540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11542 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (bool)((wxFont
const *)arg1
)->Ok();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11558 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
= 0;
11560 wxFont
*arg1
= (wxFont
*) 0 ;
11561 wxFont
*arg2
= (wxFont
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 char * kwnames
[] = {
11570 (char *) "self",(char *) "other", NULL
11573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11575 if (!SWIG_IsOK(res1
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11578 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11580 if (!SWIG_IsOK(res2
)) {
11581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11583 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11599 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
= 0;
11601 wxFont
*arg1
= (wxFont
*) 0 ;
11602 wxFont
*arg2
= (wxFont
*) 0 ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 char * kwnames
[] = {
11611 (char *) "self",(char *) "other", NULL
11614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11616 if (!SWIG_IsOK(res1
)) {
11617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11619 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11621 if (!SWIG_IsOK(res2
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11624 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11640 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11641 PyObject
*resultobj
= 0;
11642 wxFont
*arg1
= (wxFont
*) 0 ;
11646 PyObject
*swig_obj
[1] ;
11648 if (!args
) SWIG_fail
;
11649 swig_obj
[0] = args
;
11650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11651 if (!SWIG_IsOK(res1
)) {
11652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11654 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= SWIG_From_int(static_cast< int >(result
));
11668 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11669 PyObject
*resultobj
= 0;
11670 wxFont
*arg1
= (wxFont
*) 0 ;
11674 PyObject
*swig_obj
[1] ;
11676 if (!args
) SWIG_fail
;
11677 swig_obj
[0] = args
;
11678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11679 if (!SWIG_IsOK(res1
)) {
11680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11682 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11696 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11697 PyObject
*resultobj
= 0;
11698 wxFont
*arg1
= (wxFont
*) 0 ;
11702 PyObject
*swig_obj
[1] ;
11704 if (!args
) SWIG_fail
;
11705 swig_obj
[0] = args
;
11706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11707 if (!SWIG_IsOK(res1
)) {
11708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11710 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11726 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11727 PyObject
*resultobj
= 0;
11728 wxFont
*arg1
= (wxFont
*) 0 ;
11732 PyObject
*swig_obj
[1] ;
11734 if (!args
) SWIG_fail
;
11735 swig_obj
[0] = args
;
11736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11740 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_From_int(static_cast< int >(result
));
11754 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 PyObject
*resultobj
= 0;
11756 wxFont
*arg1
= (wxFont
*) 0 ;
11760 PyObject
*swig_obj
[1] ;
11762 if (!args
) SWIG_fail
;
11763 swig_obj
[0] = args
;
11764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11765 if (!SWIG_IsOK(res1
)) {
11766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11768 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= SWIG_From_int(static_cast< int >(result
));
11782 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11783 PyObject
*resultobj
= 0;
11784 wxFont
*arg1
= (wxFont
*) 0 ;
11788 PyObject
*swig_obj
[1] ;
11790 if (!args
) SWIG_fail
;
11791 swig_obj
[0] = args
;
11792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11793 if (!SWIG_IsOK(res1
)) {
11794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11796 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_From_int(static_cast< int >(result
));
11810 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11811 PyObject
*resultobj
= 0;
11812 wxFont
*arg1
= (wxFont
*) 0 ;
11816 PyObject
*swig_obj
[1] ;
11818 if (!args
) SWIG_fail
;
11819 swig_obj
[0] = args
;
11820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11821 if (!SWIG_IsOK(res1
)) {
11822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11824 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11840 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11841 PyObject
*resultobj
= 0;
11842 wxFont
*arg1
= (wxFont
*) 0 ;
11846 PyObject
*swig_obj
[1] ;
11848 if (!args
) SWIG_fail
;
11849 swig_obj
[0] = args
;
11850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11854 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= ((wxFont
const *)arg1
)->GetFaceName();
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11874 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11875 PyObject
*resultobj
= 0;
11876 wxFont
*arg1
= (wxFont
*) 0 ;
11877 wxFontEncoding result
;
11880 PyObject
*swig_obj
[1] ;
11882 if (!args
) SWIG_fail
;
11883 swig_obj
[0] = args
;
11884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11888 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_From_int(static_cast< int >(result
));
11902 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11903 PyObject
*resultobj
= 0;
11904 wxFont
*arg1
= (wxFont
*) 0 ;
11905 wxNativeFontInfo
*result
= 0 ;
11908 PyObject
*swig_obj
[1] ;
11910 if (!args
) SWIG_fail
;
11911 swig_obj
[0] = args
;
11912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11916 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11930 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11931 PyObject
*resultobj
= 0;
11932 wxFont
*arg1
= (wxFont
*) 0 ;
11936 PyObject
*swig_obj
[1] ;
11938 if (!args
) SWIG_fail
;
11939 swig_obj
[0] = args
;
11940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11944 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11960 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 PyObject
*resultobj
= 0;
11962 wxFont
*arg1
= (wxFont
*) 0 ;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11974 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11994 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11995 PyObject
*resultobj
= 0;
11996 wxFont
*arg1
= (wxFont
*) 0 ;
12000 PyObject
*swig_obj
[1] ;
12002 if (!args
) SWIG_fail
;
12003 swig_obj
[0] = args
;
12004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12005 if (!SWIG_IsOK(res1
)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12008 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12028 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
= 0;
12030 wxFont
*arg1
= (wxFont
*) 0 ;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 char * kwnames
[] = {
12039 (char *) "self",(char *) "pointSize", NULL
12042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12044 if (!SWIG_IsOK(res1
)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12047 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12049 if (!SWIG_IsOK(ecode2
)) {
12050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12052 arg2
= static_cast< int >(val2
);
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 (arg1
)->SetPointSize(arg2
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_Py_Void();
12066 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
= 0;
12068 wxFont
*arg1
= (wxFont
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 char * kwnames
[] = {
12076 (char *) "self",(char *) "pixelSize", NULL
12079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12081 if (!SWIG_IsOK(res1
)) {
12082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12084 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12087 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
= 0;
12104 wxFont
*arg1
= (wxFont
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 PyObject
* obj1
= 0 ;
12112 char * kwnames
[] = {
12113 (char *) "self",(char *) "family", NULL
12116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12118 if (!SWIG_IsOK(res1
)) {
12119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12121 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12123 if (!SWIG_IsOK(ecode2
)) {
12124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12126 arg2
= static_cast< int >(val2
);
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 (arg1
)->SetFamily(arg2
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_Py_Void();
12140 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
= 0;
12142 wxFont
*arg1
= (wxFont
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char * kwnames
[] = {
12151 (char *) "self",(char *) "style", NULL
12154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12159 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12161 if (!SWIG_IsOK(ecode2
)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12164 arg2
= static_cast< int >(val2
);
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 (arg1
)->SetStyle(arg2
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_Py_Void();
12178 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
= 0;
12180 wxFont
*arg1
= (wxFont
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 PyObject
* obj1
= 0 ;
12188 char * kwnames
[] = {
12189 (char *) "self",(char *) "weight", NULL
12192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12194 if (!SWIG_IsOK(res1
)) {
12195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12197 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12199 if (!SWIG_IsOK(ecode2
)) {
12200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12202 arg2
= static_cast< int >(val2
);
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 (arg1
)->SetWeight(arg2
);
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= SWIG_Py_Void();
12216 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
= 0;
12218 wxFont
*arg1
= (wxFont
*) 0 ;
12219 wxString
*arg2
= 0 ;
12222 bool temp2
= false ;
12223 PyObject
* obj0
= 0 ;
12224 PyObject
* obj1
= 0 ;
12225 char * kwnames
[] = {
12226 (char *) "self",(char *) "faceName", NULL
12229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12231 if (!SWIG_IsOK(res1
)) {
12232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12234 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12236 arg2
= wxString_in_helper(obj1
);
12237 if (arg2
== NULL
) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= SWIG_Py_Void();
12261 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
= 0;
12263 wxFont
*arg1
= (wxFont
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 char * kwnames
[] = {
12272 (char *) "self",(char *) "underlined", NULL
12275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12277 if (!SWIG_IsOK(res1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12280 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12281 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12282 if (!SWIG_IsOK(ecode2
)) {
12283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12285 arg2
= static_cast< bool >(val2
);
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 (arg1
)->SetUnderlined(arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= SWIG_Py_Void();
12299 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
= 0;
12301 wxFont
*arg1
= (wxFont
*) 0 ;
12302 wxFontEncoding arg2
;
12307 PyObject
* obj0
= 0 ;
12308 PyObject
* obj1
= 0 ;
12309 char * kwnames
[] = {
12310 (char *) "self",(char *) "encoding", NULL
12313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12315 if (!SWIG_IsOK(res1
)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12318 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12320 if (!SWIG_IsOK(ecode2
)) {
12321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12323 arg2
= static_cast< wxFontEncoding
>(val2
);
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 (arg1
)->SetEncoding(arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_Py_Void();
12337 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= 0;
12339 wxFont
*arg1
= (wxFont
*) 0 ;
12340 wxNativeFontInfo
*arg2
= 0 ;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "self",(char *) "info", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12353 if (!SWIG_IsOK(res1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12356 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12358 if (!SWIG_IsOK(res2
)) {
12359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12364 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_Py_Void();
12378 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
= 0;
12380 wxFont
*arg1
= (wxFont
*) 0 ;
12381 wxString
*arg2
= 0 ;
12384 bool temp2
= false ;
12385 PyObject
* obj0
= 0 ;
12386 PyObject
* obj1
= 0 ;
12387 char * kwnames
[] = {
12388 (char *) "self",(char *) "info", NULL
12391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12393 if (!SWIG_IsOK(res1
)) {
12394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12396 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12398 arg2
= wxString_in_helper(obj1
);
12399 if (arg2
== NULL
) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_Py_Void();
12423 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
= 0;
12425 wxFont
*arg1
= (wxFont
*) 0 ;
12426 wxString
*arg2
= 0 ;
12429 bool temp2
= false ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char * kwnames
[] = {
12433 (char *) "self",(char *) "info", NULL
12436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12438 if (!SWIG_IsOK(res1
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12441 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12443 arg2
= wxString_in_helper(obj1
);
12444 if (arg2
== NULL
) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_Py_Void();
12468 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12469 PyObject
*resultobj
= 0;
12470 wxFont
*arg1
= (wxFont
*) 0 ;
12474 PyObject
*swig_obj
[1] ;
12476 if (!args
) SWIG_fail
;
12477 swig_obj
[0] = args
;
12478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12479 if (!SWIG_IsOK(res1
)) {
12480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12482 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12502 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12503 PyObject
*resultobj
= 0;
12504 wxFont
*arg1
= (wxFont
*) 0 ;
12508 PyObject
*swig_obj
[1] ;
12510 if (!args
) SWIG_fail
;
12511 swig_obj
[0] = args
;
12512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12516 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= ((wxFont
const *)arg1
)->GetStyleString();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12536 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12537 PyObject
*resultobj
= 0;
12538 wxFont
*arg1
= (wxFont
*) 0 ;
12542 PyObject
*swig_obj
[1] ;
12544 if (!args
) SWIG_fail
;
12545 swig_obj
[0] = args
;
12546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12547 if (!SWIG_IsOK(res1
)) {
12548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12550 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= ((wxFont
const *)arg1
)->GetWeightString();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12570 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
= 0;
12572 wxFont
*arg1
= (wxFont
*) 0 ;
12573 bool arg2
= (bool) true ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "self",(char *) "no", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12589 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12591 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12592 if (!SWIG_IsOK(ecode2
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12595 arg2
= static_cast< bool >(val2
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetNoAntiAliasing(arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12611 PyObject
*resultobj
= 0;
12612 wxFont
*arg1
= (wxFont
*) 0 ;
12616 PyObject
*swig_obj
[1] ;
12618 if (!args
) SWIG_fail
;
12619 swig_obj
[0] = args
;
12620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12621 if (!SWIG_IsOK(res1
)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12624 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12640 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12641 PyObject
*resultobj
= 0;
12642 wxFontEncoding result
;
12644 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12646 if (!wxPyCheckForApp()) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= SWIG_From_int(static_cast< int >(result
));
12659 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
= 0;
12661 wxFontEncoding arg1
;
12664 PyObject
* obj0
= 0 ;
12665 char * kwnames
[] = {
12666 (char *) "encoding", NULL
12669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12670 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12671 if (!SWIG_IsOK(ecode1
)) {
12672 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12674 arg1
= static_cast< wxFontEncoding
>(val1
);
12676 if (!wxPyCheckForApp()) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 wxFont::SetDefaultEncoding(arg1
);
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= SWIG_Py_Void();
12689 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12692 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12693 return SWIG_Py_Void();
12696 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12697 return SWIG_Python_InitShadowInstance(args
);
12700 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12701 PyObject
*resultobj
= 0;
12702 wxPyFontEnumerator
*result
= 0 ;
12704 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12706 if (!wxPyCheckForApp()) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12719 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12720 PyObject
*resultobj
= 0;
12721 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12724 PyObject
*swig_obj
[1] ;
12726 if (!args
) SWIG_fail
;
12727 swig_obj
[0] = args
;
12728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12729 if (!SWIG_IsOK(res1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12732 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= SWIG_Py_Void();
12747 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
= 0;
12749 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12750 PyObject
*arg2
= (PyObject
*) 0 ;
12751 PyObject
*arg3
= (PyObject
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 PyObject
* obj2
= 0 ;
12760 PyObject
* obj3
= 0 ;
12761 char * kwnames
[] = {
12762 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12767 if (!SWIG_IsOK(res1
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12770 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12773 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12774 if (!SWIG_IsOK(ecode4
)) {
12775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12777 arg4
= static_cast< bool >(val4
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_Py_Void();
12791 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
= 0;
12793 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12794 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12795 bool arg3
= (bool) false ;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 PyObject
* obj2
= 0 ;
12806 char * kwnames
[] = {
12807 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12812 if (!SWIG_IsOK(res1
)) {
12813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12815 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12818 if (!SWIG_IsOK(ecode2
)) {
12819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12821 arg2
= static_cast< wxFontEncoding
>(val2
);
12824 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12825 if (!SWIG_IsOK(ecode3
)) {
12826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12828 arg3
= static_cast< bool >(val3
);
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12845 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
= 0;
12847 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12848 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12849 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12853 bool temp2
= false ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 char * kwnames
[] = {
12857 (char *) "self",(char *) "facename", NULL
12860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12862 if (!SWIG_IsOK(res1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12865 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12868 arg2
= wxString_in_helper(obj1
);
12869 if (arg2
== NULL
) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12896 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12897 PyObject
*resultobj
= 0;
12898 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12899 PyObject
*result
= 0 ;
12902 PyObject
*swig_obj
[1] ;
12904 if (!args
) SWIG_fail
;
12905 swig_obj
[0] = args
;
12906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12907 if (!SWIG_IsOK(res1
)) {
12908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12910 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= result
;
12924 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12925 PyObject
*resultobj
= 0;
12926 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12927 PyObject
*result
= 0 ;
12930 PyObject
*swig_obj
[1] ;
12932 if (!args
) SWIG_fail
;
12933 swig_obj
[0] = args
;
12934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12938 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= result
;
12952 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12955 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
12956 return SWIG_Py_Void();
12959 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 return SWIG_Python_InitShadowInstance(args
);
12963 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 PyObject
*resultobj
= 0;
12965 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12971 PyObject
*swig_obj
[2] ;
12973 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
12974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
12975 if (!SWIG_IsOK(res1
)) {
12976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
12978 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
12979 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12980 if (!SWIG_IsOK(ecode2
)) {
12981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
12983 arg2
= static_cast< int >(val2
);
12984 if (arg1
) (arg1
)->Language
= arg2
;
12986 resultobj
= SWIG_Py_Void();
12993 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12994 PyObject
*resultobj
= 0;
12995 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12999 PyObject
*swig_obj
[1] ;
13001 if (!args
) SWIG_fail
;
13002 swig_obj
[0] = args
;
13003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13007 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13008 result
= (int) ((arg1
)->Language
);
13009 resultobj
= SWIG_From_int(static_cast< int >(result
));
13016 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13017 PyObject
*resultobj
= 0;
13018 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13019 wxString
*arg2
= (wxString
*) 0 ;
13022 bool temp2
= false ;
13023 PyObject
*swig_obj
[2] ;
13025 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13027 if (!SWIG_IsOK(res1
)) {
13028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13030 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13032 arg2
= wxString_in_helper(swig_obj
[1]);
13033 if (arg2
== NULL
) SWIG_fail
;
13036 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13038 resultobj
= SWIG_Py_Void();
13053 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13054 PyObject
*resultobj
= 0;
13055 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13056 wxString
*result
= 0 ;
13059 PyObject
*swig_obj
[1] ;
13061 if (!args
) SWIG_fail
;
13062 swig_obj
[0] = args
;
13063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13064 if (!SWIG_IsOK(res1
)) {
13065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13067 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13068 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13071 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13073 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13082 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13083 PyObject
*resultobj
= 0;
13084 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13085 wxString
*arg2
= (wxString
*) 0 ;
13088 bool temp2
= false ;
13089 PyObject
*swig_obj
[2] ;
13091 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13093 if (!SWIG_IsOK(res1
)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13096 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13098 arg2
= wxString_in_helper(swig_obj
[1]);
13099 if (arg2
== NULL
) SWIG_fail
;
13102 if (arg1
) (arg1
)->Description
= *arg2
;
13104 resultobj
= SWIG_Py_Void();
13119 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13120 PyObject
*resultobj
= 0;
13121 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13122 wxString
*result
= 0 ;
13125 PyObject
*swig_obj
[1] ;
13127 if (!args
) SWIG_fail
;
13128 swig_obj
[0] = args
;
13129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13130 if (!SWIG_IsOK(res1
)) {
13131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13133 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13134 result
= (wxString
*)& ((arg1
)->Description
);
13137 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13139 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13148 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13151 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13152 return SWIG_Py_Void();
13155 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
= 0;
13157 int arg1
= (int) -1 ;
13158 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13159 wxLocale
*result
= 0 ;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 char * kwnames
[] = {
13167 (char *) "language",(char *) "flags", NULL
13170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13173 if (!SWIG_IsOK(ecode1
)) {
13174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13176 arg1
= static_cast< int >(val1
);
13179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13180 if (!SWIG_IsOK(ecode2
)) {
13181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13183 arg2
= static_cast< int >(val2
);
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13198 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13199 PyObject
*resultobj
= 0;
13200 wxLocale
*arg1
= (wxLocale
*) 0 ;
13203 PyObject
*swig_obj
[1] ;
13205 if (!args
) SWIG_fail
;
13206 swig_obj
[0] = args
;
13207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13211 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_Py_Void();
13226 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
= 0;
13228 wxLocale
*arg1
= (wxLocale
*) 0 ;
13229 wxString
*arg2
= 0 ;
13230 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13231 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13232 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13233 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13234 bool arg5
= (bool) true ;
13235 bool arg6
= (bool) false ;
13239 bool temp2
= false ;
13240 bool temp3
= false ;
13241 bool temp4
= false ;
13246 PyObject
* obj0
= 0 ;
13247 PyObject
* obj1
= 0 ;
13248 PyObject
* obj2
= 0 ;
13249 PyObject
* obj3
= 0 ;
13250 PyObject
* obj4
= 0 ;
13251 PyObject
* obj5
= 0 ;
13252 char * kwnames
[] = {
13253 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13258 if (!SWIG_IsOK(res1
)) {
13259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13261 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13263 arg2
= wxString_in_helper(obj1
);
13264 if (arg2
== NULL
) SWIG_fail
;
13269 arg3
= wxString_in_helper(obj2
);
13270 if (arg3
== NULL
) SWIG_fail
;
13276 arg4
= wxString_in_helper(obj3
);
13277 if (arg4
== NULL
) SWIG_fail
;
13282 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13283 if (!SWIG_IsOK(ecode5
)) {
13284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13286 arg5
= static_cast< bool >(val5
);
13289 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13290 if (!SWIG_IsOK(ecode6
)) {
13291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13293 arg6
= static_cast< bool >(val6
);
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13334 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
= 0;
13336 wxLocale
*arg1
= (wxLocale
*) 0 ;
13337 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13338 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 PyObject
* obj2
= 0 ;
13349 char * kwnames
[] = {
13350 (char *) "self",(char *) "language",(char *) "flags", NULL
13353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13358 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13361 if (!SWIG_IsOK(ecode2
)) {
13362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13364 arg2
= static_cast< int >(val2
);
13367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13368 if (!SWIG_IsOK(ecode3
)) {
13369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13371 arg3
= static_cast< int >(val3
);
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13388 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 PyObject
*resultobj
= 0;
13392 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (int)wxLocale::GetSystemLanguage();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_From_int(static_cast< int >(result
));
13406 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13407 PyObject
*resultobj
= 0;
13408 wxFontEncoding result
;
13410 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_From_int(static_cast< int >(result
));
13424 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13425 PyObject
*resultobj
= 0;
13428 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= wxLocale::GetSystemEncodingName();
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13448 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13449 PyObject
*resultobj
= 0;
13450 wxLocale
*arg1
= (wxLocale
*) 0 ;
13454 PyObject
*swig_obj
[1] ;
13456 if (!args
) SWIG_fail
;
13457 swig_obj
[0] = args
;
13458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13459 if (!SWIG_IsOK(res1
)) {
13460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13462 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13478 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13479 PyObject
*resultobj
= 0;
13480 wxLocale
*arg1
= (wxLocale
*) 0 ;
13484 PyObject
*swig_obj
[1] ;
13486 if (!args
) SWIG_fail
;
13487 swig_obj
[0] = args
;
13488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13489 if (!SWIG_IsOK(res1
)) {
13490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13492 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= ((wxLocale
const *)arg1
)->GetLocale();
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13512 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13513 PyObject
*resultobj
= 0;
13514 wxLocale
*arg1
= (wxLocale
*) 0 ;
13518 PyObject
*swig_obj
[1] ;
13520 if (!args
) SWIG_fail
;
13521 swig_obj
[0] = args
;
13522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13526 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= SWIG_From_int(static_cast< int >(result
));
13540 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13541 PyObject
*resultobj
= 0;
13542 wxLocale
*arg1
= (wxLocale
*) 0 ;
13546 PyObject
*swig_obj
[1] ;
13548 if (!args
) SWIG_fail
;
13549 swig_obj
[0] = args
;
13550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13551 if (!SWIG_IsOK(res1
)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13554 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= ((wxLocale
const *)arg1
)->GetSysName();
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13574 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13575 PyObject
*resultobj
= 0;
13576 wxLocale
*arg1
= (wxLocale
*) 0 ;
13580 PyObject
*swig_obj
[1] ;
13582 if (!args
) SWIG_fail
;
13583 swig_obj
[0] = args
;
13584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13585 if (!SWIG_IsOK(res1
)) {
13586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13588 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13608 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
= 0;
13610 wxString
*arg1
= 0 ;
13611 bool temp1
= false ;
13612 PyObject
* obj0
= 0 ;
13613 char * kwnames
[] = {
13614 (char *) "prefix", NULL
13617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13619 arg1
= wxString_in_helper(obj0
);
13620 if (arg1
== NULL
) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_Py_Void();
13644 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
= 0;
13646 wxLocale
*arg1
= (wxLocale
*) 0 ;
13647 wxString
*arg2
= 0 ;
13651 bool temp2
= false ;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char * kwnames
[] = {
13655 (char *) "self",(char *) "szDomain", NULL
13658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13660 if (!SWIG_IsOK(res1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13663 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13665 arg2
= wxString_in_helper(obj1
);
13666 if (arg2
== NULL
) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13692 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
= 0;
13694 wxLocale
*arg1
= (wxLocale
*) 0 ;
13695 wxString
*arg2
= 0 ;
13699 bool temp2
= false ;
13700 PyObject
* obj0
= 0 ;
13701 PyObject
* obj1
= 0 ;
13702 char * kwnames
[] = {
13703 (char *) "self",(char *) "szDomain", NULL
13706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13708 if (!SWIG_IsOK(res1
)) {
13709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13711 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13713 arg2
= wxString_in_helper(obj1
);
13714 if (arg2
== NULL
) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13740 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
= 0;
13743 wxLanguageInfo
*result
= 0 ;
13746 PyObject
* obj0
= 0 ;
13747 char * kwnames
[] = {
13748 (char *) "lang", NULL
13751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13753 if (!SWIG_IsOK(ecode1
)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13756 arg1
= static_cast< int >(val1
);
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13770 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
= 0;
13776 PyObject
* obj0
= 0 ;
13777 char * kwnames
[] = {
13778 (char *) "lang", NULL
13781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13783 if (!SWIG_IsOK(ecode1
)) {
13784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13786 arg1
= static_cast< int >(val1
);
13788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13789 result
= wxLocale::GetLanguageName(arg1
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13806 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
= 0;
13808 wxString
*arg1
= 0 ;
13809 wxLanguageInfo
*result
= 0 ;
13810 bool temp1
= false ;
13811 PyObject
* obj0
= 0 ;
13812 char * kwnames
[] = {
13813 (char *) "locale", NULL
13816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13818 arg1
= wxString_in_helper(obj0
);
13819 if (arg1
== NULL
) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13843 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
= 0;
13845 wxLanguageInfo
*arg1
= 0 ;
13848 PyObject
* obj0
= 0 ;
13849 char * kwnames
[] = {
13850 (char *) "info", NULL
13853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13854 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13855 if (!SWIG_IsOK(res1
)) {
13856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13861 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= SWIG_Py_Void();
13875 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
= 0;
13877 wxLocale
*arg1
= (wxLocale
*) 0 ;
13878 wxString
*arg2
= 0 ;
13879 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13880 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13884 bool temp2
= false ;
13885 bool temp3
= false ;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 PyObject
* obj2
= 0 ;
13889 char * kwnames
[] = {
13890 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13895 if (!SWIG_IsOK(res1
)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13898 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13900 arg2
= wxString_in_helper(obj1
);
13901 if (arg2
== NULL
) SWIG_fail
;
13906 arg3
= wxString_in_helper(obj2
);
13907 if (arg3
== NULL
) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13946 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13947 PyObject
*resultobj
= 0;
13948 wxLocale
*arg1
= (wxLocale
*) 0 ;
13949 wxString
*result
= 0 ;
13952 PyObject
*swig_obj
[1] ;
13954 if (!args
) SWIG_fail
;
13955 swig_obj
[0] = args
;
13956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13957 if (!SWIG_IsOK(res1
)) {
13958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13960 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
13965 result
= (wxString
*) &_result_ref
;
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13972 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13974 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13983 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13986 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
13987 return SWIG_Py_Void();
13990 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13991 return SWIG_Python_InitShadowInstance(args
);
13994 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13995 PyObject
*resultobj
= 0;
13996 wxLocale
*result
= 0 ;
13998 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (wxLocale
*)wxGetLocale();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14012 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14013 PyObject
*resultobj
= 0;
14014 wxString
*arg1
= 0 ;
14016 bool temp1
= false ;
14018 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14020 arg1
= wxString_in_helper(swig_obj
[0]);
14021 if (arg1
== NULL
) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= wxGetTranslation((wxString
const &)*arg1
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14051 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14052 PyObject
*resultobj
= 0;
14053 wxString
*arg1
= 0 ;
14054 wxString
*arg2
= 0 ;
14057 bool temp1
= false ;
14058 bool temp2
= false ;
14062 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14064 arg1
= wxString_in_helper(swig_obj
[0]);
14065 if (arg1
== NULL
) SWIG_fail
;
14069 arg2
= wxString_in_helper(swig_obj
[1]);
14070 if (arg2
== NULL
) SWIG_fail
;
14073 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14074 if (!SWIG_IsOK(ecode3
)) {
14075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14077 arg3
= static_cast< size_t >(val3
);
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14113 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14117 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14120 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14123 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14127 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14132 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14133 PyObject
*resultobj
= 0;
14134 wxEncodingConverter
*result
= 0 ;
14136 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14150 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14151 PyObject
*resultobj
= 0;
14152 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14155 PyObject
*swig_obj
[1] ;
14157 if (!args
) SWIG_fail
;
14158 swig_obj
[0] = args
;
14159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14160 if (!SWIG_IsOK(res1
)) {
14161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14163 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= SWIG_Py_Void();
14178 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
= 0;
14180 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14181 wxFontEncoding arg2
;
14182 wxFontEncoding arg3
;
14183 int arg4
= (int) wxCONVERT_STRICT
;
14193 PyObject
* obj0
= 0 ;
14194 PyObject
* obj1
= 0 ;
14195 PyObject
* obj2
= 0 ;
14196 PyObject
* obj3
= 0 ;
14197 char * kwnames
[] = {
14198 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14203 if (!SWIG_IsOK(res1
)) {
14204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14206 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14208 if (!SWIG_IsOK(ecode2
)) {
14209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14211 arg2
= static_cast< wxFontEncoding
>(val2
);
14212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14213 if (!SWIG_IsOK(ecode3
)) {
14214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14216 arg3
= static_cast< wxFontEncoding
>(val3
);
14218 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14219 if (!SWIG_IsOK(ecode4
)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14222 arg4
= static_cast< int >(val4
);
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14239 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
= 0;
14241 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14242 wxString
*arg2
= 0 ;
14246 bool temp2
= false ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 char * kwnames
[] = {
14250 (char *) "self",(char *) "input", NULL
14253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14255 if (!SWIG_IsOK(res1
)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14258 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14260 arg2
= wxString_in_helper(obj1
);
14261 if (arg2
== NULL
) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14291 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
= 0;
14293 wxFontEncoding arg1
;
14294 int arg2
= (int) wxPLATFORM_CURRENT
;
14295 wxFontEncodingArray result
;
14300 PyObject
* obj0
= 0 ;
14301 PyObject
* obj1
= 0 ;
14302 char * kwnames
[] = {
14303 (char *) "enc",(char *) "platform", NULL
14306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14307 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14308 if (!SWIG_IsOK(ecode1
)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14311 arg1
= static_cast< wxFontEncoding
>(val1
);
14313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14314 if (!SWIG_IsOK(ecode2
)) {
14315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14317 arg2
= static_cast< int >(val2
);
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= PyList_New(0);
14327 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14328 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14329 PyList_Append(resultobj
, number
);
14339 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
= 0;
14341 wxFontEncoding arg1
;
14342 wxFontEncodingArray result
;
14345 PyObject
* obj0
= 0 ;
14346 char * kwnames
[] = {
14347 (char *) "enc", NULL
14350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14352 if (!SWIG_IsOK(ecode1
)) {
14353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14355 arg1
= static_cast< wxFontEncoding
>(val1
);
14357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14358 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= PyList_New(0);
14364 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14365 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14366 PyList_Append(resultobj
, number
);
14376 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
= 0;
14378 wxFontEncoding arg1
;
14379 wxFontEncoding arg2
;
14385 PyObject
* obj0
= 0 ;
14386 PyObject
* obj1
= 0 ;
14387 char * kwnames
[] = {
14388 (char *) "encIn",(char *) "encOut", NULL
14391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14392 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14393 if (!SWIG_IsOK(ecode1
)) {
14394 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14396 arg1
= static_cast< wxFontEncoding
>(val1
);
14397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14398 if (!SWIG_IsOK(ecode2
)) {
14399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14401 arg2
= static_cast< wxFontEncoding
>(val2
);
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14417 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14420 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14421 return SWIG_Py_Void();
14424 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14425 return SWIG_Python_InitShadowInstance(args
);
14428 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14429 PyObject
*resultobj
= 0;
14430 wxDC
*arg1
= (wxDC
*) 0 ;
14433 PyObject
*swig_obj
[1] ;
14435 if (!args
) SWIG_fail
;
14436 swig_obj
[0] = args
;
14437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14438 if (!SWIG_IsOK(res1
)) {
14439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= SWIG_Py_Void();
14456 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
= 0;
14458 wxDC
*arg1
= (wxDC
*) 0 ;
14461 wxColour
*arg4
= 0 ;
14462 int arg5
= (int) wxFLOOD_SURFACE
;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 PyObject
* obj2
= 0 ;
14476 PyObject
* obj3
= 0 ;
14477 PyObject
* obj4
= 0 ;
14478 char * kwnames
[] = {
14479 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14489 if (!SWIG_IsOK(ecode2
)) {
14490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14492 arg2
= static_cast< int >(val2
);
14493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14494 if (!SWIG_IsOK(ecode3
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14497 arg3
= static_cast< int >(val3
);
14500 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14503 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14504 if (!SWIG_IsOK(ecode5
)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14507 arg5
= static_cast< int >(val5
);
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14524 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
= 0;
14526 wxDC
*arg1
= (wxDC
*) 0 ;
14527 wxPoint
*arg2
= 0 ;
14528 wxColour
*arg3
= 0 ;
14529 int arg4
= (int) wxFLOOD_SURFACE
;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 PyObject
* obj3
= 0 ;
14541 char * kwnames
[] = {
14542 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14557 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14561 if (!SWIG_IsOK(ecode4
)) {
14562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14564 arg4
= static_cast< int >(val4
);
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14581 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
= 0;
14583 wxDC
*arg1
= (wxDC
*) 0 ;
14585 wxColour
*arg3
= 0 ;
14586 wxColour
*arg4
= 0 ;
14587 wxPoint
*arg5
= 0 ;
14594 PyObject
* obj0
= 0 ;
14595 PyObject
* obj1
= 0 ;
14596 PyObject
* obj2
= 0 ;
14597 PyObject
* obj3
= 0 ;
14598 PyObject
* obj4
= 0 ;
14599 char * kwnames
[] = {
14600 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14605 if (!SWIG_IsOK(res1
)) {
14606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14611 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14615 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14619 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14623 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= SWIG_Py_Void();
14638 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
= 0;
14640 wxDC
*arg1
= (wxDC
*) 0 ;
14642 wxColour
*arg3
= 0 ;
14643 wxColour
*arg4
= 0 ;
14644 wxDirection arg5
= (wxDirection
) wxEAST
;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 PyObject
* obj2
= 0 ;
14655 PyObject
* obj3
= 0 ;
14656 PyObject
* obj4
= 0 ;
14657 char * kwnames
[] = {
14658 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14663 if (!SWIG_IsOK(res1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14669 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14673 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14677 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14681 if (!SWIG_IsOK(ecode5
)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14684 arg5
= static_cast< wxDirection
>(val5
);
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_Py_Void();
14699 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
= 0;
14701 wxDC
*arg1
= (wxDC
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 PyObject
* obj2
= 0 ;
14714 char * kwnames
[] = {
14715 (char *) "self",(char *) "x",(char *) "y", NULL
14718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14720 if (!SWIG_IsOK(res1
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14725 if (!SWIG_IsOK(ecode2
)) {
14726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14728 arg2
= static_cast< int >(val2
);
14729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14730 if (!SWIG_IsOK(ecode3
)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14733 arg3
= static_cast< int >(val3
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14747 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
= 0;
14749 wxDC
*arg1
= (wxDC
*) 0 ;
14750 wxPoint
*arg2
= 0 ;
14755 PyObject
* obj0
= 0 ;
14756 PyObject
* obj1
= 0 ;
14757 char * kwnames
[] = {
14758 (char *) "self",(char *) "pt", NULL
14761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14763 if (!SWIG_IsOK(res1
)) {
14764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14784 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
= 0;
14786 wxDC
*arg1
= (wxDC
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 PyObject
* obj1
= 0 ;
14803 PyObject
* obj2
= 0 ;
14804 PyObject
* obj3
= 0 ;
14805 PyObject
* obj4
= 0 ;
14806 char * kwnames
[] = {
14807 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14812 if (!SWIG_IsOK(res1
)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14817 if (!SWIG_IsOK(ecode2
)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14820 arg2
= static_cast< int >(val2
);
14821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14822 if (!SWIG_IsOK(ecode3
)) {
14823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14825 arg3
= static_cast< int >(val3
);
14826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14827 if (!SWIG_IsOK(ecode4
)) {
14828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14830 arg4
= static_cast< int >(val4
);
14831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14832 if (!SWIG_IsOK(ecode5
)) {
14833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14835 arg5
= static_cast< int >(val5
);
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= SWIG_Py_Void();
14849 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
= 0;
14851 wxDC
*arg1
= (wxDC
*) 0 ;
14852 wxPoint
*arg2
= 0 ;
14853 wxPoint
*arg3
= 0 ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 PyObject
* obj2
= 0 ;
14861 char * kwnames
[] = {
14862 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14867 if (!SWIG_IsOK(res1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= SWIG_Py_Void();
14892 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
= 0;
14894 wxDC
*arg1
= (wxDC
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 PyObject
* obj1
= 0 ;
14905 PyObject
* obj2
= 0 ;
14906 char * kwnames
[] = {
14907 (char *) "self",(char *) "x",(char *) "y", NULL
14910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14912 if (!SWIG_IsOK(res1
)) {
14913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14917 if (!SWIG_IsOK(ecode2
)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14920 arg2
= static_cast< int >(val2
);
14921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14922 if (!SWIG_IsOK(ecode3
)) {
14923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14925 arg3
= static_cast< int >(val3
);
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 (arg1
)->CrossHair(arg2
,arg3
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_Py_Void();
14939 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
= 0;
14941 wxDC
*arg1
= (wxDC
*) 0 ;
14942 wxPoint
*arg2
= 0 ;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 char * kwnames
[] = {
14949 (char *) "self",(char *) "pt", NULL
14952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14960 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_Py_Void();
14975 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
= 0;
14977 wxDC
*arg1
= (wxDC
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 PyObject
* obj2
= 0 ;
15001 PyObject
* obj3
= 0 ;
15002 PyObject
* obj4
= 0 ;
15003 PyObject
* obj5
= 0 ;
15004 PyObject
* obj6
= 0 ;
15005 char * kwnames
[] = {
15006 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15016 if (!SWIG_IsOK(ecode2
)) {
15017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15019 arg2
= static_cast< int >(val2
);
15020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15021 if (!SWIG_IsOK(ecode3
)) {
15022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15024 arg3
= static_cast< int >(val3
);
15025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15026 if (!SWIG_IsOK(ecode4
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15029 arg4
= static_cast< int >(val4
);
15030 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15031 if (!SWIG_IsOK(ecode5
)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15034 arg5
= static_cast< int >(val5
);
15035 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15036 if (!SWIG_IsOK(ecode6
)) {
15037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15039 arg6
= static_cast< int >(val6
);
15040 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15041 if (!SWIG_IsOK(ecode7
)) {
15042 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15044 arg7
= static_cast< int >(val7
);
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_Py_Void();
15058 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
= 0;
15060 wxDC
*arg1
= (wxDC
*) 0 ;
15061 wxPoint
*arg2
= 0 ;
15062 wxPoint
*arg3
= 0 ;
15063 wxPoint
*arg4
= 0 ;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 PyObject
* obj2
= 0 ;
15072 PyObject
* obj3
= 0 ;
15073 char * kwnames
[] = {
15074 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15079 if (!SWIG_IsOK(res1
)) {
15080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_Py_Void();
15108 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
= 0;
15110 wxDC
*arg1
= (wxDC
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 PyObject
* obj2
= 0 ;
15128 PyObject
* obj3
= 0 ;
15129 PyObject
* obj4
= 0 ;
15130 char * kwnames
[] = {
15131 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15136 if (!SWIG_IsOK(res1
)) {
15137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15141 if (!SWIG_IsOK(ecode2
)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15144 arg2
= static_cast< int >(val2
);
15145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15146 if (!SWIG_IsOK(ecode3
)) {
15147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15149 arg3
= static_cast< int >(val3
);
15150 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15151 if (!SWIG_IsOK(ecode4
)) {
15152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15154 arg4
= static_cast< int >(val4
);
15155 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15156 if (!SWIG_IsOK(ecode5
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15159 arg5
= static_cast< int >(val5
);
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_Py_Void();
15173 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
= 0;
15175 wxDC
*arg1
= (wxDC
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 char * kwnames
[] = {
15183 (char *) "self",(char *) "rect", NULL
15186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15188 if (!SWIG_IsOK(res1
)) {
15189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15194 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_Py_Void();
15209 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
= 0;
15211 wxDC
*arg1
= (wxDC
*) 0 ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 PyObject
* obj3
= 0 ;
15236 PyObject
* obj4
= 0 ;
15237 PyObject
* obj5
= 0 ;
15238 PyObject
* obj6
= 0 ;
15239 char * kwnames
[] = {
15240 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15250 if (!SWIG_IsOK(ecode2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15253 arg2
= static_cast< int >(val2
);
15254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15255 if (!SWIG_IsOK(ecode3
)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15258 arg3
= static_cast< int >(val3
);
15259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15260 if (!SWIG_IsOK(ecode4
)) {
15261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15263 arg4
= static_cast< int >(val4
);
15264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15265 if (!SWIG_IsOK(ecode5
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15268 arg5
= static_cast< int >(val5
);
15269 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15270 if (!SWIG_IsOK(ecode6
)) {
15271 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15273 arg6
= static_cast< double >(val6
);
15274 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15275 if (!SWIG_IsOK(ecode7
)) {
15276 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15278 arg7
= static_cast< double >(val7
);
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= SWIG_Py_Void();
15292 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
= 0;
15294 wxDC
*arg1
= (wxDC
*) 0 ;
15295 wxPoint
*arg2
= 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 PyObject
* obj2
= 0 ;
15310 PyObject
* obj3
= 0 ;
15311 PyObject
* obj4
= 0 ;
15312 char * kwnames
[] = {
15313 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15318 if (!SWIG_IsOK(res1
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15324 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15328 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15330 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15331 if (!SWIG_IsOK(ecode4
)) {
15332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15334 arg4
= static_cast< double >(val4
);
15335 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15336 if (!SWIG_IsOK(ecode5
)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15339 arg5
= static_cast< double >(val5
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_Py_Void();
15353 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
= 0;
15355 wxDC
*arg1
= (wxDC
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 char * kwnames
[] = {
15368 (char *) "self",(char *) "x",(char *) "y", NULL
15371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15373 if (!SWIG_IsOK(res1
)) {
15374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15378 if (!SWIG_IsOK(ecode2
)) {
15379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15381 arg2
= static_cast< int >(val2
);
15382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15383 if (!SWIG_IsOK(ecode3
)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15386 arg3
= static_cast< int >(val3
);
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 (arg1
)->DrawPoint(arg2
,arg3
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_Py_Void();
15400 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
= 0;
15402 wxDC
*arg1
= (wxDC
*) 0 ;
15403 wxPoint
*arg2
= 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char * kwnames
[] = {
15410 (char *) "self",(char *) "pt", NULL
15413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_Py_Void();
15436 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
= 0;
15438 wxDC
*arg1
= (wxDC
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15455 PyObject
* obj2
= 0 ;
15456 PyObject
* obj3
= 0 ;
15457 PyObject
* obj4
= 0 ;
15458 char * kwnames
[] = {
15459 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15464 if (!SWIG_IsOK(res1
)) {
15465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15469 if (!SWIG_IsOK(ecode2
)) {
15470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15472 arg2
= static_cast< int >(val2
);
15473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15474 if (!SWIG_IsOK(ecode3
)) {
15475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15477 arg3
= static_cast< int >(val3
);
15478 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15479 if (!SWIG_IsOK(ecode4
)) {
15480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15482 arg4
= static_cast< int >(val4
);
15483 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15484 if (!SWIG_IsOK(ecode5
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15487 arg5
= static_cast< int >(val5
);
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= SWIG_Py_Void();
15501 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
= 0;
15503 wxDC
*arg1
= (wxDC
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 char * kwnames
[] = {
15511 (char *) "self",(char *) "rect", NULL
15514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15516 if (!SWIG_IsOK(res1
)) {
15517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15522 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 resultobj
= SWIG_Py_Void();
15537 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
= 0;
15539 wxDC
*arg1
= (wxDC
*) 0 ;
15540 wxPoint
*arg2
= 0 ;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 PyObject
* obj2
= 0 ;
15549 char * kwnames
[] = {
15550 (char *) "self",(char *) "pt",(char *) "sz", NULL
15553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15555 if (!SWIG_IsOK(res1
)) {
15556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15565 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= SWIG_Py_Void();
15580 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
= 0;
15582 wxDC
*arg1
= (wxDC
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 PyObject
* obj2
= 0 ;
15603 PyObject
* obj3
= 0 ;
15604 PyObject
* obj4
= 0 ;
15605 PyObject
* obj5
= 0 ;
15606 char * kwnames
[] = {
15607 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15612 if (!SWIG_IsOK(res1
)) {
15613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15617 if (!SWIG_IsOK(ecode2
)) {
15618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15620 arg2
= static_cast< int >(val2
);
15621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15622 if (!SWIG_IsOK(ecode3
)) {
15623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15625 arg3
= static_cast< int >(val3
);
15626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15627 if (!SWIG_IsOK(ecode4
)) {
15628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15630 arg4
= static_cast< int >(val4
);
15631 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15632 if (!SWIG_IsOK(ecode5
)) {
15633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15635 arg5
= static_cast< int >(val5
);
15636 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15637 if (!SWIG_IsOK(ecode6
)) {
15638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15640 arg6
= static_cast< double >(val6
);
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= SWIG_Py_Void();
15654 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
= 0;
15656 wxDC
*arg1
= (wxDC
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 PyObject
* obj1
= 0 ;
15666 PyObject
* obj2
= 0 ;
15667 char * kwnames
[] = {
15668 (char *) "self",(char *) "r",(char *) "radius", NULL
15671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15673 if (!SWIG_IsOK(res1
)) {
15674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15679 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15681 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15682 if (!SWIG_IsOK(ecode3
)) {
15683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15685 arg3
= static_cast< double >(val3
);
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15692 resultobj
= SWIG_Py_Void();
15699 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
= 0;
15701 wxDC
*arg1
= (wxDC
*) 0 ;
15702 wxPoint
*arg2
= 0 ;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 PyObject
* obj2
= 0 ;
15714 PyObject
* obj3
= 0 ;
15715 char * kwnames
[] = {
15716 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15731 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15733 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15734 if (!SWIG_IsOK(ecode4
)) {
15735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15737 arg4
= static_cast< double >(val4
);
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_Py_Void();
15751 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
= 0;
15753 wxDC
*arg1
= (wxDC
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 PyObject
* obj1
= 0 ;
15767 PyObject
* obj2
= 0 ;
15768 PyObject
* obj3
= 0 ;
15769 char * kwnames
[] = {
15770 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15775 if (!SWIG_IsOK(res1
)) {
15776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15780 if (!SWIG_IsOK(ecode2
)) {
15781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15783 arg2
= static_cast< int >(val2
);
15784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15785 if (!SWIG_IsOK(ecode3
)) {
15786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15788 arg3
= static_cast< int >(val3
);
15789 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15790 if (!SWIG_IsOK(ecode4
)) {
15791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15793 arg4
= static_cast< int >(val4
);
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_Py_Void();
15807 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
= 0;
15809 wxDC
*arg1
= (wxDC
*) 0 ;
15810 wxPoint
*arg2
= 0 ;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 PyObject
* obj2
= 0 ;
15820 char * kwnames
[] = {
15821 (char *) "self",(char *) "pt",(char *) "radius", NULL
15824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15826 if (!SWIG_IsOK(res1
)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15835 if (!SWIG_IsOK(ecode3
)) {
15836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15838 arg3
= static_cast< int >(val3
);
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 resultobj
= SWIG_Py_Void();
15852 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
= 0;
15854 wxDC
*arg1
= (wxDC
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 PyObject
* obj1
= 0 ;
15871 PyObject
* obj2
= 0 ;
15872 PyObject
* obj3
= 0 ;
15873 PyObject
* obj4
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15885 if (!SWIG_IsOK(ecode2
)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15888 arg2
= static_cast< int >(val2
);
15889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15890 if (!SWIG_IsOK(ecode3
)) {
15891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15893 arg3
= static_cast< int >(val3
);
15894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15895 if (!SWIG_IsOK(ecode4
)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15898 arg4
= static_cast< int >(val4
);
15899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15900 if (!SWIG_IsOK(ecode5
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15903 arg5
= static_cast< int >(val5
);
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_Py_Void();
15917 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
= 0;
15919 wxDC
*arg1
= (wxDC
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 char * kwnames
[] = {
15927 (char *) "self",(char *) "rect", NULL
15930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15932 if (!SWIG_IsOK(res1
)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15938 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= SWIG_Py_Void();
15953 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
= 0;
15955 wxDC
*arg1
= (wxDC
*) 0 ;
15956 wxPoint
*arg2
= 0 ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 PyObject
* obj2
= 0 ;
15965 char * kwnames
[] = {
15966 (char *) "self",(char *) "pt",(char *) "sz", NULL
15969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15971 if (!SWIG_IsOK(res1
)) {
15972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15981 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= SWIG_Py_Void();
15996 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
= 0;
15998 wxDC
*arg1
= (wxDC
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 PyObject
* obj2
= 0 ;
16013 PyObject
* obj3
= 0 ;
16014 char * kwnames
[] = {
16015 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16020 if (!SWIG_IsOK(res1
)) {
16021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16025 if (!SWIG_IsOK(res2
)) {
16026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16031 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16033 if (!SWIG_IsOK(ecode3
)) {
16034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16036 arg3
= static_cast< int >(val3
);
16037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16038 if (!SWIG_IsOK(ecode4
)) {
16039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16041 arg4
= static_cast< int >(val4
);
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= SWIG_Py_Void();
16055 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
= 0;
16057 wxDC
*arg1
= (wxDC
*) 0 ;
16059 wxPoint
*arg3
= 0 ;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 PyObject
* obj2
= 0 ;
16068 char * kwnames
[] = {
16069 (char *) "self",(char *) "icon",(char *) "pt", NULL
16072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16074 if (!SWIG_IsOK(res1
)) {
16075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16079 if (!SWIG_IsOK(res2
)) {
16080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16085 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= SWIG_Py_Void();
16103 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
= 0;
16105 wxDC
*arg1
= (wxDC
*) 0 ;
16106 wxBitmap
*arg2
= 0 ;
16109 bool arg5
= (bool) false ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 PyObject
* obj2
= 0 ;
16123 PyObject
* obj3
= 0 ;
16124 PyObject
* obj4
= 0 ;
16125 char * kwnames
[] = {
16126 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16131 if (!SWIG_IsOK(res1
)) {
16132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16134 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16136 if (!SWIG_IsOK(res2
)) {
16137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16142 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16144 if (!SWIG_IsOK(ecode3
)) {
16145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16147 arg3
= static_cast< int >(val3
);
16148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16149 if (!SWIG_IsOK(ecode4
)) {
16150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16152 arg4
= static_cast< int >(val4
);
16154 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16155 if (!SWIG_IsOK(ecode5
)) {
16156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16158 arg5
= static_cast< bool >(val5
);
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= SWIG_Py_Void();
16173 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
= 0;
16175 wxDC
*arg1
= (wxDC
*) 0 ;
16176 wxBitmap
*arg2
= 0 ;
16177 wxPoint
*arg3
= 0 ;
16178 bool arg4
= (bool) false ;
16186 PyObject
* obj0
= 0 ;
16187 PyObject
* obj1
= 0 ;
16188 PyObject
* obj2
= 0 ;
16189 PyObject
* obj3
= 0 ;
16190 char * kwnames
[] = {
16191 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16196 if (!SWIG_IsOK(res1
)) {
16197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16201 if (!SWIG_IsOK(res2
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16207 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16210 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16213 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16214 if (!SWIG_IsOK(ecode4
)) {
16215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16217 arg4
= static_cast< bool >(val4
);
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= SWIG_Py_Void();
16232 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
= 0;
16234 wxDC
*arg1
= (wxDC
*) 0 ;
16235 wxString
*arg2
= 0 ;
16240 bool temp2
= false ;
16245 PyObject
* obj0
= 0 ;
16246 PyObject
* obj1
= 0 ;
16247 PyObject
* obj2
= 0 ;
16248 PyObject
* obj3
= 0 ;
16249 char * kwnames
[] = {
16250 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16255 if (!SWIG_IsOK(res1
)) {
16256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16260 arg2
= wxString_in_helper(obj1
);
16261 if (arg2
== NULL
) SWIG_fail
;
16264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16265 if (!SWIG_IsOK(ecode3
)) {
16266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16268 arg3
= static_cast< int >(val3
);
16269 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16270 if (!SWIG_IsOK(ecode4
)) {
16271 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16273 arg4
= static_cast< int >(val4
);
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= SWIG_Py_Void();
16295 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
= 0;
16297 wxDC
*arg1
= (wxDC
*) 0 ;
16298 wxString
*arg2
= 0 ;
16299 wxPoint
*arg3
= 0 ;
16302 bool temp2
= false ;
16304 PyObject
* obj0
= 0 ;
16305 PyObject
* obj1
= 0 ;
16306 PyObject
* obj2
= 0 ;
16307 char * kwnames
[] = {
16308 (char *) "self",(char *) "text",(char *) "pt", NULL
16311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16313 if (!SWIG_IsOK(res1
)) {
16314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16318 arg2
= wxString_in_helper(obj1
);
16319 if (arg2
== NULL
) SWIG_fail
;
16324 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= SWIG_Py_Void();
16347 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
= 0;
16349 wxDC
*arg1
= (wxDC
*) 0 ;
16350 wxString
*arg2
= 0 ;
16356 bool temp2
= false ;
16363 PyObject
* obj0
= 0 ;
16364 PyObject
* obj1
= 0 ;
16365 PyObject
* obj2
= 0 ;
16366 PyObject
* obj3
= 0 ;
16367 PyObject
* obj4
= 0 ;
16368 char * kwnames
[] = {
16369 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16374 if (!SWIG_IsOK(res1
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16379 arg2
= wxString_in_helper(obj1
);
16380 if (arg2
== NULL
) SWIG_fail
;
16383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16384 if (!SWIG_IsOK(ecode3
)) {
16385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16387 arg3
= static_cast< int >(val3
);
16388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16389 if (!SWIG_IsOK(ecode4
)) {
16390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16392 arg4
= static_cast< int >(val4
);
16393 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16394 if (!SWIG_IsOK(ecode5
)) {
16395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16397 arg5
= static_cast< double >(val5
);
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= SWIG_Py_Void();
16419 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
= 0;
16421 wxDC
*arg1
= (wxDC
*) 0 ;
16422 wxString
*arg2
= 0 ;
16423 wxPoint
*arg3
= 0 ;
16427 bool temp2
= false ;
16431 PyObject
* obj0
= 0 ;
16432 PyObject
* obj1
= 0 ;
16433 PyObject
* obj2
= 0 ;
16434 PyObject
* obj3
= 0 ;
16435 char * kwnames
[] = {
16436 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16441 if (!SWIG_IsOK(res1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16446 arg2
= wxString_in_helper(obj1
);
16447 if (arg2
== NULL
) SWIG_fail
;
16452 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16454 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16455 if (!SWIG_IsOK(ecode4
)) {
16456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16458 arg4
= static_cast< double >(val4
);
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= SWIG_Py_Void();
16480 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
= 0;
16482 wxDC
*arg1
= (wxDC
*) 0 ;
16487 wxDC
*arg6
= (wxDC
*) 0 ;
16490 int arg9
= (int) wxCOPY
;
16491 bool arg10
= (bool) false ;
16492 int arg11
= (int) -1 ;
16493 int arg12
= (int) -1 ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 PyObject
* obj2
= 0 ;
16522 PyObject
* obj3
= 0 ;
16523 PyObject
* obj4
= 0 ;
16524 PyObject
* obj5
= 0 ;
16525 PyObject
* obj6
= 0 ;
16526 PyObject
* obj7
= 0 ;
16527 PyObject
* obj8
= 0 ;
16528 PyObject
* obj9
= 0 ;
16529 PyObject
* obj10
= 0 ;
16530 PyObject
* obj11
= 0 ;
16531 char * kwnames
[] = {
16532 (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
16535 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
;
16536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16537 if (!SWIG_IsOK(res1
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16542 if (!SWIG_IsOK(ecode2
)) {
16543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16545 arg2
= static_cast< int >(val2
);
16546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16547 if (!SWIG_IsOK(ecode3
)) {
16548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16550 arg3
= static_cast< int >(val3
);
16551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16552 if (!SWIG_IsOK(ecode4
)) {
16553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16555 arg4
= static_cast< int >(val4
);
16556 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16557 if (!SWIG_IsOK(ecode5
)) {
16558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16560 arg5
= static_cast< int >(val5
);
16561 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16562 if (!SWIG_IsOK(res6
)) {
16563 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16565 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16566 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16567 if (!SWIG_IsOK(ecode7
)) {
16568 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16570 arg7
= static_cast< int >(val7
);
16571 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16572 if (!SWIG_IsOK(ecode8
)) {
16573 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16575 arg8
= static_cast< int >(val8
);
16577 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16578 if (!SWIG_IsOK(ecode9
)) {
16579 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16581 arg9
= static_cast< int >(val9
);
16584 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16585 if (!SWIG_IsOK(ecode10
)) {
16586 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16588 arg10
= static_cast< bool >(val10
);
16591 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16592 if (!SWIG_IsOK(ecode11
)) {
16593 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16595 arg11
= static_cast< int >(val11
);
16598 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16599 if (!SWIG_IsOK(ecode12
)) {
16600 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16602 arg12
= static_cast< int >(val12
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16619 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
= 0;
16621 wxDC
*arg1
= (wxDC
*) 0 ;
16622 wxPoint
*arg2
= 0 ;
16624 wxDC
*arg4
= (wxDC
*) 0 ;
16625 wxPoint
*arg5
= 0 ;
16626 int arg6
= (int) wxCOPY
;
16627 bool arg7
= (bool) false ;
16628 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16629 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16643 PyObject
* obj0
= 0 ;
16644 PyObject
* obj1
= 0 ;
16645 PyObject
* obj2
= 0 ;
16646 PyObject
* obj3
= 0 ;
16647 PyObject
* obj4
= 0 ;
16648 PyObject
* obj5
= 0 ;
16649 PyObject
* obj6
= 0 ;
16650 PyObject
* obj7
= 0 ;
16651 char * kwnames
[] = {
16652 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16657 if (!SWIG_IsOK(res1
)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16663 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16667 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16669 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16670 if (!SWIG_IsOK(res4
)) {
16671 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16673 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16676 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16679 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16680 if (!SWIG_IsOK(ecode6
)) {
16681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16683 arg6
= static_cast< int >(val6
);
16686 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16687 if (!SWIG_IsOK(ecode7
)) {
16688 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16690 arg7
= static_cast< bool >(val7
);
16695 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16713 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
= 0;
16715 wxDC
*arg1
= (wxDC
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 PyObject
* obj2
= 0 ;
16733 PyObject
* obj3
= 0 ;
16734 PyObject
* obj4
= 0 ;
16735 char * kwnames
[] = {
16736 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16741 if (!SWIG_IsOK(res1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16746 if (!SWIG_IsOK(ecode2
)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16749 arg2
= static_cast< int >(val2
);
16750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16751 if (!SWIG_IsOK(ecode3
)) {
16752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16754 arg3
= static_cast< int >(val3
);
16755 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16756 if (!SWIG_IsOK(ecode4
)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16759 arg4
= static_cast< int >(val4
);
16760 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16761 if (!SWIG_IsOK(ecode5
)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16764 arg5
= static_cast< int >(val5
);
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= SWIG_Py_Void();
16778 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
= 0;
16780 wxDC
*arg1
= (wxDC
*) 0 ;
16781 wxPoint
*arg2
= 0 ;
16787 PyObject
* obj0
= 0 ;
16788 PyObject
* obj1
= 0 ;
16789 PyObject
* obj2
= 0 ;
16790 char * kwnames
[] = {
16791 (char *) "self",(char *) "pt",(char *) "sz", NULL
16794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16806 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= SWIG_Py_Void();
16821 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
= 0;
16823 wxDC
*arg1
= (wxDC
*) 0 ;
16824 wxRegion
*arg2
= 0 ;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char * kwnames
[] = {
16832 (char *) "self",(char *) "region", NULL
16835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16837 if (!SWIG_IsOK(res1
)) {
16838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16842 if (!SWIG_IsOK(res2
)) {
16843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16848 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_Py_Void();
16862 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
= 0;
16864 wxDC
*arg1
= (wxDC
*) 0 ;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char * kwnames
[] = {
16872 (char *) "self",(char *) "rect", NULL
16875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16877 if (!SWIG_IsOK(res1
)) {
16878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16883 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= SWIG_Py_Void();
16898 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
= 0;
16900 wxDC
*arg1
= (wxDC
*) 0 ;
16902 wxPoint
*arg3
= (wxPoint
*) 0 ;
16903 int arg4
= (int) 0 ;
16904 int arg5
= (int) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 PyObject
* obj2
= 0 ;
16914 PyObject
* obj3
= 0 ;
16915 char * kwnames
[] = {
16916 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16921 if (!SWIG_IsOK(res1
)) {
16922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16926 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16927 if (arg3
== NULL
) SWIG_fail
;
16930 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16931 if (!SWIG_IsOK(ecode4
)) {
16932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16934 arg4
= static_cast< int >(val4
);
16937 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16938 if (!SWIG_IsOK(ecode5
)) {
16939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16941 arg5
= static_cast< int >(val5
);
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= SWIG_Py_Void();
16951 if (arg3
) delete [] arg3
;
16956 if (arg3
) delete [] arg3
;
16962 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
= 0;
16964 wxDC
*arg1
= (wxDC
*) 0 ;
16966 wxPoint
*arg3
= (wxPoint
*) 0 ;
16967 int arg4
= (int) 0 ;
16968 int arg5
= (int) 0 ;
16969 int arg6
= (int) wxODDEVEN_RULE
;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 PyObject
* obj2
= 0 ;
16981 PyObject
* obj3
= 0 ;
16982 PyObject
* obj4
= 0 ;
16983 char * kwnames
[] = {
16984 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
16987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16989 if (!SWIG_IsOK(res1
)) {
16990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
16992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16994 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16995 if (arg3
== NULL
) SWIG_fail
;
16998 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16999 if (!SWIG_IsOK(ecode4
)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17002 arg4
= static_cast< int >(val4
);
17005 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17006 if (!SWIG_IsOK(ecode5
)) {
17007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17009 arg5
= static_cast< int >(val5
);
17012 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17013 if (!SWIG_IsOK(ecode6
)) {
17014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17016 arg6
= static_cast< int >(val6
);
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_Py_Void();
17026 if (arg3
) delete [] arg3
;
17031 if (arg3
) delete [] arg3
;
17037 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
= 0;
17039 wxDC
*arg1
= (wxDC
*) 0 ;
17040 wxString
*arg2
= 0 ;
17042 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17043 int arg5
= (int) -1 ;
17046 bool temp2
= false ;
17052 PyObject
* obj0
= 0 ;
17053 PyObject
* obj1
= 0 ;
17054 PyObject
* obj2
= 0 ;
17055 PyObject
* obj3
= 0 ;
17056 PyObject
* obj4
= 0 ;
17057 char * kwnames
[] = {
17058 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17063 if (!SWIG_IsOK(res1
)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17068 arg2
= wxString_in_helper(obj1
);
17069 if (arg2
== NULL
) SWIG_fail
;
17074 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17078 if (!SWIG_IsOK(ecode4
)) {
17079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17081 arg4
= static_cast< int >(val4
);
17084 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17085 if (!SWIG_IsOK(ecode5
)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17088 arg5
= static_cast< int >(val5
);
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_Py_Void();
17111 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
= 0;
17113 wxDC
*arg1
= (wxDC
*) 0 ;
17114 wxString
*arg2
= 0 ;
17115 wxBitmap
*arg3
= 0 ;
17117 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17118 int arg6
= (int) -1 ;
17122 bool temp2
= false ;
17130 PyObject
* obj0
= 0 ;
17131 PyObject
* obj1
= 0 ;
17132 PyObject
* obj2
= 0 ;
17133 PyObject
* obj3
= 0 ;
17134 PyObject
* obj4
= 0 ;
17135 PyObject
* obj5
= 0 ;
17136 char * kwnames
[] = {
17137 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17142 if (!SWIG_IsOK(res1
)) {
17143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17147 arg2
= wxString_in_helper(obj1
);
17148 if (arg2
== NULL
) SWIG_fail
;
17151 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17152 if (!SWIG_IsOK(res3
)) {
17153 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17158 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17161 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17164 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17165 if (!SWIG_IsOK(ecode5
)) {
17166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17168 arg5
= static_cast< int >(val5
);
17171 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17172 if (!SWIG_IsOK(ecode6
)) {
17173 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17175 arg6
= static_cast< int >(val6
);
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17198 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
= 0;
17200 wxDC
*arg1
= (wxDC
*) 0 ;
17202 wxPoint
*arg3
= (wxPoint
*) 0 ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 char * kwnames
[] = {
17208 (char *) "self",(char *) "points", NULL
17211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17213 if (!SWIG_IsOK(res1
)) {
17214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17218 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17219 if (arg3
== NULL
) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 (arg1
)->DrawSpline(arg2
,arg3
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= SWIG_Py_Void();
17229 if (arg3
) delete [] arg3
;
17234 if (arg3
) delete [] arg3
;
17240 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17241 PyObject
*resultobj
= 0;
17242 wxDC
*arg1
= (wxDC
*) 0 ;
17245 PyObject
*swig_obj
[1] ;
17247 if (!args
) SWIG_fail
;
17248 swig_obj
[0] = args
;
17249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17250 if (!SWIG_IsOK(res1
)) {
17251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= SWIG_Py_Void();
17267 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
= 0;
17269 wxDC
*arg1
= (wxDC
*) 0 ;
17270 wxString
*arg2
= 0 ;
17274 bool temp2
= false ;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 char * kwnames
[] = {
17278 (char *) "self",(char *) "message", NULL
17281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17283 if (!SWIG_IsOK(res1
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17288 arg2
= wxString_in_helper(obj1
);
17289 if (arg2
== NULL
) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17315 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 PyObject
*resultobj
= 0;
17317 wxDC
*arg1
= (wxDC
*) 0 ;
17320 PyObject
*swig_obj
[1] ;
17322 if (!args
) SWIG_fail
;
17323 swig_obj
[0] = args
;
17324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17325 if (!SWIG_IsOK(res1
)) {
17326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17328 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= SWIG_Py_Void();
17342 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17343 PyObject
*resultobj
= 0;
17344 wxDC
*arg1
= (wxDC
*) 0 ;
17347 PyObject
*swig_obj
[1] ;
17349 if (!args
) SWIG_fail
;
17350 swig_obj
[0] = args
;
17351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17352 if (!SWIG_IsOK(res1
)) {
17353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 (arg1
)->StartPage();
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= SWIG_Py_Void();
17369 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17370 PyObject
*resultobj
= 0;
17371 wxDC
*arg1
= (wxDC
*) 0 ;
17374 PyObject
*swig_obj
[1] ;
17376 if (!args
) SWIG_fail
;
17377 swig_obj
[0] = args
;
17378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= SWIG_Py_Void();
17396 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
= 0;
17398 wxDC
*arg1
= (wxDC
*) 0 ;
17404 PyObject
* obj0
= 0 ;
17405 PyObject
* obj1
= 0 ;
17406 char * kwnames
[] = {
17407 (char *) "self",(char *) "font", NULL
17410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17412 if (!SWIG_IsOK(res1
)) {
17413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17417 if (!SWIG_IsOK(res2
)) {
17418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17423 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 (arg1
)->SetFont((wxFont
const &)*arg2
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= SWIG_Py_Void();
17437 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
= 0;
17439 wxDC
*arg1
= (wxDC
*) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 char * kwnames
[] = {
17448 (char *) "self",(char *) "pen", NULL
17451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17453 if (!SWIG_IsOK(res1
)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17458 if (!SWIG_IsOK(res2
)) {
17459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17464 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->SetPen((wxPen
const &)*arg2
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_Py_Void();
17478 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
= 0;
17480 wxDC
*arg1
= (wxDC
*) 0 ;
17481 wxBrush
*arg2
= 0 ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char * kwnames
[] = {
17489 (char *) "self",(char *) "brush", NULL
17492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17494 if (!SWIG_IsOK(res1
)) {
17495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17499 if (!SWIG_IsOK(res2
)) {
17500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17505 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= SWIG_Py_Void();
17519 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
= 0;
17521 wxDC
*arg1
= (wxDC
*) 0 ;
17522 wxBrush
*arg2
= 0 ;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 char * kwnames
[] = {
17530 (char *) "self",(char *) "brush", NULL
17533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17535 if (!SWIG_IsOK(res1
)) {
17536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17540 if (!SWIG_IsOK(res2
)) {
17541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17546 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_Py_Void();
17560 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
= 0;
17562 wxDC
*arg1
= (wxDC
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char * kwnames
[] = {
17571 (char *) "self",(char *) "mode", NULL
17574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17576 if (!SWIG_IsOK(res1
)) {
17577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17581 if (!SWIG_IsOK(ecode2
)) {
17582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17584 arg2
= static_cast< int >(val2
);
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 (arg1
)->SetBackgroundMode(arg2
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= SWIG_Py_Void();
17598 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
= 0;
17600 wxDC
*arg1
= (wxDC
*) 0 ;
17601 wxPalette
*arg2
= 0 ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "self",(char *) "palette", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17619 if (!SWIG_IsOK(res2
)) {
17620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17625 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= SWIG_Py_Void();
17639 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17640 PyObject
*resultobj
= 0;
17641 wxDC
*arg1
= (wxDC
*) 0 ;
17644 PyObject
*swig_obj
[1] ;
17646 if (!args
) SWIG_fail
;
17647 swig_obj
[0] = args
;
17648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17649 if (!SWIG_IsOK(res1
)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 (arg1
)->DestroyClippingRegion();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_Py_Void();
17666 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17667 PyObject
*resultobj
= 0;
17668 wxDC
*arg1
= (wxDC
*) 0 ;
17669 int *arg2
= (int *) 0 ;
17670 int *arg3
= (int *) 0 ;
17671 int *arg4
= (int *) 0 ;
17672 int *arg5
= (int *) 0 ;
17676 int res2
= SWIG_TMPOBJ
;
17678 int res3
= SWIG_TMPOBJ
;
17680 int res4
= SWIG_TMPOBJ
;
17682 int res5
= SWIG_TMPOBJ
;
17683 PyObject
*swig_obj
[1] ;
17689 if (!args
) SWIG_fail
;
17690 swig_obj
[0] = args
;
17691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17692 if (!SWIG_IsOK(res1
)) {
17693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= SWIG_Py_Void();
17703 if (SWIG_IsTmpObj(res2
)) {
17704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17706 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17709 if (SWIG_IsTmpObj(res3
)) {
17710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17712 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17715 if (SWIG_IsTmpObj(res4
)) {
17716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17718 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17721 if (SWIG_IsTmpObj(res5
)) {
17722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17724 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17733 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17734 PyObject
*resultobj
= 0;
17735 wxDC
*arg1
= (wxDC
*) 0 ;
17739 PyObject
*swig_obj
[1] ;
17741 if (!args
) SWIG_fail
;
17742 swig_obj
[0] = args
;
17743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17744 if (!SWIG_IsOK(res1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= wxDC_GetClippingRect(arg1
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17761 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17762 PyObject
*resultobj
= 0;
17763 wxDC
*arg1
= (wxDC
*) 0 ;
17767 PyObject
*swig_obj
[1] ;
17769 if (!args
) SWIG_fail
;
17770 swig_obj
[0] = args
;
17771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17772 if (!SWIG_IsOK(res1
)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= SWIG_From_int(static_cast< int >(result
));
17789 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17790 PyObject
*resultobj
= 0;
17791 wxDC
*arg1
= (wxDC
*) 0 ;
17795 PyObject
*swig_obj
[1] ;
17797 if (!args
) SWIG_fail
;
17798 swig_obj
[0] = args
;
17799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17800 if (!SWIG_IsOK(res1
)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= SWIG_From_int(static_cast< int >(result
));
17817 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
= 0;
17819 wxDC
*arg1
= (wxDC
*) 0 ;
17820 wxString
*arg2
= 0 ;
17821 int *arg3
= (int *) 0 ;
17822 int *arg4
= (int *) 0 ;
17825 bool temp2
= false ;
17827 int res3
= SWIG_TMPOBJ
;
17829 int res4
= SWIG_TMPOBJ
;
17830 PyObject
* obj0
= 0 ;
17831 PyObject
* obj1
= 0 ;
17832 char * kwnames
[] = {
17833 (char *) "self",(char *) "string", NULL
17838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17840 if (!SWIG_IsOK(res1
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17845 arg2
= wxString_in_helper(obj1
);
17846 if (arg2
== NULL
) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_Py_Void();
17856 if (SWIG_IsTmpObj(res3
)) {
17857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17859 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17862 if (SWIG_IsTmpObj(res4
)) {
17863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17865 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17882 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
= 0;
17884 wxDC
*arg1
= (wxDC
*) 0 ;
17885 wxString
*arg2
= 0 ;
17886 int *arg3
= (int *) 0 ;
17887 int *arg4
= (int *) 0 ;
17888 int *arg5
= (int *) 0 ;
17889 int *arg6
= (int *) 0 ;
17890 wxFont
*arg7
= (wxFont
*) NULL
;
17893 bool temp2
= false ;
17895 int res3
= SWIG_TMPOBJ
;
17897 int res4
= SWIG_TMPOBJ
;
17899 int res5
= SWIG_TMPOBJ
;
17901 int res6
= SWIG_TMPOBJ
;
17904 PyObject
* obj0
= 0 ;
17905 PyObject
* obj1
= 0 ;
17906 PyObject
* obj2
= 0 ;
17907 char * kwnames
[] = {
17908 (char *) "self",(char *) "string",(char *) "font", NULL
17915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17917 if (!SWIG_IsOK(res1
)) {
17918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17920 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17922 arg2
= wxString_in_helper(obj1
);
17923 if (arg2
== NULL
) SWIG_fail
;
17927 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17928 if (!SWIG_IsOK(res7
)) {
17929 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17931 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_Py_Void();
17940 if (SWIG_IsTmpObj(res3
)) {
17941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17943 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17946 if (SWIG_IsTmpObj(res4
)) {
17947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17949 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17952 if (SWIG_IsTmpObj(res5
)) {
17953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17955 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17958 if (SWIG_IsTmpObj(res6
)) {
17959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
17961 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
17978 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
= 0;
17980 wxDC
*arg1
= (wxDC
*) 0 ;
17981 wxString
*arg2
= 0 ;
17982 int *arg3
= (int *) 0 ;
17983 int *arg4
= (int *) 0 ;
17984 int *arg5
= (int *) 0 ;
17985 wxFont
*arg6
= (wxFont
*) NULL
;
17988 bool temp2
= false ;
17990 int res3
= SWIG_TMPOBJ
;
17992 int res4
= SWIG_TMPOBJ
;
17994 int res5
= SWIG_TMPOBJ
;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 PyObject
* obj2
= 0 ;
18000 char * kwnames
[] = {
18001 (char *) "self",(char *) "text",(char *) "font", NULL
18007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18014 arg2
= wxString_in_helper(obj1
);
18015 if (arg2
== NULL
) SWIG_fail
;
18019 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18020 if (!SWIG_IsOK(res6
)) {
18021 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18023 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= SWIG_Py_Void();
18032 if (SWIG_IsTmpObj(res3
)) {
18033 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18035 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18038 if (SWIG_IsTmpObj(res4
)) {
18039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18041 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18044 if (SWIG_IsTmpObj(res5
)) {
18045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18047 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18064 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
= 0;
18066 wxDC
*arg1
= (wxDC
*) 0 ;
18067 wxString
*arg2
= 0 ;
18071 bool temp2
= false ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char * kwnames
[] = {
18075 (char *) "self",(char *) "text", NULL
18078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18080 if (!SWIG_IsOK(res1
)) {
18081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18085 arg2
= wxString_in_helper(obj1
);
18086 if (arg2
== NULL
) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= PyList_New(0);
18098 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18099 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18100 PyList_Append(resultobj
, val
);
18118 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18119 PyObject
*resultobj
= 0;
18120 wxDC
*arg1
= (wxDC
*) 0 ;
18124 PyObject
*swig_obj
[1] ;
18126 if (!args
) SWIG_fail
;
18127 swig_obj
[0] = args
;
18128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18129 if (!SWIG_IsOK(res1
)) {
18130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= (arg1
)->GetSize();
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18146 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18147 PyObject
*resultobj
= 0;
18148 wxDC
*arg1
= (wxDC
*) 0 ;
18149 int *arg2
= (int *) 0 ;
18150 int *arg3
= (int *) 0 ;
18154 int res2
= SWIG_TMPOBJ
;
18156 int res3
= SWIG_TMPOBJ
;
18157 PyObject
*swig_obj
[1] ;
18161 if (!args
) SWIG_fail
;
18162 swig_obj
[0] = args
;
18163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18164 if (!SWIG_IsOK(res1
)) {
18165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->GetSize(arg2
,arg3
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= SWIG_Py_Void();
18175 if (SWIG_IsTmpObj(res2
)) {
18176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18178 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18181 if (SWIG_IsTmpObj(res3
)) {
18182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18184 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18193 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18194 PyObject
*resultobj
= 0;
18195 wxDC
*arg1
= (wxDC
*) 0 ;
18199 PyObject
*swig_obj
[1] ;
18201 if (!args
) SWIG_fail
;
18202 swig_obj
[0] = args
;
18203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18204 if (!SWIG_IsOK(res1
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18221 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18222 PyObject
*resultobj
= 0;
18223 wxDC
*arg1
= (wxDC
*) 0 ;
18224 int *arg2
= (int *) 0 ;
18225 int *arg3
= (int *) 0 ;
18229 int res2
= SWIG_TMPOBJ
;
18231 int res3
= SWIG_TMPOBJ
;
18232 PyObject
*swig_obj
[1] ;
18236 if (!args
) SWIG_fail
;
18237 swig_obj
[0] = args
;
18238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18239 if (!SWIG_IsOK(res1
)) {
18240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_Py_Void();
18250 if (SWIG_IsTmpObj(res2
)) {
18251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18253 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18256 if (SWIG_IsTmpObj(res3
)) {
18257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18259 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18268 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
= 0;
18270 wxDC
*arg1
= (wxDC
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 char * kwnames
[] = {
18280 (char *) "self",(char *) "x", NULL
18283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18285 if (!SWIG_IsOK(res1
)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18290 if (!SWIG_IsOK(ecode2
)) {
18291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18293 arg2
= static_cast< int >(val2
);
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_From_int(static_cast< int >(result
));
18307 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
= 0;
18309 wxDC
*arg1
= (wxDC
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char * kwnames
[] = {
18319 (char *) "self",(char *) "y", NULL
18322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18324 if (!SWIG_IsOK(res1
)) {
18325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18329 if (!SWIG_IsOK(ecode2
)) {
18330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18332 arg2
= static_cast< int >(val2
);
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_From_int(static_cast< int >(result
));
18346 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
= 0;
18348 wxDC
*arg1
= (wxDC
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 char * kwnames
[] = {
18358 (char *) "self",(char *) "x", NULL
18361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18363 if (!SWIG_IsOK(res1
)) {
18364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18368 if (!SWIG_IsOK(ecode2
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18371 arg2
= static_cast< int >(val2
);
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= SWIG_From_int(static_cast< int >(result
));
18385 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
= 0;
18387 wxDC
*arg1
= (wxDC
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 char * kwnames
[] = {
18397 (char *) "self",(char *) "y", NULL
18400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18402 if (!SWIG_IsOK(res1
)) {
18403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18407 if (!SWIG_IsOK(ecode2
)) {
18408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18410 arg2
= static_cast< int >(val2
);
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_From_int(static_cast< int >(result
));
18424 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
= 0;
18426 wxDC
*arg1
= (wxDC
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 PyObject
* obj1
= 0 ;
18435 char * kwnames
[] = {
18436 (char *) "self",(char *) "x", NULL
18439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18441 if (!SWIG_IsOK(res1
)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18446 if (!SWIG_IsOK(ecode2
)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18449 arg2
= static_cast< int >(val2
);
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 resultobj
= SWIG_From_int(static_cast< int >(result
));
18463 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
= 0;
18465 wxDC
*arg1
= (wxDC
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 char * kwnames
[] = {
18475 (char *) "self",(char *) "y", NULL
18478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18480 if (!SWIG_IsOK(res1
)) {
18481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18485 if (!SWIG_IsOK(ecode2
)) {
18486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18488 arg2
= static_cast< int >(val2
);
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_From_int(static_cast< int >(result
));
18502 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
= 0;
18504 wxDC
*arg1
= (wxDC
*) 0 ;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 char * kwnames
[] = {
18514 (char *) "self",(char *) "x", NULL
18517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18519 if (!SWIG_IsOK(res1
)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18524 if (!SWIG_IsOK(ecode2
)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18527 arg2
= static_cast< int >(val2
);
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 resultobj
= SWIG_From_int(static_cast< int >(result
));
18541 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
= 0;
18543 wxDC
*arg1
= (wxDC
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char * kwnames
[] = {
18553 (char *) "self",(char *) "y", NULL
18556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18558 if (!SWIG_IsOK(res1
)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18563 if (!SWIG_IsOK(ecode2
)) {
18564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18566 arg2
= static_cast< int >(val2
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_From_int(static_cast< int >(result
));
18580 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18581 PyObject
*resultobj
= 0;
18582 wxDC
*arg1
= (wxDC
*) 0 ;
18586 PyObject
*swig_obj
[1] ;
18588 if (!args
) SWIG_fail
;
18589 swig_obj
[0] = args
;
18590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18591 if (!SWIG_IsOK(res1
)) {
18592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18610 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18611 PyObject
*resultobj
= 0;
18612 wxDC
*arg1
= (wxDC
*) 0 ;
18616 PyObject
*swig_obj
[1] ;
18618 if (!args
) SWIG_fail
;
18619 swig_obj
[0] = args
;
18620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18640 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18641 PyObject
*resultobj
= 0;
18642 wxDC
*arg1
= (wxDC
*) 0 ;
18646 PyObject
*swig_obj
[1] ;
18648 if (!args
) SWIG_fail
;
18649 swig_obj
[0] = args
;
18650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_From_int(static_cast< int >(result
));
18668 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18669 PyObject
*resultobj
= 0;
18670 wxDC
*arg1
= (wxDC
*) 0 ;
18674 PyObject
*swig_obj
[1] ;
18676 if (!args
) SWIG_fail
;
18677 swig_obj
[0] = args
;
18678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18679 if (!SWIG_IsOK(res1
)) {
18680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= ((wxDC
const *)arg1
)->GetPPI();
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18696 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18697 PyObject
*resultobj
= 0;
18698 wxDC
*arg1
= (wxDC
*) 0 ;
18702 PyObject
*swig_obj
[1] ;
18704 if (!args
) SWIG_fail
;
18705 swig_obj
[0] = args
;
18706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18707 if (!SWIG_IsOK(res1
)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= (bool)((wxDC
const *)arg1
)->Ok();
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18726 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18727 PyObject
*resultobj
= 0;
18728 wxDC
*arg1
= (wxDC
*) 0 ;
18732 PyObject
*swig_obj
[1] ;
18734 if (!args
) SWIG_fail
;
18735 swig_obj
[0] = args
;
18736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18737 if (!SWIG_IsOK(res1
)) {
18738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 resultobj
= SWIG_From_int(static_cast< int >(result
));
18754 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18755 PyObject
*resultobj
= 0;
18756 wxDC
*arg1
= (wxDC
*) 0 ;
18757 wxBrush
*result
= 0 ;
18760 PyObject
*swig_obj
[1] ;
18762 if (!args
) SWIG_fail
;
18763 swig_obj
[0] = args
;
18764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18765 if (!SWIG_IsOK(res1
)) {
18766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18773 result
= (wxBrush
*) &_result_ref
;
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 wxBrush
* resultptr
= new wxBrush(*result
);
18780 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18788 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18789 PyObject
*resultobj
= 0;
18790 wxDC
*arg1
= (wxDC
*) 0 ;
18791 wxBrush
*result
= 0 ;
18794 PyObject
*swig_obj
[1] ;
18796 if (!args
) SWIG_fail
;
18797 swig_obj
[0] = args
;
18798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18799 if (!SWIG_IsOK(res1
)) {
18800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18807 result
= (wxBrush
*) &_result_ref
;
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 wxBrush
* resultptr
= new wxBrush(*result
);
18814 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18822 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18823 PyObject
*resultobj
= 0;
18824 wxDC
*arg1
= (wxDC
*) 0 ;
18825 wxFont
*result
= 0 ;
18828 PyObject
*swig_obj
[1] ;
18830 if (!args
) SWIG_fail
;
18831 swig_obj
[0] = args
;
18832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18833 if (!SWIG_IsOK(res1
)) {
18834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18841 result
= (wxFont
*) &_result_ref
;
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18847 wxFont
* resultptr
= new wxFont(*result
);
18848 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18856 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18857 PyObject
*resultobj
= 0;
18858 wxDC
*arg1
= (wxDC
*) 0 ;
18859 wxPen
*result
= 0 ;
18862 PyObject
*swig_obj
[1] ;
18864 if (!args
) SWIG_fail
;
18865 swig_obj
[0] = args
;
18866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18867 if (!SWIG_IsOK(res1
)) {
18868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18875 result
= (wxPen
*) &_result_ref
;
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18881 wxPen
* resultptr
= new wxPen(*result
);
18882 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18890 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18891 PyObject
*resultobj
= 0;
18892 wxDC
*arg1
= (wxDC
*) 0 ;
18893 wxColour
*result
= 0 ;
18896 PyObject
*swig_obj
[1] ;
18898 if (!args
) SWIG_fail
;
18899 swig_obj
[0] = args
;
18900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18901 if (!SWIG_IsOK(res1
)) {
18902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18909 result
= (wxColour
*) &_result_ref
;
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18921 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18922 PyObject
*resultobj
= 0;
18923 wxDC
*arg1
= (wxDC
*) 0 ;
18924 wxColour
*result
= 0 ;
18927 PyObject
*swig_obj
[1] ;
18929 if (!args
) SWIG_fail
;
18930 swig_obj
[0] = args
;
18931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18940 result
= (wxColour
*) &_result_ref
;
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18952 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
= 0;
18954 wxDC
*arg1
= (wxDC
*) 0 ;
18955 wxColour
*arg2
= 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char * kwnames
[] = {
18962 (char *) "self",(char *) "colour", NULL
18965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18967 if (!SWIG_IsOK(res1
)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
18970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18973 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 resultobj
= SWIG_Py_Void();
18988 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
= 0;
18990 wxDC
*arg1
= (wxDC
*) 0 ;
18991 wxColour
*arg2
= 0 ;
18995 PyObject
* obj0
= 0 ;
18996 PyObject
* obj1
= 0 ;
18997 char * kwnames
[] = {
18998 (char *) "self",(char *) "colour", NULL
19001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19003 if (!SWIG_IsOK(res1
)) {
19004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19009 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= SWIG_Py_Void();
19024 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19025 PyObject
*resultobj
= 0;
19026 wxDC
*arg1
= (wxDC
*) 0 ;
19030 PyObject
*swig_obj
[1] ;
19032 if (!args
) SWIG_fail
;
19033 swig_obj
[0] = args
;
19034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19035 if (!SWIG_IsOK(res1
)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_From_int(static_cast< int >(result
));
19052 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
= 0;
19054 wxDC
*arg1
= (wxDC
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "self",(char *) "mode", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19068 if (!SWIG_IsOK(res1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19073 if (!SWIG_IsOK(ecode2
)) {
19074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19076 arg2
= static_cast< int >(val2
);
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->SetMapMode(arg2
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_Py_Void();
19090 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19091 PyObject
*resultobj
= 0;
19092 wxDC
*arg1
= (wxDC
*) 0 ;
19093 double *arg2
= (double *) 0 ;
19094 double *arg3
= (double *) 0 ;
19098 int res2
= SWIG_TMPOBJ
;
19100 int res3
= SWIG_TMPOBJ
;
19101 PyObject
*swig_obj
[1] ;
19105 if (!args
) SWIG_fail
;
19106 swig_obj
[0] = args
;
19107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= SWIG_Py_Void();
19119 if (SWIG_IsTmpObj(res2
)) {
19120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19122 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19125 if (SWIG_IsTmpObj(res3
)) {
19126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19128 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19137 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
= 0;
19139 wxDC
*arg1
= (wxDC
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 PyObject
* obj2
= 0 ;
19151 char * kwnames
[] = {
19152 (char *) "self",(char *) "x",(char *) "y", NULL
19155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19157 if (!SWIG_IsOK(res1
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19161 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19162 if (!SWIG_IsOK(ecode2
)) {
19163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19165 arg2
= static_cast< double >(val2
);
19166 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19167 if (!SWIG_IsOK(ecode3
)) {
19168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19170 arg3
= static_cast< double >(val3
);
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->SetUserScale(arg2
,arg3
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_Py_Void();
19184 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19185 PyObject
*resultobj
= 0;
19186 wxDC
*arg1
= (wxDC
*) 0 ;
19187 double *arg2
= (double *) 0 ;
19188 double *arg3
= (double *) 0 ;
19192 int res2
= SWIG_TMPOBJ
;
19194 int res3
= SWIG_TMPOBJ
;
19195 PyObject
*swig_obj
[1] ;
19199 if (!args
) SWIG_fail
;
19200 swig_obj
[0] = args
;
19201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->GetLogicalScale(arg2
,arg3
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_Py_Void();
19213 if (SWIG_IsTmpObj(res2
)) {
19214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19216 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19219 if (SWIG_IsTmpObj(res3
)) {
19220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19222 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19231 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
= 0;
19233 wxDC
*arg1
= (wxDC
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 PyObject
* obj2
= 0 ;
19245 char * kwnames
[] = {
19246 (char *) "self",(char *) "x",(char *) "y", NULL
19249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19251 if (!SWIG_IsOK(res1
)) {
19252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19255 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19256 if (!SWIG_IsOK(ecode2
)) {
19257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19259 arg2
= static_cast< double >(val2
);
19260 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19261 if (!SWIG_IsOK(ecode3
)) {
19262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19264 arg3
= static_cast< double >(val3
);
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 (arg1
)->SetLogicalScale(arg2
,arg3
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= SWIG_Py_Void();
19278 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19279 PyObject
*resultobj
= 0;
19280 wxDC
*arg1
= (wxDC
*) 0 ;
19284 PyObject
*swig_obj
[1] ;
19286 if (!args
) SWIG_fail
;
19287 swig_obj
[0] = args
;
19288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19289 if (!SWIG_IsOK(res1
)) {
19290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19306 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19307 PyObject
*resultobj
= 0;
19308 wxDC
*arg1
= (wxDC
*) 0 ;
19309 int *arg2
= (int *) 0 ;
19310 int *arg3
= (int *) 0 ;
19314 int res2
= SWIG_TMPOBJ
;
19316 int res3
= SWIG_TMPOBJ
;
19317 PyObject
*swig_obj
[1] ;
19321 if (!args
) SWIG_fail
;
19322 swig_obj
[0] = args
;
19323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19324 if (!SWIG_IsOK(res1
)) {
19325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= SWIG_Py_Void();
19335 if (SWIG_IsTmpObj(res2
)) {
19336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19338 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19341 if (SWIG_IsTmpObj(res3
)) {
19342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19344 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19353 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxDC
*arg1
= (wxDC
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 PyObject
* obj2
= 0 ;
19367 char * kwnames
[] = {
19368 (char *) "self",(char *) "x",(char *) "y", NULL
19371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19373 if (!SWIG_IsOK(res1
)) {
19374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19378 if (!SWIG_IsOK(ecode2
)) {
19379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19381 arg2
= static_cast< int >(val2
);
19382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19383 if (!SWIG_IsOK(ecode3
)) {
19384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19386 arg3
= static_cast< int >(val3
);
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_Py_Void();
19400 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
= 0;
19402 wxDC
*arg1
= (wxDC
*) 0 ;
19403 wxPoint
*arg2
= 0 ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char * kwnames
[] = {
19410 (char *) "self",(char *) "point", NULL
19413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19415 if (!SWIG_IsOK(res1
)) {
19416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_Py_Void();
19436 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19437 PyObject
*resultobj
= 0;
19438 wxDC
*arg1
= (wxDC
*) 0 ;
19442 PyObject
*swig_obj
[1] ;
19444 if (!args
) SWIG_fail
;
19445 swig_obj
[0] = args
;
19446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19447 if (!SWIG_IsOK(res1
)) {
19448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19464 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19465 PyObject
*resultobj
= 0;
19466 wxDC
*arg1
= (wxDC
*) 0 ;
19467 int *arg2
= (int *) 0 ;
19468 int *arg3
= (int *) 0 ;
19472 int res2
= SWIG_TMPOBJ
;
19474 int res3
= SWIG_TMPOBJ
;
19475 PyObject
*swig_obj
[1] ;
19479 if (!args
) SWIG_fail
;
19480 swig_obj
[0] = args
;
19481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19482 if (!SWIG_IsOK(res1
)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= SWIG_Py_Void();
19493 if (SWIG_IsTmpObj(res2
)) {
19494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19496 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19499 if (SWIG_IsTmpObj(res3
)) {
19500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19502 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19511 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
= 0;
19513 wxDC
*arg1
= (wxDC
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 PyObject
* obj2
= 0 ;
19525 char * kwnames
[] = {
19526 (char *) "self",(char *) "x",(char *) "y", NULL
19529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19531 if (!SWIG_IsOK(res1
)) {
19532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19536 if (!SWIG_IsOK(ecode2
)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19539 arg2
= static_cast< int >(val2
);
19540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19541 if (!SWIG_IsOK(ecode3
)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19544 arg3
= static_cast< int >(val3
);
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_Py_Void();
19558 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxDC
*arg1
= (wxDC
*) 0 ;
19561 wxPoint
*arg2
= 0 ;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 char * kwnames
[] = {
19568 (char *) "self",(char *) "point", NULL
19571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19573 if (!SWIG_IsOK(res1
)) {
19574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_Py_Void();
19594 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
= 0;
19596 wxDC
*arg1
= (wxDC
*) 0 ;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 PyObject
* obj2
= 0 ;
19608 char * kwnames
[] = {
19609 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19618 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19619 if (!SWIG_IsOK(ecode2
)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19622 arg2
= static_cast< bool >(val2
);
19623 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19624 if (!SWIG_IsOK(ecode3
)) {
19625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19627 arg3
= static_cast< bool >(val3
);
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_Py_Void();
19641 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19642 PyObject
*resultobj
= 0;
19643 wxDC
*arg1
= (wxDC
*) 0 ;
19647 PyObject
*swig_obj
[1] ;
19649 if (!args
) SWIG_fail
;
19650 swig_obj
[0] = args
;
19651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19652 if (!SWIG_IsOK(res1
)) {
19653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_From_int(static_cast< int >(result
));
19669 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
= 0;
19671 wxDC
*arg1
= (wxDC
*) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char * kwnames
[] = {
19680 (char *) "self",(char *) "function", NULL
19683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19685 if (!SWIG_IsOK(res1
)) {
19686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19690 if (!SWIG_IsOK(ecode2
)) {
19691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19693 arg2
= static_cast< int >(val2
);
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 (arg1
)->SetLogicalFunction(arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_Py_Void();
19707 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19708 PyObject
*resultobj
= 0;
19709 wxDC
*arg1
= (wxDC
*) 0 ;
19712 PyObject
*swig_obj
[1] ;
19714 if (!args
) SWIG_fail
;
19715 swig_obj
[0] = args
;
19716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 (arg1
)->ComputeScaleAndOrigin();
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_Py_Void();
19734 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
= 0;
19736 wxDC
*arg1
= (wxDC
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 PyObject
* obj2
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "self",(char *) "x",(char *) "y", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19759 if (!SWIG_IsOK(ecode2
)) {
19760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19762 arg2
= static_cast< int >(val2
);
19763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19764 if (!SWIG_IsOK(ecode3
)) {
19765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19767 arg3
= static_cast< int >(val3
);
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= SWIG_Py_Void();
19781 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
= 0;
19783 wxDC
*arg1
= (wxDC
*) 0 ;
19784 wxPoint
*arg2
= 0 ;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 char * kwnames
[] = {
19791 (char *) "self",(char *) "point", NULL
19794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19796 if (!SWIG_IsOK(res1
)) {
19797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= SWIG_Py_Void();
19817 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19818 PyObject
*resultobj
= 0;
19819 wxDC
*arg1
= (wxDC
*) 0 ;
19822 PyObject
*swig_obj
[1] ;
19824 if (!args
) SWIG_fail
;
19825 swig_obj
[0] = args
;
19826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19827 if (!SWIG_IsOK(res1
)) {
19828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 (arg1
)->ResetBoundingBox();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_Py_Void();
19844 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19845 PyObject
*resultobj
= 0;
19846 wxDC
*arg1
= (wxDC
*) 0 ;
19850 PyObject
*swig_obj
[1] ;
19852 if (!args
) SWIG_fail
;
19853 swig_obj
[0] = args
;
19854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (int)((wxDC
const *)arg1
)->MinX();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_From_int(static_cast< int >(result
));
19872 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19873 PyObject
*resultobj
= 0;
19874 wxDC
*arg1
= (wxDC
*) 0 ;
19878 PyObject
*swig_obj
[1] ;
19880 if (!args
) SWIG_fail
;
19881 swig_obj
[0] = args
;
19882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 result
= (int)((wxDC
const *)arg1
)->MaxX();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_From_int(static_cast< int >(result
));
19900 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19901 PyObject
*resultobj
= 0;
19902 wxDC
*arg1
= (wxDC
*) 0 ;
19906 PyObject
*swig_obj
[1] ;
19908 if (!args
) SWIG_fail
;
19909 swig_obj
[0] = args
;
19910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19911 if (!SWIG_IsOK(res1
)) {
19912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (int)((wxDC
const *)arg1
)->MinY();
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= SWIG_From_int(static_cast< int >(result
));
19928 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19929 PyObject
*resultobj
= 0;
19930 wxDC
*arg1
= (wxDC
*) 0 ;
19934 PyObject
*swig_obj
[1] ;
19936 if (!args
) SWIG_fail
;
19937 swig_obj
[0] = args
;
19938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19939 if (!SWIG_IsOK(res1
)) {
19940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (int)((wxDC
const *)arg1
)->MaxY();
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= SWIG_From_int(static_cast< int >(result
));
19956 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19957 PyObject
*resultobj
= 0;
19958 wxDC
*arg1
= (wxDC
*) 0 ;
19959 int *arg2
= (int *) 0 ;
19960 int *arg3
= (int *) 0 ;
19961 int *arg4
= (int *) 0 ;
19962 int *arg5
= (int *) 0 ;
19966 int res2
= SWIG_TMPOBJ
;
19968 int res3
= SWIG_TMPOBJ
;
19970 int res4
= SWIG_TMPOBJ
;
19972 int res5
= SWIG_TMPOBJ
;
19973 PyObject
*swig_obj
[1] ;
19979 if (!args
) SWIG_fail
;
19980 swig_obj
[0] = args
;
19981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19982 if (!SWIG_IsOK(res1
)) {
19983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19985 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_Py_Void();
19993 if (SWIG_IsTmpObj(res2
)) {
19994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19996 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19999 if (SWIG_IsTmpObj(res3
)) {
20000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20002 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20005 if (SWIG_IsTmpObj(res4
)) {
20006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20008 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20011 if (SWIG_IsTmpObj(res5
)) {
20012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20014 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20023 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
= 0;
20025 wxDC
*arg1
= (wxDC
*) 0 ;
20026 PyObject
*arg2
= (PyObject
*) 0 ;
20027 PyObject
*arg3
= (PyObject
*) 0 ;
20028 PyObject
*arg4
= (PyObject
*) 0 ;
20029 PyObject
*result
= 0 ;
20032 PyObject
* obj0
= 0 ;
20033 PyObject
* obj1
= 0 ;
20034 PyObject
* obj2
= 0 ;
20035 PyObject
* obj3
= 0 ;
20036 char * kwnames
[] = {
20037 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20042 if (!SWIG_IsOK(res1
)) {
20043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= result
;
20062 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
= 0;
20064 wxDC
*arg1
= (wxDC
*) 0 ;
20065 PyObject
*arg2
= (PyObject
*) 0 ;
20066 PyObject
*arg3
= (PyObject
*) 0 ;
20067 PyObject
*arg4
= (PyObject
*) 0 ;
20068 PyObject
*result
= 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 PyObject
* obj2
= 0 ;
20074 PyObject
* obj3
= 0 ;
20075 char * kwnames
[] = {
20076 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 resultobj
= result
;
20101 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
= 0;
20103 wxDC
*arg1
= (wxDC
*) 0 ;
20104 PyObject
*arg2
= (PyObject
*) 0 ;
20105 PyObject
*arg3
= (PyObject
*) 0 ;
20106 PyObject
*arg4
= (PyObject
*) 0 ;
20107 PyObject
*result
= 0 ;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 PyObject
* obj2
= 0 ;
20113 PyObject
* obj3
= 0 ;
20114 char * kwnames
[] = {
20115 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20120 if (!SWIG_IsOK(res1
)) {
20121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= result
;
20140 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
= 0;
20142 wxDC
*arg1
= (wxDC
*) 0 ;
20143 PyObject
*arg2
= (PyObject
*) 0 ;
20144 PyObject
*arg3
= (PyObject
*) 0 ;
20145 PyObject
*arg4
= (PyObject
*) 0 ;
20146 PyObject
*result
= 0 ;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 PyObject
* obj2
= 0 ;
20152 PyObject
* obj3
= 0 ;
20153 char * kwnames
[] = {
20154 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20159 if (!SWIG_IsOK(res1
)) {
20160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= result
;
20179 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
= 0;
20181 wxDC
*arg1
= (wxDC
*) 0 ;
20182 PyObject
*arg2
= (PyObject
*) 0 ;
20183 PyObject
*arg3
= (PyObject
*) 0 ;
20184 PyObject
*arg4
= (PyObject
*) 0 ;
20185 PyObject
*result
= 0 ;
20188 PyObject
* obj0
= 0 ;
20189 PyObject
* obj1
= 0 ;
20190 PyObject
* obj2
= 0 ;
20191 PyObject
* obj3
= 0 ;
20192 char * kwnames
[] = {
20193 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20198 if (!SWIG_IsOK(res1
)) {
20199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= result
;
20218 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxDC
*arg1
= (wxDC
*) 0 ;
20221 PyObject
*arg2
= (PyObject
*) 0 ;
20222 PyObject
*arg3
= (PyObject
*) 0 ;
20223 PyObject
*arg4
= (PyObject
*) 0 ;
20224 PyObject
*arg5
= (PyObject
*) 0 ;
20225 PyObject
*result
= 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 PyObject
* obj2
= 0 ;
20231 PyObject
* obj3
= 0 ;
20232 PyObject
* obj4
= 0 ;
20233 char * kwnames
[] = {
20234 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20239 if (!SWIG_IsOK(res1
)) {
20240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= result
;
20260 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20263 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20264 return SWIG_Py_Void();
20267 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20268 PyObject
*resultobj
= 0;
20269 wxMemoryDC
*result
= 0 ;
20271 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20273 if (!wxPyCheckForApp()) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (wxMemoryDC
*)new wxMemoryDC();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20286 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
= 0;
20288 wxDC
*arg1
= (wxDC
*) 0 ;
20289 wxMemoryDC
*result
= 0 ;
20292 PyObject
* obj0
= 0 ;
20293 char * kwnames
[] = {
20294 (char *) "oldDC", NULL
20297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20299 if (!SWIG_IsOK(res1
)) {
20300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20304 if (!wxPyCheckForApp()) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20317 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
= 0;
20319 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20320 wxBitmap
*arg2
= 0 ;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 char * kwnames
[] = {
20328 (char *) "self",(char *) "bitmap", NULL
20331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20333 if (!SWIG_IsOK(res1
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20336 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20338 if (!SWIG_IsOK(res2
)) {
20339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20344 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_Py_Void();
20358 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20361 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20362 return SWIG_Py_Void();
20365 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20366 return SWIG_Python_InitShadowInstance(args
);
20369 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20370 PyObject
*resultobj
= 0;
20371 wxDC
*arg1
= (wxDC
*) 0 ;
20372 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20373 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20374 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20375 wxBufferedDC
*result
= 0 ;
20383 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20385 if (!SWIG_IsOK(res1
)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20390 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20391 if (!SWIG_IsOK(res2
)) {
20392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20397 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20400 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20401 if (!SWIG_IsOK(ecode3
)) {
20402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20404 arg3
= static_cast< int >(val3
);
20407 if (!wxPyCheckForApp()) SWIG_fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20420 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20421 PyObject
*resultobj
= 0;
20422 wxDC
*arg1
= (wxDC
*) 0 ;
20424 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20425 wxBufferedDC
*result
= 0 ;
20432 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20434 if (!SWIG_IsOK(res1
)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20440 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20443 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20444 if (!SWIG_IsOK(ecode3
)) {
20445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20447 arg3
= static_cast< int >(val3
);
20450 if (!wxPyCheckForApp()) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20463 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20467 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20469 if ((argc
>= 1) && (argc
<= 3)) {
20473 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20474 _v
= SWIG_CheckState(res
);
20476 if (!_v
) goto check_1
;
20478 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20482 if ((argc
>= 2) && (argc
<= 3)) {
20483 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20487 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20492 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20493 PyObject
*resultobj
= 0;
20494 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20497 PyObject
*swig_obj
[1] ;
20499 if (!args
) SWIG_fail
;
20500 swig_obj
[0] = args
;
20501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20505 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_Py_Void();
20520 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20521 PyObject
*resultobj
= 0;
20522 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20525 PyObject
*swig_obj
[1] ;
20527 if (!args
) SWIG_fail
;
20528 swig_obj
[0] = args
;
20529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20530 if (!SWIG_IsOK(res1
)) {
20531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20533 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_Py_Void();
20547 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20550 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20551 return SWIG_Py_Void();
20554 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20555 return SWIG_Python_InitShadowInstance(args
);
20558 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
= 0;
20560 wxWindow
*arg1
= (wxWindow
*) 0 ;
20561 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20562 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20563 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20564 wxBufferedPaintDC
*result
= 0 ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 PyObject
* obj2
= 0 ;
20574 char * kwnames
[] = {
20575 (char *) "window",(char *) "buffer",(char *) "style", NULL
20578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20586 if (!SWIG_IsOK(res2
)) {
20587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20592 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20596 if (!SWIG_IsOK(ecode3
)) {
20597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20599 arg3
= static_cast< int >(val3
);
20602 if (!wxPyCheckForApp()) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20615 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20618 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20619 return SWIG_Py_Void();
20622 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20623 return SWIG_Python_InitShadowInstance(args
);
20626 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20627 PyObject
*resultobj
= 0;
20628 wxScreenDC
*result
= 0 ;
20630 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20632 if (!wxPyCheckForApp()) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (wxScreenDC
*)new wxScreenDC();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20645 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
= 0;
20647 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20648 wxWindow
*arg2
= (wxWindow
*) 0 ;
20654 PyObject
* obj0
= 0 ;
20655 PyObject
* obj1
= 0 ;
20656 char * kwnames
[] = {
20657 (char *) "self",(char *) "window", NULL
20660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20662 if (!SWIG_IsOK(res1
)) {
20663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20665 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20667 if (!SWIG_IsOK(res2
)) {
20668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20670 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20686 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
= 0;
20688 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20689 wxRect
*arg2
= (wxRect
*) NULL
;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char * kwnames
[] = {
20698 (char *) "self",(char *) "rect", NULL
20701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20703 if (!SWIG_IsOK(res1
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20706 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20709 if (!SWIG_IsOK(res2
)) {
20710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20712 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20729 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20730 PyObject
*resultobj
= 0;
20731 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20735 PyObject
*swig_obj
[1] ;
20737 if (!args
) SWIG_fail
;
20738 swig_obj
[0] = args
;
20739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20740 if (!SWIG_IsOK(res1
)) {
20741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20743 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 result
= (bool)(arg1
)->EndDrawingOnTop();
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20759 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20762 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20763 return SWIG_Py_Void();
20766 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20767 return SWIG_Python_InitShadowInstance(args
);
20770 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
= 0;
20772 wxWindow
*arg1
= (wxWindow
*) 0 ;
20773 wxClientDC
*result
= 0 ;
20776 PyObject
* obj0
= 0 ;
20777 char * kwnames
[] = {
20778 (char *) "win", NULL
20781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20783 if (!SWIG_IsOK(res1
)) {
20784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20788 if (!wxPyCheckForApp()) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (wxClientDC
*)new wxClientDC(arg1
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20801 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20804 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20805 return SWIG_Py_Void();
20808 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20809 return SWIG_Python_InitShadowInstance(args
);
20812 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
= 0;
20814 wxWindow
*arg1
= (wxWindow
*) 0 ;
20815 wxPaintDC
*result
= 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char * kwnames
[] = {
20820 (char *) "win", NULL
20823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20825 if (!SWIG_IsOK(res1
)) {
20826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20828 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20830 if (!wxPyCheckForApp()) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20843 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20846 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20847 return SWIG_Py_Void();
20850 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20851 return SWIG_Python_InitShadowInstance(args
);
20854 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
= 0;
20856 wxWindow
*arg1
= (wxWindow
*) 0 ;
20857 wxWindowDC
*result
= 0 ;
20860 PyObject
* obj0
= 0 ;
20861 char * kwnames
[] = {
20862 (char *) "win", NULL
20865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20867 if (!SWIG_IsOK(res1
)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20872 if (!wxPyCheckForApp()) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20885 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20888 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20889 return SWIG_Py_Void();
20892 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20893 return SWIG_Python_InitShadowInstance(args
);
20896 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
= 0;
20900 wxMirrorDC
*result
= 0 ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 char * kwnames
[] = {
20908 (char *) "dc",(char *) "mirror", NULL
20911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20912 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20913 if (!SWIG_IsOK(res1
)) {
20914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20920 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20921 if (!SWIG_IsOK(ecode2
)) {
20922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20924 arg2
= static_cast< bool >(val2
);
20926 if (!wxPyCheckForApp()) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20939 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20942 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20943 return SWIG_Py_Void();
20946 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20947 return SWIG_Python_InitShadowInstance(args
);
20950 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
= 0;
20952 wxPrintData
*arg1
= 0 ;
20953 wxPostScriptDC
*result
= 0 ;
20956 PyObject
* obj0
= 0 ;
20957 char * kwnames
[] = {
20958 (char *) "printData", NULL
20961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
20962 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
20963 if (!SWIG_IsOK(res1
)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20969 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
20971 if (!wxPyCheckForApp()) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
20984 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20985 PyObject
*resultobj
= 0;
20986 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
20987 wxPrintData
*result
= 0 ;
20990 PyObject
*swig_obj
[1] ;
20992 if (!args
) SWIG_fail
;
20993 swig_obj
[0] = args
;
20994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
20995 if (!SWIG_IsOK(res1
)) {
20996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
20998 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21003 result
= (wxPrintData
*) &_result_ref
;
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21015 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
= 0;
21017 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21018 wxPrintData
*arg2
= 0 ;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 char * kwnames
[] = {
21026 (char *) "self",(char *) "data", NULL
21029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21031 if (!SWIG_IsOK(res1
)) {
21032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21034 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21036 if (!SWIG_IsOK(res2
)) {
21037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21042 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21045 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21046 wxPyEndAllowThreads(__tstate
);
21047 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= SWIG_Py_Void();
21056 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
= 0;
21061 PyObject
* obj0
= 0 ;
21062 char * kwnames
[] = {
21063 (char *) "ppi", NULL
21066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21068 if (!SWIG_IsOK(ecode1
)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21071 arg1
= static_cast< int >(val1
);
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 wxPostScriptDC::SetResolution(arg1
);
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= SWIG_Py_Void();
21085 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21086 PyObject
*resultobj
= 0;
21089 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (int)wxPostScriptDC::GetResolution();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_From_int(static_cast< int >(result
));
21103 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21106 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21107 return SWIG_Py_Void();
21110 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21111 return SWIG_Python_InitShadowInstance(args
);
21114 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
= 0;
21116 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21117 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21118 wxMetaFile
*result
= 0 ;
21119 bool temp1
= false ;
21120 PyObject
* obj0
= 0 ;
21121 char * kwnames
[] = {
21122 (char *) "filename", NULL
21125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21128 arg1
= wxString_in_helper(obj0
);
21129 if (arg1
== NULL
) SWIG_fail
;
21134 if (!wxPyCheckForApp()) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21155 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21156 PyObject
*resultobj
= 0;
21157 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21160 PyObject
*swig_obj
[1] ;
21162 if (!args
) SWIG_fail
;
21163 swig_obj
[0] = args
;
21164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21165 if (!SWIG_IsOK(res1
)) {
21166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21168 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= SWIG_Py_Void();
21183 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 PyObject
*resultobj
= 0;
21185 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21189 PyObject
*swig_obj
[1] ;
21191 if (!args
) SWIG_fail
;
21192 swig_obj
[0] = args
;
21193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21194 if (!SWIG_IsOK(res1
)) {
21195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21197 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (bool)(arg1
)->Ok();
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21213 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
= 0;
21215 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21216 int arg2
= (int) 0 ;
21217 int arg3
= (int) 0 ;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 PyObject
* obj2
= 0 ;
21228 char * kwnames
[] = {
21229 (char *) "self",(char *) "width",(char *) "height", NULL
21232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21234 if (!SWIG_IsOK(res1
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21237 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21240 if (!SWIG_IsOK(ecode2
)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21243 arg2
= static_cast< int >(val2
);
21246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21247 if (!SWIG_IsOK(ecode3
)) {
21248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21250 arg3
= static_cast< int >(val3
);
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21267 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21268 PyObject
*resultobj
= 0;
21269 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21273 PyObject
*swig_obj
[1] ;
21275 if (!args
) SWIG_fail
;
21276 swig_obj
[0] = args
;
21277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21278 if (!SWIG_IsOK(res1
)) {
21279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21281 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (arg1
)->GetSize();
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21295 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21296 PyObject
*resultobj
= 0;
21297 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21301 PyObject
*swig_obj
[1] ;
21303 if (!args
) SWIG_fail
;
21304 swig_obj
[0] = args
;
21305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21306 if (!SWIG_IsOK(res1
)) {
21307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21309 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= (int)(arg1
)->GetWidth();
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 resultobj
= SWIG_From_int(static_cast< int >(result
));
21323 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21324 PyObject
*resultobj
= 0;
21325 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21329 PyObject
*swig_obj
[1] ;
21331 if (!args
) SWIG_fail
;
21332 swig_obj
[0] = args
;
21333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21334 if (!SWIG_IsOK(res1
)) {
21335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21337 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 result
= (int)(arg1
)->GetHeight();
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= SWIG_From_int(static_cast< int >(result
));
21351 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21354 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21355 return SWIG_Py_Void();
21358 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21359 return SWIG_Python_InitShadowInstance(args
);
21362 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
= 0;
21364 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21365 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21366 int arg2
= (int) 0 ;
21367 int arg3
= (int) 0 ;
21368 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21369 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21370 wxMetaFileDC
*result
= 0 ;
21371 bool temp1
= false ;
21376 bool temp4
= false ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 PyObject
* obj2
= 0 ;
21380 PyObject
* obj3
= 0 ;
21381 char * kwnames
[] = {
21382 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21388 arg1
= wxString_in_helper(obj0
);
21389 if (arg1
== NULL
) SWIG_fail
;
21394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21395 if (!SWIG_IsOK(ecode2
)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21398 arg2
= static_cast< int >(val2
);
21401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21402 if (!SWIG_IsOK(ecode3
)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21405 arg3
= static_cast< int >(val3
);
21409 arg4
= wxString_in_helper(obj3
);
21410 if (arg4
== NULL
) SWIG_fail
;
21415 if (!wxPyCheckForApp()) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21444 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21445 PyObject
*resultobj
= 0;
21446 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
21447 wxMetaFile
*result
= 0 ;
21450 PyObject
*swig_obj
[1] ;
21452 if (!args
) SWIG_fail
;
21453 swig_obj
[0] = args
;
21454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
21455 if (!SWIG_IsOK(res1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
21458 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (wxMetaFile
*)(arg1
)->Close();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21472 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21475 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21476 return SWIG_Py_Void();
21479 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21480 return SWIG_Python_InitShadowInstance(args
);
21483 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
= 0;
21485 wxPrintData
*arg1
= 0 ;
21486 wxPrinterDC
*result
= 0 ;
21489 PyObject
* obj0
= 0 ;
21490 char * kwnames
[] = {
21491 (char *) "printData", NULL
21494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21495 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21496 if (!SWIG_IsOK(res1
)) {
21497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21502 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21504 if (!wxPyCheckForApp()) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21517 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21521 return SWIG_Py_Void();
21524 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21525 return SWIG_Python_InitShadowInstance(args
);
21528 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
= 0;
21532 int arg3
= (int) true ;
21533 int arg4
= (int) 1 ;
21534 wxImageList
*result
= 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 PyObject
* obj2
= 0 ;
21546 PyObject
* obj3
= 0 ;
21547 char * kwnames
[] = {
21548 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21552 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21553 if (!SWIG_IsOK(ecode1
)) {
21554 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21556 arg1
= static_cast< int >(val1
);
21557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21558 if (!SWIG_IsOK(ecode2
)) {
21559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21561 arg2
= static_cast< int >(val2
);
21563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21564 if (!SWIG_IsOK(ecode3
)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21567 arg3
= static_cast< int >(val3
);
21570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21571 if (!SWIG_IsOK(ecode4
)) {
21572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21574 arg4
= static_cast< int >(val4
);
21577 if (!wxPyCheckForApp()) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21592 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21593 PyObject
*resultobj
= 0;
21594 wxImageList
*arg1
= (wxImageList
*) 0 ;
21597 PyObject
*swig_obj
[1] ;
21599 if (!args
) SWIG_fail
;
21600 swig_obj
[0] = args
;
21601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21602 if (!SWIG_IsOK(res1
)) {
21603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21605 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_Py_Void();
21620 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
= 0;
21622 wxImageList
*arg1
= (wxImageList
*) 0 ;
21623 wxBitmap
*arg2
= 0 ;
21624 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21625 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21633 PyObject
* obj0
= 0 ;
21634 PyObject
* obj1
= 0 ;
21635 PyObject
* obj2
= 0 ;
21636 char * kwnames
[] = {
21637 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21642 if (!SWIG_IsOK(res1
)) {
21643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21645 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21647 if (!SWIG_IsOK(res2
)) {
21648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21653 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21655 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21656 if (!SWIG_IsOK(res3
)) {
21657 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21662 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= SWIG_From_int(static_cast< int >(result
));
21677 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
= 0;
21679 wxImageList
*arg1
= (wxImageList
*) 0 ;
21680 wxBitmap
*arg2
= 0 ;
21681 wxColour
*arg3
= 0 ;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 PyObject
* obj2
= 0 ;
21691 char * kwnames
[] = {
21692 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21697 if (!SWIG_IsOK(res1
)) {
21698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21700 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21702 if (!SWIG_IsOK(res2
)) {
21703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21708 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21711 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_From_int(static_cast< int >(result
));
21726 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= 0;
21728 wxImageList
*arg1
= (wxImageList
*) 0 ;
21735 PyObject
* obj0
= 0 ;
21736 PyObject
* obj1
= 0 ;
21737 char * kwnames
[] = {
21738 (char *) "self",(char *) "icon", NULL
21741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21743 if (!SWIG_IsOK(res1
)) {
21744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21746 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21748 if (!SWIG_IsOK(res2
)) {
21749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21754 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= SWIG_From_int(static_cast< int >(result
));
21768 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21769 PyObject
*resultobj
= 0;
21770 wxImageList
*arg1
= (wxImageList
*) 0 ;
21772 SwigValueWrapper
<wxBitmap
> result
;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 char * kwnames
[] = {
21780 (char *) "self",(char *) "index", NULL
21783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21785 if (!SWIG_IsOK(res1
)) {
21786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21788 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21790 if (!SWIG_IsOK(ecode2
)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21793 arg2
= static_cast< int >(val2
);
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21807 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
= 0;
21809 wxImageList
*arg1
= (wxImageList
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char * kwnames
[] = {
21819 (char *) "self",(char *) "index", NULL
21822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21827 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21829 if (!SWIG_IsOK(ecode2
)) {
21830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21832 arg2
= static_cast< int >(val2
);
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21846 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
= 0;
21848 wxImageList
*arg1
= (wxImageList
*) 0 ;
21850 wxBitmap
*arg3
= 0 ;
21851 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
21852 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 PyObject
* obj2
= 0 ;
21865 PyObject
* obj3
= 0 ;
21866 char * kwnames
[] = {
21867 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
21870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21872 if (!SWIG_IsOK(res1
)) {
21873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21875 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21877 if (!SWIG_IsOK(ecode2
)) {
21878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21880 arg2
= static_cast< int >(val2
);
21881 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21882 if (!SWIG_IsOK(res3
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21888 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21890 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21891 if (!SWIG_IsOK(res4
)) {
21892 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21897 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21914 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
= 0;
21916 wxImageList
*arg1
= (wxImageList
*) 0 ;
21921 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21922 bool arg7
= (bool) (bool)false ;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 PyObject
* obj2
= 0 ;
21941 PyObject
* obj3
= 0 ;
21942 PyObject
* obj4
= 0 ;
21943 PyObject
* obj5
= 0 ;
21944 PyObject
* obj6
= 0 ;
21945 char * kwnames
[] = {
21946 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21951 if (!SWIG_IsOK(res1
)) {
21952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21954 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21956 if (!SWIG_IsOK(ecode2
)) {
21957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21959 arg2
= static_cast< int >(val2
);
21960 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21961 if (!SWIG_IsOK(res3
)) {
21962 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21967 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21969 if (!SWIG_IsOK(ecode4
)) {
21970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21972 arg4
= static_cast< int >(val4
);
21973 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21974 if (!SWIG_IsOK(ecode5
)) {
21975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21977 arg5
= static_cast< int >(val5
);
21979 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21980 if (!SWIG_IsOK(ecode6
)) {
21981 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21983 arg6
= static_cast< int >(val6
);
21986 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21987 if (!SWIG_IsOK(ecode7
)) {
21988 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21990 arg7
= static_cast< bool >(val7
);
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22007 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22008 PyObject
*resultobj
= 0;
22009 wxImageList
*arg1
= (wxImageList
*) 0 ;
22013 PyObject
*swig_obj
[1] ;
22015 if (!args
) SWIG_fail
;
22016 swig_obj
[0] = args
;
22017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22018 if (!SWIG_IsOK(res1
)) {
22019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22021 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= (int)(arg1
)->GetImageCount();
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= SWIG_From_int(static_cast< int >(result
));
22035 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
= 0;
22037 wxImageList
*arg1
= (wxImageList
*) 0 ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 char * kwnames
[] = {
22047 (char *) "self",(char *) "index", NULL
22050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22052 if (!SWIG_IsOK(res1
)) {
22053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22055 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22057 if (!SWIG_IsOK(ecode2
)) {
22058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22060 arg2
= static_cast< int >(val2
);
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= (bool)(arg1
)->Remove(arg2
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22076 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22077 PyObject
*resultobj
= 0;
22078 wxImageList
*arg1
= (wxImageList
*) 0 ;
22082 PyObject
*swig_obj
[1] ;
22084 if (!args
) SWIG_fail
;
22085 swig_obj
[0] = args
;
22086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22087 if (!SWIG_IsOK(res1
)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22090 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (bool)(arg1
)->RemoveAll();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22106 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
= 0;
22108 wxImageList
*arg1
= (wxImageList
*) 0 ;
22117 int res3
= SWIG_TMPOBJ
;
22119 int res4
= SWIG_TMPOBJ
;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 char * kwnames
[] = {
22123 (char *) "self",(char *) "index", NULL
22128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22130 if (!SWIG_IsOK(res1
)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22133 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22135 if (!SWIG_IsOK(ecode2
)) {
22136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22138 arg2
= static_cast< int >(val2
);
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= SWIG_Py_Void();
22146 if (SWIG_IsTmpObj(res3
)) {
22147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22149 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22152 if (SWIG_IsTmpObj(res4
)) {
22153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22155 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22164 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22167 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22168 return SWIG_Py_Void();
22171 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22172 return SWIG_Python_InitShadowInstance(args
);
22175 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22176 PyObject
*resultobj
= 0;
22177 wxStockGDI
*result
= 0 ;
22179 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (wxStockGDI
*)new wxStockGDI();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22193 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22194 PyObject
*resultobj
= 0;
22195 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22198 PyObject
*swig_obj
[1] ;
22200 if (!args
) SWIG_fail
;
22201 swig_obj
[0] = args
;
22202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22206 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_Py_Void();
22221 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22222 PyObject
*resultobj
= 0;
22224 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 wxStockGDI::DeleteAll();
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= SWIG_Py_Void();
22238 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22239 PyObject
*resultobj
= 0;
22240 wxStockGDI
*result
= 0 ;
22242 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 wxStockGDI
&_result_ref
= wxStockGDI::instance();
22247 result
= (wxStockGDI
*) &_result_ref
;
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22259 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
= 0;
22261 wxStockGDI::Item arg1
;
22262 wxBrush
*result
= 0 ;
22265 PyObject
* obj0
= 0 ;
22266 char * kwnames
[] = {
22267 (char *) "item", NULL
22270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
22271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22272 if (!SWIG_IsOK(ecode1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22275 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22289 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
= 0;
22291 wxStockGDI::Item arg1
;
22292 wxColour
*result
= 0 ;
22295 PyObject
* obj0
= 0 ;
22296 char * kwnames
[] = {
22297 (char *) "item", NULL
22300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
22301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22302 if (!SWIG_IsOK(ecode1
)) {
22303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22305 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22319 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
= 0;
22321 wxStockGDI::Item arg1
;
22322 wxCursor
*result
= 0 ;
22325 PyObject
* obj0
= 0 ;
22326 char * kwnames
[] = {
22327 (char *) "item", NULL
22330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
22331 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22332 if (!SWIG_IsOK(ecode1
)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22335 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
22349 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
= 0;
22351 wxStockGDI::Item arg1
;
22352 wxPen
*result
= 0 ;
22355 PyObject
* obj0
= 0 ;
22356 char * kwnames
[] = {
22357 (char *) "item", NULL
22360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
22361 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22362 if (!SWIG_IsOK(ecode1
)) {
22363 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22365 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22379 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
= 0;
22381 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22382 wxStockGDI::Item arg2
;
22383 wxFont
*result
= 0 ;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 char * kwnames
[] = {
22391 (char *) "self",(char *) "item", NULL
22394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22396 if (!SWIG_IsOK(res1
)) {
22397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22399 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22401 if (!SWIG_IsOK(ecode2
)) {
22402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
22404 arg2
= static_cast< wxStockGDI::Item
>(val2
);
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22418 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22421 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
22422 return SWIG_Py_Void();
22425 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22426 return SWIG_Python_InitShadowInstance(args
);
22429 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22430 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22435 SWIGINTERN PyObject
*NullBitmap_get(void) {
22436 PyObject
*pyobj
= 0;
22438 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22443 SWIGINTERN
int NullIcon_set(PyObject
*) {
22444 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22449 SWIGINTERN PyObject
*NullIcon_get(void) {
22450 PyObject
*pyobj
= 0;
22452 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22457 SWIGINTERN
int NullCursor_set(PyObject
*) {
22458 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22463 SWIGINTERN PyObject
*NullCursor_get(void) {
22464 PyObject
*pyobj
= 0;
22466 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22471 SWIGINTERN
int NullPen_set(PyObject
*) {
22472 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22477 SWIGINTERN PyObject
*NullPen_get(void) {
22478 PyObject
*pyobj
= 0;
22480 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22485 SWIGINTERN
int NullBrush_set(PyObject
*) {
22486 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22491 SWIGINTERN PyObject
*NullBrush_get(void) {
22492 PyObject
*pyobj
= 0;
22494 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22499 SWIGINTERN
int NullPalette_set(PyObject
*) {
22500 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22505 SWIGINTERN PyObject
*NullPalette_get(void) {
22506 PyObject
*pyobj
= 0;
22508 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22513 SWIGINTERN
int NullFont_set(PyObject
*) {
22514 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22519 SWIGINTERN PyObject
*NullFont_get(void) {
22520 PyObject
*pyobj
= 0;
22522 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22527 SWIGINTERN
int NullColour_set(PyObject
*) {
22528 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22533 SWIGINTERN PyObject
*NullColour_get(void) {
22534 PyObject
*pyobj
= 0;
22536 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22541 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22542 PyObject
*resultobj
= 0;
22543 wxGDIObjListBase
*result
= 0 ;
22545 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
22559 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22560 PyObject
*resultobj
= 0;
22561 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
22564 PyObject
*swig_obj
[1] ;
22566 if (!args
) SWIG_fail
;
22567 swig_obj
[0] = args
;
22568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
22569 if (!SWIG_IsOK(res1
)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
22572 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_Py_Void();
22587 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22590 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
22591 return SWIG_Py_Void();
22594 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 return SWIG_Python_InitShadowInstance(args
);
22598 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
= 0;
22600 wxPenList
*arg1
= (wxPenList
*) 0 ;
22601 wxColour
*arg2
= 0 ;
22604 wxPen
*result
= 0 ;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 PyObject
* obj2
= 0 ;
22615 PyObject
* obj3
= 0 ;
22616 char * kwnames
[] = {
22617 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22625 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22631 if (!SWIG_IsOK(ecode3
)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22634 arg3
= static_cast< int >(val3
);
22635 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22636 if (!SWIG_IsOK(ecode4
)) {
22637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22639 arg4
= static_cast< int >(val4
);
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22653 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
= 0;
22655 wxPenList
*arg1
= (wxPenList
*) 0 ;
22656 wxPen
*arg2
= (wxPen
*) 0 ;
22661 PyObject
* obj0
= 0 ;
22662 PyObject
* obj1
= 0 ;
22663 char * kwnames
[] = {
22664 (char *) "self",(char *) "pen", NULL
22667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22672 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22674 if (!SWIG_IsOK(res2
)) {
22675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22677 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 (arg1
)->AddPen(arg2
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= SWIG_Py_Void();
22691 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
= 0;
22693 wxPenList
*arg1
= (wxPenList
*) 0 ;
22694 wxPen
*arg2
= (wxPen
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 char * kwnames
[] = {
22702 (char *) "self",(char *) "pen", NULL
22705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22707 if (!SWIG_IsOK(res1
)) {
22708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22710 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22712 if (!SWIG_IsOK(res2
)) {
22713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22715 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 (arg1
)->RemovePen(arg2
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_Py_Void();
22729 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22732 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22733 return SWIG_Py_Void();
22736 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
= 0;
22738 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22739 wxColour
*arg2
= 0 ;
22740 int arg3
= (int) wxSOLID
;
22741 wxBrush
*result
= 0 ;
22747 PyObject
* obj0
= 0 ;
22748 PyObject
* obj1
= 0 ;
22749 PyObject
* obj2
= 0 ;
22750 char * kwnames
[] = {
22751 (char *) "self",(char *) "colour",(char *) "style", NULL
22754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22756 if (!SWIG_IsOK(res1
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22759 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22766 if (!SWIG_IsOK(ecode3
)) {
22767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22769 arg3
= static_cast< int >(val3
);
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22784 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
= 0;
22786 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22787 wxBrush
*arg2
= (wxBrush
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char * kwnames
[] = {
22795 (char *) "self",(char *) "brush", NULL
22798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22800 if (!SWIG_IsOK(res1
)) {
22801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22803 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22805 if (!SWIG_IsOK(res2
)) {
22806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22808 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->AddBrush(arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_Py_Void();
22822 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
= 0;
22824 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22825 wxBrush
*arg2
= (wxBrush
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char * kwnames
[] = {
22833 (char *) "self",(char *) "brush", NULL
22836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22838 if (!SWIG_IsOK(res1
)) {
22839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22841 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22843 if (!SWIG_IsOK(res2
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22846 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->RemoveBrush(arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_Py_Void();
22860 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22863 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
22864 return SWIG_Py_Void();
22867 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
= 0;
22869 wxFontList
*arg1
= (wxFontList
*) 0 ;
22874 bool arg6
= (bool) false ;
22875 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22877 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
22878 wxFont
*result
= 0 ;
22891 bool temp7
= false ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 PyObject
* obj2
= 0 ;
22897 PyObject
* obj3
= 0 ;
22898 PyObject
* obj4
= 0 ;
22899 PyObject
* obj5
= 0 ;
22900 PyObject
* obj6
= 0 ;
22901 PyObject
* obj7
= 0 ;
22902 char * kwnames
[] = {
22903 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
22906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22908 if (!SWIG_IsOK(res1
)) {
22909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22911 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22913 if (!SWIG_IsOK(ecode2
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
22916 arg2
= static_cast< int >(val2
);
22917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22918 if (!SWIG_IsOK(ecode3
)) {
22919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
22921 arg3
= static_cast< int >(val3
);
22922 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22923 if (!SWIG_IsOK(ecode4
)) {
22924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
22926 arg4
= static_cast< int >(val4
);
22927 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22928 if (!SWIG_IsOK(ecode5
)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
22931 arg5
= static_cast< int >(val5
);
22933 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
22934 if (!SWIG_IsOK(ecode6
)) {
22935 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
22937 arg6
= static_cast< bool >(val6
);
22941 arg7
= wxString_in_helper(obj6
);
22942 if (arg7
== NULL
) SWIG_fail
;
22947 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
22948 if (!SWIG_IsOK(ecode8
)) {
22949 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
22951 arg8
= static_cast< wxFontEncoding
>(val8
);
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22974 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
= 0;
22976 wxFontList
*arg1
= (wxFontList
*) 0 ;
22977 wxFont
*arg2
= (wxFont
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 char * kwnames
[] = {
22985 (char *) "self",(char *) "font", NULL
22988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22990 if (!SWIG_IsOK(res1
)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22993 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22995 if (!SWIG_IsOK(res2
)) {
22996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
22998 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 (arg1
)->AddFont(arg2
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_Py_Void();
23012 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
= 0;
23014 wxFontList
*arg1
= (wxFontList
*) 0 ;
23015 wxFont
*arg2
= (wxFont
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char * kwnames
[] = {
23023 (char *) "self",(char *) "font", NULL
23026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23031 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23033 if (!SWIG_IsOK(res2
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23036 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->RemoveFont(arg2
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_Py_Void();
23050 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23053 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23054 return SWIG_Py_Void();
23057 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxColourDatabase
*result
= 0 ;
23061 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23063 if (!wxPyCheckForApp()) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (wxColourDatabase
*)new wxColourDatabase();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23076 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23077 PyObject
*resultobj
= 0;
23078 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23081 PyObject
*swig_obj
[1] ;
23083 if (!args
) SWIG_fail
;
23084 swig_obj
[0] = args
;
23085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23086 if (!SWIG_IsOK(res1
)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23089 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_Py_Void();
23104 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
= 0;
23106 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23107 wxString
*arg2
= 0 ;
23111 bool temp2
= false ;
23112 PyObject
* obj0
= 0 ;
23113 PyObject
* obj1
= 0 ;
23114 char * kwnames
[] = {
23115 (char *) "self",(char *) "name", NULL
23118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23123 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23125 arg2
= wxString_in_helper(obj1
);
23126 if (arg2
== NULL
) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23150 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
= 0;
23152 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23153 wxColour
*arg2
= 0 ;
23158 PyObject
* obj0
= 0 ;
23159 PyObject
* obj1
= 0 ;
23160 char * kwnames
[] = {
23161 (char *) "self",(char *) "colour", NULL
23164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23166 if (!SWIG_IsOK(res1
)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23169 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23172 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23193 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
= 0;
23195 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23196 wxString
*arg2
= 0 ;
23197 wxColour
*arg3
= 0 ;
23200 bool temp2
= false ;
23202 PyObject
* obj0
= 0 ;
23203 PyObject
* obj1
= 0 ;
23204 PyObject
* obj2
= 0 ;
23205 char * kwnames
[] = {
23206 (char *) "self",(char *) "name",(char *) "colour", NULL
23209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23214 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23216 arg2
= wxString_in_helper(obj1
);
23217 if (arg2
== NULL
) SWIG_fail
;
23222 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_Py_Void();
23245 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
= 0;
23247 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23248 wxString
*arg2
= 0 ;
23254 bool temp2
= false ;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 PyObject
* obj2
= 0 ;
23264 PyObject
* obj3
= 0 ;
23265 PyObject
* obj4
= 0 ;
23266 char * kwnames
[] = {
23267 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23275 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23277 arg2
= wxString_in_helper(obj1
);
23278 if (arg2
== NULL
) SWIG_fail
;
23281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23282 if (!SWIG_IsOK(ecode3
)) {
23283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23285 arg3
= static_cast< int >(val3
);
23286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23287 if (!SWIG_IsOK(ecode4
)) {
23288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23290 arg4
= static_cast< int >(val4
);
23291 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23292 if (!SWIG_IsOK(ecode5
)) {
23293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23295 arg5
= static_cast< int >(val5
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_Py_Void();
23317 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23320 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23321 return SWIG_Py_Void();
23324 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23325 return SWIG_Python_InitShadowInstance(args
);
23328 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23329 PyObject
*resultobj
= 0;
23330 wxFontList
*result
= 0 ;
23332 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (wxFontList
*)_wxPyInitTheFontList();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
23346 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 PyObject
*resultobj
= 0;
23348 wxPenList
*result
= 0 ;
23350 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (wxPenList
*)_wxPyInitThePenList();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
23364 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23365 PyObject
*resultobj
= 0;
23366 wxBrushList
*result
= 0 ;
23368 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (wxBrushList
*)_wxPyInitTheBrushList();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
23382 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23383 PyObject
*resultobj
= 0;
23384 wxColourDatabase
*result
= 0 ;
23386 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23400 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23401 PyObject
*resultobj
= 0;
23402 wxEffects
*result
= 0 ;
23404 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (wxEffects
*)new wxEffects();
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23418 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23419 PyObject
*resultobj
= 0;
23420 wxEffects
*arg1
= (wxEffects
*) 0 ;
23424 PyObject
*swig_obj
[1] ;
23426 if (!args
) SWIG_fail
;
23427 swig_obj
[0] = args
;
23428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23429 if (!SWIG_IsOK(res1
)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23432 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23446 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23447 PyObject
*resultobj
= 0;
23448 wxEffects
*arg1
= (wxEffects
*) 0 ;
23452 PyObject
*swig_obj
[1] ;
23454 if (!args
) SWIG_fail
;
23455 swig_obj
[0] = args
;
23456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23457 if (!SWIG_IsOK(res1
)) {
23458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23460 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23474 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23475 PyObject
*resultobj
= 0;
23476 wxEffects
*arg1
= (wxEffects
*) 0 ;
23480 PyObject
*swig_obj
[1] ;
23482 if (!args
) SWIG_fail
;
23483 swig_obj
[0] = args
;
23484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23485 if (!SWIG_IsOK(res1
)) {
23486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23488 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23502 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23503 PyObject
*resultobj
= 0;
23504 wxEffects
*arg1
= (wxEffects
*) 0 ;
23508 PyObject
*swig_obj
[1] ;
23510 if (!args
) SWIG_fail
;
23511 swig_obj
[0] = args
;
23512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23513 if (!SWIG_IsOK(res1
)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23516 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23530 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23531 PyObject
*resultobj
= 0;
23532 wxEffects
*arg1
= (wxEffects
*) 0 ;
23536 PyObject
*swig_obj
[1] ;
23538 if (!args
) SWIG_fail
;
23539 swig_obj
[0] = args
;
23540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23541 if (!SWIG_IsOK(res1
)) {
23542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23544 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23558 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
= 0;
23560 wxEffects
*arg1
= (wxEffects
*) 0 ;
23561 wxColour
*arg2
= 0 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char * kwnames
[] = {
23568 (char *) "self",(char *) "c", NULL
23571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23573 if (!SWIG_IsOK(res1
)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23576 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23579 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_Py_Void();
23594 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
= 0;
23596 wxEffects
*arg1
= (wxEffects
*) 0 ;
23597 wxColour
*arg2
= 0 ;
23601 PyObject
* obj0
= 0 ;
23602 PyObject
* obj1
= 0 ;
23603 char * kwnames
[] = {
23604 (char *) "self",(char *) "c", NULL
23607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23609 if (!SWIG_IsOK(res1
)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23612 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23615 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_Py_Void();
23630 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
= 0;
23632 wxEffects
*arg1
= (wxEffects
*) 0 ;
23633 wxColour
*arg2
= 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char * kwnames
[] = {
23640 (char *) "self",(char *) "c", NULL
23643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23648 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 resultobj
= SWIG_Py_Void();
23666 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
= 0;
23668 wxEffects
*arg1
= (wxEffects
*) 0 ;
23669 wxColour
*arg2
= 0 ;
23673 PyObject
* obj0
= 0 ;
23674 PyObject
* obj1
= 0 ;
23675 char * kwnames
[] = {
23676 (char *) "self",(char *) "c", NULL
23679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23681 if (!SWIG_IsOK(res1
)) {
23682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23684 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23687 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_Py_Void();
23702 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
= 0;
23704 wxEffects
*arg1
= (wxEffects
*) 0 ;
23705 wxColour
*arg2
= 0 ;
23709 PyObject
* obj0
= 0 ;
23710 PyObject
* obj1
= 0 ;
23711 char * kwnames
[] = {
23712 (char *) "self",(char *) "c", NULL
23715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23717 if (!SWIG_IsOK(res1
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23720 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_Py_Void();
23738 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
= 0;
23740 wxEffects
*arg1
= (wxEffects
*) 0 ;
23741 wxColour
*arg2
= 0 ;
23742 wxColour
*arg3
= 0 ;
23743 wxColour
*arg4
= 0 ;
23744 wxColour
*arg5
= 0 ;
23745 wxColour
*arg6
= 0 ;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 PyObject
* obj2
= 0 ;
23756 PyObject
* obj3
= 0 ;
23757 PyObject
* obj4
= 0 ;
23758 PyObject
* obj5
= 0 ;
23759 char * kwnames
[] = {
23760 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23765 if (!SWIG_IsOK(res1
)) {
23766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23768 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23775 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23779 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23783 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
23787 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_Py_Void();
23802 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
= 0;
23804 wxEffects
*arg1
= (wxEffects
*) 0 ;
23807 int arg4
= (int) 1 ;
23815 PyObject
* obj0
= 0 ;
23816 PyObject
* obj1
= 0 ;
23817 PyObject
* obj2
= 0 ;
23818 PyObject
* obj3
= 0 ;
23819 char * kwnames
[] = {
23820 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
23823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23825 if (!SWIG_IsOK(res1
)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
23828 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
23830 if (!SWIG_IsOK(res2
)) {
23831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23836 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23839 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
23842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23843 if (!SWIG_IsOK(ecode4
)) {
23844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
23846 arg4
= static_cast< int >(val4
);
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_Py_Void();
23861 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
= 0;
23863 wxEffects
*arg1
= (wxEffects
*) 0 ;
23866 wxBitmap
*arg4
= 0 ;
23875 PyObject
* obj0
= 0 ;
23876 PyObject
* obj1
= 0 ;
23877 PyObject
* obj2
= 0 ;
23878 PyObject
* obj3
= 0 ;
23879 char * kwnames
[] = {
23880 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
23883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23885 if (!SWIG_IsOK(res1
)) {
23886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
23888 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23891 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23893 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
23894 if (!SWIG_IsOK(res3
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23900 arg3
= reinterpret_cast< wxDC
* >(argp3
);
23901 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
23902 if (!SWIG_IsOK(res4
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23908 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23924 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23926 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23927 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
23928 return SWIG_Py_Void();
23931 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23932 return SWIG_Python_InitShadowInstance(args
);
23935 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
= 0;
23940 wxSplitterRenderParams
*result
= 0 ;
23947 PyObject
* obj0
= 0 ;
23948 PyObject
* obj1
= 0 ;
23949 PyObject
* obj2
= 0 ;
23950 char * kwnames
[] = {
23951 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
23954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23956 if (!SWIG_IsOK(ecode1
)) {
23957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
23959 arg1
= static_cast< int >(val1
);
23960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23961 if (!SWIG_IsOK(ecode2
)) {
23962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
23964 arg2
= static_cast< int >(val2
);
23965 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23966 if (!SWIG_IsOK(ecode3
)) {
23967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
23969 arg3
= static_cast< bool >(val3
);
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
23983 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23984 PyObject
*resultobj
= 0;
23985 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23988 PyObject
*swig_obj
[1] ;
23990 if (!args
) SWIG_fail
;
23991 swig_obj
[0] = args
;
23992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
23993 if (!SWIG_IsOK(res1
)) {
23994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23996 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= SWIG_Py_Void();
24011 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24012 PyObject
*resultobj
= 0;
24013 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24017 PyObject
*swig_obj
[1] ;
24019 if (!args
) SWIG_fail
;
24020 swig_obj
[0] = args
;
24021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24022 if (!SWIG_IsOK(res1
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24025 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24026 result
= (int)(int) ((arg1
)->widthSash
);
24027 resultobj
= SWIG_From_int(static_cast< int >(result
));
24034 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24035 PyObject
*resultobj
= 0;
24036 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24040 PyObject
*swig_obj
[1] ;
24042 if (!args
) SWIG_fail
;
24043 swig_obj
[0] = args
;
24044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24045 if (!SWIG_IsOK(res1
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24048 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24049 result
= (int)(int) ((arg1
)->border
);
24050 resultobj
= SWIG_From_int(static_cast< int >(result
));
24057 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24058 PyObject
*resultobj
= 0;
24059 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24063 PyObject
*swig_obj
[1] ;
24065 if (!args
) SWIG_fail
;
24066 swig_obj
[0] = args
;
24067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24071 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24072 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24073 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24080 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24083 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24084 return SWIG_Py_Void();
24087 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 return SWIG_Python_InitShadowInstance(args
);
24091 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
= 0;
24095 wxRendererVersion
*result
= 0 ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char * kwnames
[] = {
24103 (char *) "version_",(char *) "age_", NULL
24106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24108 if (!SWIG_IsOK(ecode1
)) {
24109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24111 arg1
= static_cast< int >(val1
);
24112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24113 if (!SWIG_IsOK(ecode2
)) {
24114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24116 arg2
= static_cast< int >(val2
);
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24130 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24131 PyObject
*resultobj
= 0;
24132 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24135 PyObject
*swig_obj
[1] ;
24137 if (!args
) SWIG_fail
;
24138 swig_obj
[0] = args
;
24139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24143 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= SWIG_Py_Void();
24158 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
= 0;
24160 wxRendererVersion
*arg1
= 0 ;
24164 PyObject
* obj0
= 0 ;
24165 char * kwnames
[] = {
24166 (char *) "ver", NULL
24169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24170 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24171 if (!SWIG_IsOK(res1
)) {
24172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24177 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24193 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24199 PyObject
*swig_obj
[1] ;
24201 if (!args
) SWIG_fail
;
24202 swig_obj
[0] = args
;
24203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24207 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24208 result
= (int)(int) ((arg1
)->version
);
24209 resultobj
= SWIG_From_int(static_cast< int >(result
));
24216 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24217 PyObject
*resultobj
= 0;
24218 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24222 PyObject
*swig_obj
[1] ;
24224 if (!args
) SWIG_fail
;
24225 swig_obj
[0] = args
;
24226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24227 if (!SWIG_IsOK(res1
)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24230 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24231 result
= (int)(int) ((arg1
)->age
);
24232 resultobj
= SWIG_From_int(static_cast< int >(result
));
24239 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24242 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24243 return SWIG_Py_Void();
24246 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24247 return SWIG_Python_InitShadowInstance(args
);
24250 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
= 0;
24252 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24253 wxWindow
*arg2
= (wxWindow
*) 0 ;
24256 int arg5
= (int) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 PyObject
* obj2
= 0 ;
24269 PyObject
* obj3
= 0 ;
24270 PyObject
* obj4
= 0 ;
24271 char * kwnames
[] = {
24272 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24277 if (!SWIG_IsOK(res1
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24280 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24282 if (!SWIG_IsOK(res2
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24286 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24287 if (!SWIG_IsOK(res3
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24293 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24296 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24300 if (!SWIG_IsOK(ecode5
)) {
24301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24303 arg5
= static_cast< int >(val5
);
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_Py_Void();
24318 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24321 wxWindow
*arg2
= (wxWindow
*) 0 ;
24324 int arg5
= (int) 0 ;
24334 PyObject
* obj0
= 0 ;
24335 PyObject
* obj1
= 0 ;
24336 PyObject
* obj2
= 0 ;
24337 PyObject
* obj3
= 0 ;
24338 PyObject
* obj4
= 0 ;
24339 char * kwnames
[] = {
24340 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24345 if (!SWIG_IsOK(res1
)) {
24346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24348 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24350 if (!SWIG_IsOK(res2
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24353 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24354 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24355 if (!SWIG_IsOK(res3
)) {
24356 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24361 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24364 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24367 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24368 if (!SWIG_IsOK(ecode5
)) {
24369 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24371 arg5
= static_cast< int >(val5
);
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_Py_Void();
24386 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
= 0;
24388 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24389 wxWindow
*arg2
= (wxWindow
*) 0 ;
24392 int arg5
= (int) 0 ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 PyObject
* obj2
= 0 ;
24405 PyObject
* obj3
= 0 ;
24406 PyObject
* obj4
= 0 ;
24407 char * kwnames
[] = {
24408 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24413 if (!SWIG_IsOK(res1
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24416 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24418 if (!SWIG_IsOK(res2
)) {
24419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24421 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24422 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24423 if (!SWIG_IsOK(res3
)) {
24424 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24429 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24432 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24435 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24436 if (!SWIG_IsOK(ecode5
)) {
24437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24439 arg5
= static_cast< int >(val5
);
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_Py_Void();
24454 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24457 wxWindow
*arg2
= (wxWindow
*) 0 ;
24461 wxOrientation arg6
;
24462 int arg7
= (int) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 PyObject
* obj2
= 0 ;
24479 PyObject
* obj3
= 0 ;
24480 PyObject
* obj4
= 0 ;
24481 PyObject
* obj5
= 0 ;
24482 PyObject
* obj6
= 0 ;
24483 char * kwnames
[] = {
24484 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24489 if (!SWIG_IsOK(res1
)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24492 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24494 if (!SWIG_IsOK(res2
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24497 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24498 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24499 if (!SWIG_IsOK(res3
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24505 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24508 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24510 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24511 if (!SWIG_IsOK(ecode5
)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24514 arg5
= static_cast< int >(val5
);
24515 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24516 if (!SWIG_IsOK(ecode6
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24519 arg6
= static_cast< wxOrientation
>(val6
);
24521 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24522 if (!SWIG_IsOK(ecode7
)) {
24523 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24525 arg7
= static_cast< int >(val7
);
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_Py_Void();
24540 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
= 0;
24542 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24543 wxWindow
*arg2
= (wxWindow
*) 0 ;
24546 int arg5
= (int) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 PyObject
* obj2
= 0 ;
24559 PyObject
* obj3
= 0 ;
24560 PyObject
* obj4
= 0 ;
24561 char * kwnames
[] = {
24562 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24567 if (!SWIG_IsOK(res1
)) {
24568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24570 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24572 if (!SWIG_IsOK(res2
)) {
24573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24575 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24576 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24577 if (!SWIG_IsOK(res3
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24583 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24586 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24589 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24590 if (!SWIG_IsOK(ecode5
)) {
24591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24593 arg5
= static_cast< int >(val5
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= SWIG_Py_Void();
24608 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
= 0;
24610 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24611 wxWindow
*arg2
= (wxWindow
*) 0 ;
24614 int arg5
= (int) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 PyObject
* obj2
= 0 ;
24627 PyObject
* obj3
= 0 ;
24628 PyObject
* obj4
= 0 ;
24629 char * kwnames
[] = {
24630 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24638 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24640 if (!SWIG_IsOK(res2
)) {
24641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24643 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24644 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24645 if (!SWIG_IsOK(res3
)) {
24646 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24651 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24654 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24658 if (!SWIG_IsOK(ecode5
)) {
24659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24661 arg5
= static_cast< int >(val5
);
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= SWIG_Py_Void();
24676 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
= 0;
24678 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24679 wxWindow
*arg2
= (wxWindow
*) 0 ;
24682 int arg5
= (int) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 PyObject
* obj2
= 0 ;
24695 PyObject
* obj3
= 0 ;
24696 PyObject
* obj4
= 0 ;
24697 char * kwnames
[] = {
24698 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24703 if (!SWIG_IsOK(res1
)) {
24704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24706 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24708 if (!SWIG_IsOK(res2
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
24711 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24712 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24713 if (!SWIG_IsOK(res3
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24719 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24722 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24726 if (!SWIG_IsOK(ecode5
)) {
24727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
24729 arg5
= static_cast< int >(val5
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= SWIG_Py_Void();
24744 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
= 0;
24746 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24747 wxWindow
*arg2
= (wxWindow
*) 0 ;
24750 int arg5
= (int) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 PyObject
* obj1
= 0 ;
24762 PyObject
* obj2
= 0 ;
24763 PyObject
* obj3
= 0 ;
24764 PyObject
* obj4
= 0 ;
24765 char * kwnames
[] = {
24766 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24771 if (!SWIG_IsOK(res1
)) {
24772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24774 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24776 if (!SWIG_IsOK(res2
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24780 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24781 if (!SWIG_IsOK(res3
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24787 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24790 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24793 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24794 if (!SWIG_IsOK(ecode5
)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
24797 arg5
= static_cast< int >(val5
);
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_Py_Void();
24812 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
= 0;
24814 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24815 wxWindow
*arg2
= (wxWindow
*) 0 ;
24818 int arg5
= (int) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 PyObject
* obj2
= 0 ;
24831 PyObject
* obj3
= 0 ;
24832 PyObject
* obj4
= 0 ;
24833 char * kwnames
[] = {
24834 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24842 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24844 if (!SWIG_IsOK(res2
)) {
24845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
24847 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24848 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24849 if (!SWIG_IsOK(res3
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24855 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24858 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24862 if (!SWIG_IsOK(ecode5
)) {
24863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
24865 arg5
= static_cast< int >(val5
);
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_Py_Void();
24880 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
= 0;
24882 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24883 wxWindow
*arg2
= (wxWindow
*) 0 ;
24884 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 char * kwnames
[] = {
24892 (char *) "self",(char *) "win", NULL
24895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24900 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24902 if (!SWIG_IsOK(res2
)) {
24903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24919 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24920 PyObject
*resultobj
= 0;
24921 wxRendererNative
*result
= 0 ;
24923 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24928 result
= (wxRendererNative
*) &_result_ref
;
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24940 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24941 PyObject
*resultobj
= 0;
24942 wxRendererNative
*result
= 0 ;
24944 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24949 result
= (wxRendererNative
*) &_result_ref
;
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24961 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24962 PyObject
*resultobj
= 0;
24963 wxRendererNative
*result
= 0 ;
24965 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24970 result
= (wxRendererNative
*) &_result_ref
;
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24982 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
= 0;
24984 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24985 wxRendererNative
*result
= 0 ;
24988 PyObject
* obj0
= 0 ;
24989 char * kwnames
[] = {
24990 (char *) "renderer", NULL
24993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
24994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24995 if (!SWIG_IsOK(res1
)) {
24996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24998 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25012 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25013 PyObject
*resultobj
= 0;
25014 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25015 SwigValueWrapper
<wxRendererVersion
> result
;
25018 PyObject
*swig_obj
[1] ;
25020 if (!args
) SWIG_fail
;
25021 swig_obj
[0] = args
;
25022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25023 if (!SWIG_IsOK(res1
)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25026 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25040 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25043 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25044 return SWIG_Py_Void();
25047 static PyMethodDef SwigMethods
[] = {
25048 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25049 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25050 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25051 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25052 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25053 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25054 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25055 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25056 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25057 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25058 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25059 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25060 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25061 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25062 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25063 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25064 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25065 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25066 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25067 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25068 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25069 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25070 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25071 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25072 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25073 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25074 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25075 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25076 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25077 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25078 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25079 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25080 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25081 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25082 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25083 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25084 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25085 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25086 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25087 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25088 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25089 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25090 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25091 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25092 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25093 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25094 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25095 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25096 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25097 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25098 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25099 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25100 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25101 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25102 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25103 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25104 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25105 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25106 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25107 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25108 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25109 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25110 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25111 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
25112 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25113 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25114 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25115 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25116 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25117 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25118 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25119 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25120 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25121 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25122 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25123 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25124 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25125 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25126 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25127 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25128 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25129 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25130 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25131 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25132 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25134 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25135 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25136 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25137 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25138 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25139 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25141 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25142 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25143 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25144 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25145 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25146 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25147 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25148 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25149 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25150 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25151 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25152 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25155 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25156 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25157 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25158 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25160 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25161 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25162 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25163 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25164 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25165 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25166 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25167 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25169 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25171 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25172 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25173 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25174 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25175 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25176 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25177 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25181 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25182 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25184 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25187 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25188 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25189 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25194 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25195 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25201 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25205 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25215 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25218 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25219 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25221 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25222 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25223 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25224 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25225 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25226 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25227 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25228 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25229 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25230 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25231 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25232 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25233 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
25234 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
25235 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
25236 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
25237 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
25239 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
25240 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
25241 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
25242 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
25243 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
25244 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
25245 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
25254 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
25255 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25256 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
25257 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
25258 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
25259 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
25260 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
25261 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
25262 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
25263 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
25264 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
25265 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
25267 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
25268 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
25269 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
25272 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
25273 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
25274 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
25277 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
25283 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
25288 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
25289 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
25291 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
25297 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
25300 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
25301 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
25302 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
25303 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
25304 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
25305 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
25306 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
25307 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
25308 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
25309 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
25310 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
25311 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
25312 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
25324 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
25325 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
25326 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
25328 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
25329 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
25331 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
25332 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
25333 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
25334 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
25338 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
25339 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
25340 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
25341 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
25342 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
25343 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
25344 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
25345 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
25346 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
25347 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
25348 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
25350 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
25353 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
25354 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
25355 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
25356 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
25357 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
25358 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
25359 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
25360 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
25369 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
25370 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
25371 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
25372 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
25373 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
25374 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
25375 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
25381 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
25382 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
25383 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
25432 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
25434 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
25435 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
25436 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
25443 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
25444 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
25445 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
25446 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
25447 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
25452 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
25453 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
25454 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
25455 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
25464 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
25465 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
25466 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
25467 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
25468 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
25469 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
25470 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
25471 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
25472 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
25473 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
25474 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
25475 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
25478 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
25480 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
25482 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
25484 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
25485 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
25488 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
25489 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
25493 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
25495 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
25498 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
25499 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
25500 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
25501 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
25502 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
25503 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
25510 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
25511 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
25514 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
25515 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
25516 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
25517 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
25518 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
25519 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
25520 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
25522 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
25523 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
25524 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
25527 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
25528 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
25529 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
25531 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
25532 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
25534 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
25535 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
25537 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
25538 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
25540 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
25541 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
25543 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
25546 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
25547 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
25548 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
25550 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
25551 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
25553 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
25554 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
25555 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
25556 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
25557 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
25559 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
25560 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
25561 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
25563 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
25564 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
25566 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
25574 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
25576 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
25578 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
25579 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
25580 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
25581 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
25582 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
25583 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
25589 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
25590 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
25591 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
25592 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
25593 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
25594 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
25598 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
25602 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
25606 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
25607 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
25608 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
25613 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
25614 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
25615 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
25616 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
25617 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
25618 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
25619 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
25620 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
25621 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
25622 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
25623 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
25624 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
25633 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
25634 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
25636 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
25637 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
25638 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
25639 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
25640 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
25641 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
25643 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
25645 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
25646 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
25647 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
25648 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
25659 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
25660 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
25661 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
25663 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
25664 { NULL
, NULL
, 0, NULL
}
25668 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25670 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
25671 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
25673 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
25674 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25676 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
25677 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
25679 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
25680 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
25682 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
25683 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
25685 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
25686 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
25688 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
25689 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
25691 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
25692 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
25694 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
25695 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
25697 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
25698 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
25700 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
25701 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
25703 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
25704 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
25706 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
25707 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
25709 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
25710 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
25712 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
25713 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
25715 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
25716 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
25718 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
25719 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25721 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
25722 return (void *)((wxDC
*) ((wxClientDC
*) x
));
25724 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
25725 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
25727 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
25728 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
25730 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
25731 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
25733 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
25734 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
25736 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
25737 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
25739 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
25740 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
25742 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
25743 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25745 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25746 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25748 static void *_p_wxPenTo_p_wxObject(void *x
) {
25749 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
25751 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
25752 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
25754 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25755 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25757 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25758 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25760 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25763 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25764 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25766 static void *_p_wxIconTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
25769 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25772 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25775 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) ((wxSizer
*) x
));
25778 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25781 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25784 static void *_p_wxEventTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) ((wxEvent
*) x
));
25787 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25790 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25793 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25796 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
25799 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25802 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25805 static void *_p_wxDCTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) ((wxDC
*) x
));
25808 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25811 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25814 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25817 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25820 static void *_p_wxControlTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25823 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25826 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
25829 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25830 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25832 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
25833 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
25835 static void *_p_wxRegionTo_p_wxObject(void *x
) {
25836 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
25838 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25839 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25841 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
25842 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
25844 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
25845 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
25847 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
25848 return (void *)((wxObject
*) ((wxEffects
*) x
));
25850 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25851 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25853 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25856 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
25857 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
25859 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25860 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25862 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25863 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25865 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
25866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
25868 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25869 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25871 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25874 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25875 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25877 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25878 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25880 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25881 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25883 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25884 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25886 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25887 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25889 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25890 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25892 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25895 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25898 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25901 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25904 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25907 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25908 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25910 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25911 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25913 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25914 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25916 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25919 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
25920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
25922 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25923 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25925 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25928 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25931 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25932 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25934 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
25935 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25937 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
25938 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
25940 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
25941 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
25943 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
25944 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
25946 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
25947 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
25949 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25950 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25952 static void *_p_wxImageTo_p_wxObject(void *x
) {
25953 return (void *)((wxObject
*) ((wxImage
*) x
));
25955 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25956 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25958 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
25959 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
25961 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
25962 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
25964 static void *_p_wxImageListTo_p_wxObject(void *x
) {
25965 return (void *)((wxObject
*) ((wxImageList
*) x
));
25967 static void *_p_wxCursorTo_p_wxObject(void *x
) {
25968 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
25970 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
25971 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
25973 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
25974 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
25976 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25979 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25980 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25982 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25983 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25985 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25986 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25988 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25989 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25991 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25994 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
25995 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
25997 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25998 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26000 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
26001 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
26003 static void *_p_wxMaskTo_p_wxObject(void *x
) {
26004 return (void *)((wxObject
*) ((wxMask
*) x
));
26006 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26009 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26010 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26012 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26013 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26015 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26016 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26018 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26019 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26021 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26022 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26024 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26027 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26028 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26030 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26031 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26033 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26034 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26036 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26037 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26039 static void *_p_wxFontTo_p_wxObject(void *x
) {
26040 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26042 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26043 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26045 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26046 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26048 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26051 static void *_p_wxColourTo_p_wxObject(void *x
) {
26052 return (void *)((wxObject
*) ((wxColour
*) x
));
26054 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26057 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26058 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26060 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26061 return (void *)((wxWindow
*) ((wxControl
*) x
));
26063 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26064 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26066 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26067 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26069 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26070 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26071 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};
26072 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26073 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26074 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26075 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26076 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26077 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26078 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26079 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26080 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26081 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26082 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26083 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26084 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26085 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26086 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26087 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26088 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26089 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26090 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26091 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26092 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26093 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
26094 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26095 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26096 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26097 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26098 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26099 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26100 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26101 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26102 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26103 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26104 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26105 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26106 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26107 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26108 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26109 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26110 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26111 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26112 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26113 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26114 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26115 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26116 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26117 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26118 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26119 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26120 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26121 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26122 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26123 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26124 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26125 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
26126 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26127 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26128 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26129 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26130 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26131 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26132 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26133 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26134 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26135 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26136 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26137 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26138 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26139 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26140 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26141 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26142 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26143 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26144 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26145 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26146 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26147 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26148 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26149 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26150 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26151 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26152 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26153 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26154 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26155 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26156 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26157 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26158 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26159 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26160 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26161 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26162 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26163 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26164 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26165 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26166 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26167 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26168 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26169 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26170 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26171 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26172 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26173 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26174 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26175 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26176 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26177 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26178 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26179 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26180 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26181 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26182 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26183 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26184 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26185 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26186 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26187 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26188 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26189 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26190 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26191 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26192 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26193 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26194 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26195 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26196 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26197 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26198 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26199 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26200 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26201 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26202 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26203 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
26204 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26205 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26206 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26208 static swig_type_info
*swig_type_initial
[] = {
26211 &_swigt__p_form_ops_t
,
26213 &_swigt__p_unsigned_char
,
26214 &_swigt__p_unsigned_int
,
26215 &_swigt__p_unsigned_long
,
26216 &_swigt__p_wxANIHandler
,
26217 &_swigt__p_wxAcceleratorTable
,
26218 &_swigt__p_wxActivateEvent
,
26219 &_swigt__p_wxBMPHandler
,
26220 &_swigt__p_wxBitmap
,
26221 &_swigt__p_wxBoxSizer
,
26222 &_swigt__p_wxBrush
,
26223 &_swigt__p_wxBrushList
,
26224 &_swigt__p_wxBufferedDC
,
26225 &_swigt__p_wxBufferedPaintDC
,
26226 &_swigt__p_wxCURHandler
,
26227 &_swigt__p_wxChildFocusEvent
,
26228 &_swigt__p_wxClientDC
,
26229 &_swigt__p_wxClipboardTextEvent
,
26230 &_swigt__p_wxCloseEvent
,
26231 &_swigt__p_wxColour
,
26232 &_swigt__p_wxColourDatabase
,
26233 &_swigt__p_wxCommandEvent
,
26234 &_swigt__p_wxContextMenuEvent
,
26235 &_swigt__p_wxControl
,
26236 &_swigt__p_wxControlWithItems
,
26237 &_swigt__p_wxCursor
,
26240 &_swigt__p_wxDateEvent
,
26241 &_swigt__p_wxDisplayChangedEvent
,
26242 &_swigt__p_wxDropFilesEvent
,
26243 &_swigt__p_wxDuplexMode
,
26244 &_swigt__p_wxEffects
,
26245 &_swigt__p_wxEncodingConverter
,
26246 &_swigt__p_wxEraseEvent
,
26247 &_swigt__p_wxEvent
,
26248 &_swigt__p_wxEvtHandler
,
26249 &_swigt__p_wxFSFile
,
26250 &_swigt__p_wxFileSystem
,
26251 &_swigt__p_wxFlexGridSizer
,
26252 &_swigt__p_wxFocusEvent
,
26254 &_swigt__p_wxFontList
,
26255 &_swigt__p_wxFontMapper
,
26256 &_swigt__p_wxGBSizerItem
,
26257 &_swigt__p_wxGDIObjListBase
,
26258 &_swigt__p_wxGDIObject
,
26259 &_swigt__p_wxGIFHandler
,
26260 &_swigt__p_wxGridBagSizer
,
26261 &_swigt__p_wxGridSizer
,
26262 &_swigt__p_wxICOHandler
,
26264 &_swigt__p_wxIconBundle
,
26265 &_swigt__p_wxIconLocation
,
26266 &_swigt__p_wxIconizeEvent
,
26267 &_swigt__p_wxIdleEvent
,
26268 &_swigt__p_wxImage
,
26269 &_swigt__p_wxImageHandler
,
26270 &_swigt__p_wxImageList
,
26271 &_swigt__p_wxIndividualLayoutConstraint
,
26272 &_swigt__p_wxInitDialogEvent
,
26273 &_swigt__p_wxJPEGHandler
,
26274 &_swigt__p_wxKeyEvent
,
26275 &_swigt__p_wxLanguageInfo
,
26276 &_swigt__p_wxLayoutConstraints
,
26277 &_swigt__p_wxLocale
,
26279 &_swigt__p_wxMaximizeEvent
,
26280 &_swigt__p_wxMemoryDC
,
26282 &_swigt__p_wxMenuBar
,
26283 &_swigt__p_wxMenuEvent
,
26284 &_swigt__p_wxMenuItem
,
26285 &_swigt__p_wxMetaFile
,
26286 &_swigt__p_wxMetaFileDC
,
26287 &_swigt__p_wxMirrorDC
,
26288 &_swigt__p_wxMouseCaptureChangedEvent
,
26289 &_swigt__p_wxMouseEvent
,
26290 &_swigt__p_wxMoveEvent
,
26291 &_swigt__p_wxNativeEncodingInfo
,
26292 &_swigt__p_wxNativeFontInfo
,
26293 &_swigt__p_wxNavigationKeyEvent
,
26294 &_swigt__p_wxNcPaintEvent
,
26295 &_swigt__p_wxNotifyEvent
,
26296 &_swigt__p_wxObject
,
26297 &_swigt__p_wxPCXHandler
,
26298 &_swigt__p_wxPNGHandler
,
26299 &_swigt__p_wxPNMHandler
,
26300 &_swigt__p_wxPaintDC
,
26301 &_swigt__p_wxPaintEvent
,
26302 &_swigt__p_wxPalette
,
26303 &_swigt__p_wxPaletteChangedEvent
,
26304 &_swigt__p_wxPaperSize
,
26306 &_swigt__p_wxPenList
,
26307 &_swigt__p_wxPoint
,
26308 &_swigt__p_wxPostScriptDC
,
26309 &_swigt__p_wxPrintData
,
26310 &_swigt__p_wxPrinterDC
,
26311 &_swigt__p_wxPyApp
,
26312 &_swigt__p_wxPyCommandEvent
,
26313 &_swigt__p_wxPyEvent
,
26314 &_swigt__p_wxPyFontEnumerator
,
26315 &_swigt__p_wxPyImageHandler
,
26316 &_swigt__p_wxPySizer
,
26317 &_swigt__p_wxPyValidator
,
26318 &_swigt__p_wxQueryNewPaletteEvent
,
26320 &_swigt__p_wxRegion
,
26321 &_swigt__p_wxRegionIterator
,
26322 &_swigt__p_wxRendererNative
,
26323 &_swigt__p_wxRendererVersion
,
26324 &_swigt__p_wxScreenDC
,
26325 &_swigt__p_wxScrollEvent
,
26326 &_swigt__p_wxScrollWinEvent
,
26327 &_swigt__p_wxSetCursorEvent
,
26328 &_swigt__p_wxShowEvent
,
26330 &_swigt__p_wxSizeEvent
,
26331 &_swigt__p_wxSizer
,
26332 &_swigt__p_wxSizerItem
,
26333 &_swigt__p_wxSplitterRenderParams
,
26334 &_swigt__p_wxStaticBoxSizer
,
26335 &_swigt__p_wxStdDialogButtonSizer
,
26336 &_swigt__p_wxStockGDI
,
26337 &_swigt__p_wxString
,
26338 &_swigt__p_wxSysColourChangedEvent
,
26339 &_swigt__p_wxTIFFHandler
,
26340 &_swigt__p_wxUpdateUIEvent
,
26341 &_swigt__p_wxValidator
,
26342 &_swigt__p_wxWindow
,
26343 &_swigt__p_wxWindowCreateEvent
,
26344 &_swigt__p_wxWindowDC
,
26345 &_swigt__p_wxWindowDestroyEvent
,
26346 &_swigt__p_wxXPMHandler
,
26349 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
26350 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
26351 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
26352 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
26353 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
26354 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
26355 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
26356 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
26357 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
26358 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
26359 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}};
26360 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26361 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
26362 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
26363 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
26364 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
26365 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}};
26366 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
26367 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
26368 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
26369 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
26370 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
26371 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
26372 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
26373 static swig_cast_info _swigc__p_wxGDIObjListBase
[] = { {&_swigt__p_wxGDIObjListBase
, 0, 0, 0}, {&_swigt__p_wxBrushList
, _p_wxBrushListTo_p_wxGDIObjListBase
, 0, 0}, {&_swigt__p_wxFontList
, _p_wxFontListTo_p_wxGDIObjListBase
, 0, 0}, {&_swigt__p_wxPenList
, _p_wxPenListTo_p_wxGDIObjListBase
, 0, 0},{0, 0, 0, 0}};
26374 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}};
26375 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
26376 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
26377 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
26378 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
26379 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
26380 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
26381 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
26382 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
26383 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}};
26384 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
26385 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
26386 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
26387 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
26388 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
26389 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
26390 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26391 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26392 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
26393 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
26394 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26395 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26396 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26397 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
26398 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
26399 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
26400 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
26401 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26402 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26403 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
26404 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
26405 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26406 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26407 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26408 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26409 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26410 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26411 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
26412 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
26413 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
26414 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
26415 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26416 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26417 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
26418 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
26419 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26420 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
26421 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26422 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
26423 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26424 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26425 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26426 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
26427 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26428 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26429 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
26430 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
26431 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
26432 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
26433 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26434 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26435 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26436 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26437 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
26438 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26439 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
26440 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26441 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26442 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
26443 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
26444 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
26445 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26446 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26447 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26448 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
26449 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
26450 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26451 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26452 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
26453 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26454 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26455 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26456 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26457 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26458 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
26459 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26460 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26461 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
26462 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
26463 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
26464 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
26465 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26466 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
26467 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
26468 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
26469 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
26470 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
26471 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
26472 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
26473 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
26474 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
26475 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
26476 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
26477 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
26478 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
26479 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
26480 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
26481 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
26482 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
26483 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
26484 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
26485 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}};
26486 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
26488 static swig_cast_info
*swig_cast_initial
[] = {
26491 _swigc__p_form_ops_t
,
26493 _swigc__p_unsigned_char
,
26494 _swigc__p_unsigned_int
,
26495 _swigc__p_unsigned_long
,
26496 _swigc__p_wxANIHandler
,
26497 _swigc__p_wxAcceleratorTable
,
26498 _swigc__p_wxActivateEvent
,
26499 _swigc__p_wxBMPHandler
,
26500 _swigc__p_wxBitmap
,
26501 _swigc__p_wxBoxSizer
,
26503 _swigc__p_wxBrushList
,
26504 _swigc__p_wxBufferedDC
,
26505 _swigc__p_wxBufferedPaintDC
,
26506 _swigc__p_wxCURHandler
,
26507 _swigc__p_wxChildFocusEvent
,
26508 _swigc__p_wxClientDC
,
26509 _swigc__p_wxClipboardTextEvent
,
26510 _swigc__p_wxCloseEvent
,
26511 _swigc__p_wxColour
,
26512 _swigc__p_wxColourDatabase
,
26513 _swigc__p_wxCommandEvent
,
26514 _swigc__p_wxContextMenuEvent
,
26515 _swigc__p_wxControl
,
26516 _swigc__p_wxControlWithItems
,
26517 _swigc__p_wxCursor
,
26520 _swigc__p_wxDateEvent
,
26521 _swigc__p_wxDisplayChangedEvent
,
26522 _swigc__p_wxDropFilesEvent
,
26523 _swigc__p_wxDuplexMode
,
26524 _swigc__p_wxEffects
,
26525 _swigc__p_wxEncodingConverter
,
26526 _swigc__p_wxEraseEvent
,
26528 _swigc__p_wxEvtHandler
,
26529 _swigc__p_wxFSFile
,
26530 _swigc__p_wxFileSystem
,
26531 _swigc__p_wxFlexGridSizer
,
26532 _swigc__p_wxFocusEvent
,
26534 _swigc__p_wxFontList
,
26535 _swigc__p_wxFontMapper
,
26536 _swigc__p_wxGBSizerItem
,
26537 _swigc__p_wxGDIObjListBase
,
26538 _swigc__p_wxGDIObject
,
26539 _swigc__p_wxGIFHandler
,
26540 _swigc__p_wxGridBagSizer
,
26541 _swigc__p_wxGridSizer
,
26542 _swigc__p_wxICOHandler
,
26544 _swigc__p_wxIconBundle
,
26545 _swigc__p_wxIconLocation
,
26546 _swigc__p_wxIconizeEvent
,
26547 _swigc__p_wxIdleEvent
,
26549 _swigc__p_wxImageHandler
,
26550 _swigc__p_wxImageList
,
26551 _swigc__p_wxIndividualLayoutConstraint
,
26552 _swigc__p_wxInitDialogEvent
,
26553 _swigc__p_wxJPEGHandler
,
26554 _swigc__p_wxKeyEvent
,
26555 _swigc__p_wxLanguageInfo
,
26556 _swigc__p_wxLayoutConstraints
,
26557 _swigc__p_wxLocale
,
26559 _swigc__p_wxMaximizeEvent
,
26560 _swigc__p_wxMemoryDC
,
26562 _swigc__p_wxMenuBar
,
26563 _swigc__p_wxMenuEvent
,
26564 _swigc__p_wxMenuItem
,
26565 _swigc__p_wxMetaFile
,
26566 _swigc__p_wxMetaFileDC
,
26567 _swigc__p_wxMirrorDC
,
26568 _swigc__p_wxMouseCaptureChangedEvent
,
26569 _swigc__p_wxMouseEvent
,
26570 _swigc__p_wxMoveEvent
,
26571 _swigc__p_wxNativeEncodingInfo
,
26572 _swigc__p_wxNativeFontInfo
,
26573 _swigc__p_wxNavigationKeyEvent
,
26574 _swigc__p_wxNcPaintEvent
,
26575 _swigc__p_wxNotifyEvent
,
26576 _swigc__p_wxObject
,
26577 _swigc__p_wxPCXHandler
,
26578 _swigc__p_wxPNGHandler
,
26579 _swigc__p_wxPNMHandler
,
26580 _swigc__p_wxPaintDC
,
26581 _swigc__p_wxPaintEvent
,
26582 _swigc__p_wxPalette
,
26583 _swigc__p_wxPaletteChangedEvent
,
26584 _swigc__p_wxPaperSize
,
26586 _swigc__p_wxPenList
,
26588 _swigc__p_wxPostScriptDC
,
26589 _swigc__p_wxPrintData
,
26590 _swigc__p_wxPrinterDC
,
26592 _swigc__p_wxPyCommandEvent
,
26593 _swigc__p_wxPyEvent
,
26594 _swigc__p_wxPyFontEnumerator
,
26595 _swigc__p_wxPyImageHandler
,
26596 _swigc__p_wxPySizer
,
26597 _swigc__p_wxPyValidator
,
26598 _swigc__p_wxQueryNewPaletteEvent
,
26600 _swigc__p_wxRegion
,
26601 _swigc__p_wxRegionIterator
,
26602 _swigc__p_wxRendererNative
,
26603 _swigc__p_wxRendererVersion
,
26604 _swigc__p_wxScreenDC
,
26605 _swigc__p_wxScrollEvent
,
26606 _swigc__p_wxScrollWinEvent
,
26607 _swigc__p_wxSetCursorEvent
,
26608 _swigc__p_wxShowEvent
,
26610 _swigc__p_wxSizeEvent
,
26612 _swigc__p_wxSizerItem
,
26613 _swigc__p_wxSplitterRenderParams
,
26614 _swigc__p_wxStaticBoxSizer
,
26615 _swigc__p_wxStdDialogButtonSizer
,
26616 _swigc__p_wxStockGDI
,
26617 _swigc__p_wxString
,
26618 _swigc__p_wxSysColourChangedEvent
,
26619 _swigc__p_wxTIFFHandler
,
26620 _swigc__p_wxUpdateUIEvent
,
26621 _swigc__p_wxValidator
,
26622 _swigc__p_wxWindow
,
26623 _swigc__p_wxWindowCreateEvent
,
26624 _swigc__p_wxWindowDC
,
26625 _swigc__p_wxWindowDestroyEvent
,
26626 _swigc__p_wxXPMHandler
,
26630 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26632 static swig_const_info swig_const_table
[] = {
26633 {0, 0, 0, 0.0, 0, 0}};
26638 /* -----------------------------------------------------------------------------
26639 * Type initialization:
26640 * This problem is tough by the requirement that no dynamic
26641 * memory is used. Also, since swig_type_info structures store pointers to
26642 * swig_cast_info structures and swig_cast_info structures store pointers back
26643 * to swig_type_info structures, we need some lookup code at initialization.
26644 * The idea is that swig generates all the structures that are needed.
26645 * The runtime then collects these partially filled structures.
26646 * The SWIG_InitializeModule function takes these initial arrays out of
26647 * swig_module, and does all the lookup, filling in the swig_module.types
26648 * array with the correct data and linking the correct swig_cast_info
26649 * structures together.
26651 * The generated swig_type_info structures are assigned staticly to an initial
26652 * array. We just loop though that array, and handle each type individually.
26653 * First we lookup if this type has been already loaded, and if so, use the
26654 * loaded structure instead of the generated one. Then we have to fill in the
26655 * cast linked list. The cast data is initially stored in something like a
26656 * two-dimensional array. Each row corresponds to a type (there are the same
26657 * number of rows as there are in the swig_type_initial array). Each entry in
26658 * a column is one of the swig_cast_info structures for that type.
26659 * The cast_initial array is actually an array of arrays, because each row has
26660 * a variable number of columns. So to actually build the cast linked list,
26661 * we find the array of casts associated with the type, and loop through it
26662 * adding the casts to the list. The one last trick we need to do is making
26663 * sure the type pointer in the swig_cast_info struct is correct.
26665 * First off, we lookup the cast->type name to see if it is already loaded.
26666 * There are three cases to handle:
26667 * 1) If the cast->type has already been loaded AND the type we are adding
26668 * casting info to has not been loaded (it is in this module), THEN we
26669 * replace the cast->type pointer with the type pointer that has already
26671 * 2) If BOTH types (the one we are adding casting info to, and the
26672 * cast->type) are loaded, THEN the cast info has already been loaded by
26673 * the previous module so we just ignore it.
26674 * 3) Finally, if cast->type has not already been loaded, then we add that
26675 * swig_cast_info to the linked list (because the cast->type) pointer will
26677 * ----------------------------------------------------------------------------- */
26687 #define SWIGRUNTIME_DEBUG
26691 SWIG_InitializeModule(void *clientdata
) {
26693 swig_module_info
*module_head
;
26694 static int init_run
= 0;
26696 clientdata
= clientdata
;
26698 if (init_run
) return;
26701 /* Initialize the swig_module */
26702 swig_module
.type_initial
= swig_type_initial
;
26703 swig_module
.cast_initial
= swig_cast_initial
;
26705 /* Try and load any already created modules */
26706 module_head
= SWIG_GetModule(clientdata
);
26708 swig_module
.next
= module_head
->next
;
26709 module_head
->next
= &swig_module
;
26711 /* This is the first module loaded */
26712 swig_module
.next
= &swig_module
;
26713 SWIG_SetModule(clientdata
, &swig_module
);
26716 /* Now work on filling in swig_module.types */
26717 #ifdef SWIGRUNTIME_DEBUG
26718 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
26720 for (i
= 0; i
< swig_module
.size
; ++i
) {
26721 swig_type_info
*type
= 0;
26722 swig_type_info
*ret
;
26723 swig_cast_info
*cast
;
26725 #ifdef SWIGRUNTIME_DEBUG
26726 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26729 /* if there is another module already loaded */
26730 if (swig_module
.next
!= &swig_module
) {
26731 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
26734 /* Overwrite clientdata field */
26735 #ifdef SWIGRUNTIME_DEBUG
26736 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
26738 if (swig_module
.type_initial
[i
]->clientdata
) {
26739 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
26740 #ifdef SWIGRUNTIME_DEBUG
26741 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
26745 type
= swig_module
.type_initial
[i
];
26748 /* Insert casting types */
26749 cast
= swig_module
.cast_initial
[i
];
26750 while (cast
->type
) {
26751 /* Don't need to add information already in the list */
26753 #ifdef SWIGRUNTIME_DEBUG
26754 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
26756 if (swig_module
.next
!= &swig_module
) {
26757 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
26758 #ifdef SWIGRUNTIME_DEBUG
26759 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
26763 if (type
== swig_module
.type_initial
[i
]) {
26764 #ifdef SWIGRUNTIME_DEBUG
26765 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
26770 /* Check for casting already in the list */
26771 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
26772 #ifdef SWIGRUNTIME_DEBUG
26773 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
26775 if (!ocast
) ret
= 0;
26780 #ifdef SWIGRUNTIME_DEBUG
26781 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
26784 type
->cast
->prev
= cast
;
26785 cast
->next
= type
->cast
;
26791 /* Set entry in modules->types array equal to the type */
26792 swig_module
.types
[i
] = type
;
26794 swig_module
.types
[i
] = 0;
26796 #ifdef SWIGRUNTIME_DEBUG
26797 printf("**** SWIG_InitializeModule: Cast List ******\n");
26798 for (i
= 0; i
< swig_module
.size
; ++i
) {
26800 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
26801 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26802 while (cast
->type
) {
26803 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
26807 printf("---- Total casts: %d\n",j
);
26809 printf("**** SWIG_InitializeModule: Cast List ******\n");
26813 /* This function will propagate the clientdata field of type to
26814 * any new swig_type_info structures that have been added into the list
26815 * of equivalent types. It is like calling
26816 * SWIG_TypeClientData(type, clientdata) a second time.
26819 SWIG_PropagateClientData(void) {
26821 swig_cast_info
*equiv
;
26822 static int init_run
= 0;
26824 if (init_run
) return;
26827 for (i
= 0; i
< swig_module
.size
; i
++) {
26828 if (swig_module
.types
[i
]->clientdata
) {
26829 equiv
= swig_module
.types
[i
]->cast
;
26831 if (!equiv
->converter
) {
26832 if (equiv
->type
&& !equiv
->type
->clientdata
)
26833 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
26835 equiv
= equiv
->next
;
26855 /* Python-specific SWIG API */
26856 #define SWIG_newvarlink() SWIG_Python_newvarlink()
26857 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
26858 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
26860 /* -----------------------------------------------------------------------------
26861 * global variable support code.
26862 * ----------------------------------------------------------------------------- */
26864 typedef struct swig_globalvar
{
26865 char *name
; /* Name of global variable */
26866 PyObject
*(*get_attr
)(void); /* Return the current value */
26867 int (*set_attr
)(PyObject
*); /* Set the value */
26868 struct swig_globalvar
*next
;
26871 typedef struct swig_varlinkobject
{
26873 swig_globalvar
*vars
;
26874 } swig_varlinkobject
;
26876 SWIGINTERN PyObject
*
26877 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
26878 return PyString_FromString("<Swig global variables>");
26881 SWIGINTERN PyObject
*
26882 swig_varlink_str(swig_varlinkobject
*v
) {
26883 PyObject
*str
= PyString_FromString("(");
26884 swig_globalvar
*var
;
26885 for (var
= v
->vars
; var
; var
=var
->next
) {
26886 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
26887 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
26889 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
26894 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
26895 PyObject
*str
= swig_varlink_str(v
);
26896 fprintf(fp
,"Swig global variables ");
26897 fprintf(fp
,"%s\n", PyString_AsString(str
));
26903 swig_varlink_dealloc(swig_varlinkobject
*v
) {
26904 swig_globalvar
*var
= v
->vars
;
26906 swig_globalvar
*n
= var
->next
;
26913 SWIGINTERN PyObject
*
26914 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
26915 PyObject
*res
= NULL
;
26916 swig_globalvar
*var
= v
->vars
;
26918 if (strcmp(var
->name
,n
) == 0) {
26919 res
= (*var
->get_attr
)();
26924 if (res
== NULL
&& !PyErr_Occurred()) {
26925 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26931 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
26933 swig_globalvar
*var
= v
->vars
;
26935 if (strcmp(var
->name
,n
) == 0) {
26936 res
= (*var
->set_attr
)(p
);
26941 if (res
== 1 && !PyErr_Occurred()) {
26942 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26947 SWIGINTERN PyTypeObject
*
26948 swig_varlink_type(void) {
26949 static char varlink__doc__
[] = "Swig var link object";
26950 static PyTypeObject varlink_type
;
26951 static int type_init
= 0;
26953 const PyTypeObject tmp
26955 PyObject_HEAD_INIT(NULL
)
26956 0, /* Number of items in variable part (ob_size) */
26957 (char *)"swigvarlink", /* Type name (tp_name) */
26958 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
26959 0, /* Itemsize (tp_itemsize) */
26960 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
26961 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
26962 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
26963 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
26964 0, /* tp_compare */
26965 (reprfunc
) swig_varlink_repr
, /* tp_repr */
26966 0, /* tp_as_number */
26967 0, /* tp_as_sequence */
26968 0, /* tp_as_mapping */
26971 (reprfunc
)swig_varlink_str
, /* tp_str */
26972 0, /* tp_getattro */
26973 0, /* tp_setattro */
26974 0, /* tp_as_buffer */
26976 varlink__doc__
, /* tp_doc */
26977 0, /* tp_traverse */
26979 0, /* tp_richcompare */
26980 0, /* tp_weaklistoffset */
26981 #if PY_VERSION_HEX >= 0x02020000
26982 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
26984 #if PY_VERSION_HEX >= 0x02030000
26987 #ifdef COUNT_ALLOCS
26988 0,0,0,0 /* tp_alloc -> tp_next */
26991 varlink_type
= tmp
;
26992 varlink_type
.ob_type
= &PyType_Type
;
26995 return &varlink_type
;
26998 /* Create a variable linking object for use later */
26999 SWIGINTERN PyObject
*
27000 SWIG_Python_newvarlink(void) {
27001 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
27005 return ((PyObject
*) result
);
27009 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
27010 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
27011 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
27013 size_t size
= strlen(name
)+1;
27014 gv
->name
= (char *)malloc(size
);
27016 strncpy(gv
->name
,name
,size
);
27017 gv
->get_attr
= get_attr
;
27018 gv
->set_attr
= set_attr
;
27019 gv
->next
= v
->vars
;
27025 SWIGINTERN PyObject
*
27027 static PyObject
*_SWIG_globals
= 0;
27028 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27029 return _SWIG_globals
;
27032 /* -----------------------------------------------------------------------------
27033 * constants/methods manipulation
27034 * ----------------------------------------------------------------------------- */
27036 /* Install Constants */
27038 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27041 for (i
= 0; constants
[i
].type
; ++i
) {
27042 switch(constants
[i
].type
) {
27043 case SWIG_PY_POINTER
:
27044 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27046 case SWIG_PY_BINARY
:
27047 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27054 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27060 /* -----------------------------------------------------------------------------*/
27061 /* Fix SwigMethods to carry the callback ptrs when needed */
27062 /* -----------------------------------------------------------------------------*/
27065 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27066 swig_const_info
*const_table
,
27067 swig_type_info
**types
,
27068 swig_type_info
**types_initial
) {
27070 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27071 char *c
= methods
[i
].ml_doc
;
27072 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27074 swig_const_info
*ci
= 0;
27075 char *name
= c
+ 10;
27076 for (j
= 0; const_table
[j
].type
; ++j
) {
27077 if (strncmp(const_table
[j
].name
, name
,
27078 strlen(const_table
[j
].name
)) == 0) {
27079 ci
= &(const_table
[j
]);
27084 size_t shift
= (ci
->ptype
) - types
;
27085 swig_type_info
*ty
= types_initial
[shift
];
27086 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27087 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27088 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27091 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27093 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27095 strncpy(buff
, "swig_ptr: ", 10);
27097 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27098 methods
[i
].ml_doc
= ndoc
;
27110 /* -----------------------------------------------------------------------------*
27111 * Partial Init method
27112 * -----------------------------------------------------------------------------*/
27117 SWIGEXPORT
void SWIG_init(void) {
27120 /* Fix SwigMethods to carry the callback ptrs when needed */
27121 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27123 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27124 d
= PyModule_GetDict(m
);
27126 SWIG_InitializeModule(0);
27127 SWIG_InstallConstants(d
,swig_const_table
);
27130 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
27131 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
27132 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
27133 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27134 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27135 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27136 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27137 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27138 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27139 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27140 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27141 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27142 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27143 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27144 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27145 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27146 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27147 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27148 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27149 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27150 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27151 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27152 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27153 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27154 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27155 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27156 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27157 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27158 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27159 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27160 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27161 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27162 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27163 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27164 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27165 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27166 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27167 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27168 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27169 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27170 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27171 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27172 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27173 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27174 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27175 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27176 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27177 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27178 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27179 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27180 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27181 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27182 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27183 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27184 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27185 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27186 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27187 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27188 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27189 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27190 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27191 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27192 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27193 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27194 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27195 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27196 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27197 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27198 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27199 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27200 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27201 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27202 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27203 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27204 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27205 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27206 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27207 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27208 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27209 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27210 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27211 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27212 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27213 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27214 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27215 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27216 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27217 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27218 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27219 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27220 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27221 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27222 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27223 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27224 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27225 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27226 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27227 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27228 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27229 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
27230 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
27231 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
27232 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
27233 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
27234 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
27235 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
27236 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
27237 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
27238 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
27239 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
27240 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
27241 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
27242 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
27243 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
27244 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
27245 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
27246 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
27247 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
27248 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
27249 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
27250 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
27251 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
27252 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
27253 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
27254 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
27255 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
27256 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
27257 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
27258 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
27259 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
27261 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
27263 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
27264 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
27265 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
27266 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
27267 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
27268 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
27269 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
27270 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
27271 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
27272 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
27273 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
27274 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
27275 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
27276 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
27277 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
27278 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
27279 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
27280 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
27281 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
27282 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
27283 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
27284 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
27285 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
27286 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
27287 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
27288 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
27289 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
27290 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
27291 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
27292 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
27293 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
27294 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
27295 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
27296 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
27297 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
27298 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
27299 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
27300 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
27301 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
27302 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
27303 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
27304 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
27305 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
27306 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
27307 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
27308 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
27309 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
27310 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
27311 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
27312 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
27313 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
27314 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
27315 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
27316 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
27317 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
27318 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
27319 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
27320 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
27321 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
27322 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
27323 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
27324 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
27325 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
27326 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
27327 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
27328 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
27329 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
27330 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
27331 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
27332 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
27333 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
27334 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
27335 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
27336 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
27337 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
27338 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
27339 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
27340 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
27341 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
27342 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
27343 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
27344 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
27345 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
27346 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
27347 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
27348 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
27349 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
27350 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
27351 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
27352 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
27353 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
27354 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
27355 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
27356 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
27357 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
27358 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
27359 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
27360 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
27361 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
27362 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
27363 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
27364 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
27365 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
27366 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
27367 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
27368 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
27369 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
27370 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
27371 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
27372 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
27373 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
27374 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
27375 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
27376 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
27377 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
27378 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
27379 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
27380 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
27381 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
27382 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
27383 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
27384 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
27385 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
27386 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
27387 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
27388 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
27389 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
27390 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
27391 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
27392 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
27393 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
27394 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
27395 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
27396 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
27397 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
27398 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
27399 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
27400 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
27401 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
27402 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
27403 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
27404 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
27405 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
27406 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
27407 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
27408 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
27409 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
27410 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
27411 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
27412 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
27413 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
27414 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
27415 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
27416 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
27417 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
27418 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
27419 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
27420 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
27421 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
27422 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
27423 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
27424 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
27425 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
27426 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
27427 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
27428 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
27429 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
27430 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
27431 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
27432 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
27433 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
27434 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
27435 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
27436 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
27437 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
27438 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
27439 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
27440 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
27441 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
27442 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
27443 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
27444 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
27445 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
27446 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
27447 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
27448 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
27449 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
27450 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
27451 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
27452 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
27453 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
27454 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
27455 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
27456 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
27457 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
27458 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
27459 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
27460 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
27461 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
27462 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
27463 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
27464 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
27465 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
27466 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
27467 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
27468 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
27469 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
27470 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
27471 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
27472 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
27473 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
27474 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
27475 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
27476 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
27477 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
27478 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
27479 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
27480 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
27481 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
27482 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
27483 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
27484 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
27485 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
27486 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
27487 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
27488 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
27489 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
27490 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
27491 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
27492 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
27493 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
27494 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
27495 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
27496 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
27497 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
27498 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
27499 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
27500 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
27501 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
27502 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
27503 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
27504 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
27505 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
27506 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
27507 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
27508 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
27509 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
27510 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
27511 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
27512 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
27513 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
27514 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
27515 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
27516 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
27517 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
27518 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
27519 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
27520 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
27521 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
27522 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
27523 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
27524 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
27525 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
27526 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
27527 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
27528 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
27529 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
27530 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
27531 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
27532 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
27533 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
27534 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
27535 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
27536 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
27537 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
27538 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
27539 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
27540 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
27541 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
27542 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
27543 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
27544 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
27545 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
27546 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
27547 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
27548 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
27549 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
27550 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
27551 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
27552 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
27553 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
27554 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
27555 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
27556 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
27557 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
27558 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
27559 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
27560 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
27561 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
27562 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
27563 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
27564 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
27565 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
27566 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
27567 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
27568 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
27569 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
27570 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
27571 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
27572 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
27573 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
27574 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
27575 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
27576 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
27578 // Work around a chicken/egg problem in drawlist.cpp
27579 wxPyDrawList_SetAPIPtr();