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 #include <wx/image.h>
2870 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2871 char** cArray
= NULL
;
2874 if (!PyList_Check(listOfStrings
)) {
2875 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2878 count
= PyList_Size(listOfStrings
);
2879 cArray
= new char*[count
];
2881 for(int x
=0; x
<count
; x
++) {
2882 // TODO: Need some validation and error checking here
2883 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2889 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2890 char** cArray
= NULL
;
2893 cArray
= ConvertListOfStrings(listOfStrings
);
2896 bmp
= new wxBitmap(cArray
);
2900 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2903 PyString_AsStringAndSize(bits
, &buf
, &length
);
2904 return new wxBitmap(buf
, width
, height
, depth
);
2906 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2907 wxSize
size(self
->GetWidth(), self
->GetHeight());
2910 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2911 wxMask
*mask
= new wxMask(*self
, colour
);
2912 self
->SetMask(mask
);
2914 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2915 self
->SetWidth(size
.x
);
2916 self
->SetHeight(size
.y
);
2918 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2919 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2920 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2922 return new wxMask(bitmap
, *wxBLACK
);
2924 return new wxMask(bitmap
, colour
);
2927 #include <wx/iconbndl.h>
2929 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2930 wxIcon
* icon
= new wxIcon();
2931 icon
->CopyFromBitmap(bmp
);
2934 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2935 char** cArray
= NULL
;
2938 cArray
= ConvertListOfStrings(listOfStrings
);
2941 icon
= new wxIcon(cArray
);
2945 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2949 return new wxIconLocation(*filename
);
2952 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2959 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2966 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2968 wxImage
img(cursorName
, type
);
2969 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2970 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2971 return new wxCursor(img
);
2973 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2978 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2981 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2982 return self
->operator bool();
2985 #include <wx/fontutil.h>
2986 #include <wx/fontmap.h>
2987 #include <wx/fontenum.h>
2991 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2993 if (obj
== Py_True
) {
2994 if (val
) *val
= true;
2996 } else if (obj
== Py_False
) {
2997 if (val
) *val
= false;
3001 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3002 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3007 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3008 return self
->ToString();
3011 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3012 static wxNativeEncodingInfo info
;
3013 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3020 SWIGINTERNINLINE PyObject
*
3021 SWIG_From_size_t (size_t value
)
3023 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3027 SWIGINTERNINLINE
int
3028 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3031 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3032 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3036 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3037 wxFontEncoding alt_enc
;
3038 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3039 return PyInt_FromLong(alt_enc
);
3045 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3046 wxNativeFontInfo nfi
;
3047 nfi
.FromString(info
);
3048 return new wxFont(nfi
);
3050 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3051 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3053 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3054 return wxFontBase::New(pixelSize
, family
,
3055 style
, weight
, underlined
,
3058 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3059 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3061 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3062 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3064 class wxPyFontEnumerator
: public wxFontEnumerator
{
3066 wxPyFontEnumerator() {}
3067 ~wxPyFontEnumerator() {}
3069 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3070 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3075 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3076 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3079 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3081 wxArrayString
* arr
= self
->GetEncodings();
3082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3084 ret
= wxArrayString2PyList_helper(*arr
);
3086 ret
= PyList_New(0);
3087 wxPyEndBlockThreads(blocked
);
3090 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3092 wxArrayString
* arr
= self
->GetFacenames();
3093 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3095 ret
= wxArrayString2PyList_helper(*arr
);
3097 ret
= PyList_New(0);
3098 wxPyEndBlockThreads(blocked
);
3104 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3107 loc
= new wxLocale();
3109 loc
= new wxLocale(language
, flags
);
3110 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3111 // for the floating point conversions and such to work right.
3112 #if PY_VERSION_HEX < 0x02040000
3113 setlocale(LC_NUMERIC
, "C");
3117 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3118 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3119 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3120 // for the floating point conversions and such to work right.
3121 #if PY_VERSION_HEX < 0x02040000
3122 setlocale(LC_NUMERIC
, "C");
3126 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3127 bool rc
= self
->Init(language
, flags
);
3128 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3129 // for the floating point conversions and such to work right.
3130 #if PY_VERSION_HEX < 0x02040000
3131 setlocale(LC_NUMERIC
, "C");
3136 #include "wx/wxPython/pydrawxxx.h"
3138 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3140 self
->GetPixel(x
, y
, &col
);
3143 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3145 self
->GetPixel(pt
, &col
);
3150 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3152 if (PyNumber_Check(obj
)) {
3153 if (val
) *val
= PyFloat_AsDouble(obj
);
3156 return SWIG_TypeError
;
3159 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3161 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3164 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3166 self
->GetClippingBox(rect
);
3169 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3171 self
->GetPartialTextExtents(text
, widths
);
3175 #define SWIG_From_double PyFloat_FromDouble
3177 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3178 self
->SetLogicalOrigin(point
.x
, point
.y
);
3180 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3181 self
->SetDeviceOrigin(point
.x
, point
.y
);
3183 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3184 self
->CalcBoundingBox(point
.x
, point
.y
);
3186 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3187 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3189 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3190 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3192 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3193 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3195 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3196 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3198 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3199 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3201 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3202 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3205 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3213 #include <wx/dcbuffer.h>
3216 #include <wx/dcps.h>
3219 class wxMetaFile
: public wxObject
{
3221 wxMetaFile(const wxString
&)
3222 { wxPyRaiseNotImplemented(); }
3225 class wxMetaFileDC
: public wxClientDC
{
3227 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3228 { wxPyRaiseNotImplemented(); }
3233 class wxPrinterDC
: public wxClientDC
{
3235 wxPrinterDC(const wxPrintData
&)
3236 { wxPyRaiseNotImplemented(); }
3242 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3243 self
->AddColour(name
, wxColour(red
, green
, blue
));
3246 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3247 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3248 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3249 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3252 #include <wx/effects.h>
3255 #include "wx/renderer.h"
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3267 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3268 PyObject
*resultobj
= 0;
3269 wxGDIObject
*result
= 0 ;
3271 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3273 if (!wxPyCheckForApp()) SWIG_fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 result
= (wxGDIObject
*)new wxGDIObject();
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3286 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3287 PyObject
*resultobj
= 0;
3288 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3291 PyObject
*swig_obj
[1] ;
3293 if (!args
) SWIG_fail
;
3295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3296 if (!SWIG_IsOK(res1
)) {
3297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3299 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 resultobj
= SWIG_Py_Void();
3314 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3315 PyObject
*resultobj
= 0;
3316 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3320 PyObject
*swig_obj
[1] ;
3322 if (!args
) SWIG_fail
;
3324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3325 if (!SWIG_IsOK(res1
)) {
3326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3328 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 result
= (bool)(arg1
)->IsNull();
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3344 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3347 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3348 return SWIG_Py_Void();
3351 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3352 return SWIG_Python_InitShadowInstance(args
);
3355 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
= 0;
3357 byte arg1
= (byte
) 0 ;
3358 byte arg2
= (byte
) 0 ;
3359 byte arg3
= (byte
) 0 ;
3360 wxColour
*result
= 0 ;
3361 unsigned char val1
;
3363 unsigned char val2
;
3365 unsigned char val3
;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3369 PyObject
* obj2
= 0 ;
3370 char * kwnames
[] = {
3371 (char *) "red",(char *) "green",(char *) "blue", NULL
3374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3376 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3377 if (!SWIG_IsOK(ecode1
)) {
3378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3380 arg1
= static_cast< byte
>(val1
);
3383 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3384 if (!SWIG_IsOK(ecode2
)) {
3385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3387 arg2
= static_cast< byte
>(val2
);
3390 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3391 if (!SWIG_IsOK(ecode3
)) {
3392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3394 arg3
= static_cast< byte
>(val3
);
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3409 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
= 0;
3411 wxString
*arg1
= 0 ;
3412 wxColour
*result
= 0 ;
3413 bool temp1
= false ;
3414 PyObject
* obj0
= 0 ;
3415 char * kwnames
[] = {
3416 (char *) "colorName", NULL
3419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3421 arg1
= wxString_in_helper(obj0
);
3422 if (arg1
== NULL
) SWIG_fail
;
3426 if (!wxPyCheckForApp()) SWIG_fail
;
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3447 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
*resultobj
= 0;
3449 unsigned long arg1
;
3450 wxColour
*result
= 0 ;
3451 unsigned long val1
;
3453 PyObject
* obj0
= 0 ;
3454 char * kwnames
[] = {
3455 (char *) "colRGB", NULL
3458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3459 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3460 if (!SWIG_IsOK(ecode1
)) {
3461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3463 arg1
= static_cast< unsigned long >(val1
);
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 result
= (wxColour
*)new wxColour(arg1
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3477 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3478 PyObject
*resultobj
= 0;
3479 wxColour
*arg1
= (wxColour
*) 0 ;
3482 PyObject
*swig_obj
[1] ;
3484 if (!args
) SWIG_fail
;
3486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3487 if (!SWIG_IsOK(res1
)) {
3488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3490 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3498 resultobj
= SWIG_Py_Void();
3505 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3506 PyObject
*resultobj
= 0;
3507 wxColour
*arg1
= (wxColour
*) 0 ;
3511 PyObject
*swig_obj
[1] ;
3513 if (!args
) SWIG_fail
;
3515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3516 if (!SWIG_IsOK(res1
)) {
3517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3519 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (byte
)(arg1
)->Red();
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3533 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3534 PyObject
*resultobj
= 0;
3535 wxColour
*arg1
= (wxColour
*) 0 ;
3539 PyObject
*swig_obj
[1] ;
3541 if (!args
) SWIG_fail
;
3543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3544 if (!SWIG_IsOK(res1
)) {
3545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3547 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (byte
)(arg1
)->Green();
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3561 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3562 PyObject
*resultobj
= 0;
3563 wxColour
*arg1
= (wxColour
*) 0 ;
3567 PyObject
*swig_obj
[1] ;
3569 if (!args
) SWIG_fail
;
3571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3572 if (!SWIG_IsOK(res1
)) {
3573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3575 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 result
= (byte
)(arg1
)->Blue();
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3589 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3590 PyObject
*resultobj
= 0;
3591 wxColour
*arg1
= (wxColour
*) 0 ;
3595 PyObject
*swig_obj
[1] ;
3597 if (!args
) SWIG_fail
;
3599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3600 if (!SWIG_IsOK(res1
)) {
3601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3603 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 result
= (bool)(arg1
)->Ok();
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3619 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
= 0;
3621 wxColour
*arg1
= (wxColour
*) 0 ;
3627 unsigned char val2
;
3629 unsigned char val3
;
3631 unsigned char val4
;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3635 PyObject
* obj2
= 0 ;
3636 PyObject
* obj3
= 0 ;
3637 char * kwnames
[] = {
3638 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3643 if (!SWIG_IsOK(res1
)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3646 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3647 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3648 if (!SWIG_IsOK(ecode2
)) {
3649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3651 arg2
= static_cast< byte
>(val2
);
3652 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3653 if (!SWIG_IsOK(ecode3
)) {
3654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3656 arg3
= static_cast< byte
>(val3
);
3657 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3658 if (!SWIG_IsOK(ecode4
)) {
3659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3661 arg4
= static_cast< byte
>(val4
);
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 (arg1
)->Set(arg2
,arg3
,arg4
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= SWIG_Py_Void();
3675 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
= 0;
3677 wxColour
*arg1
= (wxColour
*) 0 ;
3678 unsigned long arg2
;
3681 unsigned long val2
;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3685 char * kwnames
[] = {
3686 (char *) "self",(char *) "colRGB", NULL
3689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3691 if (!SWIG_IsOK(res1
)) {
3692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3694 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3695 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3696 if (!SWIG_IsOK(ecode2
)) {
3697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3699 arg2
= static_cast< unsigned long >(val2
);
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_Py_Void();
3713 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
= 0;
3715 wxColour
*arg1
= (wxColour
*) 0 ;
3716 wxString
*arg2
= 0 ;
3719 bool temp2
= false ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3722 char * kwnames
[] = {
3723 (char *) "self",(char *) "colourName", NULL
3726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3728 if (!SWIG_IsOK(res1
)) {
3729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3731 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3733 arg2
= wxString_in_helper(obj1
);
3734 if (arg2
== NULL
) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 (arg1
)->InitFromName((wxString
const &)*arg2
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_Py_Void();
3758 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
= 0;
3760 wxColour
*arg1
= (wxColour
*) 0 ;
3761 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3767 PyObject
* obj0
= 0 ;
3768 PyObject
* obj1
= 0 ;
3769 char * kwnames
[] = {
3770 (char *) "self",(char *) "flags", NULL
3773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3775 if (!SWIG_IsOK(res1
)) {
3776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3778 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3781 if (!SWIG_IsOK(ecode2
)) {
3782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3784 arg2
= static_cast< long >(val2
);
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3805 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3806 PyObject
*resultobj
= 0;
3807 wxColour
*arg1
= (wxColour
*) 0 ;
3811 PyObject
*swig_obj
[1] ;
3813 if (!args
) SWIG_fail
;
3815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3816 if (!SWIG_IsOK(res1
)) {
3817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3819 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_From_long(static_cast< long >(result
));
3833 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
= 0;
3835 wxColour
*arg1
= (wxColour
*) 0 ;
3836 PyObject
*arg2
= (PyObject
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3842 char * kwnames
[] = {
3843 (char *) "self",(char *) "other", NULL
3846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3848 if (!SWIG_IsOK(res1
)) {
3849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3851 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3854 result
= (bool)wxColour___eq__(arg1
,arg2
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3866 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
= 0;
3868 wxColour
*arg1
= (wxColour
*) 0 ;
3869 PyObject
*arg2
= (PyObject
*) 0 ;
3873 PyObject
* obj0
= 0 ;
3874 PyObject
* obj1
= 0 ;
3875 char * kwnames
[] = {
3876 (char *) "self",(char *) "other", NULL
3879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3881 if (!SWIG_IsOK(res1
)) {
3882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3884 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3887 result
= (bool)wxColour___ne__(arg1
,arg2
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3899 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3900 PyObject
*resultobj
= 0;
3901 wxColour
*arg1
= (wxColour
*) 0 ;
3902 PyObject
*result
= 0 ;
3905 PyObject
*swig_obj
[1] ;
3907 if (!args
) SWIG_fail
;
3909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3910 if (!SWIG_IsOK(res1
)) {
3911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3913 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (PyObject
*)wxColour_Get(arg1
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3927 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3928 PyObject
*resultobj
= 0;
3929 wxColour
*arg1
= (wxColour
*) 0 ;
3930 unsigned long result
;
3933 PyObject
*swig_obj
[1] ;
3935 if (!args
) SWIG_fail
;
3937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3938 if (!SWIG_IsOK(res1
)) {
3939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3941 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (unsigned long)wxColour_GetRGB(arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3955 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3958 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3959 return SWIG_Py_Void();
3962 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3963 return SWIG_Python_InitShadowInstance(args
);
3966 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
= 0;
3969 unsigned char *arg2
= (unsigned char *) 0 ;
3970 unsigned char *arg3
= (unsigned char *) 0 ;
3971 unsigned char *arg4
= (unsigned char *) 0 ;
3972 wxPalette
*result
= 0 ;
3981 PyObject
* obj0
= 0 ;
3982 PyObject
* obj1
= 0 ;
3983 PyObject
* obj2
= 0 ;
3984 PyObject
* obj3
= 0 ;
3985 char * kwnames
[] = {
3986 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3990 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3991 if (!SWIG_IsOK(ecode1
)) {
3992 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3994 arg1
= static_cast< int >(val1
);
3995 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3996 if (!SWIG_IsOK(res2
)) {
3997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3999 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4000 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4001 if (!SWIG_IsOK(res3
)) {
4002 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4004 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4005 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4006 if (!SWIG_IsOK(res4
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4009 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4011 if (!wxPyCheckForApp()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4024 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 PyObject
*resultobj
= 0;
4026 wxPalette
*arg1
= (wxPalette
*) 0 ;
4029 PyObject
*swig_obj
[1] ;
4031 if (!args
) SWIG_fail
;
4033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4034 if (!SWIG_IsOK(res1
)) {
4035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4037 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= SWIG_Py_Void();
4052 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
= 0;
4054 wxPalette
*arg1
= (wxPalette
*) 0 ;
4061 unsigned char val2
;
4063 unsigned char val3
;
4065 unsigned char val4
;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4069 PyObject
* obj2
= 0 ;
4070 PyObject
* obj3
= 0 ;
4071 char * kwnames
[] = {
4072 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4080 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4081 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4082 if (!SWIG_IsOK(ecode2
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4085 arg2
= static_cast< byte
>(val2
);
4086 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4087 if (!SWIG_IsOK(ecode3
)) {
4088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4090 arg3
= static_cast< byte
>(val3
);
4091 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4092 if (!SWIG_IsOK(ecode4
)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4095 arg4
= static_cast< byte
>(val4
);
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= SWIG_From_int(static_cast< int >(result
));
4109 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
= 0;
4111 wxPalette
*arg1
= (wxPalette
*) 0 ;
4113 byte
*arg3
= (byte
*) 0 ;
4114 byte
*arg4
= (byte
*) 0 ;
4115 byte
*arg5
= (byte
*) 0 ;
4122 int res3
= SWIG_TMPOBJ
;
4124 int res4
= SWIG_TMPOBJ
;
4126 int res5
= SWIG_TMPOBJ
;
4127 PyObject
* obj0
= 0 ;
4128 PyObject
* obj1
= 0 ;
4129 char * kwnames
[] = {
4130 (char *) "self",(char *) "pixel", NULL
4136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4138 if (!SWIG_IsOK(res1
)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4141 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4143 if (!SWIG_IsOK(ecode2
)) {
4144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4146 arg2
= static_cast< int >(val2
);
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4156 if (SWIG_IsTmpObj(res3
)) {
4157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4159 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4162 if (SWIG_IsTmpObj(res4
)) {
4163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4165 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4168 if (SWIG_IsTmpObj(res5
)) {
4169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4171 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4180 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4181 PyObject
*resultobj
= 0;
4182 wxPalette
*arg1
= (wxPalette
*) 0 ;
4186 PyObject
*swig_obj
[1] ;
4188 if (!args
) SWIG_fail
;
4190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4191 if (!SWIG_IsOK(res1
)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4194 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_From_int(static_cast< int >(result
));
4208 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4209 PyObject
*resultobj
= 0;
4210 wxPalette
*arg1
= (wxPalette
*) 0 ;
4214 PyObject
*swig_obj
[1] ;
4216 if (!args
) SWIG_fail
;
4218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4219 if (!SWIG_IsOK(res1
)) {
4220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4222 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (bool)(arg1
)->Ok();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4238 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4241 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4242 return SWIG_Py_Void();
4245 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4246 return SWIG_Python_InitShadowInstance(args
);
4249 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
= 0;
4251 wxColour
*arg1
= 0 ;
4252 int arg2
= (int) 1 ;
4253 int arg3
= (int) wxSOLID
;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4262 PyObject
* obj2
= 0 ;
4263 char * kwnames
[] = {
4264 (char *) "colour",(char *) "width",(char *) "style", NULL
4267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4270 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4274 if (!SWIG_IsOK(ecode2
)) {
4275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4277 arg2
= static_cast< int >(val2
);
4280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4281 if (!SWIG_IsOK(ecode3
)) {
4282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4284 arg3
= static_cast< int >(val3
);
4287 if (!wxPyCheckForApp()) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4300 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4301 PyObject
*resultobj
= 0;
4302 wxPen
*arg1
= (wxPen
*) 0 ;
4305 PyObject
*swig_obj
[1] ;
4307 if (!args
) SWIG_fail
;
4309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4310 if (!SWIG_IsOK(res1
)) {
4311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4313 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4321 resultobj
= SWIG_Py_Void();
4328 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4329 PyObject
*resultobj
= 0;
4330 wxPen
*arg1
= (wxPen
*) 0 ;
4334 PyObject
*swig_obj
[1] ;
4336 if (!args
) SWIG_fail
;
4338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4339 if (!SWIG_IsOK(res1
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4342 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 result
= (int)(arg1
)->GetCap();
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_From_int(static_cast< int >(result
));
4356 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4357 PyObject
*resultobj
= 0;
4358 wxPen
*arg1
= (wxPen
*) 0 ;
4362 PyObject
*swig_obj
[1] ;
4364 if (!args
) SWIG_fail
;
4366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4367 if (!SWIG_IsOK(res1
)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4370 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (arg1
)->GetColour();
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4384 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4385 PyObject
*resultobj
= 0;
4386 wxPen
*arg1
= (wxPen
*) 0 ;
4390 PyObject
*swig_obj
[1] ;
4392 if (!args
) SWIG_fail
;
4394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4395 if (!SWIG_IsOK(res1
)) {
4396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4398 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= (int)(arg1
)->GetJoin();
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= SWIG_From_int(static_cast< int >(result
));
4412 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4413 PyObject
*resultobj
= 0;
4414 wxPen
*arg1
= (wxPen
*) 0 ;
4418 PyObject
*swig_obj
[1] ;
4420 if (!args
) SWIG_fail
;
4422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4423 if (!SWIG_IsOK(res1
)) {
4424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4426 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 result
= (int)(arg1
)->GetStyle();
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_From_int(static_cast< int >(result
));
4440 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4441 PyObject
*resultobj
= 0;
4442 wxPen
*arg1
= (wxPen
*) 0 ;
4446 PyObject
*swig_obj
[1] ;
4448 if (!args
) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4454 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (int)(arg1
)->GetWidth();
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_From_int(static_cast< int >(result
));
4468 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4469 PyObject
*resultobj
= 0;
4470 wxPen
*arg1
= (wxPen
*) 0 ;
4474 PyObject
*swig_obj
[1] ;
4476 if (!args
) SWIG_fail
;
4478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4479 if (!SWIG_IsOK(res1
)) {
4480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4482 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (bool)(arg1
)->Ok();
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4498 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
= 0;
4500 wxPen
*arg1
= (wxPen
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 char * kwnames
[] = {
4509 (char *) "self",(char *) "cap_style", NULL
4512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4514 if (!SWIG_IsOK(res1
)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4517 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4519 if (!SWIG_IsOK(ecode2
)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4522 arg2
= static_cast< int >(val2
);
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 (arg1
)->SetCap(arg2
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_Py_Void();
4536 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
= 0;
4538 wxPen
*arg1
= (wxPen
*) 0 ;
4539 wxColour
*arg2
= 0 ;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4545 char * kwnames
[] = {
4546 (char *) "self",(char *) "colour", NULL
4549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4551 if (!SWIG_IsOK(res1
)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4554 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 (arg1
)->SetColour(*arg2
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_Py_Void();
4572 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxPen
*arg1
= (wxPen
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4581 PyObject
* obj1
= 0 ;
4582 char * kwnames
[] = {
4583 (char *) "self",(char *) "join_style", NULL
4586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4588 if (!SWIG_IsOK(res1
)) {
4589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4591 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4593 if (!SWIG_IsOK(ecode2
)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4596 arg2
= static_cast< int >(val2
);
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 (arg1
)->SetJoin(arg2
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= SWIG_Py_Void();
4610 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
= 0;
4612 wxPen
*arg1
= (wxPen
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4619 PyObject
* obj1
= 0 ;
4620 char * kwnames
[] = {
4621 (char *) "self",(char *) "style", NULL
4624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4626 if (!SWIG_IsOK(res1
)) {
4627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4629 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4631 if (!SWIG_IsOK(ecode2
)) {
4632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4634 arg2
= static_cast< int >(val2
);
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 (arg1
)->SetStyle(arg2
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_Py_Void();
4648 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
= 0;
4650 wxPen
*arg1
= (wxPen
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4658 char * kwnames
[] = {
4659 (char *) "self",(char *) "width", NULL
4662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4664 if (!SWIG_IsOK(res1
)) {
4665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4667 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4669 if (!SWIG_IsOK(ecode2
)) {
4670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4672 arg2
= static_cast< int >(val2
);
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 (arg1
)->SetWidth(arg2
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= SWIG_Py_Void();
4686 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
*resultobj
= 0;
4688 wxPen
*arg1
= (wxPen
*) 0 ;
4690 wxDash
*arg3
= (wxDash
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 char * kwnames
[] = {
4696 (char *) "self",(char *) "dashes", NULL
4699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4701 if (!SWIG_IsOK(res1
)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4704 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4706 arg2
= PyList_Size(obj1
);
4707 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4708 if (arg3
== NULL
) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 (arg1
)->SetDashes(arg2
,arg3
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_Py_Void();
4718 if (arg3
) delete [] arg3
;
4723 if (arg3
) delete [] arg3
;
4729 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4730 PyObject
*resultobj
= 0;
4731 wxPen
*arg1
= (wxPen
*) 0 ;
4732 PyObject
*result
= 0 ;
4735 PyObject
*swig_obj
[1] ;
4737 if (!args
) SWIG_fail
;
4739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4740 if (!SWIG_IsOK(res1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4743 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4757 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
= 0;
4759 wxPen
*arg1
= (wxPen
*) 0 ;
4760 PyObject
*arg2
= (PyObject
*) 0 ;
4761 PyObject
*arg3
= (PyObject
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 char * kwnames
[] = {
4768 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4773 if (!SWIG_IsOK(res1
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4776 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 wxPen__SetDashes(arg1
,arg2
,arg3
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= SWIG_Py_Void();
4792 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4793 PyObject
*resultobj
= 0;
4794 wxPen
*arg1
= (wxPen
*) 0 ;
4798 PyObject
*swig_obj
[1] ;
4800 if (!args
) SWIG_fail
;
4802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4803 if (!SWIG_IsOK(res1
)) {
4804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4806 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_From_int(static_cast< int >(result
));
4820 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
= 0;
4822 wxPen
*arg1
= (wxPen
*) 0 ;
4823 wxPen
*arg2
= (wxPen
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4830 PyObject
* obj1
= 0 ;
4831 char * kwnames
[] = {
4832 (char *) "self",(char *) "other", NULL
4835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4837 if (!SWIG_IsOK(res1
)) {
4838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4840 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4842 if (!SWIG_IsOK(res2
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4845 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
= 0;
4863 wxPen
*arg1
= (wxPen
*) 0 ;
4864 wxPen
*arg2
= (wxPen
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4871 PyObject
* obj1
= 0 ;
4872 char * kwnames
[] = {
4873 (char *) "self",(char *) "other", NULL
4876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4878 if (!SWIG_IsOK(res1
)) {
4879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4881 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4883 if (!SWIG_IsOK(res2
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4886 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4902 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4905 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4906 return SWIG_Py_Void();
4909 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4910 return SWIG_Python_InitShadowInstance(args
);
4913 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
= 0;
4915 wxColour
*arg1
= 0 ;
4916 int arg2
= (int) wxSOLID
;
4917 wxBrush
*result
= 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4923 char * kwnames
[] = {
4924 (char *) "colour",(char *) "style", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4930 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4934 if (!SWIG_IsOK(ecode2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4937 arg2
= static_cast< int >(val2
);
4940 if (!wxPyCheckForApp()) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4953 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
= 0;
4955 wxBitmap
*arg1
= 0 ;
4956 wxBrush
*result
= 0 ;
4959 PyObject
* obj0
= 0 ;
4960 char * kwnames
[] = {
4961 (char *) "stippleBitmap", NULL
4964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4972 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4974 if (!wxPyCheckForApp()) SWIG_fail
;
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4987 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4988 PyObject
*resultobj
= 0;
4989 wxBrush
*arg1
= (wxBrush
*) 0 ;
4992 PyObject
*swig_obj
[1] ;
4994 if (!args
) SWIG_fail
;
4996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4997 if (!SWIG_IsOK(res1
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5000 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_Py_Void();
5015 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
= 0;
5017 wxBrush
*arg1
= (wxBrush
*) 0 ;
5018 wxColour
*arg2
= 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5024 char * kwnames
[] = {
5025 (char *) "self",(char *) "col", NULL
5028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5030 if (!SWIG_IsOK(res1
)) {
5031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5033 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 (arg1
)->SetColour((wxColour
const &)*arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_Py_Void();
5051 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
= 0;
5053 wxBrush
*arg1
= (wxBrush
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5061 char * kwnames
[] = {
5062 (char *) "self",(char *) "style", NULL
5065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5067 if (!SWIG_IsOK(res1
)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5070 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5072 if (!SWIG_IsOK(ecode2
)) {
5073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5075 arg2
= static_cast< int >(val2
);
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->SetStyle(arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_Py_Void();
5089 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxBrush
*arg1
= (wxBrush
*) 0 ;
5092 wxBitmap
*arg2
= 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5099 char * kwnames
[] = {
5100 (char *) "self",(char *) "stipple", NULL
5103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5108 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5110 if (!SWIG_IsOK(res2
)) {
5111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5116 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= SWIG_Py_Void();
5130 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5131 PyObject
*resultobj
= 0;
5132 wxBrush
*arg1
= (wxBrush
*) 0 ;
5136 PyObject
*swig_obj
[1] ;
5138 if (!args
) SWIG_fail
;
5140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5141 if (!SWIG_IsOK(res1
)) {
5142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5144 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 result
= ((wxBrush
const *)arg1
)->GetColour();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5158 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5159 PyObject
*resultobj
= 0;
5160 wxBrush
*arg1
= (wxBrush
*) 0 ;
5164 PyObject
*swig_obj
[1] ;
5166 if (!args
) SWIG_fail
;
5168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5169 if (!SWIG_IsOK(res1
)) {
5170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5172 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_From_int(static_cast< int >(result
));
5186 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5187 PyObject
*resultobj
= 0;
5188 wxBrush
*arg1
= (wxBrush
*) 0 ;
5189 wxBitmap
*result
= 0 ;
5192 PyObject
*swig_obj
[1] ;
5194 if (!args
) SWIG_fail
;
5196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5197 if (!SWIG_IsOK(res1
)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5200 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5214 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5215 PyObject
*resultobj
= 0;
5216 wxBrush
*arg1
= (wxBrush
*) 0 ;
5220 PyObject
*swig_obj
[1] ;
5222 if (!args
) SWIG_fail
;
5224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5225 if (!SWIG_IsOK(res1
)) {
5226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5228 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5244 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5245 PyObject
*resultobj
= 0;
5246 wxBrush
*arg1
= (wxBrush
*) 0 ;
5250 PyObject
*swig_obj
[1] ;
5252 if (!args
) SWIG_fail
;
5254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5255 if (!SWIG_IsOK(res1
)) {
5256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5258 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= (bool)(arg1
)->Ok();
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5274 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5277 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5278 return SWIG_Py_Void();
5281 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5282 return SWIG_Python_InitShadowInstance(args
);
5285 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 wxString
*arg1
= 0 ;
5288 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5289 wxBitmap
*result
= 0 ;
5290 bool temp1
= false ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "name",(char *) "type", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5301 arg1
= wxString_in_helper(obj0
);
5302 if (arg1
== NULL
) SWIG_fail
;
5306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5307 if (!SWIG_IsOK(ecode2
)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5310 arg2
= static_cast< wxBitmapType
>(val2
);
5313 if (!wxPyCheckForApp()) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5334 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5335 PyObject
*resultobj
= 0;
5336 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5339 PyObject
*swig_obj
[1] ;
5341 if (!args
) SWIG_fail
;
5343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5344 if (!SWIG_IsOK(res1
)) {
5345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5347 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 resultobj
= SWIG_Py_Void();
5362 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
= 0;
5366 int arg3
= (int) -1 ;
5367 wxBitmap
*result
= 0 ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5376 PyObject
* obj2
= 0 ;
5377 char * kwnames
[] = {
5378 (char *) "width",(char *) "height",(char *) "depth", NULL
5381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5383 if (!SWIG_IsOK(ecode1
)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5386 arg1
= static_cast< int >(val1
);
5387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5388 if (!SWIG_IsOK(ecode2
)) {
5389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5391 arg2
= static_cast< int >(val2
);
5393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5394 if (!SWIG_IsOK(ecode3
)) {
5395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5397 arg3
= static_cast< int >(val3
);
5400 if (!wxPyCheckForApp()) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5413 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
= 0;
5416 wxBitmap
*result
= 0 ;
5419 PyObject
* obj0
= 0 ;
5420 char * kwnames
[] = {
5421 (char *) "icon", NULL
5424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5425 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5426 if (!SWIG_IsOK(res1
)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5432 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5434 if (!wxPyCheckForApp()) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5447 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
= 0;
5450 int arg2
= (int) -1 ;
5451 wxBitmap
*result
= 0 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5458 char * kwnames
[] = {
5459 (char *) "image",(char *) "depth", NULL
5462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5463 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5464 if (!SWIG_IsOK(res1
)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5470 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5473 if (!SWIG_IsOK(ecode2
)) {
5474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5476 arg2
= static_cast< int >(val2
);
5479 if (!wxPyCheckForApp()) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5492 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
= 0;
5494 PyObject
*arg1
= (PyObject
*) 0 ;
5495 wxBitmap
*result
= 0 ;
5496 PyObject
* obj0
= 0 ;
5497 char * kwnames
[] = {
5498 (char *) "listOfStrings", NULL
5501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5504 if (!wxPyCheckForApp()) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5517 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
= 0;
5519 PyObject
*arg1
= (PyObject
*) 0 ;
5522 int arg4
= (int) 1 ;
5523 wxBitmap
*result
= 0 ;
5530 PyObject
* obj0
= 0 ;
5531 PyObject
* obj1
= 0 ;
5532 PyObject
* obj2
= 0 ;
5533 PyObject
* obj3
= 0 ;
5534 char * kwnames
[] = {
5535 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5541 if (!SWIG_IsOK(ecode2
)) {
5542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5544 arg2
= static_cast< int >(val2
);
5545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5546 if (!SWIG_IsOK(ecode3
)) {
5547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5549 arg3
= static_cast< int >(val3
);
5551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5552 if (!SWIG_IsOK(ecode4
)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5555 arg4
= static_cast< int >(val4
);
5558 if (!wxPyCheckForApp()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5571 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5572 PyObject
*resultobj
= 0;
5573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5577 PyObject
*swig_obj
[1] ;
5579 if (!args
) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5585 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= (bool)(arg1
)->Ok();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5601 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5602 PyObject
*resultobj
= 0;
5603 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5607 PyObject
*swig_obj
[1] ;
5609 if (!args
) SWIG_fail
;
5611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5612 if (!SWIG_IsOK(res1
)) {
5613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5615 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (int)(arg1
)->GetWidth();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_From_int(static_cast< int >(result
));
5629 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5630 PyObject
*resultobj
= 0;
5631 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5635 PyObject
*swig_obj
[1] ;
5637 if (!args
) SWIG_fail
;
5639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5640 if (!SWIG_IsOK(res1
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5643 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= (int)(arg1
)->GetHeight();
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_From_int(static_cast< int >(result
));
5657 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5658 PyObject
*resultobj
= 0;
5659 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5663 PyObject
*swig_obj
[1] ;
5665 if (!args
) SWIG_fail
;
5667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5668 if (!SWIG_IsOK(res1
)) {
5669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5671 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (int)(arg1
)->GetDepth();
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= SWIG_From_int(static_cast< int >(result
));
5685 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5686 PyObject
*resultobj
= 0;
5687 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5691 PyObject
*swig_obj
[1] ;
5693 if (!args
) SWIG_fail
;
5695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5696 if (!SWIG_IsOK(res1
)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5699 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= wxBitmap_GetSize(arg1
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5713 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5714 PyObject
*resultobj
= 0;
5715 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5716 SwigValueWrapper
<wxImage
> result
;
5719 PyObject
*swig_obj
[1] ;
5721 if (!args
) SWIG_fail
;
5723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5724 if (!SWIG_IsOK(res1
)) {
5725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5727 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5741 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5742 PyObject
*resultobj
= 0;
5743 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5744 wxMask
*result
= 0 ;
5747 PyObject
*swig_obj
[1] ;
5749 if (!args
) SWIG_fail
;
5751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5752 if (!SWIG_IsOK(res1
)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5755 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5769 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
= 0;
5771 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5772 wxMask
*arg2
= (wxMask
*) 0 ;
5776 PyObject
* obj0
= 0 ;
5777 PyObject
* obj1
= 0 ;
5778 char * kwnames
[] = {
5779 (char *) "self",(char *) "mask", NULL
5782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5784 if (!SWIG_IsOK(res1
)) {
5785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5787 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5788 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5789 if (!SWIG_IsOK(res2
)) {
5790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 (arg1
)->SetMask(arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 resultobj
= SWIG_Py_Void();
5805 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
= 0;
5807 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5808 wxColour
*arg2
= 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5814 char * kwnames
[] = {
5815 (char *) "self",(char *) "colour", NULL
5818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5820 if (!SWIG_IsOK(res1
)) {
5821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5823 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5826 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= SWIG_Py_Void();
5841 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
= 0;
5843 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5845 SwigValueWrapper
<wxBitmap
> result
;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5851 char * kwnames
[] = {
5852 (char *) "self",(char *) "rect", NULL
5855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5857 if (!SWIG_IsOK(res1
)) {
5858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5860 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5863 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5878 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
= 0;
5880 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5881 wxString
*arg2
= 0 ;
5883 wxPalette
*arg4
= (wxPalette
*) NULL
;
5887 bool temp2
= false ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5894 PyObject
* obj2
= 0 ;
5895 PyObject
* obj3
= 0 ;
5896 char * kwnames
[] = {
5897 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5902 if (!SWIG_IsOK(res1
)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5905 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5907 arg2
= wxString_in_helper(obj1
);
5908 if (arg2
== NULL
) SWIG_fail
;
5911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5912 if (!SWIG_IsOK(ecode3
)) {
5913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5915 arg3
= static_cast< wxBitmapType
>(val3
);
5917 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5918 if (!SWIG_IsOK(res4
)) {
5919 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5921 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5946 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
= 0;
5948 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5949 wxString
*arg2
= 0 ;
5954 bool temp2
= false ;
5957 PyObject
* obj0
= 0 ;
5958 PyObject
* obj1
= 0 ;
5959 PyObject
* obj2
= 0 ;
5960 char * kwnames
[] = {
5961 (char *) "self",(char *) "name",(char *) "type", NULL
5964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5969 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5971 arg2
= wxString_in_helper(obj1
);
5972 if (arg2
== NULL
) SWIG_fail
;
5975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5976 if (!SWIG_IsOK(ecode3
)) {
5977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5979 arg3
= static_cast< wxBitmapType
>(val3
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6004 PyObject
*resultobj
= 0;
6005 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6006 wxPalette
*result
= 0 ;
6009 PyObject
*swig_obj
[1] ;
6011 if (!args
) SWIG_fail
;
6013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6014 if (!SWIG_IsOK(res1
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6017 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6031 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
= 0;
6033 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6042 char * kwnames
[] = {
6043 (char *) "self",(char *) "icon", NULL
6046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6048 if (!SWIG_IsOK(res1
)) {
6049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6051 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6053 if (!SWIG_IsOK(res2
)) {
6054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6059 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6075 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6085 char * kwnames
[] = {
6086 (char *) "self",(char *) "height", NULL
6089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6091 if (!SWIG_IsOK(res1
)) {
6092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6094 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6096 if (!SWIG_IsOK(ecode2
)) {
6097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6099 arg2
= static_cast< int >(val2
);
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 (arg1
)->SetHeight(arg2
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 resultobj
= SWIG_Py_Void();
6113 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
= 0;
6115 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6123 char * kwnames
[] = {
6124 (char *) "self",(char *) "width", NULL
6127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6134 if (!SWIG_IsOK(ecode2
)) {
6135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6137 arg2
= static_cast< int >(val2
);
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 (arg1
)->SetWidth(arg2
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= SWIG_Py_Void();
6151 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
= 0;
6153 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6161 char * kwnames
[] = {
6162 (char *) "self",(char *) "depth", NULL
6165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6167 if (!SWIG_IsOK(res1
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6172 if (!SWIG_IsOK(ecode2
)) {
6173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6175 arg2
= static_cast< int >(val2
);
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->SetDepth(arg2
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6189 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
= 0;
6191 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6198 char * kwnames
[] = {
6199 (char *) "self",(char *) "size", NULL
6202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6204 if (!SWIG_IsOK(res1
)) {
6205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6210 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= SWIG_Py_Void();
6225 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
= 0;
6227 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6228 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6235 PyObject
* obj1
= 0 ;
6236 char * kwnames
[] = {
6237 (char *) "self",(char *) "other", NULL
6240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6242 if (!SWIG_IsOK(res1
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6245 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6247 if (!SWIG_IsOK(res2
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6250 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6266 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
= 0;
6268 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6269 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "self",(char *) "other", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6286 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6288 if (!SWIG_IsOK(res2
)) {
6289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6291 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6307 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6310 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6311 return SWIG_Py_Void();
6314 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6315 return SWIG_Python_InitShadowInstance(args
);
6318 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
= 0;
6320 wxBitmap
*arg1
= 0 ;
6321 wxColour
const &arg2_defvalue
= wxNullColour
;
6322 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6323 wxMask
*result
= 0 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 char * kwnames
[] = {
6330 (char *) "bitmap",(char *) "colour", NULL
6333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6334 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6335 if (!SWIG_IsOK(res1
)) {
6336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6341 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6349 if (!wxPyCheckForApp()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6362 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6363 PyObject
*resultobj
= 0;
6364 wxMask
*arg1
= (wxMask
*) 0 ;
6367 PyObject
*swig_obj
[1] ;
6369 if (!args
) SWIG_fail
;
6371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6372 if (!SWIG_IsOK(res1
)) {
6373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6375 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_Py_Void();
6390 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6393 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6394 return SWIG_Py_Void();
6397 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6398 return SWIG_Python_InitShadowInstance(args
);
6401 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
= 0;
6403 wxString
*arg1
= 0 ;
6405 int arg3
= (int) -1 ;
6406 int arg4
= (int) -1 ;
6407 wxIcon
*result
= 0 ;
6408 bool temp1
= false ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6417 PyObject
* obj2
= 0 ;
6418 PyObject
* obj3
= 0 ;
6419 char * kwnames
[] = {
6420 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6425 arg1
= wxString_in_helper(obj0
);
6426 if (arg1
== NULL
) SWIG_fail
;
6429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6430 if (!SWIG_IsOK(ecode2
)) {
6431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6433 arg2
= static_cast< wxBitmapType
>(val2
);
6435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6436 if (!SWIG_IsOK(ecode3
)) {
6437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6439 arg3
= static_cast< int >(val3
);
6442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6443 if (!SWIG_IsOK(ecode4
)) {
6444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6446 arg4
= static_cast< int >(val4
);
6449 if (!wxPyCheckForApp()) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6470 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6471 PyObject
*resultobj
= 0;
6472 wxIcon
*arg1
= (wxIcon
*) 0 ;
6475 PyObject
*swig_obj
[1] ;
6477 if (!args
) SWIG_fail
;
6479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6480 if (!SWIG_IsOK(res1
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6483 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= SWIG_Py_Void();
6498 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6499 PyObject
*resultobj
= 0;
6500 wxIcon
*result
= 0 ;
6502 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6504 if (!wxPyCheckForApp()) SWIG_fail
;
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 result
= (wxIcon
*)new wxIcon();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6517 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
= 0;
6519 wxIconLocation
*arg1
= 0 ;
6520 wxIcon
*result
= 0 ;
6523 PyObject
* obj0
= 0 ;
6524 char * kwnames
[] = {
6525 (char *) "loc", NULL
6528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6529 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6530 if (!SWIG_IsOK(res1
)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6536 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6538 if (!wxPyCheckForApp()) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6551 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
= 0;
6553 wxBitmap
*arg1
= 0 ;
6554 wxIcon
*result
= 0 ;
6557 PyObject
* obj0
= 0 ;
6558 char * kwnames
[] = {
6559 (char *) "bmp", NULL
6562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6570 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6572 if (!wxPyCheckForApp()) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6585 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
= 0;
6587 PyObject
*arg1
= (PyObject
*) 0 ;
6588 wxIcon
*result
= 0 ;
6589 PyObject
* obj0
= 0 ;
6590 char * kwnames
[] = {
6591 (char *) "listOfStrings", NULL
6594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6597 if (!wxPyCheckForApp()) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 result
= (wxIcon
*)new_wxIcon(arg1
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6610 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
= 0;
6612 wxIcon
*arg1
= (wxIcon
*) 0 ;
6613 wxString
*arg2
= 0 ;
6618 bool temp2
= false ;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6623 PyObject
* obj2
= 0 ;
6624 char * kwnames
[] = {
6625 (char *) "self",(char *) "name",(char *) "type", NULL
6628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6630 if (!SWIG_IsOK(res1
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6633 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6635 arg2
= wxString_in_helper(obj1
);
6636 if (arg2
== NULL
) SWIG_fail
;
6639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6640 if (!SWIG_IsOK(ecode3
)) {
6641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6643 arg3
= static_cast< wxBitmapType
>(val3
);
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6667 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6668 PyObject
*resultobj
= 0;
6669 wxIcon
*arg1
= (wxIcon
*) 0 ;
6673 PyObject
*swig_obj
[1] ;
6675 if (!args
) SWIG_fail
;
6677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6678 if (!SWIG_IsOK(res1
)) {
6679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6681 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (bool)(arg1
)->Ok();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6697 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6698 PyObject
*resultobj
= 0;
6699 wxIcon
*arg1
= (wxIcon
*) 0 ;
6703 PyObject
*swig_obj
[1] ;
6705 if (!args
) SWIG_fail
;
6707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6708 if (!SWIG_IsOK(res1
)) {
6709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6711 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (int)(arg1
)->GetWidth();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 resultobj
= SWIG_From_int(static_cast< int >(result
));
6725 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6726 PyObject
*resultobj
= 0;
6727 wxIcon
*arg1
= (wxIcon
*) 0 ;
6731 PyObject
*swig_obj
[1] ;
6733 if (!args
) SWIG_fail
;
6735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6736 if (!SWIG_IsOK(res1
)) {
6737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6739 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 result
= (int)(arg1
)->GetHeight();
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= SWIG_From_int(static_cast< int >(result
));
6753 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6754 PyObject
*resultobj
= 0;
6755 wxIcon
*arg1
= (wxIcon
*) 0 ;
6759 PyObject
*swig_obj
[1] ;
6761 if (!args
) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6767 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (int)(arg1
)->GetDepth();
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_From_int(static_cast< int >(result
));
6781 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
= 0;
6783 wxIcon
*arg1
= (wxIcon
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "self",(char *) "w", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6800 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6802 if (!SWIG_IsOK(ecode2
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6805 arg2
= static_cast< int >(val2
);
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 (arg1
)->SetWidth(arg2
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_Py_Void();
6819 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
= 0;
6821 wxIcon
*arg1
= (wxIcon
*) 0 ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6829 char * kwnames
[] = {
6830 (char *) "self",(char *) "h", NULL
6833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6835 if (!SWIG_IsOK(res1
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6838 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6840 if (!SWIG_IsOK(ecode2
)) {
6841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6843 arg2
= static_cast< int >(val2
);
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 (arg1
)->SetHeight(arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_Py_Void();
6857 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
= 0;
6859 wxIcon
*arg1
= (wxIcon
*) 0 ;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 char * kwnames
[] = {
6868 (char *) "self",(char *) "d", NULL
6871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6873 if (!SWIG_IsOK(res1
)) {
6874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6876 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6878 if (!SWIG_IsOK(ecode2
)) {
6879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6881 arg2
= static_cast< int >(val2
);
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 (arg1
)->SetDepth(arg2
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= SWIG_Py_Void();
6895 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
= 0;
6897 wxIcon
*arg1
= (wxIcon
*) 0 ;
6898 wxBitmap
*arg2
= 0 ;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6905 char * kwnames
[] = {
6906 (char *) "self",(char *) "bmp", NULL
6909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6911 if (!SWIG_IsOK(res1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6914 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6916 if (!SWIG_IsOK(res2
)) {
6917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6922 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_Py_Void();
6936 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6938 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6939 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6940 return SWIG_Py_Void();
6943 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6944 return SWIG_Python_InitShadowInstance(args
);
6947 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
= 0;
6949 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6950 int arg2
= (int) 0 ;
6951 wxIconLocation
*result
= 0 ;
6952 bool temp1
= false ;
6955 PyObject
* obj0
= 0 ;
6956 PyObject
* obj1
= 0 ;
6957 char * kwnames
[] = {
6958 (char *) "filename",(char *) "num", NULL
6961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6964 arg1
= wxString_in_helper(obj0
);
6965 if (arg1
== NULL
) SWIG_fail
;
6970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6971 if (!SWIG_IsOK(ecode2
)) {
6972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6974 arg2
= static_cast< int >(val2
);
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6997 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6998 PyObject
*resultobj
= 0;
6999 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7002 PyObject
*swig_obj
[1] ;
7004 if (!args
) SWIG_fail
;
7006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7007 if (!SWIG_IsOK(res1
)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7010 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_Py_Void();
7025 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7026 PyObject
*resultobj
= 0;
7027 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7031 PyObject
*swig_obj
[1] ;
7033 if (!args
) SWIG_fail
;
7035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7036 if (!SWIG_IsOK(res1
)) {
7037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7039 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7055 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
= 0;
7057 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7058 wxString
*arg2
= 0 ;
7061 bool temp2
= false ;
7062 PyObject
* obj0
= 0 ;
7063 PyObject
* obj1
= 0 ;
7064 char * kwnames
[] = {
7065 (char *) "self",(char *) "filename", NULL
7068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7070 if (!SWIG_IsOK(res1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7073 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7075 arg2
= wxString_in_helper(obj1
);
7076 if (arg2
== NULL
) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 (arg1
)->SetFileName((wxString
const &)*arg2
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_Py_Void();
7100 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7101 PyObject
*resultobj
= 0;
7102 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7103 wxString
*result
= 0 ;
7106 PyObject
*swig_obj
[1] ;
7108 if (!args
) SWIG_fail
;
7110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7111 if (!SWIG_IsOK(res1
)) {
7112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7114 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7119 result
= (wxString
*) &_result_ref
;
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7128 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7137 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
= 0;
7139 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 char * kwnames
[] = {
7148 (char *) "self",(char *) "num", NULL
7151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7153 if (!SWIG_IsOK(res1
)) {
7154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7156 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7158 if (!SWIG_IsOK(ecode2
)) {
7159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7161 arg2
= static_cast< int >(val2
);
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 wxIconLocation_SetIndex(arg1
,arg2
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_Py_Void();
7175 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7176 PyObject
*resultobj
= 0;
7177 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7181 PyObject
*swig_obj
[1] ;
7183 if (!args
) SWIG_fail
;
7185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7186 if (!SWIG_IsOK(res1
)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7189 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (int)wxIconLocation_GetIndex(arg1
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= SWIG_From_int(static_cast< int >(result
));
7203 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7206 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7207 return SWIG_Py_Void();
7210 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7211 return SWIG_Python_InitShadowInstance(args
);
7214 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7215 PyObject
*resultobj
= 0;
7216 wxIconBundle
*result
= 0 ;
7218 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 result
= (wxIconBundle
*)new wxIconBundle();
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7232 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
= 0;
7234 wxString
*arg1
= 0 ;
7236 wxIconBundle
*result
= 0 ;
7237 bool temp1
= false ;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7242 char * kwnames
[] = {
7243 (char *) "file",(char *) "type", NULL
7246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7248 arg1
= wxString_in_helper(obj0
);
7249 if (arg1
== NULL
) SWIG_fail
;
7252 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7253 if (!SWIG_IsOK(ecode2
)) {
7254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7256 arg2
= static_cast< long >(val2
);
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7278 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
= 0;
7281 wxIconBundle
*result
= 0 ;
7284 PyObject
* obj0
= 0 ;
7285 char * kwnames
[] = {
7286 (char *) "icon", NULL
7289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7297 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7311 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7312 PyObject
*resultobj
= 0;
7313 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7324 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= SWIG_Py_Void();
7339 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
*resultobj
= 0;
7341 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7349 char * kwnames
[] = {
7350 (char *) "self",(char *) "icon", NULL
7353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7355 if (!SWIG_IsOK(res1
)) {
7356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7358 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7360 if (!SWIG_IsOK(res2
)) {
7361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7366 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_Py_Void();
7380 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
= 0;
7382 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7383 wxString
*arg2
= 0 ;
7387 bool temp2
= false ;
7390 PyObject
* obj0
= 0 ;
7391 PyObject
* obj1
= 0 ;
7392 PyObject
* obj2
= 0 ;
7393 char * kwnames
[] = {
7394 (char *) "self",(char *) "file",(char *) "type", NULL
7397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7399 if (!SWIG_IsOK(res1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7402 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7404 arg2
= wxString_in_helper(obj1
);
7405 if (arg2
== NULL
) SWIG_fail
;
7408 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7409 if (!SWIG_IsOK(ecode3
)) {
7410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7412 arg3
= static_cast< long >(val3
);
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= SWIG_Py_Void();
7434 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
= 0;
7436 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7438 wxIcon
*result
= 0 ;
7442 PyObject
* obj0
= 0 ;
7443 PyObject
* obj1
= 0 ;
7444 char * kwnames
[] = {
7445 (char *) "self",(char *) "size", NULL
7448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7450 if (!SWIG_IsOK(res1
)) {
7451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7453 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7462 result
= (wxIcon
*) &_result_ref
;
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7468 wxIcon
* resultptr
= new wxIcon(*result
);
7469 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7477 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7480 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7481 return SWIG_Py_Void();
7484 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7485 return SWIG_Python_InitShadowInstance(args
);
7488 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
= 0;
7490 wxString
*arg1
= 0 ;
7492 int arg3
= (int) 0 ;
7493 int arg4
= (int) 0 ;
7494 wxCursor
*result
= 0 ;
7495 bool temp1
= false ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7504 PyObject
* obj2
= 0 ;
7505 PyObject
* obj3
= 0 ;
7506 char * kwnames
[] = {
7507 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7512 arg1
= wxString_in_helper(obj0
);
7513 if (arg1
== NULL
) SWIG_fail
;
7516 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7517 if (!SWIG_IsOK(ecode2
)) {
7518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7520 arg2
= static_cast< long >(val2
);
7522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7523 if (!SWIG_IsOK(ecode3
)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7526 arg3
= static_cast< int >(val3
);
7529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7530 if (!SWIG_IsOK(ecode4
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7533 arg4
= static_cast< int >(val4
);
7536 if (!wxPyCheckForApp()) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7557 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7558 PyObject
*resultobj
= 0;
7559 wxCursor
*arg1
= (wxCursor
*) 0 ;
7562 PyObject
*swig_obj
[1] ;
7564 if (!args
) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7570 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_Py_Void();
7585 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
= 0;
7588 wxCursor
*result
= 0 ;
7591 PyObject
* obj0
= 0 ;
7592 char * kwnames
[] = {
7596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7597 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7598 if (!SWIG_IsOK(ecode1
)) {
7599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7601 arg1
= static_cast< int >(val1
);
7603 if (!wxPyCheckForApp()) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (wxCursor
*)new wxCursor(arg1
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7616 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
= 0;
7619 wxCursor
*result
= 0 ;
7622 PyObject
* obj0
= 0 ;
7623 char * kwnames
[] = {
7624 (char *) "image", NULL
7627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7628 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7629 if (!SWIG_IsOK(res1
)) {
7630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7635 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7637 if (!wxPyCheckForApp()) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7650 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7651 PyObject
*resultobj
= 0;
7652 wxCursor
*arg1
= (wxCursor
*) 0 ;
7656 PyObject
*swig_obj
[1] ;
7658 if (!args
) SWIG_fail
;
7660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7661 if (!SWIG_IsOK(res1
)) {
7662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7664 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)(arg1
)->Ok();
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7680 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7683 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7684 return SWIG_Py_Void();
7687 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7688 return SWIG_Python_InitShadowInstance(args
);
7691 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
= 0;
7693 int arg1
= (int) 0 ;
7694 int arg2
= (int) 0 ;
7695 int arg3
= (int) 0 ;
7696 int arg4
= (int) 0 ;
7697 wxRegion
*result
= 0 ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7709 PyObject
* obj3
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7717 if (!SWIG_IsOK(ecode1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7720 arg1
= static_cast< int >(val1
);
7723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7724 if (!SWIG_IsOK(ecode2
)) {
7725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7727 arg2
= static_cast< int >(val2
);
7730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7731 if (!SWIG_IsOK(ecode3
)) {
7732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7734 arg3
= static_cast< int >(val3
);
7737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7738 if (!SWIG_IsOK(ecode4
)) {
7739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7741 arg4
= static_cast< int >(val4
);
7744 if (!wxPyCheckForApp()) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7757 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
= 0;
7759 wxBitmap
*arg1
= 0 ;
7760 wxRegion
*result
= 0 ;
7763 PyObject
* obj0
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "bmp", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7776 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7778 if (!wxPyCheckForApp()) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7791 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
= 0;
7793 wxBitmap
*arg1
= 0 ;
7794 wxColour
*arg2
= 0 ;
7795 int arg3
= (int) 0 ;
7796 wxRegion
*result
= 0 ;
7802 PyObject
* obj0
= 0 ;
7803 PyObject
* obj1
= 0 ;
7804 PyObject
* obj2
= 0 ;
7805 char * kwnames
[] = {
7806 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7810 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7811 if (!SWIG_IsOK(res1
)) {
7812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7817 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7824 if (!SWIG_IsOK(ecode3
)) {
7825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7827 arg3
= static_cast< int >(val3
);
7830 if (!wxPyCheckForApp()) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7843 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
= 0;
7846 wxPoint
*arg2
= (wxPoint
*) 0 ;
7847 int arg3
= (int) wxWINDING_RULE
;
7848 wxRegion
*result
= 0 ;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7853 char * kwnames
[] = {
7854 (char *) "points",(char *) "fillStyle", NULL
7857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7859 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7860 if (arg2
== NULL
) SWIG_fail
;
7863 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7864 if (!SWIG_IsOK(ecode3
)) {
7865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7867 arg3
= static_cast< int >(val3
);
7870 if (!wxPyCheckForApp()) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7878 if (arg2
) delete [] arg2
;
7883 if (arg2
) delete [] arg2
;
7889 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7890 PyObject
*resultobj
= 0;
7891 wxRegion
*arg1
= (wxRegion
*) 0 ;
7894 PyObject
*swig_obj
[1] ;
7896 if (!args
) SWIG_fail
;
7898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7899 if (!SWIG_IsOK(res1
)) {
7900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7902 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_Py_Void();
7917 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7918 PyObject
*resultobj
= 0;
7919 wxRegion
*arg1
= (wxRegion
*) 0 ;
7922 PyObject
*swig_obj
[1] ;
7924 if (!args
) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7930 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= SWIG_Py_Void();
7944 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
= 0;
7946 wxRegion
*arg1
= (wxRegion
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7958 PyObject
* obj2
= 0 ;
7959 char * kwnames
[] = {
7960 (char *) "self",(char *) "x",(char *) "y", NULL
7963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7968 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7970 if (!SWIG_IsOK(ecode2
)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7973 arg2
= static_cast< int >(val2
);
7974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7975 if (!SWIG_IsOK(ecode3
)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7978 arg3
= static_cast< int >(val3
);
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7994 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
= 0;
7996 wxRegion
*arg1
= (wxRegion
*) 0 ;
7999 wxRegionContain result
;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8008 PyObject
* obj2
= 0 ;
8009 char * kwnames
[] = {
8010 (char *) "self",(char *) "x",(char *) "y", NULL
8013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8015 if (!SWIG_IsOK(res1
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8018 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8020 if (!SWIG_IsOK(ecode2
)) {
8021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8023 arg2
= static_cast< int >(val2
);
8024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8025 if (!SWIG_IsOK(ecode3
)) {
8026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8028 arg3
= static_cast< int >(val3
);
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= SWIG_From_int(static_cast< int >(result
));
8042 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxRegion
*arg1
= (wxRegion
*) 0 ;
8046 wxRegionContain result
;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8052 char * kwnames
[] = {
8053 (char *) "self",(char *) "pt", NULL
8056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8058 if (!SWIG_IsOK(res1
)) {
8059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8061 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8064 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= SWIG_From_int(static_cast< int >(result
));
8079 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
= 0;
8081 wxRegion
*arg1
= (wxRegion
*) 0 ;
8083 wxRegionContain result
;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "self",(char *) "rect", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8098 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8101 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= SWIG_From_int(static_cast< int >(result
));
8116 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
= 0;
8118 wxRegion
*arg1
= (wxRegion
*) 0 ;
8123 wxRegionContain result
;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8136 PyObject
* obj2
= 0 ;
8137 PyObject
* obj3
= 0 ;
8138 PyObject
* obj4
= 0 ;
8139 char * kwnames
[] = {
8140 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8145 if (!SWIG_IsOK(res1
)) {
8146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8148 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8150 if (!SWIG_IsOK(ecode2
)) {
8151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8153 arg2
= static_cast< int >(val2
);
8154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8155 if (!SWIG_IsOK(ecode3
)) {
8156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8158 arg3
= static_cast< int >(val3
);
8159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8160 if (!SWIG_IsOK(ecode4
)) {
8161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8163 arg4
= static_cast< int >(val4
);
8164 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8165 if (!SWIG_IsOK(ecode5
)) {
8166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8168 arg5
= static_cast< int >(val5
);
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_From_int(static_cast< int >(result
));
8182 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8183 PyObject
*resultobj
= 0;
8184 wxRegion
*arg1
= (wxRegion
*) 0 ;
8188 PyObject
*swig_obj
[1] ;
8190 if (!args
) SWIG_fail
;
8192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8193 if (!SWIG_IsOK(res1
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8196 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (arg1
)->GetBox();
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8210 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
= 0;
8212 wxRegion
*arg1
= (wxRegion
*) 0 ;
8228 PyObject
* obj0
= 0 ;
8229 PyObject
* obj1
= 0 ;
8230 PyObject
* obj2
= 0 ;
8231 PyObject
* obj3
= 0 ;
8232 PyObject
* obj4
= 0 ;
8233 char * kwnames
[] = {
8234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8239 if (!SWIG_IsOK(res1
)) {
8240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8242 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8244 if (!SWIG_IsOK(ecode2
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8247 arg2
= static_cast< int >(val2
);
8248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8249 if (!SWIG_IsOK(ecode3
)) {
8250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8252 arg3
= static_cast< int >(val3
);
8253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8254 if (!SWIG_IsOK(ecode4
)) {
8255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8257 arg4
= static_cast< int >(val4
);
8258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8259 if (!SWIG_IsOK(ecode5
)) {
8260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8262 arg5
= static_cast< int >(val5
);
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8278 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
= 0;
8280 wxRegion
*arg1
= (wxRegion
*) 0 ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8288 char * kwnames
[] = {
8289 (char *) "self",(char *) "rect", NULL
8292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8294 if (!SWIG_IsOK(res1
)) {
8295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8297 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8317 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
= 0;
8319 wxRegion
*arg1
= (wxRegion
*) 0 ;
8320 wxRegion
*arg2
= 0 ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8328 char * kwnames
[] = {
8329 (char *) "self",(char *) "region", NULL
8332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8334 if (!SWIG_IsOK(res1
)) {
8335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8337 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8339 if (!SWIG_IsOK(res2
)) {
8340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8345 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8361 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8362 PyObject
*resultobj
= 0;
8363 wxRegion
*arg1
= (wxRegion
*) 0 ;
8367 PyObject
*swig_obj
[1] ;
8369 if (!args
) SWIG_fail
;
8371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8372 if (!SWIG_IsOK(res1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8375 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (bool)(arg1
)->IsEmpty();
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8391 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
= 0;
8393 wxRegion
*arg1
= (wxRegion
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8411 PyObject
* obj2
= 0 ;
8412 PyObject
* obj3
= 0 ;
8413 PyObject
* obj4
= 0 ;
8414 char * kwnames
[] = {
8415 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8420 if (!SWIG_IsOK(res1
)) {
8421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8423 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8425 if (!SWIG_IsOK(ecode2
)) {
8426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8428 arg2
= static_cast< int >(val2
);
8429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8430 if (!SWIG_IsOK(ecode3
)) {
8431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8433 arg3
= static_cast< int >(val3
);
8434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8435 if (!SWIG_IsOK(ecode4
)) {
8436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8438 arg4
= static_cast< int >(val4
);
8439 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8440 if (!SWIG_IsOK(ecode5
)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8443 arg5
= static_cast< int >(val5
);
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8459 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
= 0;
8461 wxRegion
*arg1
= (wxRegion
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 char * kwnames
[] = {
8470 (char *) "self",(char *) "rect", NULL
8473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8475 if (!SWIG_IsOK(res1
)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8478 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8481 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8498 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
= 0;
8500 wxRegion
*arg1
= (wxRegion
*) 0 ;
8501 wxRegion
*arg2
= 0 ;
8507 PyObject
* obj0
= 0 ;
8508 PyObject
* obj1
= 0 ;
8509 char * kwnames
[] = {
8510 (char *) "self",(char *) "region", NULL
8513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8515 if (!SWIG_IsOK(res1
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8518 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8520 if (!SWIG_IsOK(res2
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8526 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
= 0;
8544 wxRegion
*arg1
= (wxRegion
*) 0 ;
8560 PyObject
* obj0
= 0 ;
8561 PyObject
* obj1
= 0 ;
8562 PyObject
* obj2
= 0 ;
8563 PyObject
* obj3
= 0 ;
8564 PyObject
* obj4
= 0 ;
8565 char * kwnames
[] = {
8566 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8574 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8576 if (!SWIG_IsOK(ecode2
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8579 arg2
= static_cast< int >(val2
);
8580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8581 if (!SWIG_IsOK(ecode3
)) {
8582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8584 arg3
= static_cast< int >(val3
);
8585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8586 if (!SWIG_IsOK(ecode4
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8589 arg4
= static_cast< int >(val4
);
8590 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8591 if (!SWIG_IsOK(ecode5
)) {
8592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8594 arg5
= static_cast< int >(val5
);
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8610 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
= 0;
8612 wxRegion
*arg1
= (wxRegion
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 char * kwnames
[] = {
8621 (char *) "self",(char *) "rect", NULL
8624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8629 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8632 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8649 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
= 0;
8651 wxRegion
*arg1
= (wxRegion
*) 0 ;
8652 wxRegion
*arg2
= 0 ;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8660 char * kwnames
[] = {
8661 (char *) "self",(char *) "region", NULL
8664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8666 if (!SWIG_IsOK(res1
)) {
8667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8669 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8671 if (!SWIG_IsOK(res2
)) {
8672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8677 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8693 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
= 0;
8695 wxRegion
*arg1
= (wxRegion
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8713 PyObject
* obj2
= 0 ;
8714 PyObject
* obj3
= 0 ;
8715 PyObject
* obj4
= 0 ;
8716 char * kwnames
[] = {
8717 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8722 if (!SWIG_IsOK(res1
)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8725 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8727 if (!SWIG_IsOK(ecode2
)) {
8728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8730 arg2
= static_cast< int >(val2
);
8731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8732 if (!SWIG_IsOK(ecode3
)) {
8733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8735 arg3
= static_cast< int >(val3
);
8736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8737 if (!SWIG_IsOK(ecode4
)) {
8738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8740 arg4
= static_cast< int >(val4
);
8741 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8742 if (!SWIG_IsOK(ecode5
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8745 arg5
= static_cast< int >(val5
);
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8761 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
= 0;
8763 wxRegion
*arg1
= (wxRegion
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8771 char * kwnames
[] = {
8772 (char *) "self",(char *) "rect", NULL
8775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8777 if (!SWIG_IsOK(res1
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8780 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8783 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8800 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= 0;
8802 wxRegion
*arg1
= (wxRegion
*) 0 ;
8803 wxRegion
*arg2
= 0 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 char * kwnames
[] = {
8812 (char *) "self",(char *) "region", NULL
8815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8817 if (!SWIG_IsOK(res1
)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8820 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8822 if (!SWIG_IsOK(res2
)) {
8823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8828 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8844 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8845 PyObject
*resultobj
= 0;
8846 wxRegion
*arg1
= (wxRegion
*) 0 ;
8847 SwigValueWrapper
<wxBitmap
> result
;
8850 PyObject
*swig_obj
[1] ;
8852 if (!args
) SWIG_fail
;
8854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8855 if (!SWIG_IsOK(res1
)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8858 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (arg1
)->ConvertToBitmap();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8872 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
= 0;
8874 wxRegion
*arg1
= (wxRegion
*) 0 ;
8875 wxBitmap
*arg2
= 0 ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 char * kwnames
[] = {
8884 (char *) "self",(char *) "bmp", NULL
8887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8892 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8894 if (!SWIG_IsOK(res2
)) {
8895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8900 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8916 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= 0;
8918 wxRegion
*arg1
= (wxRegion
*) 0 ;
8919 wxBitmap
*arg2
= 0 ;
8920 wxColour
*arg3
= 0 ;
8921 int arg4
= (int) 0 ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8933 PyObject
* obj3
= 0 ;
8934 char * kwnames
[] = {
8935 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8940 if (!SWIG_IsOK(res1
)) {
8941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8943 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8945 if (!SWIG_IsOK(res2
)) {
8946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8951 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8954 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8958 if (!SWIG_IsOK(ecode4
)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8961 arg4
= static_cast< int >(val4
);
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8978 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8981 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8982 return SWIG_Py_Void();
8985 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8986 return SWIG_Python_InitShadowInstance(args
);
8989 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
= 0;
8991 wxRegion
*arg1
= 0 ;
8992 wxRegionIterator
*result
= 0 ;
8995 PyObject
* obj0
= 0 ;
8996 char * kwnames
[] = {
8997 (char *) "region", NULL
9000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9008 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9010 if (!wxPyCheckForApp()) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9023 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9024 PyObject
*resultobj
= 0;
9025 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9028 PyObject
*swig_obj
[1] ;
9030 if (!args
) SWIG_fail
;
9032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9033 if (!SWIG_IsOK(res1
)) {
9034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9036 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_Py_Void();
9051 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9052 PyObject
*resultobj
= 0;
9053 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9057 PyObject
*swig_obj
[1] ;
9059 if (!args
) SWIG_fail
;
9061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9062 if (!SWIG_IsOK(res1
)) {
9063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9065 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (int)(arg1
)->GetX();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_From_int(static_cast< int >(result
));
9079 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9080 PyObject
*resultobj
= 0;
9081 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9085 PyObject
*swig_obj
[1] ;
9087 if (!args
) SWIG_fail
;
9089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9090 if (!SWIG_IsOK(res1
)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9093 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (int)(arg1
)->GetY();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_From_int(static_cast< int >(result
));
9107 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9108 PyObject
*resultobj
= 0;
9109 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9113 PyObject
*swig_obj
[1] ;
9115 if (!args
) SWIG_fail
;
9117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9118 if (!SWIG_IsOK(res1
)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9121 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (int)(arg1
)->GetW();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_From_int(static_cast< int >(result
));
9135 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9136 PyObject
*resultobj
= 0;
9137 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9141 PyObject
*swig_obj
[1] ;
9143 if (!args
) SWIG_fail
;
9145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9146 if (!SWIG_IsOK(res1
)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9149 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (int)(arg1
)->GetWidth();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_From_int(static_cast< int >(result
));
9163 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9164 PyObject
*resultobj
= 0;
9165 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9169 PyObject
*swig_obj
[1] ;
9171 if (!args
) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9177 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (int)(arg1
)->GetH();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_From_int(static_cast< int >(result
));
9191 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9192 PyObject
*resultobj
= 0;
9193 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9197 PyObject
*swig_obj
[1] ;
9199 if (!args
) SWIG_fail
;
9201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9202 if (!SWIG_IsOK(res1
)) {
9203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9205 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (int)(arg1
)->GetHeight();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_From_int(static_cast< int >(result
));
9219 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9220 PyObject
*resultobj
= 0;
9221 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9225 PyObject
*swig_obj
[1] ;
9227 if (!args
) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9233 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (arg1
)->GetRect();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9247 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9248 PyObject
*resultobj
= 0;
9249 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9253 PyObject
*swig_obj
[1] ;
9255 if (!args
) SWIG_fail
;
9257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9258 if (!SWIG_IsOK(res1
)) {
9259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9261 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (bool)(arg1
)->HaveRects();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9277 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9278 PyObject
*resultobj
= 0;
9279 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9282 PyObject
*swig_obj
[1] ;
9284 if (!args
) SWIG_fail
;
9286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9287 if (!SWIG_IsOK(res1
)) {
9288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9290 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_Py_Void();
9304 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9305 PyObject
*resultobj
= 0;
9306 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9309 PyObject
*swig_obj
[1] ;
9311 if (!args
) SWIG_fail
;
9313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9314 if (!SWIG_IsOK(res1
)) {
9315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9317 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 wxRegionIterator_Next(arg1
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_Py_Void();
9331 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9332 PyObject
*resultobj
= 0;
9333 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9337 PyObject
*swig_obj
[1] ;
9339 if (!args
) SWIG_fail
;
9341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9342 if (!SWIG_IsOK(res1
)) {
9343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9345 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9361 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9364 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9365 return SWIG_Py_Void();
9368 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9369 return SWIG_Python_InitShadowInstance(args
);
9372 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9373 PyObject
*resultobj
= 0;
9374 wxNativeFontInfo
*result
= 0 ;
9376 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9390 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9391 PyObject
*resultobj
= 0;
9392 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9395 PyObject
*swig_obj
[1] ;
9397 if (!args
) SWIG_fail
;
9399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9400 if (!SWIG_IsOK(res1
)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9403 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_Py_Void();
9418 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9419 PyObject
*resultobj
= 0;
9420 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9423 PyObject
*swig_obj
[1] ;
9425 if (!args
) SWIG_fail
;
9427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9428 if (!SWIG_IsOK(res1
)) {
9429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9431 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_Py_Void();
9445 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
= 0;
9447 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9454 PyObject
* obj1
= 0 ;
9455 char * kwnames
[] = {
9456 (char *) "self",(char *) "font", NULL
9459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9464 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9466 if (!SWIG_IsOK(res2
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9472 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= SWIG_Py_Void();
9486 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9487 PyObject
*resultobj
= 0;
9488 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9492 PyObject
*swig_obj
[1] ;
9494 if (!args
) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9500 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= SWIG_From_int(static_cast< int >(result
));
9514 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9515 PyObject
*resultobj
= 0;
9516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9520 PyObject
*swig_obj
[1] ;
9522 if (!args
) SWIG_fail
;
9524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9525 if (!SWIG_IsOK(res1
)) {
9526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9528 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_From_int(static_cast< int >(result
));
9542 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9543 PyObject
*resultobj
= 0;
9544 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9545 wxFontWeight result
;
9548 PyObject
*swig_obj
[1] ;
9550 if (!args
) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9556 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_From_int(static_cast< int >(result
));
9570 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9571 PyObject
*resultobj
= 0;
9572 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9576 PyObject
*swig_obj
[1] ;
9578 if (!args
) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9584 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9600 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9601 PyObject
*resultobj
= 0;
9602 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9606 PyObject
*swig_obj
[1] ;
9608 if (!args
) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9614 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9634 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9635 PyObject
*resultobj
= 0;
9636 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9637 wxFontFamily result
;
9640 PyObject
*swig_obj
[1] ;
9642 if (!args
) SWIG_fail
;
9644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9645 if (!SWIG_IsOK(res1
)) {
9646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9648 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_From_int(static_cast< int >(result
));
9662 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9663 PyObject
*resultobj
= 0;
9664 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9665 wxFontEncoding result
;
9668 PyObject
*swig_obj
[1] ;
9670 if (!args
) SWIG_fail
;
9672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9673 if (!SWIG_IsOK(res1
)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9676 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= SWIG_From_int(static_cast< int >(result
));
9690 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
= 0;
9692 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 char * kwnames
[] = {
9701 (char *) "self",(char *) "pointsize", NULL
9704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9706 if (!SWIG_IsOK(res1
)) {
9707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9709 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9711 if (!SWIG_IsOK(ecode2
)) {
9712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9714 arg2
= static_cast< int >(val2
);
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 (arg1
)->SetPointSize(arg2
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= SWIG_Py_Void();
9728 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
= 0;
9730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9737 PyObject
* obj1
= 0 ;
9738 char * kwnames
[] = {
9739 (char *) "self",(char *) "style", NULL
9742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9744 if (!SWIG_IsOK(res1
)) {
9745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9747 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9749 if (!SWIG_IsOK(ecode2
)) {
9750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9752 arg2
= static_cast< wxFontStyle
>(val2
);
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 (arg1
)->SetStyle(arg2
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_Py_Void();
9766 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= 0;
9768 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 char * kwnames
[] = {
9777 (char *) "self",(char *) "weight", NULL
9780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9785 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9787 if (!SWIG_IsOK(ecode2
)) {
9788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9790 arg2
= static_cast< wxFontWeight
>(val2
);
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 (arg1
)->SetWeight(arg2
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_Py_Void();
9804 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
= 0;
9806 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9813 PyObject
* obj1
= 0 ;
9814 char * kwnames
[] = {
9815 (char *) "self",(char *) "underlined", NULL
9818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9820 if (!SWIG_IsOK(res1
)) {
9821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9823 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9824 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9825 if (!SWIG_IsOK(ecode2
)) {
9826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9828 arg2
= static_cast< bool >(val2
);
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 (arg1
)->SetUnderlined(arg2
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_Py_Void();
9842 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
= 0;
9844 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9848 PyObject
* obj0
= 0 ;
9849 PyObject
* obj1
= 0 ;
9850 char * kwnames
[] = {
9851 (char *) "self",(char *) "facename", NULL
9854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9856 if (!SWIG_IsOK(res1
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9859 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9861 wxString
* sptr
= wxString_in_helper(obj1
);
9862 if (sptr
== NULL
) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 (arg1
)->SetFaceName(arg2
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_Py_Void();
9879 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
= 0;
9881 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 char * kwnames
[] = {
9890 (char *) "self",(char *) "family", NULL
9893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9895 if (!SWIG_IsOK(res1
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9898 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9900 if (!SWIG_IsOK(ecode2
)) {
9901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9903 arg2
= static_cast< wxFontFamily
>(val2
);
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 (arg1
)->SetFamily(arg2
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_Py_Void();
9917 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
= 0;
9919 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9920 wxFontEncoding arg2
;
9925 PyObject
* obj0
= 0 ;
9926 PyObject
* obj1
= 0 ;
9927 char * kwnames
[] = {
9928 (char *) "self",(char *) "encoding", NULL
9931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9933 if (!SWIG_IsOK(res1
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9936 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9938 if (!SWIG_IsOK(ecode2
)) {
9939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9941 arg2
= static_cast< wxFontEncoding
>(val2
);
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 (arg1
)->SetEncoding(arg2
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_Py_Void();
9955 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
= 0;
9957 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9958 wxString
*arg2
= 0 ;
9962 bool temp2
= false ;
9963 PyObject
* obj0
= 0 ;
9964 PyObject
* obj1
= 0 ;
9965 char * kwnames
[] = {
9966 (char *) "self",(char *) "s", NULL
9969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9971 if (!SWIG_IsOK(res1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9974 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9976 arg2
= wxString_in_helper(obj1
);
9977 if (arg2
== NULL
) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10003 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10004 PyObject
*resultobj
= 0;
10005 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10009 PyObject
*swig_obj
[1] ;
10011 if (!args
) SWIG_fail
;
10012 swig_obj
[0] = args
;
10013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10014 if (!SWIG_IsOK(res1
)) {
10015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10017 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10037 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10038 PyObject
*resultobj
= 0;
10039 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10043 PyObject
*swig_obj
[1] ;
10045 if (!args
) SWIG_fail
;
10046 swig_obj
[0] = args
;
10047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10048 if (!SWIG_IsOK(res1
)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10051 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 result
= wxNativeFontInfo___str__(arg1
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10071 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
= 0;
10073 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10074 wxString
*arg2
= 0 ;
10078 bool temp2
= false ;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 char * kwnames
[] = {
10082 (char *) "self",(char *) "s", NULL
10085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10087 if (!SWIG_IsOK(res1
)) {
10088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10090 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10092 arg2
= wxString_in_helper(obj1
);
10093 if (arg2
== NULL
) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10119 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10120 PyObject
*resultobj
= 0;
10121 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10125 PyObject
*swig_obj
[1] ;
10127 if (!args
) SWIG_fail
;
10128 swig_obj
[0] = args
;
10129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10130 if (!SWIG_IsOK(res1
)) {
10131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10133 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10153 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10156 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10157 return SWIG_Py_Void();
10160 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 return SWIG_Python_InitShadowInstance(args
);
10164 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 PyObject
*resultobj
= 0;
10166 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10167 wxString
*arg2
= (wxString
*) 0 ;
10170 bool temp2
= false ;
10171 PyObject
*swig_obj
[2] ;
10173 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10178 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10180 arg2
= wxString_in_helper(swig_obj
[1]);
10181 if (arg2
== NULL
) SWIG_fail
;
10184 if (arg1
) (arg1
)->facename
= *arg2
;
10186 resultobj
= SWIG_Py_Void();
10201 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10202 PyObject
*resultobj
= 0;
10203 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10204 wxString
*result
= 0 ;
10207 PyObject
*swig_obj
[1] ;
10209 if (!args
) SWIG_fail
;
10210 swig_obj
[0] = args
;
10211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10212 if (!SWIG_IsOK(res1
)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10215 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10216 result
= (wxString
*)& ((arg1
)->facename
);
10219 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10221 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10230 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10231 PyObject
*resultobj
= 0;
10232 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10233 wxFontEncoding arg2
;
10238 PyObject
*swig_obj
[2] ;
10240 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10242 if (!SWIG_IsOK(res1
)) {
10243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10245 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10246 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10247 if (!SWIG_IsOK(ecode2
)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10250 arg2
= static_cast< wxFontEncoding
>(val2
);
10251 if (arg1
) (arg1
)->encoding
= arg2
;
10253 resultobj
= SWIG_Py_Void();
10260 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10261 PyObject
*resultobj
= 0;
10262 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10263 wxFontEncoding result
;
10266 PyObject
*swig_obj
[1] ;
10268 if (!args
) SWIG_fail
;
10269 swig_obj
[0] = args
;
10270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10271 if (!SWIG_IsOK(res1
)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10274 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10275 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10276 resultobj
= SWIG_From_int(static_cast< int >(result
));
10283 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10284 PyObject
*resultobj
= 0;
10285 wxNativeEncodingInfo
*result
= 0 ;
10287 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10301 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10302 PyObject
*resultobj
= 0;
10303 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10306 PyObject
*swig_obj
[1] ;
10308 if (!args
) SWIG_fail
;
10309 swig_obj
[0] = args
;
10310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10311 if (!SWIG_IsOK(res1
)) {
10312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10314 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= SWIG_Py_Void();
10329 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
= 0;
10331 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10332 wxString
*arg2
= 0 ;
10336 bool temp2
= false ;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 char * kwnames
[] = {
10340 (char *) "self",(char *) "s", NULL
10343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10345 if (!SWIG_IsOK(res1
)) {
10346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10348 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10350 arg2
= wxString_in_helper(obj1
);
10351 if (arg2
== NULL
) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10377 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10378 PyObject
*resultobj
= 0;
10379 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10383 PyObject
*swig_obj
[1] ;
10385 if (!args
) SWIG_fail
;
10386 swig_obj
[0] = args
;
10387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10388 if (!SWIG_IsOK(res1
)) {
10389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10391 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10411 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10414 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10415 return SWIG_Py_Void();
10418 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10419 return SWIG_Python_InitShadowInstance(args
);
10422 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
= 0;
10424 wxFontEncoding arg1
;
10425 wxNativeEncodingInfo
*result
= 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char * kwnames
[] = {
10430 (char *) "encoding", NULL
10433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10435 if (!SWIG_IsOK(ecode1
)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10438 arg1
= static_cast< wxFontEncoding
>(val1
);
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10452 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
= 0;
10454 wxNativeEncodingInfo
*arg1
= 0 ;
10458 PyObject
* obj0
= 0 ;
10459 char * kwnames
[] = {
10460 (char *) "info", NULL
10463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10464 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10465 if (!SWIG_IsOK(res1
)) {
10466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10471 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10487 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10488 PyObject
*resultobj
= 0;
10489 wxFontMapper
*result
= 0 ;
10491 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (wxFontMapper
*)new wxFontMapper();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10505 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10506 PyObject
*resultobj
= 0;
10507 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10510 PyObject
*swig_obj
[1] ;
10512 if (!args
) SWIG_fail
;
10513 swig_obj
[0] = args
;
10514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10515 if (!SWIG_IsOK(res1
)) {
10516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10518 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 resultobj
= SWIG_Py_Void();
10533 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10534 PyObject
*resultobj
= 0;
10535 wxFontMapper
*result
= 0 ;
10537 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (wxFontMapper
*)wxFontMapper::Get();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10551 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
= 0;
10553 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10554 wxFontMapper
*result
= 0 ;
10557 PyObject
* obj0
= 0 ;
10558 char * kwnames
[] = {
10559 (char *) "mapper", NULL
10562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10564 if (!SWIG_IsOK(res1
)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10567 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10581 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
= 0;
10583 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10584 wxString
*arg2
= 0 ;
10585 bool arg3
= (bool) true ;
10586 wxFontEncoding result
;
10589 bool temp2
= false ;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 PyObject
* obj2
= 0 ;
10595 char * kwnames
[] = {
10596 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10601 if (!SWIG_IsOK(res1
)) {
10602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10604 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10606 arg2
= wxString_in_helper(obj1
);
10607 if (arg2
== NULL
) SWIG_fail
;
10611 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10612 if (!SWIG_IsOK(ecode3
)) {
10613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10615 arg3
= static_cast< bool >(val3
);
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_From_int(static_cast< int >(result
));
10638 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10639 PyObject
*resultobj
= 0;
10642 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10656 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
= 0;
10659 wxFontEncoding result
;
10662 PyObject
* obj0
= 0 ;
10663 char * kwnames
[] = {
10667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10668 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10669 if (!SWIG_IsOK(ecode1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10672 arg1
= static_cast< size_t >(val1
);
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_From_int(static_cast< int >(result
));
10686 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= 0;
10688 wxFontEncoding arg1
;
10692 PyObject
* obj0
= 0 ;
10693 char * kwnames
[] = {
10694 (char *) "encoding", NULL
10697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10699 if (!SWIG_IsOK(ecode1
)) {
10700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10702 arg1
= static_cast< wxFontEncoding
>(val1
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= wxFontMapper::GetEncodingName(arg1
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10722 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
= 0;
10724 wxFontEncoding arg1
;
10728 PyObject
* obj0
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "encoding", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10734 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10735 if (!SWIG_IsOK(ecode1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10738 arg1
= static_cast< wxFontEncoding
>(val1
);
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= wxFontMapper::GetEncodingDescription(arg1
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10758 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
= 0;
10760 wxString
*arg1
= 0 ;
10761 wxFontEncoding result
;
10762 bool temp1
= false ;
10763 PyObject
* obj0
= 0 ;
10764 char * kwnames
[] = {
10765 (char *) "name", NULL
10768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10770 arg1
= wxString_in_helper(obj0
);
10771 if (arg1
== NULL
) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= SWIG_From_int(static_cast< int >(result
));
10795 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
= 0;
10797 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10798 wxString
*arg2
= 0 ;
10801 bool temp2
= false ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char * kwnames
[] = {
10805 (char *) "self",(char *) "prefix", NULL
10808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10810 if (!SWIG_IsOK(res1
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10813 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10815 arg2
= wxString_in_helper(obj1
);
10816 if (arg2
== NULL
) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= SWIG_Py_Void();
10840 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10841 PyObject
*resultobj
= 0;
10844 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 result
= wxFontMapper::GetDefaultConfigPath();
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10864 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
= 0;
10866 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10867 wxFontEncoding arg2
;
10868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10870 bool arg4
= (bool) true ;
10871 PyObject
*result
= 0 ;
10876 bool temp3
= false ;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 PyObject
* obj2
= 0 ;
10882 PyObject
* obj3
= 0 ;
10883 char * kwnames
[] = {
10884 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10892 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10894 if (!SWIG_IsOK(ecode2
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10897 arg2
= static_cast< wxFontEncoding
>(val2
);
10900 arg3
= wxString_in_helper(obj2
);
10901 if (arg3
== NULL
) SWIG_fail
;
10906 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10907 if (!SWIG_IsOK(ecode4
)) {
10908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10910 arg4
= static_cast< bool >(val4
);
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= result
;
10933 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= 0;
10935 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10936 wxFontEncoding arg2
;
10937 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10938 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10944 bool temp3
= false ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 PyObject
* obj2
= 0 ;
10948 char * kwnames
[] = {
10949 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10954 if (!SWIG_IsOK(res1
)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10957 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10959 if (!SWIG_IsOK(ecode2
)) {
10960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10962 arg2
= static_cast< wxFontEncoding
>(val2
);
10965 arg3
= wxString_in_helper(obj2
);
10966 if (arg3
== NULL
) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
= 0;
10995 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10996 wxWindow
*arg2
= (wxWindow
*) 0 ;
11001 PyObject
* obj0
= 0 ;
11002 PyObject
* obj1
= 0 ;
11003 char * kwnames
[] = {
11004 (char *) "self",(char *) "parent", NULL
11007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11012 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11014 if (!SWIG_IsOK(res2
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->SetDialogParent(arg2
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= SWIG_Py_Void();
11031 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
= 0;
11033 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11034 wxString
*arg2
= 0 ;
11037 bool temp2
= false ;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 char * kwnames
[] = {
11041 (char *) "self",(char *) "title", NULL
11044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11046 if (!SWIG_IsOK(res1
)) {
11047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11049 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11051 arg2
= wxString_in_helper(obj1
);
11052 if (arg2
== NULL
) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= SWIG_Py_Void();
11076 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11079 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11080 return SWIG_Py_Void();
11083 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 return SWIG_Python_InitShadowInstance(args
);
11087 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
= 0;
11093 bool arg5
= (bool) false ;
11094 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11095 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11096 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11097 wxFont
*result
= 0 ;
11108 bool temp6
= false ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 PyObject
* obj2
= 0 ;
11114 PyObject
* obj3
= 0 ;
11115 PyObject
* obj4
= 0 ;
11116 PyObject
* obj5
= 0 ;
11117 PyObject
* obj6
= 0 ;
11118 char * kwnames
[] = {
11119 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11123 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11124 if (!SWIG_IsOK(ecode1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11127 arg1
= static_cast< int >(val1
);
11128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11129 if (!SWIG_IsOK(ecode2
)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11132 arg2
= static_cast< int >(val2
);
11133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11134 if (!SWIG_IsOK(ecode3
)) {
11135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11137 arg3
= static_cast< int >(val3
);
11138 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11139 if (!SWIG_IsOK(ecode4
)) {
11140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11142 arg4
= static_cast< int >(val4
);
11144 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11145 if (!SWIG_IsOK(ecode5
)) {
11146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11148 arg5
= static_cast< bool >(val5
);
11152 arg6
= wxString_in_helper(obj5
);
11153 if (arg6
== NULL
) SWIG_fail
;
11158 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11159 if (!SWIG_IsOK(ecode7
)) {
11160 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11162 arg7
= static_cast< wxFontEncoding
>(val7
);
11165 if (!wxPyCheckForApp()) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11186 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11187 PyObject
*resultobj
= 0;
11188 wxFont
*arg1
= (wxFont
*) 0 ;
11191 PyObject
*swig_obj
[1] ;
11193 if (!args
) SWIG_fail
;
11194 swig_obj
[0] = args
;
11195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11196 if (!SWIG_IsOK(res1
)) {
11197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11199 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= SWIG_Py_Void();
11214 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
= 0;
11216 wxNativeFontInfo
*arg1
= 0 ;
11217 wxFont
*result
= 0 ;
11220 PyObject
* obj0
= 0 ;
11221 char * kwnames
[] = {
11222 (char *) "info", NULL
11225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11226 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11227 if (!SWIG_IsOK(res1
)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11233 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11235 if (!wxPyCheckForApp()) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11248 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
= 0;
11250 wxString
*arg1
= 0 ;
11251 wxFont
*result
= 0 ;
11252 bool temp1
= false ;
11253 PyObject
* obj0
= 0 ;
11254 char * kwnames
[] = {
11255 (char *) "info", NULL
11258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11260 arg1
= wxString_in_helper(obj0
);
11261 if (arg1
== NULL
) SWIG_fail
;
11265 if (!wxPyCheckForApp()) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11286 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11287 PyObject
*resultobj
= 0;
11289 wxFontFamily arg2
;
11290 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11291 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11292 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11293 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11294 wxFont
*result
= 0 ;
11301 bool temp4
= false ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 PyObject
* obj2
= 0 ;
11307 PyObject
* obj3
= 0 ;
11308 PyObject
* obj4
= 0 ;
11309 char * kwnames
[] = {
11310 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11314 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11315 if (!SWIG_IsOK(ecode1
)) {
11316 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11318 arg1
= static_cast< int >(val1
);
11319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11320 if (!SWIG_IsOK(ecode2
)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11323 arg2
= static_cast< wxFontFamily
>(val2
);
11325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11326 if (!SWIG_IsOK(ecode3
)) {
11327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11329 arg3
= static_cast< int >(val3
);
11333 arg4
= wxString_in_helper(obj3
);
11334 if (arg4
== NULL
) SWIG_fail
;
11339 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11340 if (!SWIG_IsOK(ecode5
)) {
11341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11343 arg5
= static_cast< wxFontEncoding
>(val5
);
11346 if (!wxPyCheckForApp()) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11367 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
= 0;
11373 bool arg5
= (bool) false ;
11374 wxString
const &arg6_defvalue
= wxEmptyString
;
11375 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11376 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11377 wxFont
*result
= 0 ;
11387 bool temp6
= false ;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11392 PyObject
* obj2
= 0 ;
11393 PyObject
* obj3
= 0 ;
11394 PyObject
* obj4
= 0 ;
11395 PyObject
* obj5
= 0 ;
11396 PyObject
* obj6
= 0 ;
11397 char * kwnames
[] = {
11398 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11404 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11407 if (!SWIG_IsOK(ecode2
)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11410 arg2
= static_cast< int >(val2
);
11411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11412 if (!SWIG_IsOK(ecode3
)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11415 arg3
= static_cast< int >(val3
);
11416 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11417 if (!SWIG_IsOK(ecode4
)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11420 arg4
= static_cast< int >(val4
);
11422 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11423 if (!SWIG_IsOK(ecode5
)) {
11424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11426 arg5
= static_cast< bool >(val5
);
11430 arg6
= wxString_in_helper(obj5
);
11431 if (arg6
== NULL
) SWIG_fail
;
11436 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11437 if (!SWIG_IsOK(ecode7
)) {
11438 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11440 arg7
= static_cast< wxFontEncoding
>(val7
);
11443 if (!wxPyCheckForApp()) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11464 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
= 0;
11467 wxFontFamily arg2
;
11468 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11469 wxString
const &arg4_defvalue
= wxEmptyString
;
11470 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11471 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11472 wxFont
*result
= 0 ;
11478 bool temp4
= false ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 PyObject
* obj2
= 0 ;
11484 PyObject
* obj3
= 0 ;
11485 PyObject
* obj4
= 0 ;
11486 char * kwnames
[] = {
11487 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11493 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11496 if (!SWIG_IsOK(ecode2
)) {
11497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11499 arg2
= static_cast< wxFontFamily
>(val2
);
11501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11502 if (!SWIG_IsOK(ecode3
)) {
11503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11505 arg3
= static_cast< int >(val3
);
11509 arg4
= wxString_in_helper(obj3
);
11510 if (arg4
== NULL
) SWIG_fail
;
11515 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11516 if (!SWIG_IsOK(ecode5
)) {
11517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11519 arg5
= static_cast< wxFontEncoding
>(val5
);
11522 if (!wxPyCheckForApp()) SWIG_fail
;
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11543 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11544 PyObject
*resultobj
= 0;
11545 wxFont
*arg1
= (wxFont
*) 0 ;
11549 PyObject
*swig_obj
[1] ;
11551 if (!args
) SWIG_fail
;
11552 swig_obj
[0] = args
;
11553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11554 if (!SWIG_IsOK(res1
)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11557 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 result
= (bool)((wxFont
const *)arg1
)->Ok();
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11573 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
= 0;
11575 wxFont
*arg1
= (wxFont
*) 0 ;
11576 wxFont
*arg2
= (wxFont
*) 0 ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 char * kwnames
[] = {
11585 (char *) "self",(char *) "other", NULL
11588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11590 if (!SWIG_IsOK(res1
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11593 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11595 if (!SWIG_IsOK(res2
)) {
11596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11598 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11614 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
= 0;
11616 wxFont
*arg1
= (wxFont
*) 0 ;
11617 wxFont
*arg2
= (wxFont
*) 0 ;
11623 PyObject
* obj0
= 0 ;
11624 PyObject
* obj1
= 0 ;
11625 char * kwnames
[] = {
11626 (char *) "self",(char *) "other", NULL
11629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11631 if (!SWIG_IsOK(res1
)) {
11632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11634 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11636 if (!SWIG_IsOK(res2
)) {
11637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11639 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11655 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxFont
*arg1
= (wxFont
*) 0 ;
11661 PyObject
*swig_obj
[1] ;
11663 if (!args
) SWIG_fail
;
11664 swig_obj
[0] = args
;
11665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11669 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast< int >(result
));
11683 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxFont
*arg1
= (wxFont
*) 0 ;
11689 PyObject
*swig_obj
[1] ;
11691 if (!args
) SWIG_fail
;
11692 swig_obj
[0] = args
;
11693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11694 if (!SWIG_IsOK(res1
)) {
11695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11697 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11711 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 PyObject
*resultobj
= 0;
11713 wxFont
*arg1
= (wxFont
*) 0 ;
11717 PyObject
*swig_obj
[1] ;
11719 if (!args
) SWIG_fail
;
11720 swig_obj
[0] = args
;
11721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11722 if (!SWIG_IsOK(res1
)) {
11723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11725 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11741 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11742 PyObject
*resultobj
= 0;
11743 wxFont
*arg1
= (wxFont
*) 0 ;
11747 PyObject
*swig_obj
[1] ;
11749 if (!args
) SWIG_fail
;
11750 swig_obj
[0] = args
;
11751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11752 if (!SWIG_IsOK(res1
)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11755 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_From_int(static_cast< int >(result
));
11769 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11770 PyObject
*resultobj
= 0;
11771 wxFont
*arg1
= (wxFont
*) 0 ;
11775 PyObject
*swig_obj
[1] ;
11777 if (!args
) SWIG_fail
;
11778 swig_obj
[0] = args
;
11779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11780 if (!SWIG_IsOK(res1
)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11783 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_From_int(static_cast< int >(result
));
11797 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11798 PyObject
*resultobj
= 0;
11799 wxFont
*arg1
= (wxFont
*) 0 ;
11803 PyObject
*swig_obj
[1] ;
11805 if (!args
) SWIG_fail
;
11806 swig_obj
[0] = args
;
11807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11808 if (!SWIG_IsOK(res1
)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11811 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_From_int(static_cast< int >(result
));
11825 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11826 PyObject
*resultobj
= 0;
11827 wxFont
*arg1
= (wxFont
*) 0 ;
11831 PyObject
*swig_obj
[1] ;
11833 if (!args
) SWIG_fail
;
11834 swig_obj
[0] = args
;
11835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11836 if (!SWIG_IsOK(res1
)) {
11837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11839 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11855 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11856 PyObject
*resultobj
= 0;
11857 wxFont
*arg1
= (wxFont
*) 0 ;
11861 PyObject
*swig_obj
[1] ;
11863 if (!args
) SWIG_fail
;
11864 swig_obj
[0] = args
;
11865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11866 if (!SWIG_IsOK(res1
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11869 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= ((wxFont
const *)arg1
)->GetFaceName();
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11889 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11890 PyObject
*resultobj
= 0;
11891 wxFont
*arg1
= (wxFont
*) 0 ;
11892 wxFontEncoding result
;
11895 PyObject
*swig_obj
[1] ;
11897 if (!args
) SWIG_fail
;
11898 swig_obj
[0] = args
;
11899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11900 if (!SWIG_IsOK(res1
)) {
11901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11903 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_From_int(static_cast< int >(result
));
11917 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11918 PyObject
*resultobj
= 0;
11919 wxFont
*arg1
= (wxFont
*) 0 ;
11920 wxNativeFontInfo
*result
= 0 ;
11923 PyObject
*swig_obj
[1] ;
11925 if (!args
) SWIG_fail
;
11926 swig_obj
[0] = args
;
11927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11928 if (!SWIG_IsOK(res1
)) {
11929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11931 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11945 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11946 PyObject
*resultobj
= 0;
11947 wxFont
*arg1
= (wxFont
*) 0 ;
11951 PyObject
*swig_obj
[1] ;
11953 if (!args
) SWIG_fail
;
11954 swig_obj
[0] = args
;
11955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11956 if (!SWIG_IsOK(res1
)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11959 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11975 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11976 PyObject
*resultobj
= 0;
11977 wxFont
*arg1
= (wxFont
*) 0 ;
11981 PyObject
*swig_obj
[1] ;
11983 if (!args
) SWIG_fail
;
11984 swig_obj
[0] = args
;
11985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11989 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12009 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12010 PyObject
*resultobj
= 0;
12011 wxFont
*arg1
= (wxFont
*) 0 ;
12015 PyObject
*swig_obj
[1] ;
12017 if (!args
) SWIG_fail
;
12018 swig_obj
[0] = args
;
12019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12020 if (!SWIG_IsOK(res1
)) {
12021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12023 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12043 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= 0;
12045 wxFont
*arg1
= (wxFont
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 char * kwnames
[] = {
12054 (char *) "self",(char *) "pointSize", NULL
12057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12059 if (!SWIG_IsOK(res1
)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12062 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12064 if (!SWIG_IsOK(ecode2
)) {
12065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12067 arg2
= static_cast< int >(val2
);
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 (arg1
)->SetPointSize(arg2
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= SWIG_Py_Void();
12081 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
= 0;
12083 wxFont
*arg1
= (wxFont
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char * kwnames
[] = {
12091 (char *) "self",(char *) "pixelSize", NULL
12094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12096 if (!SWIG_IsOK(res1
)) {
12097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12099 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12102 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_Py_Void();
12117 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
= 0;
12119 wxFont
*arg1
= (wxFont
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char * kwnames
[] = {
12128 (char *) "self",(char *) "family", NULL
12131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12136 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12138 if (!SWIG_IsOK(ecode2
)) {
12139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12141 arg2
= static_cast< int >(val2
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 (arg1
)->SetFamily(arg2
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_Py_Void();
12155 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
= 0;
12157 wxFont
*arg1
= (wxFont
*) 0 ;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 char * kwnames
[] = {
12166 (char *) "self",(char *) "style", NULL
12169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12171 if (!SWIG_IsOK(res1
)) {
12172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12174 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12176 if (!SWIG_IsOK(ecode2
)) {
12177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12179 arg2
= static_cast< int >(val2
);
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 (arg1
)->SetStyle(arg2
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_Py_Void();
12193 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
= 0;
12195 wxFont
*arg1
= (wxFont
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 char * kwnames
[] = {
12204 (char *) "self",(char *) "weight", NULL
12207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12212 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12214 if (!SWIG_IsOK(ecode2
)) {
12215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12217 arg2
= static_cast< int >(val2
);
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->SetWeight(arg2
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_Py_Void();
12231 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
= 0;
12233 wxFont
*arg1
= (wxFont
*) 0 ;
12234 wxString
*arg2
= 0 ;
12237 bool temp2
= false ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char * kwnames
[] = {
12241 (char *) "self",(char *) "faceName", NULL
12244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12246 if (!SWIG_IsOK(res1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12249 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12251 arg2
= wxString_in_helper(obj1
);
12252 if (arg2
== NULL
) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_Py_Void();
12276 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
= 0;
12278 wxFont
*arg1
= (wxFont
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 char * kwnames
[] = {
12287 (char *) "self",(char *) "underlined", NULL
12290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12292 if (!SWIG_IsOK(res1
)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12295 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12296 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12297 if (!SWIG_IsOK(ecode2
)) {
12298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12300 arg2
= static_cast< bool >(val2
);
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 (arg1
)->SetUnderlined(arg2
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_Py_Void();
12314 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
= 0;
12316 wxFont
*arg1
= (wxFont
*) 0 ;
12317 wxFontEncoding arg2
;
12322 PyObject
* obj0
= 0 ;
12323 PyObject
* obj1
= 0 ;
12324 char * kwnames
[] = {
12325 (char *) "self",(char *) "encoding", NULL
12328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12333 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12335 if (!SWIG_IsOK(ecode2
)) {
12336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12338 arg2
= static_cast< wxFontEncoding
>(val2
);
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 (arg1
)->SetEncoding(arg2
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= SWIG_Py_Void();
12352 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
= 0;
12354 wxFont
*arg1
= (wxFont
*) 0 ;
12355 wxNativeFontInfo
*arg2
= 0 ;
12360 PyObject
* obj0
= 0 ;
12361 PyObject
* obj1
= 0 ;
12362 char * kwnames
[] = {
12363 (char *) "self",(char *) "info", NULL
12366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12368 if (!SWIG_IsOK(res1
)) {
12369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12371 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12373 if (!SWIG_IsOK(res2
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12379 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_Py_Void();
12393 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
= 0;
12395 wxFont
*arg1
= (wxFont
*) 0 ;
12396 wxString
*arg2
= 0 ;
12399 bool temp2
= false ;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 char * kwnames
[] = {
12403 (char *) "self",(char *) "info", NULL
12406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12408 if (!SWIG_IsOK(res1
)) {
12409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12411 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12413 arg2
= wxString_in_helper(obj1
);
12414 if (arg2
== NULL
) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= SWIG_Py_Void();
12438 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
= 0;
12440 wxFont
*arg1
= (wxFont
*) 0 ;
12441 wxString
*arg2
= 0 ;
12444 bool temp2
= false ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char * kwnames
[] = {
12448 (char *) "self",(char *) "info", NULL
12451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12456 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12458 arg2
= wxString_in_helper(obj1
);
12459 if (arg2
== NULL
) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_Py_Void();
12483 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12484 PyObject
*resultobj
= 0;
12485 wxFont
*arg1
= (wxFont
*) 0 ;
12489 PyObject
*swig_obj
[1] ;
12491 if (!args
) SWIG_fail
;
12492 swig_obj
[0] = args
;
12493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12494 if (!SWIG_IsOK(res1
)) {
12495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12497 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12517 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12518 PyObject
*resultobj
= 0;
12519 wxFont
*arg1
= (wxFont
*) 0 ;
12523 PyObject
*swig_obj
[1] ;
12525 if (!args
) SWIG_fail
;
12526 swig_obj
[0] = args
;
12527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12528 if (!SWIG_IsOK(res1
)) {
12529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12531 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= ((wxFont
const *)arg1
)->GetStyleString();
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12551 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12552 PyObject
*resultobj
= 0;
12553 wxFont
*arg1
= (wxFont
*) 0 ;
12557 PyObject
*swig_obj
[1] ;
12559 if (!args
) SWIG_fail
;
12560 swig_obj
[0] = args
;
12561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12562 if (!SWIG_IsOK(res1
)) {
12563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12565 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= ((wxFont
const *)arg1
)->GetWeightString();
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12585 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
= 0;
12587 wxFont
*arg1
= (wxFont
*) 0 ;
12588 bool arg2
= (bool) true ;
12593 PyObject
* obj0
= 0 ;
12594 PyObject
* obj1
= 0 ;
12595 char * kwnames
[] = {
12596 (char *) "self",(char *) "no", NULL
12599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12601 if (!SWIG_IsOK(res1
)) {
12602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12604 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12607 if (!SWIG_IsOK(ecode2
)) {
12608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12610 arg2
= static_cast< bool >(val2
);
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 (arg1
)->SetNoAntiAliasing(arg2
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_Py_Void();
12625 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12626 PyObject
*resultobj
= 0;
12627 wxFont
*arg1
= (wxFont
*) 0 ;
12631 PyObject
*swig_obj
[1] ;
12633 if (!args
) SWIG_fail
;
12634 swig_obj
[0] = args
;
12635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12636 if (!SWIG_IsOK(res1
)) {
12637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12639 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12655 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12656 PyObject
*resultobj
= 0;
12657 wxFontEncoding result
;
12659 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12661 if (!wxPyCheckForApp()) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_From_int(static_cast< int >(result
));
12674 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
= 0;
12676 wxFontEncoding arg1
;
12679 PyObject
* obj0
= 0 ;
12680 char * kwnames
[] = {
12681 (char *) "encoding", NULL
12684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12685 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12686 if (!SWIG_IsOK(ecode1
)) {
12687 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12689 arg1
= static_cast< wxFontEncoding
>(val1
);
12691 if (!wxPyCheckForApp()) SWIG_fail
;
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 wxFont::SetDefaultEncoding(arg1
);
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= SWIG_Py_Void();
12704 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12707 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12708 return SWIG_Py_Void();
12711 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12712 return SWIG_Python_InitShadowInstance(args
);
12715 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12716 PyObject
*resultobj
= 0;
12717 wxPyFontEnumerator
*result
= 0 ;
12719 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12721 if (!wxPyCheckForApp()) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12734 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12735 PyObject
*resultobj
= 0;
12736 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12739 PyObject
*swig_obj
[1] ;
12741 if (!args
) SWIG_fail
;
12742 swig_obj
[0] = args
;
12743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12744 if (!SWIG_IsOK(res1
)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12747 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= SWIG_Py_Void();
12762 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
= 0;
12764 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12765 PyObject
*arg2
= (PyObject
*) 0 ;
12766 PyObject
*arg3
= (PyObject
*) 0 ;
12772 PyObject
* obj0
= 0 ;
12773 PyObject
* obj1
= 0 ;
12774 PyObject
* obj2
= 0 ;
12775 PyObject
* obj3
= 0 ;
12776 char * kwnames
[] = {
12777 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12782 if (!SWIG_IsOK(res1
)) {
12783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12785 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12788 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12789 if (!SWIG_IsOK(ecode4
)) {
12790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12792 arg4
= static_cast< bool >(val4
);
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_Py_Void();
12806 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
= 0;
12808 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12809 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12810 bool arg3
= (bool) false ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 char * kwnames
[] = {
12822 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12827 if (!SWIG_IsOK(res1
)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12830 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12833 if (!SWIG_IsOK(ecode2
)) {
12834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12836 arg2
= static_cast< wxFontEncoding
>(val2
);
12839 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12840 if (!SWIG_IsOK(ecode3
)) {
12841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12843 arg3
= static_cast< bool >(val3
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12860 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= 0;
12862 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12863 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12864 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12868 bool temp2
= false ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 char * kwnames
[] = {
12872 (char *) "self",(char *) "facename", NULL
12875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12877 if (!SWIG_IsOK(res1
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12880 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12883 arg2
= wxString_in_helper(obj1
);
12884 if (arg2
== NULL
) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12911 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12912 PyObject
*resultobj
= 0;
12913 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12914 PyObject
*result
= 0 ;
12917 PyObject
*swig_obj
[1] ;
12919 if (!args
) SWIG_fail
;
12920 swig_obj
[0] = args
;
12921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12925 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
;
12939 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12940 PyObject
*resultobj
= 0;
12941 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12942 PyObject
*result
= 0 ;
12945 PyObject
*swig_obj
[1] ;
12947 if (!args
) SWIG_fail
;
12948 swig_obj
[0] = args
;
12949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12950 if (!SWIG_IsOK(res1
)) {
12951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12953 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= result
;
12967 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12970 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
12971 return SWIG_Py_Void();
12974 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 return SWIG_Python_InitShadowInstance(args
);
12978 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12979 PyObject
*resultobj
= 0;
12980 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
12986 PyObject
*swig_obj
[2] ;
12988 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
12989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
12990 if (!SWIG_IsOK(res1
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
12993 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
12994 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12995 if (!SWIG_IsOK(ecode2
)) {
12996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
12998 arg2
= static_cast< int >(val2
);
12999 if (arg1
) (arg1
)->Language
= arg2
;
13001 resultobj
= SWIG_Py_Void();
13008 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13009 PyObject
*resultobj
= 0;
13010 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13014 PyObject
*swig_obj
[1] ;
13016 if (!args
) SWIG_fail
;
13017 swig_obj
[0] = args
;
13018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13019 if (!SWIG_IsOK(res1
)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13022 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13023 result
= (int) ((arg1
)->Language
);
13024 resultobj
= SWIG_From_int(static_cast< int >(result
));
13031 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13032 PyObject
*resultobj
= 0;
13033 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13034 wxString
*arg2
= (wxString
*) 0 ;
13037 bool temp2
= false ;
13038 PyObject
*swig_obj
[2] ;
13040 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13042 if (!SWIG_IsOK(res1
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13045 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13047 arg2
= wxString_in_helper(swig_obj
[1]);
13048 if (arg2
== NULL
) SWIG_fail
;
13051 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13053 resultobj
= SWIG_Py_Void();
13068 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13069 PyObject
*resultobj
= 0;
13070 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13071 wxString
*result
= 0 ;
13074 PyObject
*swig_obj
[1] ;
13076 if (!args
) SWIG_fail
;
13077 swig_obj
[0] = args
;
13078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13079 if (!SWIG_IsOK(res1
)) {
13080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13082 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13083 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13086 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13088 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13097 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13098 PyObject
*resultobj
= 0;
13099 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13100 wxString
*arg2
= (wxString
*) 0 ;
13103 bool temp2
= false ;
13104 PyObject
*swig_obj
[2] ;
13106 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13108 if (!SWIG_IsOK(res1
)) {
13109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13111 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13113 arg2
= wxString_in_helper(swig_obj
[1]);
13114 if (arg2
== NULL
) SWIG_fail
;
13117 if (arg1
) (arg1
)->Description
= *arg2
;
13119 resultobj
= SWIG_Py_Void();
13134 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13135 PyObject
*resultobj
= 0;
13136 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13137 wxString
*result
= 0 ;
13140 PyObject
*swig_obj
[1] ;
13142 if (!args
) SWIG_fail
;
13143 swig_obj
[0] = args
;
13144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13145 if (!SWIG_IsOK(res1
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13148 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13149 result
= (wxString
*)& ((arg1
)->Description
);
13152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13163 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13166 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13167 return SWIG_Py_Void();
13170 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
= 0;
13172 int arg1
= (int) -1 ;
13173 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13174 wxLocale
*result
= 0 ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char * kwnames
[] = {
13182 (char *) "language",(char *) "flags", NULL
13185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13188 if (!SWIG_IsOK(ecode1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13191 arg1
= static_cast< int >(val1
);
13194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13195 if (!SWIG_IsOK(ecode2
)) {
13196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13198 arg2
= static_cast< int >(val2
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13213 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13214 PyObject
*resultobj
= 0;
13215 wxLocale
*arg1
= (wxLocale
*) 0 ;
13218 PyObject
*swig_obj
[1] ;
13220 if (!args
) SWIG_fail
;
13221 swig_obj
[0] = args
;
13222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13223 if (!SWIG_IsOK(res1
)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13226 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_Py_Void();
13241 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
= 0;
13243 wxLocale
*arg1
= (wxLocale
*) 0 ;
13244 wxString
*arg2
= 0 ;
13245 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13246 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13247 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13248 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13249 bool arg5
= (bool) true ;
13250 bool arg6
= (bool) false ;
13254 bool temp2
= false ;
13255 bool temp3
= false ;
13256 bool temp4
= false ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 PyObject
* obj3
= 0 ;
13265 PyObject
* obj4
= 0 ;
13266 PyObject
* obj5
= 0 ;
13267 char * kwnames
[] = {
13268 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13273 if (!SWIG_IsOK(res1
)) {
13274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13276 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13278 arg2
= wxString_in_helper(obj1
);
13279 if (arg2
== NULL
) SWIG_fail
;
13284 arg3
= wxString_in_helper(obj2
);
13285 if (arg3
== NULL
) SWIG_fail
;
13291 arg4
= wxString_in_helper(obj3
);
13292 if (arg4
== NULL
) SWIG_fail
;
13297 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13298 if (!SWIG_IsOK(ecode5
)) {
13299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13301 arg5
= static_cast< bool >(val5
);
13304 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13305 if (!SWIG_IsOK(ecode6
)) {
13306 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13308 arg6
= static_cast< bool >(val6
);
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13349 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
= 0;
13351 wxLocale
*arg1
= (wxLocale
*) 0 ;
13352 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13353 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 PyObject
* obj2
= 0 ;
13364 char * kwnames
[] = {
13365 (char *) "self",(char *) "language",(char *) "flags", NULL
13368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13370 if (!SWIG_IsOK(res1
)) {
13371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13373 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13376 if (!SWIG_IsOK(ecode2
)) {
13377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13379 arg2
= static_cast< int >(val2
);
13382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13383 if (!SWIG_IsOK(ecode3
)) {
13384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13386 arg3
= static_cast< int >(val3
);
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13403 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13404 PyObject
*resultobj
= 0;
13407 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (int)wxLocale::GetSystemLanguage();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_From_int(static_cast< int >(result
));
13421 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxFontEncoding result
;
13425 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= SWIG_From_int(static_cast< int >(result
));
13439 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13443 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= wxLocale::GetSystemEncodingName();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13463 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13464 PyObject
*resultobj
= 0;
13465 wxLocale
*arg1
= (wxLocale
*) 0 ;
13469 PyObject
*swig_obj
[1] ;
13471 if (!args
) SWIG_fail
;
13472 swig_obj
[0] = args
;
13473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13474 if (!SWIG_IsOK(res1
)) {
13475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13477 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13493 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 PyObject
*resultobj
= 0;
13495 wxLocale
*arg1
= (wxLocale
*) 0 ;
13499 PyObject
*swig_obj
[1] ;
13501 if (!args
) SWIG_fail
;
13502 swig_obj
[0] = args
;
13503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13504 if (!SWIG_IsOK(res1
)) {
13505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13507 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 result
= ((wxLocale
const *)arg1
)->GetLocale();
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13527 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13528 PyObject
*resultobj
= 0;
13529 wxLocale
*arg1
= (wxLocale
*) 0 ;
13533 PyObject
*swig_obj
[1] ;
13535 if (!args
) SWIG_fail
;
13536 swig_obj
[0] = args
;
13537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13538 if (!SWIG_IsOK(res1
)) {
13539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13541 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= SWIG_From_int(static_cast< int >(result
));
13555 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13556 PyObject
*resultobj
= 0;
13557 wxLocale
*arg1
= (wxLocale
*) 0 ;
13561 PyObject
*swig_obj
[1] ;
13563 if (!args
) SWIG_fail
;
13564 swig_obj
[0] = args
;
13565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13566 if (!SWIG_IsOK(res1
)) {
13567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13569 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= ((wxLocale
const *)arg1
)->GetSysName();
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13589 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13590 PyObject
*resultobj
= 0;
13591 wxLocale
*arg1
= (wxLocale
*) 0 ;
13595 PyObject
*swig_obj
[1] ;
13597 if (!args
) SWIG_fail
;
13598 swig_obj
[0] = args
;
13599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13600 if (!SWIG_IsOK(res1
)) {
13601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13603 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13623 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
= 0;
13625 wxString
*arg1
= 0 ;
13626 bool temp1
= false ;
13627 PyObject
* obj0
= 0 ;
13628 char * kwnames
[] = {
13629 (char *) "prefix", NULL
13632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13634 arg1
= wxString_in_helper(obj0
);
13635 if (arg1
== NULL
) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= SWIG_Py_Void();
13659 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
= 0;
13661 wxLocale
*arg1
= (wxLocale
*) 0 ;
13662 wxString
*arg2
= 0 ;
13666 bool temp2
= false ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char * kwnames
[] = {
13670 (char *) "self",(char *) "szDomain", NULL
13673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13678 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13680 arg2
= wxString_in_helper(obj1
);
13681 if (arg2
== NULL
) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
= 0;
13709 wxLocale
*arg1
= (wxLocale
*) 0 ;
13710 wxString
*arg2
= 0 ;
13714 bool temp2
= false ;
13715 PyObject
* obj0
= 0 ;
13716 PyObject
* obj1
= 0 ;
13717 char * kwnames
[] = {
13718 (char *) "self",(char *) "szDomain", NULL
13721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13723 if (!SWIG_IsOK(res1
)) {
13724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13726 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13728 arg2
= wxString_in_helper(obj1
);
13729 if (arg2
== NULL
) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13755 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
= 0;
13758 wxLanguageInfo
*result
= 0 ;
13761 PyObject
* obj0
= 0 ;
13762 char * kwnames
[] = {
13763 (char *) "lang", NULL
13766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13768 if (!SWIG_IsOK(ecode1
)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13771 arg1
= static_cast< int >(val1
);
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13785 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
= 0;
13791 PyObject
* obj0
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "lang", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13798 if (!SWIG_IsOK(ecode1
)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13801 arg1
= static_cast< int >(val1
);
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= wxLocale::GetLanguageName(arg1
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13821 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
= 0;
13823 wxString
*arg1
= 0 ;
13824 wxLanguageInfo
*result
= 0 ;
13825 bool temp1
= false ;
13826 PyObject
* obj0
= 0 ;
13827 char * kwnames
[] = {
13828 (char *) "locale", NULL
13831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13833 arg1
= wxString_in_helper(obj0
);
13834 if (arg1
== NULL
) SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13858 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxLanguageInfo
*arg1
= 0 ;
13863 PyObject
* obj0
= 0 ;
13864 char * kwnames
[] = {
13865 (char *) "info", NULL
13868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13869 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13870 if (!SWIG_IsOK(res1
)) {
13871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13876 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_Py_Void();
13890 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
= 0;
13892 wxLocale
*arg1
= (wxLocale
*) 0 ;
13893 wxString
*arg2
= 0 ;
13894 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13899 bool temp2
= false ;
13900 bool temp3
= false ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 PyObject
* obj2
= 0 ;
13904 char * kwnames
[] = {
13905 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13910 if (!SWIG_IsOK(res1
)) {
13911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13913 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13915 arg2
= wxString_in_helper(obj1
);
13916 if (arg2
== NULL
) SWIG_fail
;
13921 arg3
= wxString_in_helper(obj2
);
13922 if (arg3
== NULL
) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13961 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13962 PyObject
*resultobj
= 0;
13963 wxLocale
*arg1
= (wxLocale
*) 0 ;
13964 wxString
*result
= 0 ;
13967 PyObject
*swig_obj
[1] ;
13969 if (!args
) SWIG_fail
;
13970 swig_obj
[0] = args
;
13971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13972 if (!SWIG_IsOK(res1
)) {
13973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13975 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
13980 result
= (wxString
*) &_result_ref
;
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13989 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13998 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14001 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14002 return SWIG_Py_Void();
14005 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14006 return SWIG_Python_InitShadowInstance(args
);
14009 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14010 PyObject
*resultobj
= 0;
14011 wxLocale
*result
= 0 ;
14013 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (wxLocale
*)wxGetLocale();
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14027 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14028 PyObject
*resultobj
= 0;
14029 wxString
*arg1
= 0 ;
14031 bool temp1
= false ;
14033 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14035 arg1
= wxString_in_helper(swig_obj
[0]);
14036 if (arg1
== NULL
) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= wxGetTranslation((wxString
const &)*arg1
);
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14066 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14067 PyObject
*resultobj
= 0;
14068 wxString
*arg1
= 0 ;
14069 wxString
*arg2
= 0 ;
14072 bool temp1
= false ;
14073 bool temp2
= false ;
14077 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14079 arg1
= wxString_in_helper(swig_obj
[0]);
14080 if (arg1
== NULL
) SWIG_fail
;
14084 arg2
= wxString_in_helper(swig_obj
[1]);
14085 if (arg2
== NULL
) SWIG_fail
;
14088 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14089 if (!SWIG_IsOK(ecode3
)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14092 arg3
= static_cast< size_t >(val3
);
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14128 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14132 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14135 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14138 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14142 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14147 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14148 PyObject
*resultobj
= 0;
14149 wxEncodingConverter
*result
= 0 ;
14151 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14165 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14166 PyObject
*resultobj
= 0;
14167 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14170 PyObject
*swig_obj
[1] ;
14172 if (!args
) SWIG_fail
;
14173 swig_obj
[0] = args
;
14174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14175 if (!SWIG_IsOK(res1
)) {
14176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14178 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= SWIG_Py_Void();
14193 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
= 0;
14195 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14196 wxFontEncoding arg2
;
14197 wxFontEncoding arg3
;
14198 int arg4
= (int) wxCONVERT_STRICT
;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 PyObject
* obj2
= 0 ;
14211 PyObject
* obj3
= 0 ;
14212 char * kwnames
[] = {
14213 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14218 if (!SWIG_IsOK(res1
)) {
14219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14221 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14223 if (!SWIG_IsOK(ecode2
)) {
14224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14226 arg2
= static_cast< wxFontEncoding
>(val2
);
14227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14228 if (!SWIG_IsOK(ecode3
)) {
14229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14231 arg3
= static_cast< wxFontEncoding
>(val3
);
14233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14234 if (!SWIG_IsOK(ecode4
)) {
14235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14237 arg4
= static_cast< int >(val4
);
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14254 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
= 0;
14256 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14257 wxString
*arg2
= 0 ;
14261 bool temp2
= false ;
14262 PyObject
* obj0
= 0 ;
14263 PyObject
* obj1
= 0 ;
14264 char * kwnames
[] = {
14265 (char *) "self",(char *) "input", NULL
14268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14270 if (!SWIG_IsOK(res1
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14273 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14275 arg2
= wxString_in_helper(obj1
);
14276 if (arg2
== NULL
) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14306 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
= 0;
14308 wxFontEncoding arg1
;
14309 int arg2
= (int) wxPLATFORM_CURRENT
;
14310 wxFontEncodingArray result
;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 char * kwnames
[] = {
14318 (char *) "enc",(char *) "platform", NULL
14321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14322 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14323 if (!SWIG_IsOK(ecode1
)) {
14324 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14326 arg1
= static_cast< wxFontEncoding
>(val1
);
14328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14329 if (!SWIG_IsOK(ecode2
)) {
14330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14332 arg2
= static_cast< int >(val2
);
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= PyList_New(0);
14342 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14343 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14344 PyList_Append(resultobj
, number
);
14354 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
= 0;
14356 wxFontEncoding arg1
;
14357 wxFontEncodingArray result
;
14360 PyObject
* obj0
= 0 ;
14361 char * kwnames
[] = {
14362 (char *) "enc", NULL
14365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14367 if (!SWIG_IsOK(ecode1
)) {
14368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14370 arg1
= static_cast< wxFontEncoding
>(val1
);
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= PyList_New(0);
14379 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14380 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14381 PyList_Append(resultobj
, number
);
14391 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
= 0;
14393 wxFontEncoding arg1
;
14394 wxFontEncoding arg2
;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 char * kwnames
[] = {
14403 (char *) "encIn",(char *) "encOut", NULL
14406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14407 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14408 if (!SWIG_IsOK(ecode1
)) {
14409 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14411 arg1
= static_cast< wxFontEncoding
>(val1
);
14412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14413 if (!SWIG_IsOK(ecode2
)) {
14414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14416 arg2
= static_cast< wxFontEncoding
>(val2
);
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14435 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14436 return SWIG_Py_Void();
14439 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14440 return SWIG_Python_InitShadowInstance(args
);
14443 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14444 PyObject
*resultobj
= 0;
14445 wxDC
*arg1
= (wxDC
*) 0 ;
14448 PyObject
*swig_obj
[1] ;
14450 if (!args
) SWIG_fail
;
14451 swig_obj
[0] = args
;
14452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14453 if (!SWIG_IsOK(res1
)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= SWIG_Py_Void();
14471 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
= 0;
14473 wxDC
*arg1
= (wxDC
*) 0 ;
14476 wxColour
*arg4
= 0 ;
14477 int arg5
= (int) wxFLOOD_SURFACE
;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 PyObject
* obj2
= 0 ;
14491 PyObject
* obj3
= 0 ;
14492 PyObject
* obj4
= 0 ;
14493 char * kwnames
[] = {
14494 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14499 if (!SWIG_IsOK(res1
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14504 if (!SWIG_IsOK(ecode2
)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14507 arg2
= static_cast< int >(val2
);
14508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14509 if (!SWIG_IsOK(ecode3
)) {
14510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14512 arg3
= static_cast< int >(val3
);
14515 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14518 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14519 if (!SWIG_IsOK(ecode5
)) {
14520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14522 arg5
= static_cast< int >(val5
);
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14539 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
= 0;
14541 wxDC
*arg1
= (wxDC
*) 0 ;
14542 wxPoint
*arg2
= 0 ;
14543 wxColour
*arg3
= 0 ;
14544 int arg4
= (int) wxFLOOD_SURFACE
;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 PyObject
* obj2
= 0 ;
14555 PyObject
* obj3
= 0 ;
14556 char * kwnames
[] = {
14557 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14562 if (!SWIG_IsOK(res1
)) {
14563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14572 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14575 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14576 if (!SWIG_IsOK(ecode4
)) {
14577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14579 arg4
= static_cast< int >(val4
);
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14596 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
= 0;
14598 wxDC
*arg1
= (wxDC
*) 0 ;
14600 wxColour
*arg3
= 0 ;
14601 wxColour
*arg4
= 0 ;
14602 wxPoint
*arg5
= 0 ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 PyObject
* obj2
= 0 ;
14612 PyObject
* obj3
= 0 ;
14613 PyObject
* obj4
= 0 ;
14614 char * kwnames
[] = {
14615 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14620 if (!SWIG_IsOK(res1
)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14626 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14630 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14634 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14638 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= SWIG_Py_Void();
14653 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
= 0;
14655 wxDC
*arg1
= (wxDC
*) 0 ;
14657 wxColour
*arg3
= 0 ;
14658 wxColour
*arg4
= 0 ;
14659 wxDirection arg5
= (wxDirection
) wxEAST
;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 PyObject
* obj2
= 0 ;
14670 PyObject
* obj3
= 0 ;
14671 PyObject
* obj4
= 0 ;
14672 char * kwnames
[] = {
14673 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14678 if (!SWIG_IsOK(res1
)) {
14679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14684 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14688 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14692 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14696 if (!SWIG_IsOK(ecode5
)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14699 arg5
= static_cast< wxDirection
>(val5
);
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_Py_Void();
14714 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
= 0;
14716 wxDC
*arg1
= (wxDC
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 PyObject
* obj2
= 0 ;
14729 char * kwnames
[] = {
14730 (char *) "self",(char *) "x",(char *) "y", NULL
14733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14740 if (!SWIG_IsOK(ecode2
)) {
14741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14743 arg2
= static_cast< int >(val2
);
14744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14745 if (!SWIG_IsOK(ecode3
)) {
14746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14748 arg3
= static_cast< int >(val3
);
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14762 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
= 0;
14764 wxDC
*arg1
= (wxDC
*) 0 ;
14765 wxPoint
*arg2
= 0 ;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 char * kwnames
[] = {
14773 (char *) "self",(char *) "pt", NULL
14776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14778 if (!SWIG_IsOK(res1
)) {
14779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14799 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
= 0;
14801 wxDC
*arg1
= (wxDC
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 PyObject
* obj1
= 0 ;
14818 PyObject
* obj2
= 0 ;
14819 PyObject
* obj3
= 0 ;
14820 PyObject
* obj4
= 0 ;
14821 char * kwnames
[] = {
14822 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14827 if (!SWIG_IsOK(res1
)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14832 if (!SWIG_IsOK(ecode2
)) {
14833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14835 arg2
= static_cast< int >(val2
);
14836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14837 if (!SWIG_IsOK(ecode3
)) {
14838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14840 arg3
= static_cast< int >(val3
);
14841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14842 if (!SWIG_IsOK(ecode4
)) {
14843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14845 arg4
= static_cast< int >(val4
);
14846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14847 if (!SWIG_IsOK(ecode5
)) {
14848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14850 arg5
= static_cast< int >(val5
);
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= SWIG_Py_Void();
14864 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
= 0;
14866 wxDC
*arg1
= (wxDC
*) 0 ;
14867 wxPoint
*arg2
= 0 ;
14868 wxPoint
*arg3
= 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 PyObject
* obj2
= 0 ;
14876 char * kwnames
[] = {
14877 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14882 if (!SWIG_IsOK(res1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14888 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14892 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= SWIG_Py_Void();
14907 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxDC
*arg1
= (wxDC
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 PyObject
* obj2
= 0 ;
14921 char * kwnames
[] = {
14922 (char *) "self",(char *) "x",(char *) "y", NULL
14925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14927 if (!SWIG_IsOK(res1
)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14932 if (!SWIG_IsOK(ecode2
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14935 arg2
= static_cast< int >(val2
);
14936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14937 if (!SWIG_IsOK(ecode3
)) {
14938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14940 arg3
= static_cast< int >(val3
);
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 (arg1
)->CrossHair(arg2
,arg3
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_Py_Void();
14954 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
= 0;
14956 wxDC
*arg1
= (wxDC
*) 0 ;
14957 wxPoint
*arg2
= 0 ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 char * kwnames
[] = {
14964 (char *) "self",(char *) "pt", NULL
14967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14969 if (!SWIG_IsOK(res1
)) {
14970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_Py_Void();
14990 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= 0;
14992 wxDC
*arg1
= (wxDC
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 PyObject
* obj2
= 0 ;
15016 PyObject
* obj3
= 0 ;
15017 PyObject
* obj4
= 0 ;
15018 PyObject
* obj5
= 0 ;
15019 PyObject
* obj6
= 0 ;
15020 char * kwnames
[] = {
15021 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15026 if (!SWIG_IsOK(res1
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15031 if (!SWIG_IsOK(ecode2
)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15034 arg2
= static_cast< int >(val2
);
15035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15036 if (!SWIG_IsOK(ecode3
)) {
15037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15039 arg3
= static_cast< int >(val3
);
15040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15041 if (!SWIG_IsOK(ecode4
)) {
15042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15044 arg4
= static_cast< int >(val4
);
15045 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15046 if (!SWIG_IsOK(ecode5
)) {
15047 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15049 arg5
= static_cast< int >(val5
);
15050 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15051 if (!SWIG_IsOK(ecode6
)) {
15052 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15054 arg6
= static_cast< int >(val6
);
15055 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15056 if (!SWIG_IsOK(ecode7
)) {
15057 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15059 arg7
= static_cast< int >(val7
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= SWIG_Py_Void();
15073 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
= 0;
15075 wxDC
*arg1
= (wxDC
*) 0 ;
15076 wxPoint
*arg2
= 0 ;
15077 wxPoint
*arg3
= 0 ;
15078 wxPoint
*arg4
= 0 ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 PyObject
* obj2
= 0 ;
15087 PyObject
* obj3
= 0 ;
15088 char * kwnames
[] = {
15089 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15100 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15108 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= SWIG_Py_Void();
15123 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
= 0;
15125 wxDC
*arg1
= (wxDC
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 PyObject
* obj2
= 0 ;
15143 PyObject
* obj3
= 0 ;
15144 PyObject
* obj4
= 0 ;
15145 char * kwnames
[] = {
15146 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15156 if (!SWIG_IsOK(ecode2
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15159 arg2
= static_cast< int >(val2
);
15160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15161 if (!SWIG_IsOK(ecode3
)) {
15162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15164 arg3
= static_cast< int >(val3
);
15165 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15166 if (!SWIG_IsOK(ecode4
)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15169 arg4
= static_cast< int >(val4
);
15170 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15171 if (!SWIG_IsOK(ecode5
)) {
15172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15174 arg5
= static_cast< int >(val5
);
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= SWIG_Py_Void();
15188 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
= 0;
15190 wxDC
*arg1
= (wxDC
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 char * kwnames
[] = {
15198 (char *) "self",(char *) "rect", NULL
15201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15203 if (!SWIG_IsOK(res1
)) {
15204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15209 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= SWIG_Py_Void();
15224 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
= 0;
15226 wxDC
*arg1
= (wxDC
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 PyObject
* obj2
= 0 ;
15250 PyObject
* obj3
= 0 ;
15251 PyObject
* obj4
= 0 ;
15252 PyObject
* obj5
= 0 ;
15253 PyObject
* obj6
= 0 ;
15254 char * kwnames
[] = {
15255 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15265 if (!SWIG_IsOK(ecode2
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15268 arg2
= static_cast< int >(val2
);
15269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15270 if (!SWIG_IsOK(ecode3
)) {
15271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15273 arg3
= static_cast< int >(val3
);
15274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15275 if (!SWIG_IsOK(ecode4
)) {
15276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15278 arg4
= static_cast< int >(val4
);
15279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15280 if (!SWIG_IsOK(ecode5
)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15283 arg5
= static_cast< int >(val5
);
15284 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15285 if (!SWIG_IsOK(ecode6
)) {
15286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15288 arg6
= static_cast< double >(val6
);
15289 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15290 if (!SWIG_IsOK(ecode7
)) {
15291 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15293 arg7
= static_cast< double >(val7
);
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_Py_Void();
15307 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
= 0;
15309 wxDC
*arg1
= (wxDC
*) 0 ;
15310 wxPoint
*arg2
= 0 ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 PyObject
* obj2
= 0 ;
15325 PyObject
* obj3
= 0 ;
15326 PyObject
* obj4
= 0 ;
15327 char * kwnames
[] = {
15328 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15333 if (!SWIG_IsOK(res1
)) {
15334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15339 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15343 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15345 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15346 if (!SWIG_IsOK(ecode4
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15349 arg4
= static_cast< double >(val4
);
15350 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15351 if (!SWIG_IsOK(ecode5
)) {
15352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15354 arg5
= static_cast< double >(val5
);
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= SWIG_Py_Void();
15368 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
= 0;
15370 wxDC
*arg1
= (wxDC
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 PyObject
* obj2
= 0 ;
15382 char * kwnames
[] = {
15383 (char *) "self",(char *) "x",(char *) "y", NULL
15386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15388 if (!SWIG_IsOK(res1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15393 if (!SWIG_IsOK(ecode2
)) {
15394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15396 arg2
= static_cast< int >(val2
);
15397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15398 if (!SWIG_IsOK(ecode3
)) {
15399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15401 arg3
= static_cast< int >(val3
);
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 (arg1
)->DrawPoint(arg2
,arg3
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_Py_Void();
15415 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
= 0;
15417 wxDC
*arg1
= (wxDC
*) 0 ;
15418 wxPoint
*arg2
= 0 ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 char * kwnames
[] = {
15425 (char *) "self",(char *) "pt", NULL
15428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15430 if (!SWIG_IsOK(res1
)) {
15431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 resultobj
= SWIG_Py_Void();
15451 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
= 0;
15453 wxDC
*arg1
= (wxDC
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 PyObject
* obj2
= 0 ;
15471 PyObject
* obj3
= 0 ;
15472 PyObject
* obj4
= 0 ;
15473 char * kwnames
[] = {
15474 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15479 if (!SWIG_IsOK(res1
)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15484 if (!SWIG_IsOK(ecode2
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15487 arg2
= static_cast< int >(val2
);
15488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15489 if (!SWIG_IsOK(ecode3
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15492 arg3
= static_cast< int >(val3
);
15493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15494 if (!SWIG_IsOK(ecode4
)) {
15495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15497 arg4
= static_cast< int >(val4
);
15498 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15499 if (!SWIG_IsOK(ecode5
)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15502 arg5
= static_cast< int >(val5
);
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_Py_Void();
15516 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
= 0;
15518 wxDC
*arg1
= (wxDC
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 char * kwnames
[] = {
15526 (char *) "self",(char *) "rect", NULL
15529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15531 if (!SWIG_IsOK(res1
)) {
15532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15537 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_Py_Void();
15552 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
= 0;
15554 wxDC
*arg1
= (wxDC
*) 0 ;
15555 wxPoint
*arg2
= 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 char * kwnames
[] = {
15565 (char *) "self",(char *) "pt",(char *) "sz", NULL
15568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15570 if (!SWIG_IsOK(res1
)) {
15571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15580 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= SWIG_Py_Void();
15595 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
= 0;
15597 wxDC
*arg1
= (wxDC
*) 0 ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 PyObject
* obj2
= 0 ;
15618 PyObject
* obj3
= 0 ;
15619 PyObject
* obj4
= 0 ;
15620 PyObject
* obj5
= 0 ;
15621 char * kwnames
[] = {
15622 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15627 if (!SWIG_IsOK(res1
)) {
15628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15632 if (!SWIG_IsOK(ecode2
)) {
15633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15635 arg2
= static_cast< int >(val2
);
15636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15637 if (!SWIG_IsOK(ecode3
)) {
15638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15640 arg3
= static_cast< int >(val3
);
15641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15642 if (!SWIG_IsOK(ecode4
)) {
15643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15645 arg4
= static_cast< int >(val4
);
15646 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15647 if (!SWIG_IsOK(ecode5
)) {
15648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15650 arg5
= static_cast< int >(val5
);
15651 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15652 if (!SWIG_IsOK(ecode6
)) {
15653 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15655 arg6
= static_cast< double >(val6
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_Py_Void();
15669 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= 0;
15671 wxDC
*arg1
= (wxDC
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 PyObject
* obj1
= 0 ;
15681 PyObject
* obj2
= 0 ;
15682 char * kwnames
[] = {
15683 (char *) "self",(char *) "r",(char *) "radius", NULL
15686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15688 if (!SWIG_IsOK(res1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15694 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15697 if (!SWIG_IsOK(ecode3
)) {
15698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15700 arg3
= static_cast< double >(val3
);
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_Py_Void();
15714 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
= 0;
15716 wxDC
*arg1
= (wxDC
*) 0 ;
15717 wxPoint
*arg2
= 0 ;
15726 PyObject
* obj0
= 0 ;
15727 PyObject
* obj1
= 0 ;
15728 PyObject
* obj2
= 0 ;
15729 PyObject
* obj3
= 0 ;
15730 char * kwnames
[] = {
15731 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15736 if (!SWIG_IsOK(res1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15746 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15748 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15749 if (!SWIG_IsOK(ecode4
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15752 arg4
= static_cast< double >(val4
);
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= SWIG_Py_Void();
15766 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
= 0;
15768 wxDC
*arg1
= (wxDC
*) 0 ;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 PyObject
* obj2
= 0 ;
15783 PyObject
* obj3
= 0 ;
15784 char * kwnames
[] = {
15785 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15790 if (!SWIG_IsOK(res1
)) {
15791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15795 if (!SWIG_IsOK(ecode2
)) {
15796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15798 arg2
= static_cast< int >(val2
);
15799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15800 if (!SWIG_IsOK(ecode3
)) {
15801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15803 arg3
= static_cast< int >(val3
);
15804 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15805 if (!SWIG_IsOK(ecode4
)) {
15806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15808 arg4
= static_cast< int >(val4
);
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_Py_Void();
15822 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
= 0;
15824 wxDC
*arg1
= (wxDC
*) 0 ;
15825 wxPoint
*arg2
= 0 ;
15832 PyObject
* obj0
= 0 ;
15833 PyObject
* obj1
= 0 ;
15834 PyObject
* obj2
= 0 ;
15835 char * kwnames
[] = {
15836 (char *) "self",(char *) "pt",(char *) "radius", NULL
15839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15850 if (!SWIG_IsOK(ecode3
)) {
15851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15853 arg3
= static_cast< int >(val3
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= SWIG_Py_Void();
15867 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
= 0;
15869 wxDC
*arg1
= (wxDC
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 PyObject
* obj2
= 0 ;
15887 PyObject
* obj3
= 0 ;
15888 PyObject
* obj4
= 0 ;
15889 char * kwnames
[] = {
15890 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15895 if (!SWIG_IsOK(res1
)) {
15896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15900 if (!SWIG_IsOK(ecode2
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15903 arg2
= static_cast< int >(val2
);
15904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15905 if (!SWIG_IsOK(ecode3
)) {
15906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15908 arg3
= static_cast< int >(val3
);
15909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15910 if (!SWIG_IsOK(ecode4
)) {
15911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15913 arg4
= static_cast< int >(val4
);
15914 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15915 if (!SWIG_IsOK(ecode5
)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15918 arg5
= static_cast< int >(val5
);
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= SWIG_Py_Void();
15932 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
= 0;
15934 wxDC
*arg1
= (wxDC
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 PyObject
* obj1
= 0 ;
15941 char * kwnames
[] = {
15942 (char *) "self",(char *) "rect", NULL
15945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15947 if (!SWIG_IsOK(res1
)) {
15948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15953 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= SWIG_Py_Void();
15968 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
= 0;
15970 wxDC
*arg1
= (wxDC
*) 0 ;
15971 wxPoint
*arg2
= 0 ;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 PyObject
* obj2
= 0 ;
15980 char * kwnames
[] = {
15981 (char *) "self",(char *) "pt",(char *) "sz", NULL
15984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15986 if (!SWIG_IsOK(res1
)) {
15987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15996 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= SWIG_Py_Void();
16011 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
= 0;
16013 wxDC
*arg1
= (wxDC
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 PyObject
* obj1
= 0 ;
16027 PyObject
* obj2
= 0 ;
16028 PyObject
* obj3
= 0 ;
16029 char * kwnames
[] = {
16030 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16035 if (!SWIG_IsOK(res1
)) {
16036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16040 if (!SWIG_IsOK(res2
)) {
16041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16046 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16048 if (!SWIG_IsOK(ecode3
)) {
16049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16051 arg3
= static_cast< int >(val3
);
16052 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16053 if (!SWIG_IsOK(ecode4
)) {
16054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16056 arg4
= static_cast< int >(val4
);
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= SWIG_Py_Void();
16070 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
= 0;
16072 wxDC
*arg1
= (wxDC
*) 0 ;
16074 wxPoint
*arg3
= 0 ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 PyObject
* obj2
= 0 ;
16083 char * kwnames
[] = {
16084 (char *) "self",(char *) "icon",(char *) "pt", NULL
16087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16089 if (!SWIG_IsOK(res1
)) {
16090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16094 if (!SWIG_IsOK(res2
)) {
16095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16100 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_Py_Void();
16118 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
= 0;
16120 wxDC
*arg1
= (wxDC
*) 0 ;
16121 wxBitmap
*arg2
= 0 ;
16124 bool arg5
= (bool) false ;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 PyObject
* obj2
= 0 ;
16138 PyObject
* obj3
= 0 ;
16139 PyObject
* obj4
= 0 ;
16140 char * kwnames
[] = {
16141 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16146 if (!SWIG_IsOK(res1
)) {
16147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16151 if (!SWIG_IsOK(res2
)) {
16152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16157 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16159 if (!SWIG_IsOK(ecode3
)) {
16160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16162 arg3
= static_cast< int >(val3
);
16163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16164 if (!SWIG_IsOK(ecode4
)) {
16165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16167 arg4
= static_cast< int >(val4
);
16169 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16170 if (!SWIG_IsOK(ecode5
)) {
16171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16173 arg5
= static_cast< bool >(val5
);
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_Py_Void();
16188 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
= 0;
16190 wxDC
*arg1
= (wxDC
*) 0 ;
16191 wxBitmap
*arg2
= 0 ;
16192 wxPoint
*arg3
= 0 ;
16193 bool arg4
= (bool) false ;
16201 PyObject
* obj0
= 0 ;
16202 PyObject
* obj1
= 0 ;
16203 PyObject
* obj2
= 0 ;
16204 PyObject
* obj3
= 0 ;
16205 char * kwnames
[] = {
16206 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16211 if (!SWIG_IsOK(res1
)) {
16212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16216 if (!SWIG_IsOK(res2
)) {
16217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16222 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16228 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16229 if (!SWIG_IsOK(ecode4
)) {
16230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16232 arg4
= static_cast< bool >(val4
);
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= SWIG_Py_Void();
16247 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
= 0;
16249 wxDC
*arg1
= (wxDC
*) 0 ;
16250 wxString
*arg2
= 0 ;
16255 bool temp2
= false ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 PyObject
* obj2
= 0 ;
16263 PyObject
* obj3
= 0 ;
16264 char * kwnames
[] = {
16265 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16270 if (!SWIG_IsOK(res1
)) {
16271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16275 arg2
= wxString_in_helper(obj1
);
16276 if (arg2
== NULL
) SWIG_fail
;
16279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16280 if (!SWIG_IsOK(ecode3
)) {
16281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16283 arg3
= static_cast< int >(val3
);
16284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16285 if (!SWIG_IsOK(ecode4
)) {
16286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16288 arg4
= static_cast< int >(val4
);
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= SWIG_Py_Void();
16310 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
= 0;
16312 wxDC
*arg1
= (wxDC
*) 0 ;
16313 wxString
*arg2
= 0 ;
16314 wxPoint
*arg3
= 0 ;
16317 bool temp2
= false ;
16319 PyObject
* obj0
= 0 ;
16320 PyObject
* obj1
= 0 ;
16321 PyObject
* obj2
= 0 ;
16322 char * kwnames
[] = {
16323 (char *) "self",(char *) "text",(char *) "pt", NULL
16326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16333 arg2
= wxString_in_helper(obj1
);
16334 if (arg2
== NULL
) SWIG_fail
;
16339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= SWIG_Py_Void();
16362 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
= 0;
16364 wxDC
*arg1
= (wxDC
*) 0 ;
16365 wxString
*arg2
= 0 ;
16371 bool temp2
= false ;
16378 PyObject
* obj0
= 0 ;
16379 PyObject
* obj1
= 0 ;
16380 PyObject
* obj2
= 0 ;
16381 PyObject
* obj3
= 0 ;
16382 PyObject
* obj4
= 0 ;
16383 char * kwnames
[] = {
16384 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16389 if (!SWIG_IsOK(res1
)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16394 arg2
= wxString_in_helper(obj1
);
16395 if (arg2
== NULL
) SWIG_fail
;
16398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16399 if (!SWIG_IsOK(ecode3
)) {
16400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16402 arg3
= static_cast< int >(val3
);
16403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16404 if (!SWIG_IsOK(ecode4
)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16407 arg4
= static_cast< int >(val4
);
16408 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16409 if (!SWIG_IsOK(ecode5
)) {
16410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16412 arg5
= static_cast< double >(val5
);
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 resultobj
= SWIG_Py_Void();
16434 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
= 0;
16436 wxDC
*arg1
= (wxDC
*) 0 ;
16437 wxString
*arg2
= 0 ;
16438 wxPoint
*arg3
= 0 ;
16442 bool temp2
= false ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 PyObject
* obj2
= 0 ;
16449 PyObject
* obj3
= 0 ;
16450 char * kwnames
[] = {
16451 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16456 if (!SWIG_IsOK(res1
)) {
16457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16461 arg2
= wxString_in_helper(obj1
);
16462 if (arg2
== NULL
) SWIG_fail
;
16467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16469 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16470 if (!SWIG_IsOK(ecode4
)) {
16471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16473 arg4
= static_cast< double >(val4
);
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= SWIG_Py_Void();
16495 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
= 0;
16497 wxDC
*arg1
= (wxDC
*) 0 ;
16502 wxDC
*arg6
= (wxDC
*) 0 ;
16505 int arg9
= (int) wxCOPY
;
16506 bool arg10
= (bool) false ;
16507 int arg11
= (int) -1 ;
16508 int arg12
= (int) -1 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 PyObject
* obj2
= 0 ;
16537 PyObject
* obj3
= 0 ;
16538 PyObject
* obj4
= 0 ;
16539 PyObject
* obj5
= 0 ;
16540 PyObject
* obj6
= 0 ;
16541 PyObject
* obj7
= 0 ;
16542 PyObject
* obj8
= 0 ;
16543 PyObject
* obj9
= 0 ;
16544 PyObject
* obj10
= 0 ;
16545 PyObject
* obj11
= 0 ;
16546 char * kwnames
[] = {
16547 (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
16550 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
;
16551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16552 if (!SWIG_IsOK(res1
)) {
16553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16557 if (!SWIG_IsOK(ecode2
)) {
16558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16560 arg2
= static_cast< int >(val2
);
16561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16562 if (!SWIG_IsOK(ecode3
)) {
16563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16565 arg3
= static_cast< int >(val3
);
16566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16567 if (!SWIG_IsOK(ecode4
)) {
16568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16570 arg4
= static_cast< int >(val4
);
16571 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16572 if (!SWIG_IsOK(ecode5
)) {
16573 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16575 arg5
= static_cast< int >(val5
);
16576 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16577 if (!SWIG_IsOK(res6
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16580 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16581 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16582 if (!SWIG_IsOK(ecode7
)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16585 arg7
= static_cast< int >(val7
);
16586 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16587 if (!SWIG_IsOK(ecode8
)) {
16588 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16590 arg8
= static_cast< int >(val8
);
16592 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16593 if (!SWIG_IsOK(ecode9
)) {
16594 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16596 arg9
= static_cast< int >(val9
);
16599 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16600 if (!SWIG_IsOK(ecode10
)) {
16601 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16603 arg10
= static_cast< bool >(val10
);
16606 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16607 if (!SWIG_IsOK(ecode11
)) {
16608 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16610 arg11
= static_cast< int >(val11
);
16613 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16614 if (!SWIG_IsOK(ecode12
)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16617 arg12
= static_cast< int >(val12
);
16620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16621 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16634 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
= 0;
16636 wxDC
*arg1
= (wxDC
*) 0 ;
16637 wxPoint
*arg2
= 0 ;
16639 wxDC
*arg4
= (wxDC
*) 0 ;
16640 wxPoint
*arg5
= 0 ;
16641 int arg6
= (int) wxCOPY
;
16642 bool arg7
= (bool) false ;
16643 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16644 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 PyObject
* obj2
= 0 ;
16661 PyObject
* obj3
= 0 ;
16662 PyObject
* obj4
= 0 ;
16663 PyObject
* obj5
= 0 ;
16664 PyObject
* obj6
= 0 ;
16665 PyObject
* obj7
= 0 ;
16666 char * kwnames
[] = {
16667 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16672 if (!SWIG_IsOK(res1
)) {
16673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16682 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16684 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16685 if (!SWIG_IsOK(res4
)) {
16686 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16688 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16691 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16694 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16695 if (!SWIG_IsOK(ecode6
)) {
16696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16698 arg6
= static_cast< int >(val6
);
16701 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16702 if (!SWIG_IsOK(ecode7
)) {
16703 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16705 arg7
= static_cast< bool >(val7
);
16710 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16728 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
= 0;
16730 wxDC
*arg1
= (wxDC
*) 0 ;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 PyObject
* obj2
= 0 ;
16748 PyObject
* obj3
= 0 ;
16749 PyObject
* obj4
= 0 ;
16750 char * kwnames
[] = {
16751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16756 if (!SWIG_IsOK(res1
)) {
16757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16761 if (!SWIG_IsOK(ecode2
)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16764 arg2
= static_cast< int >(val2
);
16765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16766 if (!SWIG_IsOK(ecode3
)) {
16767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16769 arg3
= static_cast< int >(val3
);
16770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16771 if (!SWIG_IsOK(ecode4
)) {
16772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16774 arg4
= static_cast< int >(val4
);
16775 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16776 if (!SWIG_IsOK(ecode5
)) {
16777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16779 arg5
= static_cast< int >(val5
);
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= SWIG_Py_Void();
16793 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
= 0;
16795 wxDC
*arg1
= (wxDC
*) 0 ;
16796 wxPoint
*arg2
= 0 ;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 PyObject
* obj2
= 0 ;
16805 char * kwnames
[] = {
16806 (char *) "self",(char *) "pt",(char *) "sz", NULL
16809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16811 if (!SWIG_IsOK(res1
)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16821 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= SWIG_Py_Void();
16836 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
= 0;
16838 wxDC
*arg1
= (wxDC
*) 0 ;
16839 wxRegion
*arg2
= 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char * kwnames
[] = {
16847 (char *) "self",(char *) "region", NULL
16850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16852 if (!SWIG_IsOK(res1
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16857 if (!SWIG_IsOK(res2
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16863 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= SWIG_Py_Void();
16877 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
= 0;
16879 wxDC
*arg1
= (wxDC
*) 0 ;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 char * kwnames
[] = {
16887 (char *) "self",(char *) "rect", NULL
16890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16892 if (!SWIG_IsOK(res1
)) {
16893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16898 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_Py_Void();
16913 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
= 0;
16915 wxDC
*arg1
= (wxDC
*) 0 ;
16917 wxPoint
*arg3
= (wxPoint
*) 0 ;
16918 int arg4
= (int) 0 ;
16919 int arg5
= (int) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 PyObject
* obj2
= 0 ;
16929 PyObject
* obj3
= 0 ;
16930 char * kwnames
[] = {
16931 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16941 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16942 if (arg3
== NULL
) SWIG_fail
;
16945 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16946 if (!SWIG_IsOK(ecode4
)) {
16947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16949 arg4
= static_cast< int >(val4
);
16952 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16953 if (!SWIG_IsOK(ecode5
)) {
16954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16956 arg5
= static_cast< int >(val5
);
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_Py_Void();
16966 if (arg3
) delete [] arg3
;
16971 if (arg3
) delete [] arg3
;
16977 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
= 0;
16979 wxDC
*arg1
= (wxDC
*) 0 ;
16981 wxPoint
*arg3
= (wxPoint
*) 0 ;
16982 int arg4
= (int) 0 ;
16983 int arg5
= (int) 0 ;
16984 int arg6
= (int) wxODDEVEN_RULE
;
16993 PyObject
* obj0
= 0 ;
16994 PyObject
* obj1
= 0 ;
16995 PyObject
* obj2
= 0 ;
16996 PyObject
* obj3
= 0 ;
16997 PyObject
* obj4
= 0 ;
16998 char * kwnames
[] = {
16999 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17004 if (!SWIG_IsOK(res1
)) {
17005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17009 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17010 if (arg3
== NULL
) SWIG_fail
;
17013 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17014 if (!SWIG_IsOK(ecode4
)) {
17015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17017 arg4
= static_cast< int >(val4
);
17020 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17021 if (!SWIG_IsOK(ecode5
)) {
17022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17024 arg5
= static_cast< int >(val5
);
17027 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17028 if (!SWIG_IsOK(ecode6
)) {
17029 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17031 arg6
= static_cast< int >(val6
);
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= SWIG_Py_Void();
17041 if (arg3
) delete [] arg3
;
17046 if (arg3
) delete [] arg3
;
17052 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
= 0;
17054 wxDC
*arg1
= (wxDC
*) 0 ;
17055 wxString
*arg2
= 0 ;
17057 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17058 int arg5
= (int) -1 ;
17061 bool temp2
= false ;
17067 PyObject
* obj0
= 0 ;
17068 PyObject
* obj1
= 0 ;
17069 PyObject
* obj2
= 0 ;
17070 PyObject
* obj3
= 0 ;
17071 PyObject
* obj4
= 0 ;
17072 char * kwnames
[] = {
17073 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17078 if (!SWIG_IsOK(res1
)) {
17079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17083 arg2
= wxString_in_helper(obj1
);
17084 if (arg2
== NULL
) SWIG_fail
;
17089 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17092 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17093 if (!SWIG_IsOK(ecode4
)) {
17094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17096 arg4
= static_cast< int >(val4
);
17099 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17100 if (!SWIG_IsOK(ecode5
)) {
17101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17103 arg5
= static_cast< int >(val5
);
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= SWIG_Py_Void();
17126 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
= 0;
17128 wxDC
*arg1
= (wxDC
*) 0 ;
17129 wxString
*arg2
= 0 ;
17130 wxBitmap
*arg3
= 0 ;
17132 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17133 int arg6
= (int) -1 ;
17137 bool temp2
= false ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 PyObject
* obj2
= 0 ;
17148 PyObject
* obj3
= 0 ;
17149 PyObject
* obj4
= 0 ;
17150 PyObject
* obj5
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17162 arg2
= wxString_in_helper(obj1
);
17163 if (arg2
== NULL
) SWIG_fail
;
17166 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17167 if (!SWIG_IsOK(res3
)) {
17168 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17173 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17176 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17179 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17180 if (!SWIG_IsOK(ecode5
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17183 arg5
= static_cast< int >(val5
);
17186 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17187 if (!SWIG_IsOK(ecode6
)) {
17188 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17190 arg6
= static_cast< int >(val6
);
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17213 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
= 0;
17215 wxDC
*arg1
= (wxDC
*) 0 ;
17217 wxPoint
*arg3
= (wxPoint
*) 0 ;
17220 PyObject
* obj0
= 0 ;
17221 PyObject
* obj1
= 0 ;
17222 char * kwnames
[] = {
17223 (char *) "self",(char *) "points", NULL
17226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17228 if (!SWIG_IsOK(res1
)) {
17229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17233 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17234 if (arg3
== NULL
) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 (arg1
)->DrawSpline(arg2
,arg3
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= SWIG_Py_Void();
17244 if (arg3
) delete [] arg3
;
17249 if (arg3
) delete [] arg3
;
17255 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17256 PyObject
*resultobj
= 0;
17257 wxDC
*arg1
= (wxDC
*) 0 ;
17260 PyObject
*swig_obj
[1] ;
17262 if (!args
) SWIG_fail
;
17263 swig_obj
[0] = args
;
17264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17265 if (!SWIG_IsOK(res1
)) {
17266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= SWIG_Py_Void();
17282 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
= 0;
17284 wxDC
*arg1
= (wxDC
*) 0 ;
17285 wxString
*arg2
= 0 ;
17289 bool temp2
= false ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char * kwnames
[] = {
17293 (char *) "self",(char *) "message", NULL
17296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17298 if (!SWIG_IsOK(res1
)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17303 arg2
= wxString_in_helper(obj1
);
17304 if (arg2
== NULL
) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17330 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17331 PyObject
*resultobj
= 0;
17332 wxDC
*arg1
= (wxDC
*) 0 ;
17335 PyObject
*swig_obj
[1] ;
17337 if (!args
) SWIG_fail
;
17338 swig_obj
[0] = args
;
17339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17340 if (!SWIG_IsOK(res1
)) {
17341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= SWIG_Py_Void();
17357 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17358 PyObject
*resultobj
= 0;
17359 wxDC
*arg1
= (wxDC
*) 0 ;
17362 PyObject
*swig_obj
[1] ;
17364 if (!args
) SWIG_fail
;
17365 swig_obj
[0] = args
;
17366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17367 if (!SWIG_IsOK(res1
)) {
17368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 (arg1
)->StartPage();
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= SWIG_Py_Void();
17384 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17385 PyObject
*resultobj
= 0;
17386 wxDC
*arg1
= (wxDC
*) 0 ;
17389 PyObject
*swig_obj
[1] ;
17391 if (!args
) SWIG_fail
;
17392 swig_obj
[0] = args
;
17393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17394 if (!SWIG_IsOK(res1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_Py_Void();
17411 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
= 0;
17413 wxDC
*arg1
= (wxDC
*) 0 ;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char * kwnames
[] = {
17422 (char *) "self",(char *) "font", NULL
17425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17427 if (!SWIG_IsOK(res1
)) {
17428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17432 if (!SWIG_IsOK(res2
)) {
17433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17438 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 (arg1
)->SetFont((wxFont
const &)*arg2
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_Py_Void();
17452 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
= 0;
17454 wxDC
*arg1
= (wxDC
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 PyObject
* obj1
= 0 ;
17462 char * kwnames
[] = {
17463 (char *) "self",(char *) "pen", NULL
17466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17468 if (!SWIG_IsOK(res1
)) {
17469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17473 if (!SWIG_IsOK(res2
)) {
17474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17479 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 (arg1
)->SetPen((wxPen
const &)*arg2
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= SWIG_Py_Void();
17493 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
= 0;
17495 wxDC
*arg1
= (wxDC
*) 0 ;
17496 wxBrush
*arg2
= 0 ;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 char * kwnames
[] = {
17504 (char *) "self",(char *) "brush", NULL
17507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17509 if (!SWIG_IsOK(res1
)) {
17510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17514 if (!SWIG_IsOK(res2
)) {
17515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17520 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= SWIG_Py_Void();
17534 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
= 0;
17536 wxDC
*arg1
= (wxDC
*) 0 ;
17537 wxBrush
*arg2
= 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char * kwnames
[] = {
17545 (char *) "self",(char *) "brush", NULL
17548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17550 if (!SWIG_IsOK(res1
)) {
17551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17555 if (!SWIG_IsOK(res2
)) {
17556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17561 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_Py_Void();
17575 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
= 0;
17577 wxDC
*arg1
= (wxDC
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 PyObject
* obj1
= 0 ;
17585 char * kwnames
[] = {
17586 (char *) "self",(char *) "mode", NULL
17589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17591 if (!SWIG_IsOK(res1
)) {
17592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17596 if (!SWIG_IsOK(ecode2
)) {
17597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17599 arg2
= static_cast< int >(val2
);
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 (arg1
)->SetBackgroundMode(arg2
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 resultobj
= SWIG_Py_Void();
17613 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
= 0;
17615 wxDC
*arg1
= (wxDC
*) 0 ;
17616 wxPalette
*arg2
= 0 ;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char * kwnames
[] = {
17624 (char *) "self",(char *) "palette", NULL
17627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17634 if (!SWIG_IsOK(res2
)) {
17635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17640 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_Py_Void();
17654 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17655 PyObject
*resultobj
= 0;
17656 wxDC
*arg1
= (wxDC
*) 0 ;
17659 PyObject
*swig_obj
[1] ;
17661 if (!args
) SWIG_fail
;
17662 swig_obj
[0] = args
;
17663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17664 if (!SWIG_IsOK(res1
)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 (arg1
)->DestroyClippingRegion();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= SWIG_Py_Void();
17681 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17682 PyObject
*resultobj
= 0;
17683 wxDC
*arg1
= (wxDC
*) 0 ;
17684 int *arg2
= (int *) 0 ;
17685 int *arg3
= (int *) 0 ;
17686 int *arg4
= (int *) 0 ;
17687 int *arg5
= (int *) 0 ;
17691 int res2
= SWIG_TMPOBJ
;
17693 int res3
= SWIG_TMPOBJ
;
17695 int res4
= SWIG_TMPOBJ
;
17697 int res5
= SWIG_TMPOBJ
;
17698 PyObject
*swig_obj
[1] ;
17704 if (!args
) SWIG_fail
;
17705 swig_obj
[0] = args
;
17706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17707 if (!SWIG_IsOK(res1
)) {
17708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_Py_Void();
17718 if (SWIG_IsTmpObj(res2
)) {
17719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17721 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17724 if (SWIG_IsTmpObj(res3
)) {
17725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17727 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17730 if (SWIG_IsTmpObj(res4
)) {
17731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17733 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17736 if (SWIG_IsTmpObj(res5
)) {
17737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17739 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17748 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17749 PyObject
*resultobj
= 0;
17750 wxDC
*arg1
= (wxDC
*) 0 ;
17754 PyObject
*swig_obj
[1] ;
17756 if (!args
) SWIG_fail
;
17757 swig_obj
[0] = args
;
17758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17759 if (!SWIG_IsOK(res1
)) {
17760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= wxDC_GetClippingRect(arg1
);
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17776 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17777 PyObject
*resultobj
= 0;
17778 wxDC
*arg1
= (wxDC
*) 0 ;
17782 PyObject
*swig_obj
[1] ;
17784 if (!args
) SWIG_fail
;
17785 swig_obj
[0] = args
;
17786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17787 if (!SWIG_IsOK(res1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 resultobj
= SWIG_From_int(static_cast< int >(result
));
17804 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17805 PyObject
*resultobj
= 0;
17806 wxDC
*arg1
= (wxDC
*) 0 ;
17810 PyObject
*swig_obj
[1] ;
17812 if (!args
) SWIG_fail
;
17813 swig_obj
[0] = args
;
17814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17815 if (!SWIG_IsOK(res1
)) {
17816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= SWIG_From_int(static_cast< int >(result
));
17832 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
= 0;
17834 wxDC
*arg1
= (wxDC
*) 0 ;
17835 wxString
*arg2
= 0 ;
17836 int *arg3
= (int *) 0 ;
17837 int *arg4
= (int *) 0 ;
17840 bool temp2
= false ;
17842 int res3
= SWIG_TMPOBJ
;
17844 int res4
= SWIG_TMPOBJ
;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 char * kwnames
[] = {
17848 (char *) "self",(char *) "string", NULL
17853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17855 if (!SWIG_IsOK(res1
)) {
17856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17860 arg2
= wxString_in_helper(obj1
);
17861 if (arg2
== NULL
) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= SWIG_Py_Void();
17871 if (SWIG_IsTmpObj(res3
)) {
17872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17877 if (SWIG_IsTmpObj(res4
)) {
17878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17880 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17897 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
= 0;
17899 wxDC
*arg1
= (wxDC
*) 0 ;
17900 wxString
*arg2
= 0 ;
17901 int *arg3
= (int *) 0 ;
17902 int *arg4
= (int *) 0 ;
17903 int *arg5
= (int *) 0 ;
17904 int *arg6
= (int *) 0 ;
17905 wxFont
*arg7
= (wxFont
*) NULL
;
17908 bool temp2
= false ;
17910 int res3
= SWIG_TMPOBJ
;
17912 int res4
= SWIG_TMPOBJ
;
17914 int res5
= SWIG_TMPOBJ
;
17916 int res6
= SWIG_TMPOBJ
;
17919 PyObject
* obj0
= 0 ;
17920 PyObject
* obj1
= 0 ;
17921 PyObject
* obj2
= 0 ;
17922 char * kwnames
[] = {
17923 (char *) "self",(char *) "string",(char *) "font", NULL
17930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17932 if (!SWIG_IsOK(res1
)) {
17933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17937 arg2
= wxString_in_helper(obj1
);
17938 if (arg2
== NULL
) SWIG_fail
;
17942 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17943 if (!SWIG_IsOK(res7
)) {
17944 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17946 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= SWIG_Py_Void();
17955 if (SWIG_IsTmpObj(res3
)) {
17956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17958 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17961 if (SWIG_IsTmpObj(res4
)) {
17962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17964 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17967 if (SWIG_IsTmpObj(res5
)) {
17968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17970 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17973 if (SWIG_IsTmpObj(res6
)) {
17974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
17976 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
17993 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
= 0;
17995 wxDC
*arg1
= (wxDC
*) 0 ;
17996 wxString
*arg2
= 0 ;
17997 int *arg3
= (int *) 0 ;
17998 int *arg4
= (int *) 0 ;
17999 int *arg5
= (int *) 0 ;
18000 wxFont
*arg6
= (wxFont
*) NULL
;
18003 bool temp2
= false ;
18005 int res3
= SWIG_TMPOBJ
;
18007 int res4
= SWIG_TMPOBJ
;
18009 int res5
= SWIG_TMPOBJ
;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 PyObject
* obj2
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "text",(char *) "font", NULL
18022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18024 if (!SWIG_IsOK(res1
)) {
18025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18029 arg2
= wxString_in_helper(obj1
);
18030 if (arg2
== NULL
) SWIG_fail
;
18034 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18035 if (!SWIG_IsOK(res6
)) {
18036 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18038 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= SWIG_Py_Void();
18047 if (SWIG_IsTmpObj(res3
)) {
18048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18050 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18053 if (SWIG_IsTmpObj(res4
)) {
18054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18056 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18059 if (SWIG_IsTmpObj(res5
)) {
18060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18062 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18079 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
= 0;
18081 wxDC
*arg1
= (wxDC
*) 0 ;
18082 wxString
*arg2
= 0 ;
18086 bool temp2
= false ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char * kwnames
[] = {
18090 (char *) "self",(char *) "text", NULL
18093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18095 if (!SWIG_IsOK(res1
)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18100 arg2
= wxString_in_helper(obj1
);
18101 if (arg2
== NULL
) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= PyList_New(0);
18113 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18114 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18115 PyList_Append(resultobj
, val
);
18133 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18134 PyObject
*resultobj
= 0;
18135 wxDC
*arg1
= (wxDC
*) 0 ;
18139 PyObject
*swig_obj
[1] ;
18141 if (!args
) SWIG_fail
;
18142 swig_obj
[0] = args
;
18143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18144 if (!SWIG_IsOK(res1
)) {
18145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (arg1
)->GetSize();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18161 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18162 PyObject
*resultobj
= 0;
18163 wxDC
*arg1
= (wxDC
*) 0 ;
18164 int *arg2
= (int *) 0 ;
18165 int *arg3
= (int *) 0 ;
18169 int res2
= SWIG_TMPOBJ
;
18171 int res3
= SWIG_TMPOBJ
;
18172 PyObject
*swig_obj
[1] ;
18176 if (!args
) SWIG_fail
;
18177 swig_obj
[0] = args
;
18178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18179 if (!SWIG_IsOK(res1
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18182 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->GetSize(arg2
,arg3
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_Py_Void();
18190 if (SWIG_IsTmpObj(res2
)) {
18191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18193 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18196 if (SWIG_IsTmpObj(res3
)) {
18197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18199 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18208 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18209 PyObject
*resultobj
= 0;
18210 wxDC
*arg1
= (wxDC
*) 0 ;
18214 PyObject
*swig_obj
[1] ;
18216 if (!args
) SWIG_fail
;
18217 swig_obj
[0] = args
;
18218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18219 if (!SWIG_IsOK(res1
)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18236 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18237 PyObject
*resultobj
= 0;
18238 wxDC
*arg1
= (wxDC
*) 0 ;
18239 int *arg2
= (int *) 0 ;
18240 int *arg3
= (int *) 0 ;
18244 int res2
= SWIG_TMPOBJ
;
18246 int res3
= SWIG_TMPOBJ
;
18247 PyObject
*swig_obj
[1] ;
18251 if (!args
) SWIG_fail
;
18252 swig_obj
[0] = args
;
18253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18254 if (!SWIG_IsOK(res1
)) {
18255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= SWIG_Py_Void();
18265 if (SWIG_IsTmpObj(res2
)) {
18266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18268 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18271 if (SWIG_IsTmpObj(res3
)) {
18272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18274 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18283 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
= 0;
18285 wxDC
*arg1
= (wxDC
*) 0 ;
18292 PyObject
* obj0
= 0 ;
18293 PyObject
* obj1
= 0 ;
18294 char * kwnames
[] = {
18295 (char *) "self",(char *) "x", NULL
18298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18300 if (!SWIG_IsOK(res1
)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18305 if (!SWIG_IsOK(ecode2
)) {
18306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18308 arg2
= static_cast< int >(val2
);
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_From_int(static_cast< int >(result
));
18322 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
= 0;
18324 wxDC
*arg1
= (wxDC
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char * kwnames
[] = {
18334 (char *) "self",(char *) "y", NULL
18337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18344 if (!SWIG_IsOK(ecode2
)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18347 arg2
= static_cast< int >(val2
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_From_int(static_cast< int >(result
));
18361 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
= 0;
18363 wxDC
*arg1
= (wxDC
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 char * kwnames
[] = {
18373 (char *) "self",(char *) "x", NULL
18376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18378 if (!SWIG_IsOK(res1
)) {
18379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18383 if (!SWIG_IsOK(ecode2
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18386 arg2
= static_cast< int >(val2
);
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_From_int(static_cast< int >(result
));
18400 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
= 0;
18402 wxDC
*arg1
= (wxDC
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char * kwnames
[] = {
18412 (char *) "self",(char *) "y", NULL
18415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18417 if (!SWIG_IsOK(res1
)) {
18418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18422 if (!SWIG_IsOK(ecode2
)) {
18423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18425 arg2
= static_cast< int >(val2
);
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= SWIG_From_int(static_cast< int >(result
));
18439 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
= 0;
18441 wxDC
*arg1
= (wxDC
*) 0 ;
18448 PyObject
* obj0
= 0 ;
18449 PyObject
* obj1
= 0 ;
18450 char * kwnames
[] = {
18451 (char *) "self",(char *) "x", NULL
18454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18456 if (!SWIG_IsOK(res1
)) {
18457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18461 if (!SWIG_IsOK(ecode2
)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18464 arg2
= static_cast< int >(val2
);
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_From_int(static_cast< int >(result
));
18478 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
= 0;
18480 wxDC
*arg1
= (wxDC
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 char * kwnames
[] = {
18490 (char *) "self",(char *) "y", NULL
18493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18500 if (!SWIG_IsOK(ecode2
)) {
18501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18503 arg2
= static_cast< int >(val2
);
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_From_int(static_cast< int >(result
));
18517 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
= 0;
18519 wxDC
*arg1
= (wxDC
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 char * kwnames
[] = {
18529 (char *) "self",(char *) "x", NULL
18532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18534 if (!SWIG_IsOK(res1
)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18539 if (!SWIG_IsOK(ecode2
)) {
18540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18542 arg2
= static_cast< int >(val2
);
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= SWIG_From_int(static_cast< int >(result
));
18556 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
= 0;
18558 wxDC
*arg1
= (wxDC
*) 0 ;
18565 PyObject
* obj0
= 0 ;
18566 PyObject
* obj1
= 0 ;
18567 char * kwnames
[] = {
18568 (char *) "self",(char *) "y", NULL
18571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18573 if (!SWIG_IsOK(res1
)) {
18574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18578 if (!SWIG_IsOK(ecode2
)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18581 arg2
= static_cast< int >(val2
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_From_int(static_cast< int >(result
));
18595 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18596 PyObject
*resultobj
= 0;
18597 wxDC
*arg1
= (wxDC
*) 0 ;
18601 PyObject
*swig_obj
[1] ;
18603 if (!args
) SWIG_fail
;
18604 swig_obj
[0] = args
;
18605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18606 if (!SWIG_IsOK(res1
)) {
18607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18625 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18626 PyObject
*resultobj
= 0;
18627 wxDC
*arg1
= (wxDC
*) 0 ;
18631 PyObject
*swig_obj
[1] ;
18633 if (!args
) SWIG_fail
;
18634 swig_obj
[0] = args
;
18635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18655 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18656 PyObject
*resultobj
= 0;
18657 wxDC
*arg1
= (wxDC
*) 0 ;
18661 PyObject
*swig_obj
[1] ;
18663 if (!args
) SWIG_fail
;
18664 swig_obj
[0] = args
;
18665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_From_int(static_cast< int >(result
));
18683 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18684 PyObject
*resultobj
= 0;
18685 wxDC
*arg1
= (wxDC
*) 0 ;
18689 PyObject
*swig_obj
[1] ;
18691 if (!args
) SWIG_fail
;
18692 swig_obj
[0] = args
;
18693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18694 if (!SWIG_IsOK(res1
)) {
18695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 result
= ((wxDC
const *)arg1
)->GetPPI();
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18711 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18712 PyObject
*resultobj
= 0;
18713 wxDC
*arg1
= (wxDC
*) 0 ;
18717 PyObject
*swig_obj
[1] ;
18719 if (!args
) SWIG_fail
;
18720 swig_obj
[0] = args
;
18721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18722 if (!SWIG_IsOK(res1
)) {
18723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18725 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (bool)((wxDC
const *)arg1
)->Ok();
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18741 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18742 PyObject
*resultobj
= 0;
18743 wxDC
*arg1
= (wxDC
*) 0 ;
18747 PyObject
*swig_obj
[1] ;
18749 if (!args
) SWIG_fail
;
18750 swig_obj
[0] = args
;
18751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18752 if (!SWIG_IsOK(res1
)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= SWIG_From_int(static_cast< int >(result
));
18769 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18770 PyObject
*resultobj
= 0;
18771 wxDC
*arg1
= (wxDC
*) 0 ;
18772 wxBrush
*result
= 0 ;
18775 PyObject
*swig_obj
[1] ;
18777 if (!args
) SWIG_fail
;
18778 swig_obj
[0] = args
;
18779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18780 if (!SWIG_IsOK(res1
)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18788 result
= (wxBrush
*) &_result_ref
;
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 wxBrush
* resultptr
= new wxBrush(*result
);
18795 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18803 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18804 PyObject
*resultobj
= 0;
18805 wxDC
*arg1
= (wxDC
*) 0 ;
18806 wxBrush
*result
= 0 ;
18809 PyObject
*swig_obj
[1] ;
18811 if (!args
) SWIG_fail
;
18812 swig_obj
[0] = args
;
18813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18814 if (!SWIG_IsOK(res1
)) {
18815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18822 result
= (wxBrush
*) &_result_ref
;
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 wxBrush
* resultptr
= new wxBrush(*result
);
18829 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18837 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18838 PyObject
*resultobj
= 0;
18839 wxDC
*arg1
= (wxDC
*) 0 ;
18840 wxFont
*result
= 0 ;
18843 PyObject
*swig_obj
[1] ;
18845 if (!args
) SWIG_fail
;
18846 swig_obj
[0] = args
;
18847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18848 if (!SWIG_IsOK(res1
)) {
18849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18856 result
= (wxFont
*) &_result_ref
;
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 wxFont
* resultptr
= new wxFont(*result
);
18863 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18871 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18872 PyObject
*resultobj
= 0;
18873 wxDC
*arg1
= (wxDC
*) 0 ;
18874 wxPen
*result
= 0 ;
18877 PyObject
*swig_obj
[1] ;
18879 if (!args
) SWIG_fail
;
18880 swig_obj
[0] = args
;
18881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18882 if (!SWIG_IsOK(res1
)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18890 result
= (wxPen
*) &_result_ref
;
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18896 wxPen
* resultptr
= new wxPen(*result
);
18897 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18905 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18906 PyObject
*resultobj
= 0;
18907 wxDC
*arg1
= (wxDC
*) 0 ;
18908 wxColour
*result
= 0 ;
18911 PyObject
*swig_obj
[1] ;
18913 if (!args
) SWIG_fail
;
18914 swig_obj
[0] = args
;
18915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18916 if (!SWIG_IsOK(res1
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18924 result
= (wxColour
*) &_result_ref
;
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18936 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18937 PyObject
*resultobj
= 0;
18938 wxDC
*arg1
= (wxDC
*) 0 ;
18939 wxColour
*result
= 0 ;
18942 PyObject
*swig_obj
[1] ;
18944 if (!args
) SWIG_fail
;
18945 swig_obj
[0] = args
;
18946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18947 if (!SWIG_IsOK(res1
)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18955 result
= (wxColour
*) &_result_ref
;
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18967 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
= 0;
18969 wxDC
*arg1
= (wxDC
*) 0 ;
18970 wxColour
*arg2
= 0 ;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char * kwnames
[] = {
18977 (char *) "self",(char *) "colour", NULL
18980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18982 if (!SWIG_IsOK(res1
)) {
18983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
18985 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18996 resultobj
= SWIG_Py_Void();
19003 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
= 0;
19005 wxDC
*arg1
= (wxDC
*) 0 ;
19006 wxColour
*arg2
= 0 ;
19010 PyObject
* obj0
= 0 ;
19011 PyObject
* obj1
= 0 ;
19012 char * kwnames
[] = {
19013 (char *) "self",(char *) "colour", NULL
19016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19018 if (!SWIG_IsOK(res1
)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_Py_Void();
19039 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19040 PyObject
*resultobj
= 0;
19041 wxDC
*arg1
= (wxDC
*) 0 ;
19045 PyObject
*swig_obj
[1] ;
19047 if (!args
) SWIG_fail
;
19048 swig_obj
[0] = args
;
19049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19050 if (!SWIG_IsOK(res1
)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_From_int(static_cast< int >(result
));
19067 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
= 0;
19069 wxDC
*arg1
= (wxDC
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char * kwnames
[] = {
19078 (char *) "self",(char *) "mode", NULL
19081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19083 if (!SWIG_IsOK(res1
)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19088 if (!SWIG_IsOK(ecode2
)) {
19089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19091 arg2
= static_cast< int >(val2
);
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 (arg1
)->SetMapMode(arg2
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= SWIG_Py_Void();
19105 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19106 PyObject
*resultobj
= 0;
19107 wxDC
*arg1
= (wxDC
*) 0 ;
19108 double *arg2
= (double *) 0 ;
19109 double *arg3
= (double *) 0 ;
19113 int res2
= SWIG_TMPOBJ
;
19115 int res3
= SWIG_TMPOBJ
;
19116 PyObject
*swig_obj
[1] ;
19120 if (!args
) SWIG_fail
;
19121 swig_obj
[0] = args
;
19122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19123 if (!SWIG_IsOK(res1
)) {
19124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_Py_Void();
19134 if (SWIG_IsTmpObj(res2
)) {
19135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19137 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19140 if (SWIG_IsTmpObj(res3
)) {
19141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19143 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19152 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
= 0;
19154 wxDC
*arg1
= (wxDC
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "x",(char *) "y", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19176 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19177 if (!SWIG_IsOK(ecode2
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19180 arg2
= static_cast< double >(val2
);
19181 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19182 if (!SWIG_IsOK(ecode3
)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19185 arg3
= static_cast< double >(val3
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->SetUserScale(arg2
,arg3
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19200 PyObject
*resultobj
= 0;
19201 wxDC
*arg1
= (wxDC
*) 0 ;
19202 double *arg2
= (double *) 0 ;
19203 double *arg3
= (double *) 0 ;
19207 int res2
= SWIG_TMPOBJ
;
19209 int res3
= SWIG_TMPOBJ
;
19210 PyObject
*swig_obj
[1] ;
19214 if (!args
) SWIG_fail
;
19215 swig_obj
[0] = args
;
19216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19217 if (!SWIG_IsOK(res1
)) {
19218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 (arg1
)->GetLogicalScale(arg2
,arg3
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= SWIG_Py_Void();
19228 if (SWIG_IsTmpObj(res2
)) {
19229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19231 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19234 if (SWIG_IsTmpObj(res3
)) {
19235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19237 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19246 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
= 0;
19248 wxDC
*arg1
= (wxDC
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 PyObject
* obj2
= 0 ;
19260 char * kwnames
[] = {
19261 (char *) "self",(char *) "x",(char *) "y", NULL
19264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19266 if (!SWIG_IsOK(res1
)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19270 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19271 if (!SWIG_IsOK(ecode2
)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19274 arg2
= static_cast< double >(val2
);
19275 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19276 if (!SWIG_IsOK(ecode3
)) {
19277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19279 arg3
= static_cast< double >(val3
);
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 (arg1
)->SetLogicalScale(arg2
,arg3
);
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= SWIG_Py_Void();
19293 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19294 PyObject
*resultobj
= 0;
19295 wxDC
*arg1
= (wxDC
*) 0 ;
19299 PyObject
*swig_obj
[1] ;
19301 if (!args
) SWIG_fail
;
19302 swig_obj
[0] = args
;
19303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19304 if (!SWIG_IsOK(res1
)) {
19305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19321 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19322 PyObject
*resultobj
= 0;
19323 wxDC
*arg1
= (wxDC
*) 0 ;
19324 int *arg2
= (int *) 0 ;
19325 int *arg3
= (int *) 0 ;
19329 int res2
= SWIG_TMPOBJ
;
19331 int res3
= SWIG_TMPOBJ
;
19332 PyObject
*swig_obj
[1] ;
19336 if (!args
) SWIG_fail
;
19337 swig_obj
[0] = args
;
19338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19339 if (!SWIG_IsOK(res1
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= SWIG_Py_Void();
19350 if (SWIG_IsTmpObj(res2
)) {
19351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19353 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19356 if (SWIG_IsTmpObj(res3
)) {
19357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19359 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19368 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxDC
*arg1
= (wxDC
*) 0 ;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 PyObject
* obj2
= 0 ;
19382 char * kwnames
[] = {
19383 (char *) "self",(char *) "x",(char *) "y", NULL
19386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19388 if (!SWIG_IsOK(res1
)) {
19389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19393 if (!SWIG_IsOK(ecode2
)) {
19394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19396 arg2
= static_cast< int >(val2
);
19397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19398 if (!SWIG_IsOK(ecode3
)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19401 arg3
= static_cast< int >(val3
);
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= SWIG_Py_Void();
19415 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
= 0;
19417 wxDC
*arg1
= (wxDC
*) 0 ;
19418 wxPoint
*arg2
= 0 ;
19422 PyObject
* obj0
= 0 ;
19423 PyObject
* obj1
= 0 ;
19424 char * kwnames
[] = {
19425 (char *) "self",(char *) "point", NULL
19428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19430 if (!SWIG_IsOK(res1
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_Py_Void();
19451 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19452 PyObject
*resultobj
= 0;
19453 wxDC
*arg1
= (wxDC
*) 0 ;
19457 PyObject
*swig_obj
[1] ;
19459 if (!args
) SWIG_fail
;
19460 swig_obj
[0] = args
;
19461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19462 if (!SWIG_IsOK(res1
)) {
19463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19479 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19480 PyObject
*resultobj
= 0;
19481 wxDC
*arg1
= (wxDC
*) 0 ;
19482 int *arg2
= (int *) 0 ;
19483 int *arg3
= (int *) 0 ;
19487 int res2
= SWIG_TMPOBJ
;
19489 int res3
= SWIG_TMPOBJ
;
19490 PyObject
*swig_obj
[1] ;
19494 if (!args
) SWIG_fail
;
19495 swig_obj
[0] = args
;
19496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19497 if (!SWIG_IsOK(res1
)) {
19498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19507 resultobj
= SWIG_Py_Void();
19508 if (SWIG_IsTmpObj(res2
)) {
19509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19511 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19514 if (SWIG_IsTmpObj(res3
)) {
19515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19517 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19526 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
= 0;
19528 wxDC
*arg1
= (wxDC
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 PyObject
* obj2
= 0 ;
19540 char * kwnames
[] = {
19541 (char *) "self",(char *) "x",(char *) "y", NULL
19544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19546 if (!SWIG_IsOK(res1
)) {
19547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19551 if (!SWIG_IsOK(ecode2
)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19554 arg2
= static_cast< int >(val2
);
19555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19556 if (!SWIG_IsOK(ecode3
)) {
19557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19559 arg3
= static_cast< int >(val3
);
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_Py_Void();
19573 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
= 0;
19575 wxDC
*arg1
= (wxDC
*) 0 ;
19576 wxPoint
*arg2
= 0 ;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 char * kwnames
[] = {
19583 (char *) "self",(char *) "point", NULL
19586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19588 if (!SWIG_IsOK(res1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_Py_Void();
19609 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
= 0;
19611 wxDC
*arg1
= (wxDC
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 PyObject
* obj1
= 0 ;
19622 PyObject
* obj2
= 0 ;
19623 char * kwnames
[] = {
19624 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19629 if (!SWIG_IsOK(res1
)) {
19630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19633 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19634 if (!SWIG_IsOK(ecode2
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19637 arg2
= static_cast< bool >(val2
);
19638 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19639 if (!SWIG_IsOK(ecode3
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19642 arg3
= static_cast< bool >(val3
);
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= SWIG_Py_Void();
19656 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19657 PyObject
*resultobj
= 0;
19658 wxDC
*arg1
= (wxDC
*) 0 ;
19662 PyObject
*swig_obj
[1] ;
19664 if (!args
) SWIG_fail
;
19665 swig_obj
[0] = args
;
19666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19667 if (!SWIG_IsOK(res1
)) {
19668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= SWIG_From_int(static_cast< int >(result
));
19684 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
= 0;
19686 wxDC
*arg1
= (wxDC
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 char * kwnames
[] = {
19695 (char *) "self",(char *) "function", NULL
19698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19700 if (!SWIG_IsOK(res1
)) {
19701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19705 if (!SWIG_IsOK(ecode2
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19708 arg2
= static_cast< int >(val2
);
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->SetLogicalFunction(arg2
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_Py_Void();
19722 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19723 PyObject
*resultobj
= 0;
19724 wxDC
*arg1
= (wxDC
*) 0 ;
19727 PyObject
*swig_obj
[1] ;
19729 if (!args
) SWIG_fail
;
19730 swig_obj
[0] = args
;
19731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19732 if (!SWIG_IsOK(res1
)) {
19733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 (arg1
)->ComputeScaleAndOrigin();
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19742 resultobj
= SWIG_Py_Void();
19749 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
= 0;
19751 wxDC
*arg1
= (wxDC
*) 0 ;
19760 PyObject
* obj0
= 0 ;
19761 PyObject
* obj1
= 0 ;
19762 PyObject
* obj2
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "self",(char *) "x",(char *) "y", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19774 if (!SWIG_IsOK(ecode2
)) {
19775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19777 arg2
= static_cast< int >(val2
);
19778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19779 if (!SWIG_IsOK(ecode3
)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19782 arg3
= static_cast< int >(val3
);
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_Py_Void();
19796 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
= 0;
19798 wxDC
*arg1
= (wxDC
*) 0 ;
19799 wxPoint
*arg2
= 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char * kwnames
[] = {
19806 (char *) "self",(char *) "point", NULL
19809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= SWIG_Py_Void();
19832 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19833 PyObject
*resultobj
= 0;
19834 wxDC
*arg1
= (wxDC
*) 0 ;
19837 PyObject
*swig_obj
[1] ;
19839 if (!args
) SWIG_fail
;
19840 swig_obj
[0] = args
;
19841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19842 if (!SWIG_IsOK(res1
)) {
19843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 (arg1
)->ResetBoundingBox();
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= SWIG_Py_Void();
19859 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19860 PyObject
*resultobj
= 0;
19861 wxDC
*arg1
= (wxDC
*) 0 ;
19865 PyObject
*swig_obj
[1] ;
19867 if (!args
) SWIG_fail
;
19868 swig_obj
[0] = args
;
19869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19870 if (!SWIG_IsOK(res1
)) {
19871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 result
= (int)((wxDC
const *)arg1
)->MinX();
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= SWIG_From_int(static_cast< int >(result
));
19887 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19888 PyObject
*resultobj
= 0;
19889 wxDC
*arg1
= (wxDC
*) 0 ;
19893 PyObject
*swig_obj
[1] ;
19895 if (!args
) SWIG_fail
;
19896 swig_obj
[0] = args
;
19897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19898 if (!SWIG_IsOK(res1
)) {
19899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (int)((wxDC
const *)arg1
)->MaxX();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= SWIG_From_int(static_cast< int >(result
));
19915 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19916 PyObject
*resultobj
= 0;
19917 wxDC
*arg1
= (wxDC
*) 0 ;
19921 PyObject
*swig_obj
[1] ;
19923 if (!args
) SWIG_fail
;
19924 swig_obj
[0] = args
;
19925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19926 if (!SWIG_IsOK(res1
)) {
19927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (int)((wxDC
const *)arg1
)->MinY();
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_From_int(static_cast< int >(result
));
19943 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19944 PyObject
*resultobj
= 0;
19945 wxDC
*arg1
= (wxDC
*) 0 ;
19949 PyObject
*swig_obj
[1] ;
19951 if (!args
) SWIG_fail
;
19952 swig_obj
[0] = args
;
19953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19954 if (!SWIG_IsOK(res1
)) {
19955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (int)((wxDC
const *)arg1
)->MaxY();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= SWIG_From_int(static_cast< int >(result
));
19971 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19972 PyObject
*resultobj
= 0;
19973 wxDC
*arg1
= (wxDC
*) 0 ;
19974 int *arg2
= (int *) 0 ;
19975 int *arg3
= (int *) 0 ;
19976 int *arg4
= (int *) 0 ;
19977 int *arg5
= (int *) 0 ;
19981 int res2
= SWIG_TMPOBJ
;
19983 int res3
= SWIG_TMPOBJ
;
19985 int res4
= SWIG_TMPOBJ
;
19987 int res5
= SWIG_TMPOBJ
;
19988 PyObject
*swig_obj
[1] ;
19994 if (!args
) SWIG_fail
;
19995 swig_obj
[0] = args
;
19996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19997 if (!SWIG_IsOK(res1
)) {
19998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= SWIG_Py_Void();
20008 if (SWIG_IsTmpObj(res2
)) {
20009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20011 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20014 if (SWIG_IsTmpObj(res3
)) {
20015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20017 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20020 if (SWIG_IsTmpObj(res4
)) {
20021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20023 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20026 if (SWIG_IsTmpObj(res5
)) {
20027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20029 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20038 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
= 0;
20040 wxDC
*arg1
= (wxDC
*) 0 ;
20041 PyObject
*arg2
= (PyObject
*) 0 ;
20042 PyObject
*arg3
= (PyObject
*) 0 ;
20043 PyObject
*arg4
= (PyObject
*) 0 ;
20044 PyObject
*result
= 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 PyObject
* obj2
= 0 ;
20050 PyObject
* obj3
= 0 ;
20051 char * kwnames
[] = {
20052 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= result
;
20077 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
= 0;
20079 wxDC
*arg1
= (wxDC
*) 0 ;
20080 PyObject
*arg2
= (PyObject
*) 0 ;
20081 PyObject
*arg3
= (PyObject
*) 0 ;
20082 PyObject
*arg4
= (PyObject
*) 0 ;
20083 PyObject
*result
= 0 ;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20088 PyObject
* obj2
= 0 ;
20089 PyObject
* obj3
= 0 ;
20090 char * kwnames
[] = {
20091 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20096 if (!SWIG_IsOK(res1
)) {
20097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= result
;
20116 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
= 0;
20118 wxDC
*arg1
= (wxDC
*) 0 ;
20119 PyObject
*arg2
= (PyObject
*) 0 ;
20120 PyObject
*arg3
= (PyObject
*) 0 ;
20121 PyObject
*arg4
= (PyObject
*) 0 ;
20122 PyObject
*result
= 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 PyObject
* obj2
= 0 ;
20128 PyObject
* obj3
= 0 ;
20129 char * kwnames
[] = {
20130 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20135 if (!SWIG_IsOK(res1
)) {
20136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= result
;
20155 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
= 0;
20157 wxDC
*arg1
= (wxDC
*) 0 ;
20158 PyObject
*arg2
= (PyObject
*) 0 ;
20159 PyObject
*arg3
= (PyObject
*) 0 ;
20160 PyObject
*arg4
= (PyObject
*) 0 ;
20161 PyObject
*result
= 0 ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 PyObject
* obj2
= 0 ;
20167 PyObject
* obj3
= 0 ;
20168 char * kwnames
[] = {
20169 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20174 if (!SWIG_IsOK(res1
)) {
20175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= result
;
20194 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
= 0;
20196 wxDC
*arg1
= (wxDC
*) 0 ;
20197 PyObject
*arg2
= (PyObject
*) 0 ;
20198 PyObject
*arg3
= (PyObject
*) 0 ;
20199 PyObject
*arg4
= (PyObject
*) 0 ;
20200 PyObject
*result
= 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 PyObject
* obj2
= 0 ;
20206 PyObject
* obj3
= 0 ;
20207 char * kwnames
[] = {
20208 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20213 if (!SWIG_IsOK(res1
)) {
20214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= result
;
20233 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
= 0;
20235 wxDC
*arg1
= (wxDC
*) 0 ;
20236 PyObject
*arg2
= (PyObject
*) 0 ;
20237 PyObject
*arg3
= (PyObject
*) 0 ;
20238 PyObject
*arg4
= (PyObject
*) 0 ;
20239 PyObject
*arg5
= (PyObject
*) 0 ;
20240 PyObject
*result
= 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 PyObject
* obj2
= 0 ;
20246 PyObject
* obj3
= 0 ;
20247 PyObject
* obj4
= 0 ;
20248 char * kwnames
[] = {
20249 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20254 if (!SWIG_IsOK(res1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= result
;
20275 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20278 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20279 return SWIG_Py_Void();
20282 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20283 PyObject
*resultobj
= 0;
20284 wxMemoryDC
*result
= 0 ;
20286 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20288 if (!wxPyCheckForApp()) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (wxMemoryDC
*)new wxMemoryDC();
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20301 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
= 0;
20303 wxDC
*arg1
= (wxDC
*) 0 ;
20304 wxMemoryDC
*result
= 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char * kwnames
[] = {
20309 (char *) "oldDC", NULL
20312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20314 if (!SWIG_IsOK(res1
)) {
20315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20319 if (!wxPyCheckForApp()) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20332 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
= 0;
20334 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20335 wxBitmap
*arg2
= 0 ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 char * kwnames
[] = {
20343 (char *) "self",(char *) "bitmap", NULL
20346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20348 if (!SWIG_IsOK(res1
)) {
20349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20351 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20353 if (!SWIG_IsOK(res2
)) {
20354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20359 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= SWIG_Py_Void();
20373 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20376 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20377 return SWIG_Py_Void();
20380 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20381 return SWIG_Python_InitShadowInstance(args
);
20384 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20385 PyObject
*resultobj
= 0;
20386 wxDC
*arg1
= (wxDC
*) 0 ;
20387 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20388 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20389 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20390 wxBufferedDC
*result
= 0 ;
20398 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20400 if (!SWIG_IsOK(res1
)) {
20401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20405 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20406 if (!SWIG_IsOK(res2
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20412 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20415 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20416 if (!SWIG_IsOK(ecode3
)) {
20417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20419 arg3
= static_cast< int >(val3
);
20422 if (!wxPyCheckForApp()) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20435 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20436 PyObject
*resultobj
= 0;
20437 wxDC
*arg1
= (wxDC
*) 0 ;
20439 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20440 wxBufferedDC
*result
= 0 ;
20447 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20449 if (!SWIG_IsOK(res1
)) {
20450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20455 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20458 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20459 if (!SWIG_IsOK(ecode3
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20462 arg3
= static_cast< int >(val3
);
20465 if (!wxPyCheckForApp()) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20468 wxPyEndAllowThreads(__tstate
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20478 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20482 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20484 if ((argc
>= 1) && (argc
<= 3)) {
20488 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20489 _v
= SWIG_CheckState(res
);
20491 if (!_v
) goto check_1
;
20493 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20497 if ((argc
>= 2) && (argc
<= 3)) {
20498 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20502 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20507 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20508 PyObject
*resultobj
= 0;
20509 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20512 PyObject
*swig_obj
[1] ;
20514 if (!args
) SWIG_fail
;
20515 swig_obj
[0] = args
;
20516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20520 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 resultobj
= SWIG_Py_Void();
20535 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20536 PyObject
*resultobj
= 0;
20537 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20540 PyObject
*swig_obj
[1] ;
20542 if (!args
) SWIG_fail
;
20543 swig_obj
[0] = args
;
20544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20545 if (!SWIG_IsOK(res1
)) {
20546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20548 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 resultobj
= SWIG_Py_Void();
20562 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20565 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20566 return SWIG_Py_Void();
20569 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20570 return SWIG_Python_InitShadowInstance(args
);
20573 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= 0;
20575 wxWindow
*arg1
= (wxWindow
*) 0 ;
20576 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20577 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20578 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20579 wxBufferedPaintDC
*result
= 0 ;
20586 PyObject
* obj0
= 0 ;
20587 PyObject
* obj1
= 0 ;
20588 PyObject
* obj2
= 0 ;
20589 char * kwnames
[] = {
20590 (char *) "window",(char *) "buffer",(char *) "style", NULL
20593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20595 if (!SWIG_IsOK(res1
)) {
20596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20601 if (!SWIG_IsOK(res2
)) {
20602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20607 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20611 if (!SWIG_IsOK(ecode3
)) {
20612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20614 arg3
= static_cast< int >(val3
);
20617 if (!wxPyCheckForApp()) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20630 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20633 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20634 return SWIG_Py_Void();
20637 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20638 return SWIG_Python_InitShadowInstance(args
);
20641 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20642 PyObject
*resultobj
= 0;
20643 wxScreenDC
*result
= 0 ;
20645 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20647 if (!wxPyCheckForApp()) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 result
= (wxScreenDC
*)new wxScreenDC();
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20660 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
= 0;
20662 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20663 wxWindow
*arg2
= (wxWindow
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 char * kwnames
[] = {
20672 (char *) "self",(char *) "window", NULL
20675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20677 if (!SWIG_IsOK(res1
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20680 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20682 if (!SWIG_IsOK(res2
)) {
20683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20685 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20701 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
= 0;
20703 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20704 wxRect
*arg2
= (wxRect
*) NULL
;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "rect", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20721 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20724 if (!SWIG_IsOK(res2
)) {
20725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20727 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20744 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20745 PyObject
*resultobj
= 0;
20746 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20750 PyObject
*swig_obj
[1] ;
20752 if (!args
) SWIG_fail
;
20753 swig_obj
[0] = args
;
20754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20755 if (!SWIG_IsOK(res1
)) {
20756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20758 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (bool)(arg1
)->EndDrawingOnTop();
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20774 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20777 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20778 return SWIG_Py_Void();
20781 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20782 return SWIG_Python_InitShadowInstance(args
);
20785 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
= 0;
20787 wxWindow
*arg1
= (wxWindow
*) 0 ;
20788 wxClientDC
*result
= 0 ;
20791 PyObject
* obj0
= 0 ;
20792 char * kwnames
[] = {
20793 (char *) "win", NULL
20796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20798 if (!SWIG_IsOK(res1
)) {
20799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20803 if (!wxPyCheckForApp()) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (wxClientDC
*)new wxClientDC(arg1
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20816 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20819 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20820 return SWIG_Py_Void();
20823 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20824 return SWIG_Python_InitShadowInstance(args
);
20827 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
= 0;
20829 wxWindow
*arg1
= (wxWindow
*) 0 ;
20830 wxPaintDC
*result
= 0 ;
20833 PyObject
* obj0
= 0 ;
20834 char * kwnames
[] = {
20835 (char *) "win", NULL
20838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20840 if (!SWIG_IsOK(res1
)) {
20841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20843 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20845 if (!wxPyCheckForApp()) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20858 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20861 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20862 return SWIG_Py_Void();
20865 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20866 return SWIG_Python_InitShadowInstance(args
);
20869 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
= 0;
20871 wxWindow
*arg1
= (wxWindow
*) 0 ;
20872 wxWindowDC
*result
= 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char * kwnames
[] = {
20877 (char *) "win", NULL
20880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20882 if (!SWIG_IsOK(res1
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20885 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20887 if (!wxPyCheckForApp()) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20900 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20903 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20904 return SWIG_Py_Void();
20907 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20908 return SWIG_Python_InitShadowInstance(args
);
20911 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
= 0;
20915 wxMirrorDC
*result
= 0 ;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 char * kwnames
[] = {
20923 (char *) "dc",(char *) "mirror", NULL
20926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20927 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20928 if (!SWIG_IsOK(res1
)) {
20929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20935 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20936 if (!SWIG_IsOK(ecode2
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20939 arg2
= static_cast< bool >(val2
);
20941 if (!wxPyCheckForApp()) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20954 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20957 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20958 return SWIG_Py_Void();
20961 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20962 return SWIG_Python_InitShadowInstance(args
);
20965 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
= 0;
20967 wxPrintData
*arg1
= 0 ;
20968 wxPostScriptDC
*result
= 0 ;
20971 PyObject
* obj0
= 0 ;
20972 char * kwnames
[] = {
20973 (char *) "printData", NULL
20976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
20977 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
20984 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
20986 if (!wxPyCheckForApp()) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
20999 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21000 PyObject
*resultobj
= 0;
21001 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21002 wxPrintData
*result
= 0 ;
21005 PyObject
*swig_obj
[1] ;
21007 if (!args
) SWIG_fail
;
21008 swig_obj
[0] = args
;
21009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21013 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21018 result
= (wxPrintData
*) &_result_ref
;
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21030 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
= 0;
21032 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21033 wxPrintData
*arg2
= 0 ;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 char * kwnames
[] = {
21041 (char *) "self",(char *) "data", NULL
21044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21046 if (!SWIG_IsOK(res1
)) {
21047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21049 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21051 if (!SWIG_IsOK(res2
)) {
21052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21057 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_Py_Void();
21071 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
= 0;
21076 PyObject
* obj0
= 0 ;
21077 char * kwnames
[] = {
21078 (char *) "ppi", NULL
21081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21083 if (!SWIG_IsOK(ecode1
)) {
21084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21086 arg1
= static_cast< int >(val1
);
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 wxPostScriptDC::SetResolution(arg1
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_Py_Void();
21100 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21101 PyObject
*resultobj
= 0;
21104 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 result
= (int)wxPostScriptDC::GetResolution();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_From_int(static_cast< int >(result
));
21118 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21121 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21122 return SWIG_Py_Void();
21125 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21126 return SWIG_Python_InitShadowInstance(args
);
21129 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
= 0;
21131 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21132 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21133 wxMetaFile
*result
= 0 ;
21134 bool temp1
= false ;
21135 PyObject
* obj0
= 0 ;
21136 char * kwnames
[] = {
21137 (char *) "filename", NULL
21140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21143 arg1
= wxString_in_helper(obj0
);
21144 if (arg1
== NULL
) SWIG_fail
;
21149 if (!wxPyCheckForApp()) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21170 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21173 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21174 return SWIG_Py_Void();
21177 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21178 return SWIG_Python_InitShadowInstance(args
);
21181 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
= 0;
21183 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21184 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21185 int arg2
= (int) 0 ;
21186 int arg3
= (int) 0 ;
21187 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21188 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21189 wxMetaFileDC
*result
= 0 ;
21190 bool temp1
= false ;
21195 bool temp4
= false ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 PyObject
* obj2
= 0 ;
21199 PyObject
* obj3
= 0 ;
21200 char * kwnames
[] = {
21201 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21207 arg1
= wxString_in_helper(obj0
);
21208 if (arg1
== NULL
) SWIG_fail
;
21213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21214 if (!SWIG_IsOK(ecode2
)) {
21215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21217 arg2
= static_cast< int >(val2
);
21220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21221 if (!SWIG_IsOK(ecode3
)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21224 arg3
= static_cast< int >(val3
);
21228 arg4
= wxString_in_helper(obj3
);
21229 if (arg4
== NULL
) SWIG_fail
;
21234 if (!wxPyCheckForApp()) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21263 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21266 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21267 return SWIG_Py_Void();
21270 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21271 return SWIG_Python_InitShadowInstance(args
);
21274 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
= 0;
21276 wxPrintData
*arg1
= 0 ;
21277 wxPrinterDC
*result
= 0 ;
21280 PyObject
* obj0
= 0 ;
21281 char * kwnames
[] = {
21282 (char *) "printData", NULL
21285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21286 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21287 if (!SWIG_IsOK(res1
)) {
21288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21293 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21295 if (!wxPyCheckForApp()) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21308 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21312 return SWIG_Py_Void();
21315 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21316 return SWIG_Python_InitShadowInstance(args
);
21319 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
= 0;
21323 int arg3
= (int) true ;
21324 int arg4
= (int) 1 ;
21325 wxImageList
*result
= 0 ;
21334 PyObject
* obj0
= 0 ;
21335 PyObject
* obj1
= 0 ;
21336 PyObject
* obj2
= 0 ;
21337 PyObject
* obj3
= 0 ;
21338 char * kwnames
[] = {
21339 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21343 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21344 if (!SWIG_IsOK(ecode1
)) {
21345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21347 arg1
= static_cast< int >(val1
);
21348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21349 if (!SWIG_IsOK(ecode2
)) {
21350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21352 arg2
= static_cast< int >(val2
);
21354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21355 if (!SWIG_IsOK(ecode3
)) {
21356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21358 arg3
= static_cast< int >(val3
);
21361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21362 if (!SWIG_IsOK(ecode4
)) {
21363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21365 arg4
= static_cast< int >(val4
);
21368 if (!wxPyCheckForApp()) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21383 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21384 PyObject
*resultobj
= 0;
21385 wxImageList
*arg1
= (wxImageList
*) 0 ;
21388 PyObject
*swig_obj
[1] ;
21390 if (!args
) SWIG_fail
;
21391 swig_obj
[0] = args
;
21392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21393 if (!SWIG_IsOK(res1
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21396 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_Py_Void();
21411 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
= 0;
21413 wxImageList
*arg1
= (wxImageList
*) 0 ;
21414 wxBitmap
*arg2
= 0 ;
21415 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21416 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21424 PyObject
* obj0
= 0 ;
21425 PyObject
* obj1
= 0 ;
21426 PyObject
* obj2
= 0 ;
21427 char * kwnames
[] = {
21428 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21433 if (!SWIG_IsOK(res1
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21436 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21438 if (!SWIG_IsOK(res2
)) {
21439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21444 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21446 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21447 if (!SWIG_IsOK(res3
)) {
21448 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21453 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= SWIG_From_int(static_cast< int >(result
));
21468 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
= 0;
21470 wxImageList
*arg1
= (wxImageList
*) 0 ;
21471 wxBitmap
*arg2
= 0 ;
21472 wxColour
*arg3
= 0 ;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 PyObject
* obj2
= 0 ;
21482 char * kwnames
[] = {
21483 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21488 if (!SWIG_IsOK(res1
)) {
21489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21491 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21493 if (!SWIG_IsOK(res2
)) {
21494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21499 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21502 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_From_int(static_cast< int >(result
));
21517 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
= 0;
21519 wxImageList
*arg1
= (wxImageList
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char * kwnames
[] = {
21529 (char *) "self",(char *) "icon", NULL
21532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21537 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21539 if (!SWIG_IsOK(res2
)) {
21540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21545 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_From_int(static_cast< int >(result
));
21559 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
= 0;
21561 wxImageList
*arg1
= (wxImageList
*) 0 ;
21563 SwigValueWrapper
<wxBitmap
> result
;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char * kwnames
[] = {
21571 (char *) "self",(char *) "index", NULL
21574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21576 if (!SWIG_IsOK(res1
)) {
21577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21579 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21581 if (!SWIG_IsOK(ecode2
)) {
21582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21584 arg2
= static_cast< int >(val2
);
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21598 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
= 0;
21600 wxImageList
*arg1
= (wxImageList
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char * kwnames
[] = {
21610 (char *) "self",(char *) "index", NULL
21613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21615 if (!SWIG_IsOK(res1
)) {
21616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21618 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21620 if (!SWIG_IsOK(ecode2
)) {
21621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21623 arg2
= static_cast< int >(val2
);
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21637 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
= 0;
21639 wxImageList
*arg1
= (wxImageList
*) 0 ;
21641 wxBitmap
*arg3
= 0 ;
21642 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
21643 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 PyObject
* obj2
= 0 ;
21656 PyObject
* obj3
= 0 ;
21657 char * kwnames
[] = {
21658 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
21661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21663 if (!SWIG_IsOK(res1
)) {
21664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21666 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21668 if (!SWIG_IsOK(ecode2
)) {
21669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21671 arg2
= static_cast< int >(val2
);
21672 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21673 if (!SWIG_IsOK(res3
)) {
21674 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21679 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21681 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21682 if (!SWIG_IsOK(res4
)) {
21683 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21688 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21705 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
= 0;
21707 wxImageList
*arg1
= (wxImageList
*) 0 ;
21712 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21713 bool arg7
= (bool) (bool)false ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 PyObject
* obj2
= 0 ;
21732 PyObject
* obj3
= 0 ;
21733 PyObject
* obj4
= 0 ;
21734 PyObject
* obj5
= 0 ;
21735 PyObject
* obj6
= 0 ;
21736 char * kwnames
[] = {
21737 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21742 if (!SWIG_IsOK(res1
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21745 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21747 if (!SWIG_IsOK(ecode2
)) {
21748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21750 arg2
= static_cast< int >(val2
);
21751 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21752 if (!SWIG_IsOK(res3
)) {
21753 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21758 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21759 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21760 if (!SWIG_IsOK(ecode4
)) {
21761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21763 arg4
= static_cast< int >(val4
);
21764 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21765 if (!SWIG_IsOK(ecode5
)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21768 arg5
= static_cast< int >(val5
);
21770 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21771 if (!SWIG_IsOK(ecode6
)) {
21772 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21774 arg6
= static_cast< int >(val6
);
21777 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21778 if (!SWIG_IsOK(ecode7
)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21781 arg7
= static_cast< bool >(val7
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21798 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21799 PyObject
*resultobj
= 0;
21800 wxImageList
*arg1
= (wxImageList
*) 0 ;
21804 PyObject
*swig_obj
[1] ;
21806 if (!args
) SWIG_fail
;
21807 swig_obj
[0] = args
;
21808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
21812 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (int)(arg1
)->GetImageCount();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_From_int(static_cast< int >(result
));
21826 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
= 0;
21828 wxImageList
*arg1
= (wxImageList
*) 0 ;
21835 PyObject
* obj0
= 0 ;
21836 PyObject
* obj1
= 0 ;
21837 char * kwnames
[] = {
21838 (char *) "self",(char *) "index", NULL
21841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21843 if (!SWIG_IsOK(res1
)) {
21844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
21846 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21848 if (!SWIG_IsOK(ecode2
)) {
21849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
21851 arg2
= static_cast< int >(val2
);
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (bool)(arg1
)->Remove(arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21867 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21868 PyObject
*resultobj
= 0;
21869 wxImageList
*arg1
= (wxImageList
*) 0 ;
21873 PyObject
*swig_obj
[1] ;
21875 if (!args
) SWIG_fail
;
21876 swig_obj
[0] = args
;
21877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
21881 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)(arg1
)->RemoveAll();
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21897 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
= 0;
21899 wxImageList
*arg1
= (wxImageList
*) 0 ;
21908 int res3
= SWIG_TMPOBJ
;
21910 int res4
= SWIG_TMPOBJ
;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 char * kwnames
[] = {
21914 (char *) "self",(char *) "index", NULL
21919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21921 if (!SWIG_IsOK(res1
)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
21924 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21926 if (!SWIG_IsOK(ecode2
)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
21929 arg2
= static_cast< int >(val2
);
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= SWIG_Py_Void();
21937 if (SWIG_IsTmpObj(res3
)) {
21938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21940 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21943 if (SWIG_IsTmpObj(res4
)) {
21944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21946 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21955 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21958 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
21959 return SWIG_Py_Void();
21962 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21963 return SWIG_Python_InitShadowInstance(args
);
21966 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21967 PyObject
*resultobj
= 0;
21968 wxStockGDI
*result
= 0 ;
21970 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= (wxStockGDI
*)new wxStockGDI();
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
21984 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 PyObject
*resultobj
= 0;
21986 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
21989 PyObject
*swig_obj
[1] ;
21991 if (!args
) SWIG_fail
;
21992 swig_obj
[0] = args
;
21993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
21994 if (!SWIG_IsOK(res1
)) {
21995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
21997 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_Py_Void();
22012 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22013 PyObject
*resultobj
= 0;
22015 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 wxStockGDI::DeleteAll();
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= SWIG_Py_Void();
22029 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22030 PyObject
*resultobj
= 0;
22031 wxStockGDI
*result
= 0 ;
22033 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 wxStockGDI
&_result_ref
= wxStockGDI::instance();
22038 result
= (wxStockGDI
*) &_result_ref
;
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22050 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
= 0;
22052 wxStockGDI::Item arg1
;
22053 wxBrush
*result
= 0 ;
22056 PyObject
* obj0
= 0 ;
22057 char * kwnames
[] = {
22058 (char *) "item", NULL
22061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
22062 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22063 if (!SWIG_IsOK(ecode1
)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22066 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22080 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
= 0;
22082 wxStockGDI::Item arg1
;
22083 wxColour
*result
= 0 ;
22086 PyObject
* obj0
= 0 ;
22087 char * kwnames
[] = {
22088 (char *) "item", NULL
22091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
22092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22093 if (!SWIG_IsOK(ecode1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22096 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22110 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
= 0;
22112 wxStockGDI::Item arg1
;
22113 wxCursor
*result
= 0 ;
22116 PyObject
* obj0
= 0 ;
22117 char * kwnames
[] = {
22118 (char *) "item", NULL
22121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
22122 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22123 if (!SWIG_IsOK(ecode1
)) {
22124 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22126 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
22140 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
= 0;
22142 wxStockGDI::Item arg1
;
22143 wxPen
*result
= 0 ;
22146 PyObject
* obj0
= 0 ;
22147 char * kwnames
[] = {
22148 (char *) "item", NULL
22151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
22152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22153 if (!SWIG_IsOK(ecode1
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22156 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22170 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
= 0;
22172 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22173 wxStockGDI::Item arg2
;
22174 wxFont
*result
= 0 ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 char * kwnames
[] = {
22182 (char *) "self",(char *) "item", NULL
22185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22187 if (!SWIG_IsOK(res1
)) {
22188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22190 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22192 if (!SWIG_IsOK(ecode2
)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
22195 arg2
= static_cast< wxStockGDI::Item
>(val2
);
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22209 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22212 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
22213 return SWIG_Py_Void();
22216 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22217 return SWIG_Python_InitShadowInstance(args
);
22220 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22221 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22226 SWIGINTERN PyObject
*NullBitmap_get(void) {
22227 PyObject
*pyobj
= 0;
22229 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22234 SWIGINTERN
int NullIcon_set(PyObject
*) {
22235 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22240 SWIGINTERN PyObject
*NullIcon_get(void) {
22241 PyObject
*pyobj
= 0;
22243 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22248 SWIGINTERN
int NullCursor_set(PyObject
*) {
22249 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22254 SWIGINTERN PyObject
*NullCursor_get(void) {
22255 PyObject
*pyobj
= 0;
22257 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22262 SWIGINTERN
int NullPen_set(PyObject
*) {
22263 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22268 SWIGINTERN PyObject
*NullPen_get(void) {
22269 PyObject
*pyobj
= 0;
22271 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22276 SWIGINTERN
int NullBrush_set(PyObject
*) {
22277 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22282 SWIGINTERN PyObject
*NullBrush_get(void) {
22283 PyObject
*pyobj
= 0;
22285 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22290 SWIGINTERN
int NullPalette_set(PyObject
*) {
22291 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22296 SWIGINTERN PyObject
*NullPalette_get(void) {
22297 PyObject
*pyobj
= 0;
22299 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22304 SWIGINTERN
int NullFont_set(PyObject
*) {
22305 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22310 SWIGINTERN PyObject
*NullFont_get(void) {
22311 PyObject
*pyobj
= 0;
22313 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22318 SWIGINTERN
int NullColour_set(PyObject
*) {
22319 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22324 SWIGINTERN PyObject
*NullColour_get(void) {
22325 PyObject
*pyobj
= 0;
22327 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22332 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22333 PyObject
*resultobj
= 0;
22334 wxGDIObjListBase
*result
= 0 ;
22336 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
22350 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22351 PyObject
*resultobj
= 0;
22352 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
22355 PyObject
*swig_obj
[1] ;
22357 if (!args
) SWIG_fail
;
22358 swig_obj
[0] = args
;
22359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
22360 if (!SWIG_IsOK(res1
)) {
22361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
22363 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_Py_Void();
22378 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22381 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
22382 return SWIG_Py_Void();
22385 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22386 return SWIG_Python_InitShadowInstance(args
);
22389 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
= 0;
22391 wxPenList
*arg1
= (wxPenList
*) 0 ;
22392 wxColour
*arg2
= 0 ;
22395 wxPen
*result
= 0 ;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 PyObject
* obj2
= 0 ;
22406 PyObject
* obj3
= 0 ;
22407 char * kwnames
[] = {
22408 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22413 if (!SWIG_IsOK(res1
)) {
22414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22416 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22422 if (!SWIG_IsOK(ecode3
)) {
22423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22425 arg3
= static_cast< int >(val3
);
22426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22427 if (!SWIG_IsOK(ecode4
)) {
22428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22430 arg4
= static_cast< int >(val4
);
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22444 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
= 0;
22446 wxPenList
*arg1
= (wxPenList
*) 0 ;
22447 wxPen
*arg2
= (wxPen
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 PyObject
* obj1
= 0 ;
22454 char * kwnames
[] = {
22455 (char *) "self",(char *) "pen", NULL
22458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22460 if (!SWIG_IsOK(res1
)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22463 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22465 if (!SWIG_IsOK(res2
)) {
22466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22468 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 (arg1
)->AddPen(arg2
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_Py_Void();
22482 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
= 0;
22484 wxPenList
*arg1
= (wxPenList
*) 0 ;
22485 wxPen
*arg2
= (wxPen
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 PyObject
* obj1
= 0 ;
22492 char * kwnames
[] = {
22493 (char *) "self",(char *) "pen", NULL
22496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22498 if (!SWIG_IsOK(res1
)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22501 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22503 if (!SWIG_IsOK(res2
)) {
22504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22506 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->RemovePen(arg2
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= SWIG_Py_Void();
22520 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22522 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22523 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22524 return SWIG_Py_Void();
22527 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
= 0;
22529 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22530 wxColour
*arg2
= 0 ;
22531 int arg3
= (int) wxSOLID
;
22532 wxBrush
*result
= 0 ;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 PyObject
* obj2
= 0 ;
22541 char * kwnames
[] = {
22542 (char *) "self",(char *) "colour",(char *) "style", NULL
22545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22547 if (!SWIG_IsOK(res1
)) {
22548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22550 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22557 if (!SWIG_IsOK(ecode3
)) {
22558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22560 arg3
= static_cast< int >(val3
);
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22575 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
= 0;
22577 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22578 wxBrush
*arg2
= (wxBrush
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 char * kwnames
[] = {
22586 (char *) "self",(char *) "brush", NULL
22589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22594 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22596 if (!SWIG_IsOK(res2
)) {
22597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22599 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->AddBrush(arg2
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= SWIG_Py_Void();
22613 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
= 0;
22615 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22616 wxBrush
*arg2
= (wxBrush
*) 0 ;
22621 PyObject
* obj0
= 0 ;
22622 PyObject
* obj1
= 0 ;
22623 char * kwnames
[] = {
22624 (char *) "self",(char *) "brush", NULL
22627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22629 if (!SWIG_IsOK(res1
)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22632 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22634 if (!SWIG_IsOK(res2
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22637 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 (arg1
)->RemoveBrush(arg2
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= SWIG_Py_Void();
22651 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22654 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
22655 return SWIG_Py_Void();
22658 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
= 0;
22660 wxFontList
*arg1
= (wxFontList
*) 0 ;
22665 bool arg6
= (bool) false ;
22666 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22667 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22668 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
22669 wxFont
*result
= 0 ;
22682 bool temp7
= false ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 PyObject
* obj2
= 0 ;
22688 PyObject
* obj3
= 0 ;
22689 PyObject
* obj4
= 0 ;
22690 PyObject
* obj5
= 0 ;
22691 PyObject
* obj6
= 0 ;
22692 PyObject
* obj7
= 0 ;
22693 char * kwnames
[] = {
22694 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
22697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22702 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22704 if (!SWIG_IsOK(ecode2
)) {
22705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
22707 arg2
= static_cast< int >(val2
);
22708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22709 if (!SWIG_IsOK(ecode3
)) {
22710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
22712 arg3
= static_cast< int >(val3
);
22713 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22714 if (!SWIG_IsOK(ecode4
)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
22717 arg4
= static_cast< int >(val4
);
22718 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22719 if (!SWIG_IsOK(ecode5
)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
22722 arg5
= static_cast< int >(val5
);
22724 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
22725 if (!SWIG_IsOK(ecode6
)) {
22726 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
22728 arg6
= static_cast< bool >(val6
);
22732 arg7
= wxString_in_helper(obj6
);
22733 if (arg7
== NULL
) SWIG_fail
;
22738 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
22739 if (!SWIG_IsOK(ecode8
)) {
22740 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
22742 arg8
= static_cast< wxFontEncoding
>(val8
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22765 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
= 0;
22767 wxFontList
*arg1
= (wxFontList
*) 0 ;
22768 wxFont
*arg2
= (wxFont
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 char * kwnames
[] = {
22776 (char *) "self",(char *) "font", NULL
22779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22781 if (!SWIG_IsOK(res1
)) {
22782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22784 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22786 if (!SWIG_IsOK(res2
)) {
22787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
22789 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 (arg1
)->AddFont(arg2
);
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= SWIG_Py_Void();
22803 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
= 0;
22805 wxFontList
*arg1
= (wxFontList
*) 0 ;
22806 wxFont
*arg2
= (wxFont
*) 0 ;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 char * kwnames
[] = {
22814 (char *) "self",(char *) "font", NULL
22817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22819 if (!SWIG_IsOK(res1
)) {
22820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22822 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22823 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22824 if (!SWIG_IsOK(res2
)) {
22825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
22827 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 (arg1
)->RemoveFont(arg2
);
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 resultobj
= SWIG_Py_Void();
22841 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22844 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
22845 return SWIG_Py_Void();
22848 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22849 PyObject
*resultobj
= 0;
22850 wxColourDatabase
*result
= 0 ;
22852 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
22854 if (!wxPyCheckForApp()) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 result
= (wxColourDatabase
*)new wxColourDatabase();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
22867 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22868 PyObject
*resultobj
= 0;
22869 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22872 PyObject
*swig_obj
[1] ;
22874 if (!args
) SWIG_fail
;
22875 swig_obj
[0] = args
;
22876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
22877 if (!SWIG_IsOK(res1
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
22880 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_Py_Void();
22895 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
= 0;
22897 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22898 wxString
*arg2
= 0 ;
22902 bool temp2
= false ;
22903 PyObject
* obj0
= 0 ;
22904 PyObject
* obj1
= 0 ;
22905 char * kwnames
[] = {
22906 (char *) "self",(char *) "name", NULL
22909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22911 if (!SWIG_IsOK(res1
)) {
22912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22914 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22916 arg2
= wxString_in_helper(obj1
);
22917 if (arg2
== NULL
) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
22941 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
= 0;
22943 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22944 wxColour
*arg2
= 0 ;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 char * kwnames
[] = {
22952 (char *) "self",(char *) "colour", NULL
22955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22957 if (!SWIG_IsOK(res1
)) {
22958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22960 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22984 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
= 0;
22986 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22987 wxString
*arg2
= 0 ;
22988 wxColour
*arg3
= 0 ;
22991 bool temp2
= false ;
22993 PyObject
* obj0
= 0 ;
22994 PyObject
* obj1
= 0 ;
22995 PyObject
* obj2
= 0 ;
22996 char * kwnames
[] = {
22997 (char *) "self",(char *) "name",(char *) "colour", NULL
23000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23002 if (!SWIG_IsOK(res1
)) {
23003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23005 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23007 arg2
= wxString_in_helper(obj1
);
23008 if (arg2
== NULL
) SWIG_fail
;
23013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_Py_Void();
23036 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
= 0;
23038 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23039 wxString
*arg2
= 0 ;
23045 bool temp2
= false ;
23052 PyObject
* obj0
= 0 ;
23053 PyObject
* obj1
= 0 ;
23054 PyObject
* obj2
= 0 ;
23055 PyObject
* obj3
= 0 ;
23056 PyObject
* obj4
= 0 ;
23057 char * kwnames
[] = {
23058 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23063 if (!SWIG_IsOK(res1
)) {
23064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23066 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23068 arg2
= wxString_in_helper(obj1
);
23069 if (arg2
== NULL
) SWIG_fail
;
23072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23073 if (!SWIG_IsOK(ecode3
)) {
23074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23076 arg3
= static_cast< int >(val3
);
23077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23078 if (!SWIG_IsOK(ecode4
)) {
23079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23081 arg4
= static_cast< int >(val4
);
23082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23083 if (!SWIG_IsOK(ecode5
)) {
23084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23086 arg5
= static_cast< int >(val5
);
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= SWIG_Py_Void();
23108 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23111 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23112 return SWIG_Py_Void();
23115 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23116 return SWIG_Python_InitShadowInstance(args
);
23119 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23120 PyObject
*resultobj
= 0;
23121 wxFontList
*result
= 0 ;
23123 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (wxFontList
*)_wxPyInitTheFontList();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
23137 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23138 PyObject
*resultobj
= 0;
23139 wxPenList
*result
= 0 ;
23141 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (wxPenList
*)_wxPyInitThePenList();
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
23155 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23156 PyObject
*resultobj
= 0;
23157 wxBrushList
*result
= 0 ;
23159 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (wxBrushList
*)_wxPyInitTheBrushList();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
23173 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 PyObject
*resultobj
= 0;
23175 wxColourDatabase
*result
= 0 ;
23177 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23191 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23192 PyObject
*resultobj
= 0;
23193 wxEffects
*result
= 0 ;
23195 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 result
= (wxEffects
*)new wxEffects();
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23209 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23210 PyObject
*resultobj
= 0;
23211 wxEffects
*arg1
= (wxEffects
*) 0 ;
23215 PyObject
*swig_obj
[1] ;
23217 if (!args
) SWIG_fail
;
23218 swig_obj
[0] = args
;
23219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23220 if (!SWIG_IsOK(res1
)) {
23221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23223 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23237 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23238 PyObject
*resultobj
= 0;
23239 wxEffects
*arg1
= (wxEffects
*) 0 ;
23243 PyObject
*swig_obj
[1] ;
23245 if (!args
) SWIG_fail
;
23246 swig_obj
[0] = args
;
23247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23248 if (!SWIG_IsOK(res1
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23251 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23265 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23266 PyObject
*resultobj
= 0;
23267 wxEffects
*arg1
= (wxEffects
*) 0 ;
23271 PyObject
*swig_obj
[1] ;
23273 if (!args
) SWIG_fail
;
23274 swig_obj
[0] = args
;
23275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23279 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23293 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23294 PyObject
*resultobj
= 0;
23295 wxEffects
*arg1
= (wxEffects
*) 0 ;
23299 PyObject
*swig_obj
[1] ;
23301 if (!args
) SWIG_fail
;
23302 swig_obj
[0] = args
;
23303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23307 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23321 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23322 PyObject
*resultobj
= 0;
23323 wxEffects
*arg1
= (wxEffects
*) 0 ;
23327 PyObject
*swig_obj
[1] ;
23329 if (!args
) SWIG_fail
;
23330 swig_obj
[0] = args
;
23331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23332 if (!SWIG_IsOK(res1
)) {
23333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23335 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23349 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
= 0;
23351 wxEffects
*arg1
= (wxEffects
*) 0 ;
23352 wxColour
*arg2
= 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char * kwnames
[] = {
23359 (char *) "self",(char *) "c", NULL
23362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23364 if (!SWIG_IsOK(res1
)) {
23365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23367 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_Py_Void();
23385 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
= 0;
23387 wxEffects
*arg1
= (wxEffects
*) 0 ;
23388 wxColour
*arg2
= 0 ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 char * kwnames
[] = {
23395 (char *) "self",(char *) "c", NULL
23398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23403 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= SWIG_Py_Void();
23421 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
= 0;
23423 wxEffects
*arg1
= (wxEffects
*) 0 ;
23424 wxColour
*arg2
= 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char * kwnames
[] = {
23431 (char *) "self",(char *) "c", NULL
23434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23436 if (!SWIG_IsOK(res1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23439 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23442 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_Py_Void();
23457 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= 0;
23459 wxEffects
*arg1
= (wxEffects
*) 0 ;
23460 wxColour
*arg2
= 0 ;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 char * kwnames
[] = {
23467 (char *) "self",(char *) "c", NULL
23470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23472 if (!SWIG_IsOK(res1
)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23475 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_Py_Void();
23493 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
= 0;
23495 wxEffects
*arg1
= (wxEffects
*) 0 ;
23496 wxColour
*arg2
= 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char * kwnames
[] = {
23503 (char *) "self",(char *) "c", NULL
23506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23511 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_Py_Void();
23529 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
= 0;
23531 wxEffects
*arg1
= (wxEffects
*) 0 ;
23532 wxColour
*arg2
= 0 ;
23533 wxColour
*arg3
= 0 ;
23534 wxColour
*arg4
= 0 ;
23535 wxColour
*arg5
= 0 ;
23536 wxColour
*arg6
= 0 ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 PyObject
* obj2
= 0 ;
23547 PyObject
* obj3
= 0 ;
23548 PyObject
* obj4
= 0 ;
23549 PyObject
* obj5
= 0 ;
23550 char * kwnames
[] = {
23551 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23556 if (!SWIG_IsOK(res1
)) {
23557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23559 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23566 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23570 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23574 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
23578 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= SWIG_Py_Void();
23593 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23594 PyObject
*resultobj
= 0;
23595 wxEffects
*arg1
= (wxEffects
*) 0 ;
23598 int arg4
= (int) 1 ;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 PyObject
* obj2
= 0 ;
23609 PyObject
* obj3
= 0 ;
23610 char * kwnames
[] = {
23611 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
23614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
23619 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
23621 if (!SWIG_IsOK(res2
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23627 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23630 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
23633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23634 if (!SWIG_IsOK(ecode4
)) {
23635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
23637 arg4
= static_cast< int >(val4
);
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= SWIG_Py_Void();
23652 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
= 0;
23654 wxEffects
*arg1
= (wxEffects
*) 0 ;
23657 wxBitmap
*arg4
= 0 ;
23666 PyObject
* obj0
= 0 ;
23667 PyObject
* obj1
= 0 ;
23668 PyObject
* obj2
= 0 ;
23669 PyObject
* obj3
= 0 ;
23670 char * kwnames
[] = {
23671 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
23674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23676 if (!SWIG_IsOK(res1
)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
23679 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23682 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23684 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
23685 if (!SWIG_IsOK(res3
)) {
23686 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23691 arg3
= reinterpret_cast< wxDC
* >(argp3
);
23692 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
23693 if (!SWIG_IsOK(res4
)) {
23694 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23699 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23715 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23718 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
23719 return SWIG_Py_Void();
23722 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23723 return SWIG_Python_InitShadowInstance(args
);
23726 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
= 0;
23731 wxSplitterRenderParams
*result
= 0 ;
23738 PyObject
* obj0
= 0 ;
23739 PyObject
* obj1
= 0 ;
23740 PyObject
* obj2
= 0 ;
23741 char * kwnames
[] = {
23742 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
23745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23747 if (!SWIG_IsOK(ecode1
)) {
23748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
23750 arg1
= static_cast< int >(val1
);
23751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23752 if (!SWIG_IsOK(ecode2
)) {
23753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
23755 arg2
= static_cast< int >(val2
);
23756 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23757 if (!SWIG_IsOK(ecode3
)) {
23758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
23760 arg3
= static_cast< bool >(val3
);
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
23774 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23775 PyObject
*resultobj
= 0;
23776 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23779 PyObject
*swig_obj
[1] ;
23781 if (!args
) SWIG_fail
;
23782 swig_obj
[0] = args
;
23783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23787 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_Py_Void();
23802 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23803 PyObject
*resultobj
= 0;
23804 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23808 PyObject
*swig_obj
[1] ;
23810 if (!args
) SWIG_fail
;
23811 swig_obj
[0] = args
;
23812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23816 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23817 result
= (int)(int) ((arg1
)->widthSash
);
23818 resultobj
= SWIG_From_int(static_cast< int >(result
));
23825 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23826 PyObject
*resultobj
= 0;
23827 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23831 PyObject
*swig_obj
[1] ;
23833 if (!args
) SWIG_fail
;
23834 swig_obj
[0] = args
;
23835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23836 if (!SWIG_IsOK(res1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23839 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23840 result
= (int)(int) ((arg1
)->border
);
23841 resultobj
= SWIG_From_int(static_cast< int >(result
));
23848 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23849 PyObject
*resultobj
= 0;
23850 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23854 PyObject
*swig_obj
[1] ;
23856 if (!args
) SWIG_fail
;
23857 swig_obj
[0] = args
;
23858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23859 if (!SWIG_IsOK(res1
)) {
23860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23862 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23863 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
23864 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
23871 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23874 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
23875 return SWIG_Py_Void();
23878 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23879 return SWIG_Python_InitShadowInstance(args
);
23882 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23886 wxRendererVersion
*result
= 0 ;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "version_",(char *) "age_", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23898 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23899 if (!SWIG_IsOK(ecode1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
23902 arg1
= static_cast< int >(val1
);
23903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23904 if (!SWIG_IsOK(ecode2
)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
23907 arg2
= static_cast< int >(val2
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
23921 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23922 PyObject
*resultobj
= 0;
23923 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
23926 PyObject
*swig_obj
[1] ;
23928 if (!args
) SWIG_fail
;
23929 swig_obj
[0] = args
;
23930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
23931 if (!SWIG_IsOK(res1
)) {
23932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
23934 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= SWIG_Py_Void();
23949 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
= 0;
23951 wxRendererVersion
*arg1
= 0 ;
23955 PyObject
* obj0
= 0 ;
23956 char * kwnames
[] = {
23957 (char *) "ver", NULL
23960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
23961 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
23966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
23968 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23984 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23985 PyObject
*resultobj
= 0;
23986 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
23990 PyObject
*swig_obj
[1] ;
23992 if (!args
) SWIG_fail
;
23993 swig_obj
[0] = args
;
23994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
23998 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23999 result
= (int)(int) ((arg1
)->version
);
24000 resultobj
= SWIG_From_int(static_cast< int >(result
));
24007 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24008 PyObject
*resultobj
= 0;
24009 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24013 PyObject
*swig_obj
[1] ;
24015 if (!args
) SWIG_fail
;
24016 swig_obj
[0] = args
;
24017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24018 if (!SWIG_IsOK(res1
)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24021 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24022 result
= (int)(int) ((arg1
)->age
);
24023 resultobj
= SWIG_From_int(static_cast< int >(result
));
24030 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24033 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24034 return SWIG_Py_Void();
24037 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24038 return SWIG_Python_InitShadowInstance(args
);
24041 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
= 0;
24043 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24044 wxWindow
*arg2
= (wxWindow
*) 0 ;
24047 int arg5
= (int) 0 ;
24057 PyObject
* obj0
= 0 ;
24058 PyObject
* obj1
= 0 ;
24059 PyObject
* obj2
= 0 ;
24060 PyObject
* obj3
= 0 ;
24061 PyObject
* obj4
= 0 ;
24062 char * kwnames
[] = {
24063 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24071 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24073 if (!SWIG_IsOK(res2
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24077 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24078 if (!SWIG_IsOK(res3
)) {
24079 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24084 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24087 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24090 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24091 if (!SWIG_IsOK(ecode5
)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24094 arg5
= static_cast< int >(val5
);
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 resultobj
= SWIG_Py_Void();
24109 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
= 0;
24111 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24112 wxWindow
*arg2
= (wxWindow
*) 0 ;
24115 int arg5
= (int) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 PyObject
* obj2
= 0 ;
24128 PyObject
* obj3
= 0 ;
24129 PyObject
* obj4
= 0 ;
24130 char * kwnames
[] = {
24131 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24136 if (!SWIG_IsOK(res1
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24139 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24141 if (!SWIG_IsOK(res2
)) {
24142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24144 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24145 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24146 if (!SWIG_IsOK(res3
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24152 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24155 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24158 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24159 if (!SWIG_IsOK(ecode5
)) {
24160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24162 arg5
= static_cast< int >(val5
);
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_Py_Void();
24177 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
= 0;
24179 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24180 wxWindow
*arg2
= (wxWindow
*) 0 ;
24183 int arg5
= (int) 0 ;
24193 PyObject
* obj0
= 0 ;
24194 PyObject
* obj1
= 0 ;
24195 PyObject
* obj2
= 0 ;
24196 PyObject
* obj3
= 0 ;
24197 PyObject
* obj4
= 0 ;
24198 char * kwnames
[] = {
24199 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24207 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24209 if (!SWIG_IsOK(res2
)) {
24210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24213 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24214 if (!SWIG_IsOK(res3
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24220 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24223 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24226 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24227 if (!SWIG_IsOK(ecode5
)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24230 arg5
= static_cast< int >(val5
);
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= SWIG_Py_Void();
24245 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
= 0;
24247 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24248 wxWindow
*arg2
= (wxWindow
*) 0 ;
24252 wxOrientation arg6
;
24253 int arg7
= (int) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 PyObject
* obj2
= 0 ;
24270 PyObject
* obj3
= 0 ;
24271 PyObject
* obj4
= 0 ;
24272 PyObject
* obj5
= 0 ;
24273 PyObject
* obj6
= 0 ;
24274 char * kwnames
[] = {
24275 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24283 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24285 if (!SWIG_IsOK(res2
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24288 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24289 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24290 if (!SWIG_IsOK(res3
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24296 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24299 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24302 if (!SWIG_IsOK(ecode5
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24305 arg5
= static_cast< int >(val5
);
24306 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24307 if (!SWIG_IsOK(ecode6
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24310 arg6
= static_cast< wxOrientation
>(val6
);
24312 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24313 if (!SWIG_IsOK(ecode7
)) {
24314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24316 arg7
= static_cast< int >(val7
);
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= SWIG_Py_Void();
24331 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
= 0;
24333 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24334 wxWindow
*arg2
= (wxWindow
*) 0 ;
24337 int arg5
= (int) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 PyObject
* obj2
= 0 ;
24350 PyObject
* obj3
= 0 ;
24351 PyObject
* obj4
= 0 ;
24352 char * kwnames
[] = {
24353 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24358 if (!SWIG_IsOK(res1
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24361 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24363 if (!SWIG_IsOK(res2
)) {
24364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24367 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24368 if (!SWIG_IsOK(res3
)) {
24369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24374 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24377 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24381 if (!SWIG_IsOK(ecode5
)) {
24382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24384 arg5
= static_cast< int >(val5
);
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 resultobj
= SWIG_Py_Void();
24399 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
= 0;
24401 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24402 wxWindow
*arg2
= (wxWindow
*) 0 ;
24405 int arg5
= (int) 0 ;
24415 PyObject
* obj0
= 0 ;
24416 PyObject
* obj1
= 0 ;
24417 PyObject
* obj2
= 0 ;
24418 PyObject
* obj3
= 0 ;
24419 PyObject
* obj4
= 0 ;
24420 char * kwnames
[] = {
24421 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24426 if (!SWIG_IsOK(res1
)) {
24427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24429 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24431 if (!SWIG_IsOK(res2
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24434 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24435 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24436 if (!SWIG_IsOK(res3
)) {
24437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24442 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24445 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24448 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24449 if (!SWIG_IsOK(ecode5
)) {
24450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24452 arg5
= static_cast< int >(val5
);
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_Py_Void();
24467 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
= 0;
24469 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24470 wxWindow
*arg2
= (wxWindow
*) 0 ;
24473 int arg5
= (int) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 PyObject
* obj1
= 0 ;
24485 PyObject
* obj2
= 0 ;
24486 PyObject
* obj3
= 0 ;
24487 PyObject
* obj4
= 0 ;
24488 char * kwnames
[] = {
24489 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24497 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24499 if (!SWIG_IsOK(res2
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
24502 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24503 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24504 if (!SWIG_IsOK(res3
)) {
24505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24510 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24513 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24517 if (!SWIG_IsOK(ecode5
)) {
24518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
24520 arg5
= static_cast< int >(val5
);
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= SWIG_Py_Void();
24535 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= 0;
24537 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24538 wxWindow
*arg2
= (wxWindow
*) 0 ;
24541 int arg5
= (int) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 PyObject
* obj1
= 0 ;
24553 PyObject
* obj2
= 0 ;
24554 PyObject
* obj3
= 0 ;
24555 PyObject
* obj4
= 0 ;
24556 char * kwnames
[] = {
24557 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24562 if (!SWIG_IsOK(res1
)) {
24563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24565 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24567 if (!SWIG_IsOK(res2
)) {
24568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24571 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24572 if (!SWIG_IsOK(res3
)) {
24573 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24578 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24581 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24584 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24585 if (!SWIG_IsOK(ecode5
)) {
24586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
24588 arg5
= static_cast< int >(val5
);
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_Py_Void();
24603 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
= 0;
24605 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24606 wxWindow
*arg2
= (wxWindow
*) 0 ;
24609 int arg5
= (int) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 PyObject
* obj2
= 0 ;
24622 PyObject
* obj3
= 0 ;
24623 PyObject
* obj4
= 0 ;
24624 char * kwnames
[] = {
24625 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24630 if (!SWIG_IsOK(res1
)) {
24631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24633 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24634 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24635 if (!SWIG_IsOK(res2
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
24638 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24639 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24640 if (!SWIG_IsOK(res3
)) {
24641 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24646 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24649 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24652 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24653 if (!SWIG_IsOK(ecode5
)) {
24654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
24656 arg5
= static_cast< int >(val5
);
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= SWIG_Py_Void();
24671 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
= 0;
24673 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24674 wxWindow
*arg2
= (wxWindow
*) 0 ;
24675 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24680 PyObject
* obj0
= 0 ;
24681 PyObject
* obj1
= 0 ;
24682 char * kwnames
[] = {
24683 (char *) "self",(char *) "win", NULL
24686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24688 if (!SWIG_IsOK(res1
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24691 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24693 if (!SWIG_IsOK(res2
)) {
24694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24696 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24710 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24711 PyObject
*resultobj
= 0;
24712 wxRendererNative
*result
= 0 ;
24714 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24719 result
= (wxRendererNative
*) &_result_ref
;
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24731 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24732 PyObject
*resultobj
= 0;
24733 wxRendererNative
*result
= 0 ;
24735 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24740 result
= (wxRendererNative
*) &_result_ref
;
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24752 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24753 PyObject
*resultobj
= 0;
24754 wxRendererNative
*result
= 0 ;
24756 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24761 result
= (wxRendererNative
*) &_result_ref
;
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24773 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= 0;
24775 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24776 wxRendererNative
*result
= 0 ;
24779 PyObject
* obj0
= 0 ;
24780 char * kwnames
[] = {
24781 (char *) "renderer", NULL
24784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
24785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24786 if (!SWIG_IsOK(res1
)) {
24787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24789 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24803 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24804 PyObject
*resultobj
= 0;
24805 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24806 SwigValueWrapper
<wxRendererVersion
> result
;
24809 PyObject
*swig_obj
[1] ;
24811 if (!args
) SWIG_fail
;
24812 swig_obj
[0] = args
;
24813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24814 if (!SWIG_IsOK(res1
)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
24817 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
24831 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24834 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
24835 return SWIG_Py_Void();
24838 static PyMethodDef SwigMethods
[] = {
24839 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
24840 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
24841 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
24842 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
24843 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
24844 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24845 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24846 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24847 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
24848 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
24849 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
24850 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
24851 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
24852 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24853 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24854 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24855 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24856 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
24857 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24858 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24859 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
24860 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
24861 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
24862 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
24863 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24864 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
24865 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24866 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24867 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
24868 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
24869 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
24870 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
24871 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24872 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
24873 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
24874 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
24875 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
24876 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
24877 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
24878 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
24879 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24880 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24881 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24882 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24883 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24884 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24885 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
24886 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24887 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
24888 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24889 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24890 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
24891 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
24892 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24893 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24894 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
24895 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24896 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24897 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24898 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
24899 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
24900 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
24901 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
24902 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
24903 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
24904 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
24905 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24906 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
24907 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24908 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24909 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24910 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24911 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24912 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
24913 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
24914 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
24915 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
24916 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
24917 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
24918 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
24919 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24920 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24921 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24922 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24923 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24924 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
24925 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24926 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24927 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24928 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24929 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24930 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24931 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24932 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
24933 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
24934 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24935 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
24936 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
24937 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
24938 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24939 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
24940 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
24941 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24942 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24943 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24944 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24945 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
24946 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
24947 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
24948 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
24949 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24950 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24951 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24952 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24953 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
24954 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
24955 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24956 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
24957 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
24958 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24959 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
24960 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24961 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
24962 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
24963 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
24964 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
24965 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24966 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24967 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
24968 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24969 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24970 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24971 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
24972 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
24973 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24974 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
24975 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24976 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24977 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
24978 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
24979 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
24980 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24981 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24982 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24983 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24984 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
24985 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
24986 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24987 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24988 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24989 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24990 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24991 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
24992 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24993 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24994 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24995 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
24996 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24997 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24998 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24999 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25000 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25001 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25002 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25003 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25004 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25005 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25006 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25007 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25008 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25009 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25010 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25011 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25012 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25013 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25014 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25015 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25016 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25017 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25018 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25019 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25020 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25021 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25022 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25023 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25024 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
25025 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
25026 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
25027 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
25028 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25029 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
25030 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
25031 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
25032 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
25033 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
25034 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
25035 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
25036 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25037 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25038 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25039 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25040 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25041 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25042 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25043 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25044 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
25045 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
25046 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25047 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
25048 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
25049 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
25050 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
25051 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
25052 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
25053 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
25054 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
25055 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
25056 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25057 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
25058 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
25059 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
25060 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25061 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25062 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
25063 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
25064 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
25065 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25066 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25067 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
25068 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25069 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25070 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25071 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25072 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25073 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
25074 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25075 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25076 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25077 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25078 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
25079 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
25080 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25081 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
25082 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25083 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25084 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25085 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25086 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25087 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
25088 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25089 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25090 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
25091 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
25092 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
25093 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
25094 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
25095 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
25096 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
25097 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
25098 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
25099 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
25100 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
25101 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
25102 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
25103 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25104 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25105 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25106 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25107 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25108 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25109 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25110 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25111 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25112 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25113 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25114 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
25115 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
25116 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
25117 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25118 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
25119 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
25120 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25121 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
25122 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
25123 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
25124 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
25125 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25126 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25127 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25128 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
25129 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
25130 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
25131 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
25132 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
25133 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
25134 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
25135 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
25136 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
25137 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
25138 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
25139 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
25141 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25142 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
25144 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
25145 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
25146 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
25147 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
25148 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
25149 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
25150 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
25151 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25152 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25156 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25157 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25158 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
25160 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
25161 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
25162 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
25163 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
25164 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
25165 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
25166 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25169 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25171 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
25172 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
25173 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
25174 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25175 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25176 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25177 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25182 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25194 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
25223 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
25225 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
25226 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
25227 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
25234 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
25235 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
25236 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
25237 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
25238 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
25243 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
25244 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
25245 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
25246 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
25255 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
25256 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
25257 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
25258 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
25259 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
25260 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
25261 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
25262 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
25263 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
25264 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
25265 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
25266 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25268 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
25269 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
25271 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
25273 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
25275 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
25276 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
25279 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
25280 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
25284 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
25286 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
25289 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
25290 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
25291 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
25292 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
25293 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
25294 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
25301 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
25302 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
25305 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
25306 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
25307 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
25308 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
25309 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
25310 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
25311 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
25313 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
25314 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
25315 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
25318 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
25319 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
25320 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
25322 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
25323 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
25325 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
25326 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
25328 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
25329 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
25331 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
25332 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
25334 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
25337 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
25338 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
25339 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
25341 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
25342 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
25344 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
25345 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
25347 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
25348 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
25350 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
25358 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
25360 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
25362 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
25363 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
25364 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
25365 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
25366 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
25367 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
25373 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
25374 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
25375 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
25376 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
25377 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
25378 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
25382 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
25386 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
25390 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
25391 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
25392 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
25397 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
25398 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
25399 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
25400 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
25401 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
25402 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
25403 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
25404 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
25405 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
25406 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
25407 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
25408 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
25417 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
25418 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
25420 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
25421 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
25422 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
25423 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
25424 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
25425 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
25427 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
25429 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
25430 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
25431 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
25432 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
25443 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
25444 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
25445 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
25447 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
25448 { NULL
, NULL
, 0, NULL
}
25452 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25454 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
25455 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
25457 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
25458 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25460 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
25461 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
25463 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
25464 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
25466 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
25467 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
25469 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
25470 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
25472 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
25473 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
25475 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
25476 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
25478 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
25479 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
25481 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
25482 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
25484 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
25485 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
25487 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
25488 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
25490 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
25491 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
25493 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
25494 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
25496 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
25497 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
25499 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
25500 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
25502 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
25503 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25505 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
25506 return (void *)((wxDC
*) ((wxClientDC
*) x
));
25508 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
25509 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
25511 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
25512 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
25514 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
25515 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
25517 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
25518 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
25520 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
25521 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
25523 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
25524 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
25526 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
25527 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25529 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25532 static void *_p_wxPenTo_p_wxObject(void *x
) {
25533 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
25535 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
25536 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
25538 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25539 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25541 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25542 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25544 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25547 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25548 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25550 static void *_p_wxIconTo_p_wxObject(void *x
) {
25551 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
25553 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25554 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25556 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25557 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25559 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25560 return (void *)((wxObject
*) ((wxSizer
*) x
));
25562 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25563 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25565 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25568 static void *_p_wxEventTo_p_wxObject(void *x
) {
25569 return (void *)((wxObject
*) ((wxEvent
*) x
));
25571 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25572 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25574 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25575 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25577 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25578 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25580 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
25581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
25583 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25584 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25586 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25587 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25589 static void *_p_wxDCTo_p_wxObject(void *x
) {
25590 return (void *)((wxObject
*) ((wxDC
*) x
));
25592 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25593 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25595 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25596 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25598 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25599 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25601 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25602 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25604 static void *_p_wxControlTo_p_wxObject(void *x
) {
25605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25607 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25608 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25610 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
25611 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
25613 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25616 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
25619 static void *_p_wxRegionTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
25622 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25625 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
25628 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
25631 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) ((wxEffects
*) x
));
25634 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25637 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25640 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
25641 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
25643 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25644 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25646 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25647 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25649 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
25650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
25652 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25653 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25655 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25658 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25659 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25661 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25662 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25664 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25665 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25667 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25668 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25670 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25671 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25673 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25674 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25676 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25679 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25680 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25682 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25685 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25686 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25688 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25689 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25691 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25692 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25694 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25695 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25697 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25698 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25700 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25703 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
25704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
25706 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25707 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25709 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25712 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25713 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25715 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25716 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25718 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
25719 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25721 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
25722 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
25724 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
25725 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
25727 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
25728 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
25730 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
25731 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
25733 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25734 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25736 static void *_p_wxImageTo_p_wxObject(void *x
) {
25737 return (void *)((wxObject
*) ((wxImage
*) x
));
25739 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25740 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25742 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
25743 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
25745 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
25746 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
25748 static void *_p_wxImageListTo_p_wxObject(void *x
) {
25749 return (void *)((wxObject
*) ((wxImageList
*) x
));
25751 static void *_p_wxCursorTo_p_wxObject(void *x
) {
25752 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
25754 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
25755 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
25757 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
25758 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
25760 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25761 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25763 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25764 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25766 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25769 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25772 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25775 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25778 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
25781 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25784 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
25787 static void *_p_wxMaskTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) ((wxMask
*) x
));
25790 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25793 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25796 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25799 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25802 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25805 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25808 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25811 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25814 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25817 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25820 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25823 static void *_p_wxFontTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
25826 static void *_p_wxBrushTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
25829 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
25830 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
25832 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25835 static void *_p_wxColourTo_p_wxObject(void *x
) {
25836 return (void *)((wxObject
*) ((wxColour
*) x
));
25838 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25841 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25842 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25844 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25845 return (void *)((wxWindow
*) ((wxControl
*) x
));
25847 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25848 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25850 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25851 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25853 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
25854 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
25855 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};
25856 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
25857 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
25858 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
25859 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
25860 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
25861 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
25862 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
25863 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
25864 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
25865 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
25866 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
25867 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
25868 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
25869 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
25870 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
25871 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
25872 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
25873 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
25874 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
25875 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
25876 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
25877 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
25878 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
25879 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
25880 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
25881 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
25882 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
25883 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
25884 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
25885 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
25886 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
25887 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
25888 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
25889 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
25890 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
25891 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
25892 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
25893 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
25894 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
25895 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
25896 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
25897 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
25898 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
25899 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
25900 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
25901 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
25902 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
25903 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
25904 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
25905 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
25906 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
25907 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
25908 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
25909 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
25910 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
25911 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
25912 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
25913 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
25914 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
25915 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
25916 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
25917 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
25918 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
25919 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
25920 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
25921 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
25922 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
25923 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
25924 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
25925 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
25926 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
25927 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
25928 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
25929 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
25930 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
25931 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
25932 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
25933 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
25934 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
25935 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
25936 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
25937 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
25938 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
25939 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
25940 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
25941 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
25942 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
25943 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
25944 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
25945 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
25946 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
25947 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
25948 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
25949 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
25950 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
25951 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
25952 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
25953 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
25954 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
25955 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
25956 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
25957 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
25958 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
25959 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
25960 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
25961 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
25962 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
25963 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
25964 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
25965 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
25966 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
25967 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
25968 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
25969 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
25970 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
25971 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
25972 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
25973 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
25974 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
25975 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
25976 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
25977 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
25978 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
25979 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
25980 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
25981 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
25982 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
25983 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
25984 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
25985 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
25986 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
25987 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
25988 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
25989 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
25990 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
25992 static swig_type_info
*swig_type_initial
[] = {
25995 &_swigt__p_form_ops_t
,
25997 &_swigt__p_unsigned_char
,
25998 &_swigt__p_unsigned_int
,
25999 &_swigt__p_unsigned_long
,
26000 &_swigt__p_wxANIHandler
,
26001 &_swigt__p_wxAcceleratorTable
,
26002 &_swigt__p_wxActivateEvent
,
26003 &_swigt__p_wxBMPHandler
,
26004 &_swigt__p_wxBitmap
,
26005 &_swigt__p_wxBoxSizer
,
26006 &_swigt__p_wxBrush
,
26007 &_swigt__p_wxBrushList
,
26008 &_swigt__p_wxBufferedDC
,
26009 &_swigt__p_wxBufferedPaintDC
,
26010 &_swigt__p_wxCURHandler
,
26011 &_swigt__p_wxChildFocusEvent
,
26012 &_swigt__p_wxClientDC
,
26013 &_swigt__p_wxClipboardTextEvent
,
26014 &_swigt__p_wxCloseEvent
,
26015 &_swigt__p_wxColour
,
26016 &_swigt__p_wxColourDatabase
,
26017 &_swigt__p_wxCommandEvent
,
26018 &_swigt__p_wxContextMenuEvent
,
26019 &_swigt__p_wxControl
,
26020 &_swigt__p_wxControlWithItems
,
26021 &_swigt__p_wxCursor
,
26024 &_swigt__p_wxDateEvent
,
26025 &_swigt__p_wxDisplayChangedEvent
,
26026 &_swigt__p_wxDropFilesEvent
,
26027 &_swigt__p_wxDuplexMode
,
26028 &_swigt__p_wxEffects
,
26029 &_swigt__p_wxEncodingConverter
,
26030 &_swigt__p_wxEraseEvent
,
26031 &_swigt__p_wxEvent
,
26032 &_swigt__p_wxEvtHandler
,
26033 &_swigt__p_wxFSFile
,
26034 &_swigt__p_wxFileSystem
,
26035 &_swigt__p_wxFlexGridSizer
,
26036 &_swigt__p_wxFocusEvent
,
26038 &_swigt__p_wxFontList
,
26039 &_swigt__p_wxFontMapper
,
26040 &_swigt__p_wxGBSizerItem
,
26041 &_swigt__p_wxGDIObjListBase
,
26042 &_swigt__p_wxGDIObject
,
26043 &_swigt__p_wxGIFHandler
,
26044 &_swigt__p_wxGridBagSizer
,
26045 &_swigt__p_wxGridSizer
,
26046 &_swigt__p_wxICOHandler
,
26048 &_swigt__p_wxIconBundle
,
26049 &_swigt__p_wxIconLocation
,
26050 &_swigt__p_wxIconizeEvent
,
26051 &_swigt__p_wxIdleEvent
,
26052 &_swigt__p_wxImage
,
26053 &_swigt__p_wxImageHandler
,
26054 &_swigt__p_wxImageList
,
26055 &_swigt__p_wxIndividualLayoutConstraint
,
26056 &_swigt__p_wxInitDialogEvent
,
26057 &_swigt__p_wxJPEGHandler
,
26058 &_swigt__p_wxKeyEvent
,
26059 &_swigt__p_wxLanguageInfo
,
26060 &_swigt__p_wxLayoutConstraints
,
26061 &_swigt__p_wxLocale
,
26063 &_swigt__p_wxMaximizeEvent
,
26064 &_swigt__p_wxMemoryDC
,
26066 &_swigt__p_wxMenuBar
,
26067 &_swigt__p_wxMenuEvent
,
26068 &_swigt__p_wxMenuItem
,
26069 &_swigt__p_wxMetaFile
,
26070 &_swigt__p_wxMetaFileDC
,
26071 &_swigt__p_wxMirrorDC
,
26072 &_swigt__p_wxMouseCaptureChangedEvent
,
26073 &_swigt__p_wxMouseEvent
,
26074 &_swigt__p_wxMoveEvent
,
26075 &_swigt__p_wxNativeEncodingInfo
,
26076 &_swigt__p_wxNativeFontInfo
,
26077 &_swigt__p_wxNavigationKeyEvent
,
26078 &_swigt__p_wxNcPaintEvent
,
26079 &_swigt__p_wxNotifyEvent
,
26080 &_swigt__p_wxObject
,
26081 &_swigt__p_wxPCXHandler
,
26082 &_swigt__p_wxPNGHandler
,
26083 &_swigt__p_wxPNMHandler
,
26084 &_swigt__p_wxPaintDC
,
26085 &_swigt__p_wxPaintEvent
,
26086 &_swigt__p_wxPalette
,
26087 &_swigt__p_wxPaletteChangedEvent
,
26088 &_swigt__p_wxPaperSize
,
26090 &_swigt__p_wxPenList
,
26091 &_swigt__p_wxPoint
,
26092 &_swigt__p_wxPostScriptDC
,
26093 &_swigt__p_wxPrintData
,
26094 &_swigt__p_wxPrinterDC
,
26095 &_swigt__p_wxPyApp
,
26096 &_swigt__p_wxPyCommandEvent
,
26097 &_swigt__p_wxPyEvent
,
26098 &_swigt__p_wxPyFontEnumerator
,
26099 &_swigt__p_wxPyImageHandler
,
26100 &_swigt__p_wxPySizer
,
26101 &_swigt__p_wxPyValidator
,
26102 &_swigt__p_wxQueryNewPaletteEvent
,
26104 &_swigt__p_wxRegion
,
26105 &_swigt__p_wxRegionIterator
,
26106 &_swigt__p_wxRendererNative
,
26107 &_swigt__p_wxRendererVersion
,
26108 &_swigt__p_wxScreenDC
,
26109 &_swigt__p_wxScrollEvent
,
26110 &_swigt__p_wxScrollWinEvent
,
26111 &_swigt__p_wxSetCursorEvent
,
26112 &_swigt__p_wxShowEvent
,
26114 &_swigt__p_wxSizeEvent
,
26115 &_swigt__p_wxSizer
,
26116 &_swigt__p_wxSizerItem
,
26117 &_swigt__p_wxSplitterRenderParams
,
26118 &_swigt__p_wxStaticBoxSizer
,
26119 &_swigt__p_wxStdDialogButtonSizer
,
26120 &_swigt__p_wxStockGDI
,
26121 &_swigt__p_wxString
,
26122 &_swigt__p_wxSysColourChangedEvent
,
26123 &_swigt__p_wxTIFFHandler
,
26124 &_swigt__p_wxUpdateUIEvent
,
26125 &_swigt__p_wxValidator
,
26126 &_swigt__p_wxWindow
,
26127 &_swigt__p_wxWindowCreateEvent
,
26128 &_swigt__p_wxWindowDC
,
26129 &_swigt__p_wxWindowDestroyEvent
,
26130 &_swigt__p_wxXPMHandler
,
26133 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
26134 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
26135 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
26136 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
26137 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
26138 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
26139 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
26140 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
26141 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
26142 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
26143 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}};
26144 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26145 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
26146 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
26147 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
26148 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
26149 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}};
26150 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
26151 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
26152 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
26153 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
26154 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
26155 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
26156 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
26157 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}};
26158 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}};
26159 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
26160 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
26161 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
26162 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
26163 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
26164 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
26165 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
26166 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
26167 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}};
26168 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
26169 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
26170 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
26171 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
26172 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
26173 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
26174 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26175 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26176 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
26177 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
26178 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26179 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26180 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26181 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
26182 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
26183 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
26184 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
26185 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26186 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26187 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
26188 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
26189 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26190 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26191 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26192 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26193 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26194 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26195 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
26196 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
26197 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
26198 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
26199 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26200 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26201 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
26202 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
26203 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26204 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
26205 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26206 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
26207 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26208 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26209 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26210 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
26211 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26212 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26213 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
26214 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
26215 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
26216 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
26217 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26218 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26219 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26220 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26221 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
26222 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26223 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
26224 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26225 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26226 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
26227 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
26228 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
26229 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26230 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26231 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26232 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
26233 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
26234 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26235 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26236 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
26237 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26238 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26239 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26240 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26241 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26242 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
26243 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26244 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26245 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
26246 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
26247 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
26248 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}};
26249 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26250 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
26251 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
26252 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
26253 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
26254 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
26255 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
26256 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
26257 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
26258 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
26259 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
26260 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
26261 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
26262 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
26263 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
26264 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
26265 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
26266 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
26267 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
26268 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
26269 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}};
26270 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
26272 static swig_cast_info
*swig_cast_initial
[] = {
26275 _swigc__p_form_ops_t
,
26277 _swigc__p_unsigned_char
,
26278 _swigc__p_unsigned_int
,
26279 _swigc__p_unsigned_long
,
26280 _swigc__p_wxANIHandler
,
26281 _swigc__p_wxAcceleratorTable
,
26282 _swigc__p_wxActivateEvent
,
26283 _swigc__p_wxBMPHandler
,
26284 _swigc__p_wxBitmap
,
26285 _swigc__p_wxBoxSizer
,
26287 _swigc__p_wxBrushList
,
26288 _swigc__p_wxBufferedDC
,
26289 _swigc__p_wxBufferedPaintDC
,
26290 _swigc__p_wxCURHandler
,
26291 _swigc__p_wxChildFocusEvent
,
26292 _swigc__p_wxClientDC
,
26293 _swigc__p_wxClipboardTextEvent
,
26294 _swigc__p_wxCloseEvent
,
26295 _swigc__p_wxColour
,
26296 _swigc__p_wxColourDatabase
,
26297 _swigc__p_wxCommandEvent
,
26298 _swigc__p_wxContextMenuEvent
,
26299 _swigc__p_wxControl
,
26300 _swigc__p_wxControlWithItems
,
26301 _swigc__p_wxCursor
,
26304 _swigc__p_wxDateEvent
,
26305 _swigc__p_wxDisplayChangedEvent
,
26306 _swigc__p_wxDropFilesEvent
,
26307 _swigc__p_wxDuplexMode
,
26308 _swigc__p_wxEffects
,
26309 _swigc__p_wxEncodingConverter
,
26310 _swigc__p_wxEraseEvent
,
26312 _swigc__p_wxEvtHandler
,
26313 _swigc__p_wxFSFile
,
26314 _swigc__p_wxFileSystem
,
26315 _swigc__p_wxFlexGridSizer
,
26316 _swigc__p_wxFocusEvent
,
26318 _swigc__p_wxFontList
,
26319 _swigc__p_wxFontMapper
,
26320 _swigc__p_wxGBSizerItem
,
26321 _swigc__p_wxGDIObjListBase
,
26322 _swigc__p_wxGDIObject
,
26323 _swigc__p_wxGIFHandler
,
26324 _swigc__p_wxGridBagSizer
,
26325 _swigc__p_wxGridSizer
,
26326 _swigc__p_wxICOHandler
,
26328 _swigc__p_wxIconBundle
,
26329 _swigc__p_wxIconLocation
,
26330 _swigc__p_wxIconizeEvent
,
26331 _swigc__p_wxIdleEvent
,
26333 _swigc__p_wxImageHandler
,
26334 _swigc__p_wxImageList
,
26335 _swigc__p_wxIndividualLayoutConstraint
,
26336 _swigc__p_wxInitDialogEvent
,
26337 _swigc__p_wxJPEGHandler
,
26338 _swigc__p_wxKeyEvent
,
26339 _swigc__p_wxLanguageInfo
,
26340 _swigc__p_wxLayoutConstraints
,
26341 _swigc__p_wxLocale
,
26343 _swigc__p_wxMaximizeEvent
,
26344 _swigc__p_wxMemoryDC
,
26346 _swigc__p_wxMenuBar
,
26347 _swigc__p_wxMenuEvent
,
26348 _swigc__p_wxMenuItem
,
26349 _swigc__p_wxMetaFile
,
26350 _swigc__p_wxMetaFileDC
,
26351 _swigc__p_wxMirrorDC
,
26352 _swigc__p_wxMouseCaptureChangedEvent
,
26353 _swigc__p_wxMouseEvent
,
26354 _swigc__p_wxMoveEvent
,
26355 _swigc__p_wxNativeEncodingInfo
,
26356 _swigc__p_wxNativeFontInfo
,
26357 _swigc__p_wxNavigationKeyEvent
,
26358 _swigc__p_wxNcPaintEvent
,
26359 _swigc__p_wxNotifyEvent
,
26360 _swigc__p_wxObject
,
26361 _swigc__p_wxPCXHandler
,
26362 _swigc__p_wxPNGHandler
,
26363 _swigc__p_wxPNMHandler
,
26364 _swigc__p_wxPaintDC
,
26365 _swigc__p_wxPaintEvent
,
26366 _swigc__p_wxPalette
,
26367 _swigc__p_wxPaletteChangedEvent
,
26368 _swigc__p_wxPaperSize
,
26370 _swigc__p_wxPenList
,
26372 _swigc__p_wxPostScriptDC
,
26373 _swigc__p_wxPrintData
,
26374 _swigc__p_wxPrinterDC
,
26376 _swigc__p_wxPyCommandEvent
,
26377 _swigc__p_wxPyEvent
,
26378 _swigc__p_wxPyFontEnumerator
,
26379 _swigc__p_wxPyImageHandler
,
26380 _swigc__p_wxPySizer
,
26381 _swigc__p_wxPyValidator
,
26382 _swigc__p_wxQueryNewPaletteEvent
,
26384 _swigc__p_wxRegion
,
26385 _swigc__p_wxRegionIterator
,
26386 _swigc__p_wxRendererNative
,
26387 _swigc__p_wxRendererVersion
,
26388 _swigc__p_wxScreenDC
,
26389 _swigc__p_wxScrollEvent
,
26390 _swigc__p_wxScrollWinEvent
,
26391 _swigc__p_wxSetCursorEvent
,
26392 _swigc__p_wxShowEvent
,
26394 _swigc__p_wxSizeEvent
,
26396 _swigc__p_wxSizerItem
,
26397 _swigc__p_wxSplitterRenderParams
,
26398 _swigc__p_wxStaticBoxSizer
,
26399 _swigc__p_wxStdDialogButtonSizer
,
26400 _swigc__p_wxStockGDI
,
26401 _swigc__p_wxString
,
26402 _swigc__p_wxSysColourChangedEvent
,
26403 _swigc__p_wxTIFFHandler
,
26404 _swigc__p_wxUpdateUIEvent
,
26405 _swigc__p_wxValidator
,
26406 _swigc__p_wxWindow
,
26407 _swigc__p_wxWindowCreateEvent
,
26408 _swigc__p_wxWindowDC
,
26409 _swigc__p_wxWindowDestroyEvent
,
26410 _swigc__p_wxXPMHandler
,
26414 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26416 static swig_const_info swig_const_table
[] = {
26417 {0, 0, 0, 0.0, 0, 0}};
26422 /* -----------------------------------------------------------------------------
26423 * Type initialization:
26424 * This problem is tough by the requirement that no dynamic
26425 * memory is used. Also, since swig_type_info structures store pointers to
26426 * swig_cast_info structures and swig_cast_info structures store pointers back
26427 * to swig_type_info structures, we need some lookup code at initialization.
26428 * The idea is that swig generates all the structures that are needed.
26429 * The runtime then collects these partially filled structures.
26430 * The SWIG_InitializeModule function takes these initial arrays out of
26431 * swig_module, and does all the lookup, filling in the swig_module.types
26432 * array with the correct data and linking the correct swig_cast_info
26433 * structures together.
26435 * The generated swig_type_info structures are assigned staticly to an initial
26436 * array. We just loop though that array, and handle each type individually.
26437 * First we lookup if this type has been already loaded, and if so, use the
26438 * loaded structure instead of the generated one. Then we have to fill in the
26439 * cast linked list. The cast data is initially stored in something like a
26440 * two-dimensional array. Each row corresponds to a type (there are the same
26441 * number of rows as there are in the swig_type_initial array). Each entry in
26442 * a column is one of the swig_cast_info structures for that type.
26443 * The cast_initial array is actually an array of arrays, because each row has
26444 * a variable number of columns. So to actually build the cast linked list,
26445 * we find the array of casts associated with the type, and loop through it
26446 * adding the casts to the list. The one last trick we need to do is making
26447 * sure the type pointer in the swig_cast_info struct is correct.
26449 * First off, we lookup the cast->type name to see if it is already loaded.
26450 * There are three cases to handle:
26451 * 1) If the cast->type has already been loaded AND the type we are adding
26452 * casting info to has not been loaded (it is in this module), THEN we
26453 * replace the cast->type pointer with the type pointer that has already
26455 * 2) If BOTH types (the one we are adding casting info to, and the
26456 * cast->type) are loaded, THEN the cast info has already been loaded by
26457 * the previous module so we just ignore it.
26458 * 3) Finally, if cast->type has not already been loaded, then we add that
26459 * swig_cast_info to the linked list (because the cast->type) pointer will
26461 * ----------------------------------------------------------------------------- */
26471 #define SWIGRUNTIME_DEBUG
26475 SWIG_InitializeModule(void *clientdata
) {
26477 swig_module_info
*module_head
;
26478 static int init_run
= 0;
26480 clientdata
= clientdata
;
26482 if (init_run
) return;
26485 /* Initialize the swig_module */
26486 swig_module
.type_initial
= swig_type_initial
;
26487 swig_module
.cast_initial
= swig_cast_initial
;
26489 /* Try and load any already created modules */
26490 module_head
= SWIG_GetModule(clientdata
);
26492 swig_module
.next
= module_head
->next
;
26493 module_head
->next
= &swig_module
;
26495 /* This is the first module loaded */
26496 swig_module
.next
= &swig_module
;
26497 SWIG_SetModule(clientdata
, &swig_module
);
26500 /* Now work on filling in swig_module.types */
26501 #ifdef SWIGRUNTIME_DEBUG
26502 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
26504 for (i
= 0; i
< swig_module
.size
; ++i
) {
26505 swig_type_info
*type
= 0;
26506 swig_type_info
*ret
;
26507 swig_cast_info
*cast
;
26509 #ifdef SWIGRUNTIME_DEBUG
26510 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26513 /* if there is another module already loaded */
26514 if (swig_module
.next
!= &swig_module
) {
26515 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
26518 /* Overwrite clientdata field */
26519 #ifdef SWIGRUNTIME_DEBUG
26520 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
26522 if (swig_module
.type_initial
[i
]->clientdata
) {
26523 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
26524 #ifdef SWIGRUNTIME_DEBUG
26525 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
26529 type
= swig_module
.type_initial
[i
];
26532 /* Insert casting types */
26533 cast
= swig_module
.cast_initial
[i
];
26534 while (cast
->type
) {
26535 /* Don't need to add information already in the list */
26537 #ifdef SWIGRUNTIME_DEBUG
26538 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
26540 if (swig_module
.next
!= &swig_module
) {
26541 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
26542 #ifdef SWIGRUNTIME_DEBUG
26543 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
26547 if (type
== swig_module
.type_initial
[i
]) {
26548 #ifdef SWIGRUNTIME_DEBUG
26549 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
26554 /* Check for casting already in the list */
26555 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
26556 #ifdef SWIGRUNTIME_DEBUG
26557 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
26559 if (!ocast
) ret
= 0;
26564 #ifdef SWIGRUNTIME_DEBUG
26565 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
26568 type
->cast
->prev
= cast
;
26569 cast
->next
= type
->cast
;
26575 /* Set entry in modules->types array equal to the type */
26576 swig_module
.types
[i
] = type
;
26578 swig_module
.types
[i
] = 0;
26580 #ifdef SWIGRUNTIME_DEBUG
26581 printf("**** SWIG_InitializeModule: Cast List ******\n");
26582 for (i
= 0; i
< swig_module
.size
; ++i
) {
26584 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
26585 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26586 while (cast
->type
) {
26587 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
26591 printf("---- Total casts: %d\n",j
);
26593 printf("**** SWIG_InitializeModule: Cast List ******\n");
26597 /* This function will propagate the clientdata field of type to
26598 * any new swig_type_info structures that have been added into the list
26599 * of equivalent types. It is like calling
26600 * SWIG_TypeClientData(type, clientdata) a second time.
26603 SWIG_PropagateClientData(void) {
26605 swig_cast_info
*equiv
;
26606 static int init_run
= 0;
26608 if (init_run
) return;
26611 for (i
= 0; i
< swig_module
.size
; i
++) {
26612 if (swig_module
.types
[i
]->clientdata
) {
26613 equiv
= swig_module
.types
[i
]->cast
;
26615 if (!equiv
->converter
) {
26616 if (equiv
->type
&& !equiv
->type
->clientdata
)
26617 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
26619 equiv
= equiv
->next
;
26639 /* Python-specific SWIG API */
26640 #define SWIG_newvarlink() SWIG_Python_newvarlink()
26641 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
26642 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
26644 /* -----------------------------------------------------------------------------
26645 * global variable support code.
26646 * ----------------------------------------------------------------------------- */
26648 typedef struct swig_globalvar
{
26649 char *name
; /* Name of global variable */
26650 PyObject
*(*get_attr
)(void); /* Return the current value */
26651 int (*set_attr
)(PyObject
*); /* Set the value */
26652 struct swig_globalvar
*next
;
26655 typedef struct swig_varlinkobject
{
26657 swig_globalvar
*vars
;
26658 } swig_varlinkobject
;
26660 SWIGINTERN PyObject
*
26661 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
26662 return PyString_FromString("<Swig global variables>");
26665 SWIGINTERN PyObject
*
26666 swig_varlink_str(swig_varlinkobject
*v
) {
26667 PyObject
*str
= PyString_FromString("(");
26668 swig_globalvar
*var
;
26669 for (var
= v
->vars
; var
; var
=var
->next
) {
26670 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
26671 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
26673 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
26678 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
26679 PyObject
*str
= swig_varlink_str(v
);
26680 fprintf(fp
,"Swig global variables ");
26681 fprintf(fp
,"%s\n", PyString_AsString(str
));
26687 swig_varlink_dealloc(swig_varlinkobject
*v
) {
26688 swig_globalvar
*var
= v
->vars
;
26690 swig_globalvar
*n
= var
->next
;
26697 SWIGINTERN PyObject
*
26698 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
26699 PyObject
*res
= NULL
;
26700 swig_globalvar
*var
= v
->vars
;
26702 if (strcmp(var
->name
,n
) == 0) {
26703 res
= (*var
->get_attr
)();
26708 if (res
== NULL
&& !PyErr_Occurred()) {
26709 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26715 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
26717 swig_globalvar
*var
= v
->vars
;
26719 if (strcmp(var
->name
,n
) == 0) {
26720 res
= (*var
->set_attr
)(p
);
26725 if (res
== 1 && !PyErr_Occurred()) {
26726 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26731 SWIGINTERN PyTypeObject
*
26732 swig_varlink_type(void) {
26733 static char varlink__doc__
[] = "Swig var link object";
26734 static PyTypeObject varlink_type
;
26735 static int type_init
= 0;
26737 const PyTypeObject tmp
26739 PyObject_HEAD_INIT(NULL
)
26740 0, /* Number of items in variable part (ob_size) */
26741 (char *)"swigvarlink", /* Type name (tp_name) */
26742 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
26743 0, /* Itemsize (tp_itemsize) */
26744 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
26745 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
26746 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
26747 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
26748 0, /* tp_compare */
26749 (reprfunc
) swig_varlink_repr
, /* tp_repr */
26750 0, /* tp_as_number */
26751 0, /* tp_as_sequence */
26752 0, /* tp_as_mapping */
26755 (reprfunc
)swig_varlink_str
, /* tp_str */
26756 0, /* tp_getattro */
26757 0, /* tp_setattro */
26758 0, /* tp_as_buffer */
26760 varlink__doc__
, /* tp_doc */
26761 0, /* tp_traverse */
26763 0, /* tp_richcompare */
26764 0, /* tp_weaklistoffset */
26765 #if PY_VERSION_HEX >= 0x02020000
26766 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
26768 #if PY_VERSION_HEX >= 0x02030000
26771 #ifdef COUNT_ALLOCS
26772 0,0,0,0 /* tp_alloc -> tp_next */
26775 varlink_type
= tmp
;
26776 varlink_type
.ob_type
= &PyType_Type
;
26779 return &varlink_type
;
26782 /* Create a variable linking object for use later */
26783 SWIGINTERN PyObject
*
26784 SWIG_Python_newvarlink(void) {
26785 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
26789 return ((PyObject
*) result
);
26793 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
26794 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
26795 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
26797 size_t size
= strlen(name
)+1;
26798 gv
->name
= (char *)malloc(size
);
26800 strncpy(gv
->name
,name
,size
);
26801 gv
->get_attr
= get_attr
;
26802 gv
->set_attr
= set_attr
;
26803 gv
->next
= v
->vars
;
26809 SWIGINTERN PyObject
*
26811 static PyObject
*_SWIG_globals
= 0;
26812 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
26813 return _SWIG_globals
;
26816 /* -----------------------------------------------------------------------------
26817 * constants/methods manipulation
26818 * ----------------------------------------------------------------------------- */
26820 /* Install Constants */
26822 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
26825 for (i
= 0; constants
[i
].type
; ++i
) {
26826 switch(constants
[i
].type
) {
26827 case SWIG_PY_POINTER
:
26828 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
26830 case SWIG_PY_BINARY
:
26831 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
26838 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
26844 /* -----------------------------------------------------------------------------*/
26845 /* Fix SwigMethods to carry the callback ptrs when needed */
26846 /* -----------------------------------------------------------------------------*/
26849 SWIG_Python_FixMethods(PyMethodDef
*methods
,
26850 swig_const_info
*const_table
,
26851 swig_type_info
**types
,
26852 swig_type_info
**types_initial
) {
26854 for (i
= 0; methods
[i
].ml_name
; ++i
) {
26855 char *c
= methods
[i
].ml_doc
;
26856 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
26858 swig_const_info
*ci
= 0;
26859 char *name
= c
+ 10;
26860 for (j
= 0; const_table
[j
].type
; ++j
) {
26861 if (strncmp(const_table
[j
].name
, name
,
26862 strlen(const_table
[j
].name
)) == 0) {
26863 ci
= &(const_table
[j
]);
26868 size_t shift
= (ci
->ptype
) - types
;
26869 swig_type_info
*ty
= types_initial
[shift
];
26870 size_t ldoc
= (c
- methods
[i
].ml_doc
);
26871 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
26872 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
26875 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
26877 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
26879 strncpy(buff
, "swig_ptr: ", 10);
26881 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
26882 methods
[i
].ml_doc
= ndoc
;
26894 /* -----------------------------------------------------------------------------*
26895 * Partial Init method
26896 * -----------------------------------------------------------------------------*/
26901 SWIGEXPORT
void SWIG_init(void) {
26904 /* Fix SwigMethods to carry the callback ptrs when needed */
26905 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
26907 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26908 d
= PyModule_GetDict(m
);
26910 SWIG_InitializeModule(0);
26911 SWIG_InstallConstants(d
,swig_const_table
);
26914 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
26915 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
26916 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
26917 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
26918 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
26919 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
26920 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
26921 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
26922 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
26923 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
26924 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
26925 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
26926 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
26927 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
26928 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
26929 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
26930 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
26931 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
26932 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
26933 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
26934 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
26935 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
26936 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
26937 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
26938 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
26939 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
26940 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
26941 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
26942 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
26943 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
26944 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
26945 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
26946 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
26947 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
26948 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
26949 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
26950 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
26951 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
26952 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
26953 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
26954 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
26955 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
26956 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
26957 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
26958 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
26959 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
26960 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
26961 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
26962 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
26963 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
26964 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
26965 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
26966 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
26967 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
26968 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
26969 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
26970 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
26971 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
26972 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
26973 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
26974 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
26975 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
26976 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
26977 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
26978 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
26979 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
26980 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
26981 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
26982 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
26983 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
26984 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
26985 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
26986 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
26987 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
26988 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
26989 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
26990 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
26991 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
26992 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
26993 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
26994 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
26995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
26996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
26997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
26998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
26999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27009 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27010 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
27014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
27015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
27016 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
27017 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
27018 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
27019 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
27020 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
27021 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
27022 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
27023 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
27024 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
27025 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
27026 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
27027 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
27028 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
27029 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
27030 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
27031 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
27032 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
27033 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
27034 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
27035 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
27036 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
27037 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
27038 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
27039 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
27040 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
27041 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
27042 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
27043 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
27045 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
27047 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
27048 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
27049 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
27050 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
27051 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
27052 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
27053 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
27054 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
27055 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
27056 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
27057 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
27058 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
27059 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
27060 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
27061 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
27062 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
27063 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
27064 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
27065 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
27066 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
27067 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
27068 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
27069 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
27070 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
27071 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
27072 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
27073 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
27074 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
27075 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
27076 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
27077 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
27078 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
27079 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
27080 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
27081 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
27082 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
27083 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
27084 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
27085 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
27086 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
27087 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
27088 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
27089 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
27090 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
27091 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
27092 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
27093 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
27094 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
27095 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
27096 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
27097 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
27098 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
27099 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
27100 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
27101 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
27102 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
27103 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
27104 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
27105 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
27106 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
27107 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
27108 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
27109 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
27110 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
27111 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
27112 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
27113 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
27114 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
27115 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
27116 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
27117 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
27118 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
27119 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
27120 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
27121 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
27122 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
27123 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
27124 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
27125 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
27126 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
27127 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
27128 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
27129 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
27130 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
27131 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
27132 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
27133 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
27134 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
27135 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
27136 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
27137 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
27138 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
27139 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
27140 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
27141 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
27142 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
27143 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
27144 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
27145 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
27146 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
27147 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
27148 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
27149 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
27150 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
27151 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
27152 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
27153 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
27154 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
27155 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
27156 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
27157 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
27158 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
27159 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
27160 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
27161 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
27162 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
27163 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
27164 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
27165 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
27166 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
27167 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
27168 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
27169 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
27170 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
27171 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
27172 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
27173 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
27174 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
27175 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
27176 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
27177 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
27178 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
27179 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
27180 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
27181 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
27182 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
27183 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
27184 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
27185 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
27186 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
27187 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
27188 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
27189 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
27190 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
27191 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
27192 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
27193 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
27194 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
27195 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
27196 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
27197 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
27198 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
27199 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
27200 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
27201 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
27202 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
27203 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
27204 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
27205 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
27206 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
27207 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
27208 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
27209 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
27210 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
27211 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
27212 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
27213 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
27214 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
27215 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
27216 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
27217 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
27218 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
27219 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
27220 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
27221 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
27222 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
27223 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
27224 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
27225 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
27226 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
27227 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
27228 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
27229 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
27230 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
27231 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
27232 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
27233 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
27234 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
27235 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
27236 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
27237 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
27238 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
27239 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
27240 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
27241 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
27242 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
27243 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
27244 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
27245 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
27246 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
27247 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
27248 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
27249 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
27250 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
27251 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
27252 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
27253 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
27254 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
27255 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
27256 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
27257 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
27258 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
27259 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
27260 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
27261 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
27262 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
27263 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
27264 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
27265 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
27266 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
27267 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
27268 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
27269 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
27270 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
27271 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
27272 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
27273 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
27274 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
27275 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
27276 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
27277 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
27278 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
27279 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
27280 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
27281 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
27282 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
27283 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
27284 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
27285 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
27286 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
27287 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
27288 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
27289 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
27290 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
27291 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
27292 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
27293 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
27294 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
27295 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
27296 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
27297 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
27298 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
27299 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
27300 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
27301 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
27302 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
27303 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
27304 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
27305 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
27306 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
27307 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
27308 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
27309 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
27310 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
27311 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
27312 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
27313 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
27314 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
27315 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
27316 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
27317 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
27318 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
27319 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
27320 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
27321 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
27322 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
27323 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
27324 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
27325 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
27326 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
27327 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
27328 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
27329 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
27330 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
27331 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
27332 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
27333 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
27334 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
27335 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
27336 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
27337 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
27338 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
27339 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
27340 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
27341 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
27342 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
27343 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
27344 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
27345 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
27346 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
27347 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
27348 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
27349 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
27350 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
27351 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
27352 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
27353 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
27354 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
27355 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
27356 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
27357 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
27358 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
27359 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
27360 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
27362 // Work around a chicken/egg problem in drawlist.cpp
27363 wxPyDrawList_SetAPIPtr();