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(){
3081 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3083 ret
= wxArrayString2PyList_helper(arr
);
3084 wxPyEndBlockThreads(blocked
);
3087 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3089 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3091 ret
= wxArrayString2PyList_helper(arr
);
3092 wxPyEndBlockThreads(blocked
);
3098 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3101 loc
= new wxLocale();
3103 loc
= new wxLocale(language
, flags
);
3104 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3105 // for the floating point conversions and such to work right.
3106 #if PY_VERSION_HEX < 0x02040000
3107 setlocale(LC_NUMERIC
, "C");
3111 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3112 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3113 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3114 // for the floating point conversions and such to work right.
3115 #if PY_VERSION_HEX < 0x02040000
3116 setlocale(LC_NUMERIC
, "C");
3120 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3121 bool rc
= self
->Init(language
, flags
);
3122 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3123 // for the floating point conversions and such to work right.
3124 #if PY_VERSION_HEX < 0x02040000
3125 setlocale(LC_NUMERIC
, "C");
3130 #include "wx/wxPython/pydrawxxx.h"
3132 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3134 self
->GetPixel(x
, y
, &col
);
3137 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3139 self
->GetPixel(pt
, &col
);
3144 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3146 if (PyNumber_Check(obj
)) {
3147 if (val
) *val
= PyFloat_AsDouble(obj
);
3150 return SWIG_TypeError
;
3153 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3155 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3158 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3160 self
->GetClippingBox(rect
);
3163 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3165 self
->GetPartialTextExtents(text
, widths
);
3169 #define SWIG_From_double PyFloat_FromDouble
3171 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3172 self
->SetLogicalOrigin(point
.x
, point
.y
);
3174 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3175 self
->SetDeviceOrigin(point
.x
, point
.y
);
3177 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3178 self
->CalcBoundingBox(point
.x
, point
.y
);
3180 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3181 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3183 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3184 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3186 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3187 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3189 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3190 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3192 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3193 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3195 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3196 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3199 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3207 #include <wx/dcbuffer.h>
3210 #include <wx/dcps.h>
3213 class wxMetaFile
: public wxObject
{
3215 wxMetaFile(const wxString
&)
3216 { wxPyRaiseNotImplemented(); }
3219 class wxMetaFileDC
: public wxClientDC
{
3221 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3222 { wxPyRaiseNotImplemented(); }
3227 class wxPrinterDC
: public wxClientDC
{
3229 wxPrinterDC(const wxPrintData
&)
3230 { wxPyRaiseNotImplemented(); }
3236 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3237 self
->AddColour(name
, wxColour(red
, green
, blue
));
3240 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3241 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3242 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3243 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3246 #include <wx/effects.h>
3249 #include "wx/renderer.h"
3252 SWIGINTERNINLINE PyObject
*
3253 SWIG_From_bool (bool value
)
3255 return PyBool_FromLong(value
? 1 : 0);
3261 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3262 PyObject
*resultobj
= 0;
3263 wxGDIObject
*result
= 0 ;
3265 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3267 if (!wxPyCheckForApp()) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 result
= (wxGDIObject
*)new wxGDIObject();
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3280 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3281 PyObject
*resultobj
= 0;
3282 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3285 PyObject
*swig_obj
[1] ;
3287 if (!args
) SWIG_fail
;
3289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3290 if (!SWIG_IsOK(res1
)) {
3291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3293 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 resultobj
= SWIG_Py_Void();
3308 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3309 PyObject
*resultobj
= 0;
3310 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3314 PyObject
*swig_obj
[1] ;
3316 if (!args
) SWIG_fail
;
3318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3319 if (!SWIG_IsOK(res1
)) {
3320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3322 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 result
= (bool)(arg1
)->IsNull();
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3338 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3341 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3342 return SWIG_Py_Void();
3345 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3346 return SWIG_Python_InitShadowInstance(args
);
3349 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
= 0;
3351 byte arg1
= (byte
) 0 ;
3352 byte arg2
= (byte
) 0 ;
3353 byte arg3
= (byte
) 0 ;
3354 wxColour
*result
= 0 ;
3355 unsigned char val1
;
3357 unsigned char val2
;
3359 unsigned char val3
;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3363 PyObject
* obj2
= 0 ;
3364 char * kwnames
[] = {
3365 (char *) "red",(char *) "green",(char *) "blue", NULL
3368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3370 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3371 if (!SWIG_IsOK(ecode1
)) {
3372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3374 arg1
= static_cast< byte
>(val1
);
3377 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3378 if (!SWIG_IsOK(ecode2
)) {
3379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3381 arg2
= static_cast< byte
>(val2
);
3384 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3385 if (!SWIG_IsOK(ecode3
)) {
3386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3388 arg3
= static_cast< byte
>(val3
);
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3403 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
= 0;
3405 wxString
*arg1
= 0 ;
3406 wxColour
*result
= 0 ;
3407 bool temp1
= false ;
3408 PyObject
* obj0
= 0 ;
3409 char * kwnames
[] = {
3410 (char *) "colorName", NULL
3413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3415 arg1
= wxString_in_helper(obj0
);
3416 if (arg1
== NULL
) SWIG_fail
;
3420 if (!wxPyCheckForApp()) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) SWIG_fail
;
3426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3441 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
*resultobj
= 0;
3443 unsigned long arg1
;
3444 wxColour
*result
= 0 ;
3445 unsigned long val1
;
3447 PyObject
* obj0
= 0 ;
3448 char * kwnames
[] = {
3449 (char *) "colRGB", NULL
3452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3453 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3454 if (!SWIG_IsOK(ecode1
)) {
3455 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3457 arg1
= static_cast< unsigned long >(val1
);
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (wxColour
*)new wxColour(arg1
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3471 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3472 PyObject
*resultobj
= 0;
3473 wxColour
*arg1
= (wxColour
*) 0 ;
3476 PyObject
*swig_obj
[1] ;
3478 if (!args
) SWIG_fail
;
3480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3481 if (!SWIG_IsOK(res1
)) {
3482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3484 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3492 resultobj
= SWIG_Py_Void();
3499 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3500 PyObject
*resultobj
= 0;
3501 wxColour
*arg1
= (wxColour
*) 0 ;
3505 PyObject
*swig_obj
[1] ;
3507 if (!args
) SWIG_fail
;
3509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3510 if (!SWIG_IsOK(res1
)) {
3511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3513 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 result
= (byte
)(arg1
)->Red();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3527 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3528 PyObject
*resultobj
= 0;
3529 wxColour
*arg1
= (wxColour
*) 0 ;
3533 PyObject
*swig_obj
[1] ;
3535 if (!args
) SWIG_fail
;
3537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3538 if (!SWIG_IsOK(res1
)) {
3539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3541 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 result
= (byte
)(arg1
)->Green();
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3555 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3556 PyObject
*resultobj
= 0;
3557 wxColour
*arg1
= (wxColour
*) 0 ;
3561 PyObject
*swig_obj
[1] ;
3563 if (!args
) SWIG_fail
;
3565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3566 if (!SWIG_IsOK(res1
)) {
3567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3569 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (byte
)(arg1
)->Blue();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3583 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3584 PyObject
*resultobj
= 0;
3585 wxColour
*arg1
= (wxColour
*) 0 ;
3589 PyObject
*swig_obj
[1] ;
3591 if (!args
) SWIG_fail
;
3593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3594 if (!SWIG_IsOK(res1
)) {
3595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3597 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (bool)(arg1
)->Ok();
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3613 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
= 0;
3615 wxColour
*arg1
= (wxColour
*) 0 ;
3621 unsigned char val2
;
3623 unsigned char val3
;
3625 unsigned char val4
;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3629 PyObject
* obj2
= 0 ;
3630 PyObject
* obj3
= 0 ;
3631 char * kwnames
[] = {
3632 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3637 if (!SWIG_IsOK(res1
)) {
3638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3640 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3641 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3642 if (!SWIG_IsOK(ecode2
)) {
3643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3645 arg2
= static_cast< byte
>(val2
);
3646 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3647 if (!SWIG_IsOK(ecode3
)) {
3648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3650 arg3
= static_cast< byte
>(val3
);
3651 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3652 if (!SWIG_IsOK(ecode4
)) {
3653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3655 arg4
= static_cast< byte
>(val4
);
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 (arg1
)->Set(arg2
,arg3
,arg4
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 resultobj
= SWIG_Py_Void();
3669 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
= 0;
3671 wxColour
*arg1
= (wxColour
*) 0 ;
3672 unsigned long arg2
;
3675 unsigned long val2
;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3679 char * kwnames
[] = {
3680 (char *) "self",(char *) "colRGB", NULL
3683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3685 if (!SWIG_IsOK(res1
)) {
3686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3688 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3689 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3690 if (!SWIG_IsOK(ecode2
)) {
3691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3693 arg2
= static_cast< unsigned long >(val2
);
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 resultobj
= SWIG_Py_Void();
3707 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
= 0;
3709 wxColour
*arg1
= (wxColour
*) 0 ;
3710 wxString
*arg2
= 0 ;
3713 bool temp2
= false ;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3716 char * kwnames
[] = {
3717 (char *) "self",(char *) "colourName", NULL
3720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3722 if (!SWIG_IsOK(res1
)) {
3723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3725 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3727 arg2
= wxString_in_helper(obj1
);
3728 if (arg2
== NULL
) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 (arg1
)->InitFromName((wxString
const &)*arg2
);
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= SWIG_Py_Void();
3752 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
= 0;
3754 wxColour
*arg1
= (wxColour
*) 0 ;
3755 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3763 char * kwnames
[] = {
3764 (char *) "self",(char *) "flags", NULL
3767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3769 if (!SWIG_IsOK(res1
)) {
3770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3772 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3774 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3775 if (!SWIG_IsOK(ecode2
)) {
3776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3778 arg2
= static_cast< long >(val2
);
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3799 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3800 PyObject
*resultobj
= 0;
3801 wxColour
*arg1
= (wxColour
*) 0 ;
3805 PyObject
*swig_obj
[1] ;
3807 if (!args
) SWIG_fail
;
3809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3810 if (!SWIG_IsOK(res1
)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3813 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= SWIG_From_long(static_cast< long >(result
));
3827 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
= 0;
3829 wxColour
*arg1
= (wxColour
*) 0 ;
3830 PyObject
*arg2
= (PyObject
*) 0 ;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3836 char * kwnames
[] = {
3837 (char *) "self",(char *) "other", NULL
3840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3842 if (!SWIG_IsOK(res1
)) {
3843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3845 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3848 result
= (bool)wxColour___eq__(arg1
,arg2
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3860 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
= 0;
3862 wxColour
*arg1
= (wxColour
*) 0 ;
3863 PyObject
*arg2
= (PyObject
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3869 char * kwnames
[] = {
3870 (char *) "self",(char *) "other", NULL
3873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3875 if (!SWIG_IsOK(res1
)) {
3876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3878 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3881 result
= (bool)wxColour___ne__(arg1
,arg2
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3893 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3894 PyObject
*resultobj
= 0;
3895 wxColour
*arg1
= (wxColour
*) 0 ;
3896 PyObject
*result
= 0 ;
3899 PyObject
*swig_obj
[1] ;
3901 if (!args
) SWIG_fail
;
3903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3904 if (!SWIG_IsOK(res1
)) {
3905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3907 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (PyObject
*)wxColour_Get(arg1
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3921 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3922 PyObject
*resultobj
= 0;
3923 wxColour
*arg1
= (wxColour
*) 0 ;
3924 unsigned long result
;
3927 PyObject
*swig_obj
[1] ;
3929 if (!args
) SWIG_fail
;
3931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3932 if (!SWIG_IsOK(res1
)) {
3933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3935 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (unsigned long)wxColour_GetRGB(arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3949 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3952 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3953 return SWIG_Py_Void();
3956 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3957 return SWIG_Python_InitShadowInstance(args
);
3960 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
= 0;
3963 unsigned char *arg2
= (unsigned char *) 0 ;
3964 unsigned char *arg3
= (unsigned char *) 0 ;
3965 unsigned char *arg4
= (unsigned char *) 0 ;
3966 wxPalette
*result
= 0 ;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3977 PyObject
* obj2
= 0 ;
3978 PyObject
* obj3
= 0 ;
3979 char * kwnames
[] = {
3980 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3984 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3985 if (!SWIG_IsOK(ecode1
)) {
3986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3988 arg1
= static_cast< int >(val1
);
3989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3990 if (!SWIG_IsOK(res2
)) {
3991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3993 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3994 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3995 if (!SWIG_IsOK(res3
)) {
3996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3998 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3999 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4000 if (!SWIG_IsOK(res4
)) {
4001 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4003 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4005 if (!wxPyCheckForApp()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4018 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxPalette
*arg1
= (wxPalette
*) 0 ;
4023 PyObject
*swig_obj
[1] ;
4025 if (!args
) SWIG_fail
;
4027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4028 if (!SWIG_IsOK(res1
)) {
4029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4031 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_Py_Void();
4046 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
= 0;
4048 wxPalette
*arg1
= (wxPalette
*) 0 ;
4055 unsigned char val2
;
4057 unsigned char val3
;
4059 unsigned char val4
;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4063 PyObject
* obj2
= 0 ;
4064 PyObject
* obj3
= 0 ;
4065 char * kwnames
[] = {
4066 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4071 if (!SWIG_IsOK(res1
)) {
4072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4074 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4075 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4076 if (!SWIG_IsOK(ecode2
)) {
4077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4079 arg2
= static_cast< byte
>(val2
);
4080 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4081 if (!SWIG_IsOK(ecode3
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4084 arg3
= static_cast< byte
>(val3
);
4085 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4086 if (!SWIG_IsOK(ecode4
)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4089 arg4
= static_cast< byte
>(val4
);
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_From_int(static_cast< int >(result
));
4103 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
= 0;
4105 wxPalette
*arg1
= (wxPalette
*) 0 ;
4107 byte
*arg3
= (byte
*) 0 ;
4108 byte
*arg4
= (byte
*) 0 ;
4109 byte
*arg5
= (byte
*) 0 ;
4116 int res3
= SWIG_TMPOBJ
;
4118 int res4
= SWIG_TMPOBJ
;
4120 int res5
= SWIG_TMPOBJ
;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4123 char * kwnames
[] = {
4124 (char *) "self",(char *) "pixel", NULL
4130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4135 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4137 if (!SWIG_IsOK(ecode2
)) {
4138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4140 arg2
= static_cast< int >(val2
);
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4150 if (SWIG_IsTmpObj(res3
)) {
4151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4153 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4156 if (SWIG_IsTmpObj(res4
)) {
4157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4159 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4162 if (SWIG_IsTmpObj(res5
)) {
4163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4165 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4174 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4175 PyObject
*resultobj
= 0;
4176 wxPalette
*arg1
= (wxPalette
*) 0 ;
4180 PyObject
*swig_obj
[1] ;
4182 if (!args
) SWIG_fail
;
4184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4185 if (!SWIG_IsOK(res1
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4188 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_From_int(static_cast< int >(result
));
4202 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4203 PyObject
*resultobj
= 0;
4204 wxPalette
*arg1
= (wxPalette
*) 0 ;
4208 PyObject
*swig_obj
[1] ;
4210 if (!args
) SWIG_fail
;
4212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4213 if (!SWIG_IsOK(res1
)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4216 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (bool)(arg1
)->Ok();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4232 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4235 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4236 return SWIG_Py_Void();
4239 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4240 return SWIG_Python_InitShadowInstance(args
);
4243 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
= 0;
4245 wxColour
*arg1
= 0 ;
4246 int arg2
= (int) 1 ;
4247 int arg3
= (int) wxSOLID
;
4254 PyObject
* obj0
= 0 ;
4255 PyObject
* obj1
= 0 ;
4256 PyObject
* obj2
= 0 ;
4257 char * kwnames
[] = {
4258 (char *) "colour",(char *) "width",(char *) "style", NULL
4261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4264 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4268 if (!SWIG_IsOK(ecode2
)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4271 arg2
= static_cast< int >(val2
);
4274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4275 if (!SWIG_IsOK(ecode3
)) {
4276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4278 arg3
= static_cast< int >(val3
);
4281 if (!wxPyCheckForApp()) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4294 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 PyObject
*resultobj
= 0;
4296 wxPen
*arg1
= (wxPen
*) 0 ;
4299 PyObject
*swig_obj
[1] ;
4301 if (!args
) SWIG_fail
;
4303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4304 if (!SWIG_IsOK(res1
)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4307 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_Py_Void();
4322 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4323 PyObject
*resultobj
= 0;
4324 wxPen
*arg1
= (wxPen
*) 0 ;
4328 PyObject
*swig_obj
[1] ;
4330 if (!args
) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4336 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (int)(arg1
)->GetCap();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_int(static_cast< int >(result
));
4350 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4351 PyObject
*resultobj
= 0;
4352 wxPen
*arg1
= (wxPen
*) 0 ;
4356 PyObject
*swig_obj
[1] ;
4358 if (!args
) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4364 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (arg1
)->GetColour();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4378 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4379 PyObject
*resultobj
= 0;
4380 wxPen
*arg1
= (wxPen
*) 0 ;
4384 PyObject
*swig_obj
[1] ;
4386 if (!args
) SWIG_fail
;
4388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4389 if (!SWIG_IsOK(res1
)) {
4390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4392 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (int)(arg1
)->GetJoin();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= SWIG_From_int(static_cast< int >(result
));
4406 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4407 PyObject
*resultobj
= 0;
4408 wxPen
*arg1
= (wxPen
*) 0 ;
4412 PyObject
*swig_obj
[1] ;
4414 if (!args
) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4420 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (int)(arg1
)->GetStyle();
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_From_int(static_cast< int >(result
));
4434 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4435 PyObject
*resultobj
= 0;
4436 wxPen
*arg1
= (wxPen
*) 0 ;
4440 PyObject
*swig_obj
[1] ;
4442 if (!args
) SWIG_fail
;
4444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4445 if (!SWIG_IsOK(res1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4448 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (int)(arg1
)->GetWidth();
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= SWIG_From_int(static_cast< int >(result
));
4462 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4463 PyObject
*resultobj
= 0;
4464 wxPen
*arg1
= (wxPen
*) 0 ;
4468 PyObject
*swig_obj
[1] ;
4470 if (!args
) SWIG_fail
;
4472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4473 if (!SWIG_IsOK(res1
)) {
4474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4476 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= (bool)(arg1
)->Ok();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4492 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
= 0;
4494 wxPen
*arg1
= (wxPen
*) 0 ;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4502 char * kwnames
[] = {
4503 (char *) "self",(char *) "cap_style", NULL
4506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4508 if (!SWIG_IsOK(res1
)) {
4509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4511 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4513 if (!SWIG_IsOK(ecode2
)) {
4514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4516 arg2
= static_cast< int >(val2
);
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->SetCap(arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= SWIG_Py_Void();
4530 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
= 0;
4532 wxPen
*arg1
= (wxPen
*) 0 ;
4533 wxColour
*arg2
= 0 ;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4539 char * kwnames
[] = {
4540 (char *) "self",(char *) "colour", NULL
4543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4545 if (!SWIG_IsOK(res1
)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4548 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4551 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 (arg1
)->SetColour(*arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 resultobj
= SWIG_Py_Void();
4566 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
= 0;
4568 wxPen
*arg1
= (wxPen
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4576 char * kwnames
[] = {
4577 (char *) "self",(char *) "join_style", NULL
4580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4582 if (!SWIG_IsOK(res1
)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4585 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4587 if (!SWIG_IsOK(ecode2
)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4590 arg2
= static_cast< int >(val2
);
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 (arg1
)->SetJoin(arg2
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_Py_Void();
4604 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
= 0;
4606 wxPen
*arg1
= (wxPen
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4613 PyObject
* obj1
= 0 ;
4614 char * kwnames
[] = {
4615 (char *) "self",(char *) "style", NULL
4618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4620 if (!SWIG_IsOK(res1
)) {
4621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4623 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4625 if (!SWIG_IsOK(ecode2
)) {
4626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4628 arg2
= static_cast< int >(val2
);
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 (arg1
)->SetStyle(arg2
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_Py_Void();
4642 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= 0;
4644 wxPen
*arg1
= (wxPen
*) 0 ;
4650 PyObject
* obj0
= 0 ;
4651 PyObject
* obj1
= 0 ;
4652 char * kwnames
[] = {
4653 (char *) "self",(char *) "width", NULL
4656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4658 if (!SWIG_IsOK(res1
)) {
4659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4661 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4663 if (!SWIG_IsOK(ecode2
)) {
4664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4666 arg2
= static_cast< int >(val2
);
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 (arg1
)->SetWidth(arg2
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= SWIG_Py_Void();
4680 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
= 0;
4682 wxPen
*arg1
= (wxPen
*) 0 ;
4684 wxDash
*arg3
= (wxDash
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4689 char * kwnames
[] = {
4690 (char *) "self",(char *) "dashes", NULL
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4695 if (!SWIG_IsOK(res1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4698 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4700 arg2
= PyList_Size(obj1
);
4701 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4702 if (arg3
== NULL
) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 (arg1
)->SetDashes(arg2
,arg3
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= SWIG_Py_Void();
4712 if (arg3
) delete [] arg3
;
4717 if (arg3
) delete [] arg3
;
4723 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4724 PyObject
*resultobj
= 0;
4725 wxPen
*arg1
= (wxPen
*) 0 ;
4726 PyObject
*result
= 0 ;
4729 PyObject
*swig_obj
[1] ;
4731 if (!args
) SWIG_fail
;
4733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4734 if (!SWIG_IsOK(res1
)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4737 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4751 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
= 0;
4753 wxPen
*arg1
= (wxPen
*) 0 ;
4754 PyObject
*arg2
= (PyObject
*) 0 ;
4755 PyObject
*arg3
= (PyObject
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 char * kwnames
[] = {
4762 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4770 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 wxPen__SetDashes(arg1
,arg2
,arg3
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_Py_Void();
4786 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4787 PyObject
*resultobj
= 0;
4788 wxPen
*arg1
= (wxPen
*) 0 ;
4792 PyObject
*swig_obj
[1] ;
4794 if (!args
) SWIG_fail
;
4796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4797 if (!SWIG_IsOK(res1
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4800 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_From_int(static_cast< int >(result
));
4814 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
= 0;
4816 wxPen
*arg1
= (wxPen
*) 0 ;
4817 wxPen
*arg2
= (wxPen
*) 0 ;
4823 PyObject
* obj0
= 0 ;
4824 PyObject
* obj1
= 0 ;
4825 char * kwnames
[] = {
4826 (char *) "self",(char *) "other", NULL
4829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4834 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4836 if (!SWIG_IsOK(res2
)) {
4837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4839 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4855 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
= 0;
4857 wxPen
*arg1
= (wxPen
*) 0 ;
4858 wxPen
*arg2
= (wxPen
*) 0 ;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4866 char * kwnames
[] = {
4867 (char *) "self",(char *) "other", NULL
4870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4872 if (!SWIG_IsOK(res1
)) {
4873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4875 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4877 if (!SWIG_IsOK(res2
)) {
4878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4880 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4896 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4899 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4900 return SWIG_Py_Void();
4903 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4904 return SWIG_Python_InitShadowInstance(args
);
4907 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
= 0;
4909 wxColour
*arg1
= 0 ;
4910 int arg2
= (int) wxSOLID
;
4911 wxBrush
*result
= 0 ;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 char * kwnames
[] = {
4918 (char *) "colour",(char *) "style", NULL
4921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4924 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4928 if (!SWIG_IsOK(ecode2
)) {
4929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4931 arg2
= static_cast< int >(val2
);
4934 if (!wxPyCheckForApp()) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4947 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
= 0;
4949 wxBitmap
*arg1
= 0 ;
4950 wxBrush
*result
= 0 ;
4953 PyObject
* obj0
= 0 ;
4954 char * kwnames
[] = {
4955 (char *) "stippleBitmap", NULL
4958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4959 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4960 if (!SWIG_IsOK(res1
)) {
4961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4966 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4968 if (!wxPyCheckForApp()) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4981 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4982 PyObject
*resultobj
= 0;
4983 wxBrush
*arg1
= (wxBrush
*) 0 ;
4986 PyObject
*swig_obj
[1] ;
4988 if (!args
) SWIG_fail
;
4990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4991 if (!SWIG_IsOK(res1
)) {
4992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
4994 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= SWIG_Py_Void();
5009 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
= 0;
5011 wxBrush
*arg1
= (wxBrush
*) 0 ;
5012 wxColour
*arg2
= 0 ;
5016 PyObject
* obj0
= 0 ;
5017 PyObject
* obj1
= 0 ;
5018 char * kwnames
[] = {
5019 (char *) "self",(char *) "col", NULL
5022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5024 if (!SWIG_IsOK(res1
)) {
5025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5027 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 (arg1
)->SetColour((wxColour
const &)*arg2
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= SWIG_Py_Void();
5045 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
= 0;
5047 wxBrush
*arg1
= (wxBrush
*) 0 ;
5053 PyObject
* obj0
= 0 ;
5054 PyObject
* obj1
= 0 ;
5055 char * kwnames
[] = {
5056 (char *) "self",(char *) "style", NULL
5059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5061 if (!SWIG_IsOK(res1
)) {
5062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5064 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5066 if (!SWIG_IsOK(ecode2
)) {
5067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5069 arg2
= static_cast< int >(val2
);
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 (arg1
)->SetStyle(arg2
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= SWIG_Py_Void();
5083 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
= 0;
5085 wxBrush
*arg1
= (wxBrush
*) 0 ;
5086 wxBitmap
*arg2
= 0 ;
5091 PyObject
* obj0
= 0 ;
5092 PyObject
* obj1
= 0 ;
5093 char * kwnames
[] = {
5094 (char *) "self",(char *) "stipple", NULL
5097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5099 if (!SWIG_IsOK(res1
)) {
5100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5102 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5104 if (!SWIG_IsOK(res2
)) {
5105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5110 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= SWIG_Py_Void();
5124 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5125 PyObject
*resultobj
= 0;
5126 wxBrush
*arg1
= (wxBrush
*) 0 ;
5130 PyObject
*swig_obj
[1] ;
5132 if (!args
) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5138 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= ((wxBrush
const *)arg1
)->GetColour();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5152 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5153 PyObject
*resultobj
= 0;
5154 wxBrush
*arg1
= (wxBrush
*) 0 ;
5158 PyObject
*swig_obj
[1] ;
5160 if (!args
) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5166 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_From_int(static_cast< int >(result
));
5180 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5181 PyObject
*resultobj
= 0;
5182 wxBrush
*arg1
= (wxBrush
*) 0 ;
5183 wxBitmap
*result
= 0 ;
5186 PyObject
*swig_obj
[1] ;
5188 if (!args
) SWIG_fail
;
5190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5191 if (!SWIG_IsOK(res1
)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5194 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5208 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5209 PyObject
*resultobj
= 0;
5210 wxBrush
*arg1
= (wxBrush
*) 0 ;
5214 PyObject
*swig_obj
[1] ;
5216 if (!args
) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5222 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5238 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5239 PyObject
*resultobj
= 0;
5240 wxBrush
*arg1
= (wxBrush
*) 0 ;
5244 PyObject
*swig_obj
[1] ;
5246 if (!args
) SWIG_fail
;
5248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5249 if (!SWIG_IsOK(res1
)) {
5250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5252 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (bool)(arg1
)->Ok();
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5268 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5272 return SWIG_Py_Void();
5275 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5276 return SWIG_Python_InitShadowInstance(args
);
5279 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
= 0;
5281 wxString
*arg1
= 0 ;
5282 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5283 wxBitmap
*result
= 0 ;
5284 bool temp1
= false ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 char * kwnames
[] = {
5290 (char *) "name",(char *) "type", NULL
5293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5295 arg1
= wxString_in_helper(obj0
);
5296 if (arg1
== NULL
) SWIG_fail
;
5300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5301 if (!SWIG_IsOK(ecode2
)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5304 arg2
= static_cast< wxBitmapType
>(val2
);
5307 if (!wxPyCheckForApp()) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5328 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5329 PyObject
*resultobj
= 0;
5330 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5333 PyObject
*swig_obj
[1] ;
5335 if (!args
) SWIG_fail
;
5337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5338 if (!SWIG_IsOK(res1
)) {
5339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5341 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= SWIG_Py_Void();
5356 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
= 0;
5360 int arg3
= (int) -1 ;
5361 wxBitmap
*result
= 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 PyObject
* obj2
= 0 ;
5371 char * kwnames
[] = {
5372 (char *) "width",(char *) "height",(char *) "depth", NULL
5375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5376 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5377 if (!SWIG_IsOK(ecode1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5380 arg1
= static_cast< int >(val1
);
5381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5382 if (!SWIG_IsOK(ecode2
)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5385 arg2
= static_cast< int >(val2
);
5387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5388 if (!SWIG_IsOK(ecode3
)) {
5389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5391 arg3
= static_cast< int >(val3
);
5394 if (!wxPyCheckForApp()) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5407 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
= 0;
5410 wxBitmap
*result
= 0 ;
5413 PyObject
* obj0
= 0 ;
5414 char * kwnames
[] = {
5415 (char *) "icon", NULL
5418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5419 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5420 if (!SWIG_IsOK(res1
)) {
5421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5426 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5428 if (!wxPyCheckForApp()) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5441 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
= 0;
5444 int arg2
= (int) -1 ;
5445 wxBitmap
*result
= 0 ;
5450 PyObject
* obj0
= 0 ;
5451 PyObject
* obj1
= 0 ;
5452 char * kwnames
[] = {
5453 (char *) "image",(char *) "depth", NULL
5456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5457 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5458 if (!SWIG_IsOK(res1
)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5464 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5467 if (!SWIG_IsOK(ecode2
)) {
5468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5470 arg2
= static_cast< int >(val2
);
5473 if (!wxPyCheckForApp()) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5486 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
= 0;
5488 PyObject
*arg1
= (PyObject
*) 0 ;
5489 wxBitmap
*result
= 0 ;
5490 PyObject
* obj0
= 0 ;
5491 char * kwnames
[] = {
5492 (char *) "listOfStrings", NULL
5495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5498 if (!wxPyCheckForApp()) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5511 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
= 0;
5513 PyObject
*arg1
= (PyObject
*) 0 ;
5516 int arg4
= (int) 1 ;
5517 wxBitmap
*result
= 0 ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5526 PyObject
* obj2
= 0 ;
5527 PyObject
* obj3
= 0 ;
5528 char * kwnames
[] = {
5529 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5535 if (!SWIG_IsOK(ecode2
)) {
5536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5538 arg2
= static_cast< int >(val2
);
5539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5540 if (!SWIG_IsOK(ecode3
)) {
5541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5543 arg3
= static_cast< int >(val3
);
5545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5546 if (!SWIG_IsOK(ecode4
)) {
5547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5549 arg4
= static_cast< int >(val4
);
5552 if (!wxPyCheckForApp()) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5565 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5566 PyObject
*resultobj
= 0;
5567 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5571 PyObject
*swig_obj
[1] ;
5573 if (!args
) SWIG_fail
;
5575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5576 if (!SWIG_IsOK(res1
)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5579 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (bool)(arg1
)->Ok();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5595 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5596 PyObject
*resultobj
= 0;
5597 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5601 PyObject
*swig_obj
[1] ;
5603 if (!args
) SWIG_fail
;
5605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5606 if (!SWIG_IsOK(res1
)) {
5607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5609 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 result
= (int)(arg1
)->GetWidth();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_From_int(static_cast< int >(result
));
5623 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5624 PyObject
*resultobj
= 0;
5625 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5629 PyObject
*swig_obj
[1] ;
5631 if (!args
) SWIG_fail
;
5633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5634 if (!SWIG_IsOK(res1
)) {
5635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5637 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= (int)(arg1
)->GetHeight();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_From_int(static_cast< int >(result
));
5651 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5652 PyObject
*resultobj
= 0;
5653 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5657 PyObject
*swig_obj
[1] ;
5659 if (!args
) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5665 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (int)(arg1
)->GetDepth();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_From_int(static_cast< int >(result
));
5679 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5680 PyObject
*resultobj
= 0;
5681 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5685 PyObject
*swig_obj
[1] ;
5687 if (!args
) SWIG_fail
;
5689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5690 if (!SWIG_IsOK(res1
)) {
5691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5693 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= wxBitmap_GetSize(arg1
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5707 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 PyObject
*resultobj
= 0;
5709 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5710 SwigValueWrapper
<wxImage
> result
;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5721 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5735 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5736 PyObject
*resultobj
= 0;
5737 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5738 wxMask
*result
= 0 ;
5741 PyObject
*swig_obj
[1] ;
5743 if (!args
) SWIG_fail
;
5745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5746 if (!SWIG_IsOK(res1
)) {
5747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5749 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5763 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
= 0;
5765 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5766 wxMask
*arg2
= (wxMask
*) 0 ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5772 char * kwnames
[] = {
5773 (char *) "self",(char *) "mask", NULL
5776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5781 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5782 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5783 if (!SWIG_IsOK(res2
)) {
5784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 (arg1
)->SetMask(arg2
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= SWIG_Py_Void();
5799 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
= 0;
5801 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5802 wxColour
*arg2
= 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5808 char * kwnames
[] = {
5809 (char *) "self",(char *) "colour", NULL
5812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5814 if (!SWIG_IsOK(res1
)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5817 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_Py_Void();
5835 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5839 SwigValueWrapper
<wxBitmap
> result
;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 char * kwnames
[] = {
5846 (char *) "self",(char *) "rect", NULL
5849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5851 if (!SWIG_IsOK(res1
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5854 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5857 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5872 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
= 0;
5874 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5875 wxString
*arg2
= 0 ;
5877 wxPalette
*arg4
= (wxPalette
*) NULL
;
5881 bool temp2
= false ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 PyObject
* obj2
= 0 ;
5889 PyObject
* obj3
= 0 ;
5890 char * kwnames
[] = {
5891 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5896 if (!SWIG_IsOK(res1
)) {
5897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5899 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5901 arg2
= wxString_in_helper(obj1
);
5902 if (arg2
== NULL
) SWIG_fail
;
5905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5906 if (!SWIG_IsOK(ecode3
)) {
5907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5909 arg3
= static_cast< wxBitmapType
>(val3
);
5911 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5912 if (!SWIG_IsOK(res4
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5915 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5940 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
= 0;
5942 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5943 wxString
*arg2
= 0 ;
5948 bool temp2
= false ;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5953 PyObject
* obj2
= 0 ;
5954 char * kwnames
[] = {
5955 (char *) "self",(char *) "name",(char *) "type", NULL
5958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5963 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5965 arg2
= wxString_in_helper(obj1
);
5966 if (arg2
== NULL
) SWIG_fail
;
5969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5970 if (!SWIG_IsOK(ecode3
)) {
5971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5973 arg3
= static_cast< wxBitmapType
>(val3
);
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5997 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5998 PyObject
*resultobj
= 0;
5999 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6000 wxPalette
*result
= 0 ;
6003 PyObject
*swig_obj
[1] ;
6005 if (!args
) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6011 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6025 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
= 0;
6027 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6036 char * kwnames
[] = {
6037 (char *) "self",(char *) "icon", NULL
6040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6042 if (!SWIG_IsOK(res1
)) {
6043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6045 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6047 if (!SWIG_IsOK(res2
)) {
6048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6053 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6069 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
= 0;
6071 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6078 PyObject
* obj1
= 0 ;
6079 char * kwnames
[] = {
6080 (char *) "self",(char *) "height", NULL
6083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6085 if (!SWIG_IsOK(res1
)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6088 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6090 if (!SWIG_IsOK(ecode2
)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6093 arg2
= static_cast< int >(val2
);
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 (arg1
)->SetHeight(arg2
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_Py_Void();
6107 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
= 0;
6109 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6116 PyObject
* obj1
= 0 ;
6117 char * kwnames
[] = {
6118 (char *) "self",(char *) "width", NULL
6121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6123 if (!SWIG_IsOK(res1
)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6126 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6128 if (!SWIG_IsOK(ecode2
)) {
6129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6131 arg2
= static_cast< int >(val2
);
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 (arg1
)->SetWidth(arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= SWIG_Py_Void();
6145 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= 0;
6147 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "self",(char *) "depth", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6161 if (!SWIG_IsOK(res1
)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6164 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6166 if (!SWIG_IsOK(ecode2
)) {
6167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6169 arg2
= static_cast< int >(val2
);
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 (arg1
)->SetDepth(arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_Py_Void();
6183 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
= 0;
6185 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6192 char * kwnames
[] = {
6193 (char *) "self",(char *) "size", NULL
6196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6198 if (!SWIG_IsOK(res1
)) {
6199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6201 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_Py_Void();
6219 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
= 0;
6221 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6222 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6229 PyObject
* obj1
= 0 ;
6230 char * kwnames
[] = {
6231 (char *) "self",(char *) "other", NULL
6234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6236 if (!SWIG_IsOK(res1
)) {
6237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6239 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6241 if (!SWIG_IsOK(res2
)) {
6242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6244 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6260 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6263 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6271 char * kwnames
[] = {
6272 (char *) "self",(char *) "other", NULL
6275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6277 if (!SWIG_IsOK(res1
)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6280 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6282 if (!SWIG_IsOK(res2
)) {
6283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6285 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6304 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6305 return SWIG_Py_Void();
6308 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6309 return SWIG_Python_InitShadowInstance(args
);
6312 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
= 0;
6314 wxBitmap
*arg1
= 0 ;
6315 wxColour
const &arg2_defvalue
= wxNullColour
;
6316 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6317 wxMask
*result
= 0 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 char * kwnames
[] = {
6324 (char *) "bitmap",(char *) "colour", NULL
6327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6328 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6329 if (!SWIG_IsOK(res1
)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6335 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6339 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6343 if (!wxPyCheckForApp()) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6356 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxMask
*arg1
= (wxMask
*) 0 ;
6361 PyObject
*swig_obj
[1] ;
6363 if (!args
) SWIG_fail
;
6365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6366 if (!SWIG_IsOK(res1
)) {
6367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6369 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_Py_Void();
6384 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6387 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6388 return SWIG_Py_Void();
6391 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6392 return SWIG_Python_InitShadowInstance(args
);
6395 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
= 0;
6397 wxString
*arg1
= 0 ;
6399 int arg3
= (int) -1 ;
6400 int arg4
= (int) -1 ;
6401 wxIcon
*result
= 0 ;
6402 bool temp1
= false ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6411 PyObject
* obj2
= 0 ;
6412 PyObject
* obj3
= 0 ;
6413 char * kwnames
[] = {
6414 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6419 arg1
= wxString_in_helper(obj0
);
6420 if (arg1
== NULL
) SWIG_fail
;
6423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6424 if (!SWIG_IsOK(ecode2
)) {
6425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6427 arg2
= static_cast< wxBitmapType
>(val2
);
6429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6430 if (!SWIG_IsOK(ecode3
)) {
6431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6433 arg3
= static_cast< int >(val3
);
6436 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6437 if (!SWIG_IsOK(ecode4
)) {
6438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6440 arg4
= static_cast< int >(val4
);
6443 if (!wxPyCheckForApp()) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6464 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6465 PyObject
*resultobj
= 0;
6466 wxIcon
*arg1
= (wxIcon
*) 0 ;
6469 PyObject
*swig_obj
[1] ;
6471 if (!args
) SWIG_fail
;
6473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6474 if (!SWIG_IsOK(res1
)) {
6475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6477 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= SWIG_Py_Void();
6492 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6493 PyObject
*resultobj
= 0;
6494 wxIcon
*result
= 0 ;
6496 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6498 if (!wxPyCheckForApp()) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (wxIcon
*)new wxIcon();
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6511 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
= 0;
6513 wxIconLocation
*arg1
= 0 ;
6514 wxIcon
*result
= 0 ;
6517 PyObject
* obj0
= 0 ;
6518 char * kwnames
[] = {
6519 (char *) "loc", NULL
6522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6523 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6524 if (!SWIG_IsOK(res1
)) {
6525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6530 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6532 if (!wxPyCheckForApp()) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6545 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
= 0;
6547 wxBitmap
*arg1
= 0 ;
6548 wxIcon
*result
= 0 ;
6551 PyObject
* obj0
= 0 ;
6552 char * kwnames
[] = {
6553 (char *) "bmp", NULL
6556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6557 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6558 if (!SWIG_IsOK(res1
)) {
6559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6564 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6566 if (!wxPyCheckForApp()) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6579 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
= 0;
6581 PyObject
*arg1
= (PyObject
*) 0 ;
6582 wxIcon
*result
= 0 ;
6583 PyObject
* obj0
= 0 ;
6584 char * kwnames
[] = {
6585 (char *) "listOfStrings", NULL
6588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6591 if (!wxPyCheckForApp()) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (wxIcon
*)new_wxIcon(arg1
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6604 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxIcon
*arg1
= (wxIcon
*) 0 ;
6607 wxString
*arg2
= 0 ;
6612 bool temp2
= false ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 PyObject
* obj2
= 0 ;
6618 char * kwnames
[] = {
6619 (char *) "self",(char *) "name",(char *) "type", NULL
6622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6624 if (!SWIG_IsOK(res1
)) {
6625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6627 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6629 arg2
= wxString_in_helper(obj1
);
6630 if (arg2
== NULL
) SWIG_fail
;
6633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6634 if (!SWIG_IsOK(ecode3
)) {
6635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6637 arg3
= static_cast< wxBitmapType
>(val3
);
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6661 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6662 PyObject
*resultobj
= 0;
6663 wxIcon
*arg1
= (wxIcon
*) 0 ;
6667 PyObject
*swig_obj
[1] ;
6669 if (!args
) SWIG_fail
;
6671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6672 if (!SWIG_IsOK(res1
)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6675 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 result
= (bool)(arg1
)->Ok();
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6691 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6692 PyObject
*resultobj
= 0;
6693 wxIcon
*arg1
= (wxIcon
*) 0 ;
6697 PyObject
*swig_obj
[1] ;
6699 if (!args
) SWIG_fail
;
6701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6702 if (!SWIG_IsOK(res1
)) {
6703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6705 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (int)(arg1
)->GetWidth();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_From_int(static_cast< int >(result
));
6719 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6720 PyObject
*resultobj
= 0;
6721 wxIcon
*arg1
= (wxIcon
*) 0 ;
6725 PyObject
*swig_obj
[1] ;
6727 if (!args
) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6733 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (int)(arg1
)->GetHeight();
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_From_int(static_cast< int >(result
));
6747 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6748 PyObject
*resultobj
= 0;
6749 wxIcon
*arg1
= (wxIcon
*) 0 ;
6753 PyObject
*swig_obj
[1] ;
6755 if (!args
) SWIG_fail
;
6757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6758 if (!SWIG_IsOK(res1
)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6761 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (int)(arg1
)->GetDepth();
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_From_int(static_cast< int >(result
));
6775 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
= 0;
6777 wxIcon
*arg1
= (wxIcon
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 char * kwnames
[] = {
6786 (char *) "self",(char *) "w", NULL
6789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6791 if (!SWIG_IsOK(res1
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6794 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6796 if (!SWIG_IsOK(ecode2
)) {
6797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6799 arg2
= static_cast< int >(val2
);
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 (arg1
)->SetWidth(arg2
);
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_Py_Void();
6813 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= 0;
6815 wxIcon
*arg1
= (wxIcon
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 char * kwnames
[] = {
6824 (char *) "self",(char *) "h", NULL
6827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6832 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6834 if (!SWIG_IsOK(ecode2
)) {
6835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6837 arg2
= static_cast< int >(val2
);
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 (arg1
)->SetHeight(arg2
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_Py_Void();
6851 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= 0;
6853 wxIcon
*arg1
= (wxIcon
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 char * kwnames
[] = {
6862 (char *) "self",(char *) "d", NULL
6865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6867 if (!SWIG_IsOK(res1
)) {
6868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6870 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6872 if (!SWIG_IsOK(ecode2
)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6875 arg2
= static_cast< int >(val2
);
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 (arg1
)->SetDepth(arg2
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_Py_Void();
6889 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxIcon
*arg1
= (wxIcon
*) 0 ;
6892 wxBitmap
*arg2
= 0 ;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6899 char * kwnames
[] = {
6900 (char *) "self",(char *) "bmp", NULL
6903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6905 if (!SWIG_IsOK(res1
)) {
6906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6908 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6910 if (!SWIG_IsOK(res2
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6916 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_Py_Void();
6930 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6933 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6934 return SWIG_Py_Void();
6937 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6938 return SWIG_Python_InitShadowInstance(args
);
6941 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
= 0;
6943 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6944 int arg2
= (int) 0 ;
6945 wxIconLocation
*result
= 0 ;
6946 bool temp1
= false ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 char * kwnames
[] = {
6952 (char *) "filename",(char *) "num", NULL
6955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6958 arg1
= wxString_in_helper(obj0
);
6959 if (arg1
== NULL
) SWIG_fail
;
6964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6965 if (!SWIG_IsOK(ecode2
)) {
6966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6968 arg2
= static_cast< int >(val2
);
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6991 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6992 PyObject
*resultobj
= 0;
6993 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6996 PyObject
*swig_obj
[1] ;
6998 if (!args
) SWIG_fail
;
7000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7001 if (!SWIG_IsOK(res1
)) {
7002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7004 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= SWIG_Py_Void();
7019 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7020 PyObject
*resultobj
= 0;
7021 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7025 PyObject
*swig_obj
[1] ;
7027 if (!args
) SWIG_fail
;
7029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7030 if (!SWIG_IsOK(res1
)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7033 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7049 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
= 0;
7051 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7052 wxString
*arg2
= 0 ;
7055 bool temp2
= false ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7058 char * kwnames
[] = {
7059 (char *) "self",(char *) "filename", NULL
7062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7067 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7069 arg2
= wxString_in_helper(obj1
);
7070 if (arg2
== NULL
) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 (arg1
)->SetFileName((wxString
const &)*arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_Py_Void();
7094 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7095 PyObject
*resultobj
= 0;
7096 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7097 wxString
*result
= 0 ;
7100 PyObject
*swig_obj
[1] ;
7102 if (!args
) SWIG_fail
;
7104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7105 if (!SWIG_IsOK(res1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7108 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7113 result
= (wxString
*) &_result_ref
;
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7122 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7131 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
= 0;
7133 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 char * kwnames
[] = {
7142 (char *) "self",(char *) "num", NULL
7145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7147 if (!SWIG_IsOK(res1
)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7150 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7152 if (!SWIG_IsOK(ecode2
)) {
7153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7155 arg2
= static_cast< int >(val2
);
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 wxIconLocation_SetIndex(arg1
,arg2
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_Py_Void();
7169 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7170 PyObject
*resultobj
= 0;
7171 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7175 PyObject
*swig_obj
[1] ;
7177 if (!args
) SWIG_fail
;
7179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7180 if (!SWIG_IsOK(res1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7183 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (int)wxIconLocation_GetIndex(arg1
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_From_int(static_cast< int >(result
));
7197 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7200 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7201 return SWIG_Py_Void();
7204 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7205 return SWIG_Python_InitShadowInstance(args
);
7208 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7209 PyObject
*resultobj
= 0;
7210 wxIconBundle
*result
= 0 ;
7212 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (wxIconBundle
*)new wxIconBundle();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7226 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
= 0;
7228 wxString
*arg1
= 0 ;
7230 wxIconBundle
*result
= 0 ;
7231 bool temp1
= false ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7236 char * kwnames
[] = {
7237 (char *) "file",(char *) "type", NULL
7240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7242 arg1
= wxString_in_helper(obj0
);
7243 if (arg1
== NULL
) SWIG_fail
;
7246 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7247 if (!SWIG_IsOK(ecode2
)) {
7248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7250 arg2
= static_cast< long >(val2
);
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7272 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7275 wxIconBundle
*result
= 0 ;
7278 PyObject
* obj0
= 0 ;
7279 char * kwnames
[] = {
7280 (char *) "icon", NULL
7283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7284 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7285 if (!SWIG_IsOK(res1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7291 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7305 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7306 PyObject
*resultobj
= 0;
7307 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7310 PyObject
*swig_obj
[1] ;
7312 if (!args
) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7318 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= SWIG_Py_Void();
7333 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
*resultobj
= 0;
7335 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7341 PyObject
* obj0
= 0 ;
7342 PyObject
* obj1
= 0 ;
7343 char * kwnames
[] = {
7344 (char *) "self",(char *) "icon", NULL
7347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7349 if (!SWIG_IsOK(res1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7352 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7354 if (!SWIG_IsOK(res2
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7360 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_Py_Void();
7374 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
= 0;
7376 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7377 wxString
*arg2
= 0 ;
7381 bool temp2
= false ;
7384 PyObject
* obj0
= 0 ;
7385 PyObject
* obj1
= 0 ;
7386 PyObject
* obj2
= 0 ;
7387 char * kwnames
[] = {
7388 (char *) "self",(char *) "file",(char *) "type", NULL
7391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7393 if (!SWIG_IsOK(res1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7396 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7398 arg2
= wxString_in_helper(obj1
);
7399 if (arg2
== NULL
) SWIG_fail
;
7402 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7403 if (!SWIG_IsOK(ecode3
)) {
7404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7406 arg3
= static_cast< long >(val3
);
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_Py_Void();
7428 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
= 0;
7430 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7432 wxIcon
*result
= 0 ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 char * kwnames
[] = {
7439 (char *) "self",(char *) "size", NULL
7442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7444 if (!SWIG_IsOK(res1
)) {
7445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7447 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7450 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7456 result
= (wxIcon
*) &_result_ref
;
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7462 wxIcon
* resultptr
= new wxIcon(*result
);
7463 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7471 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7474 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7475 return SWIG_Py_Void();
7478 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7479 return SWIG_Python_InitShadowInstance(args
);
7482 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
= 0;
7484 wxString
*arg1
= 0 ;
7486 int arg3
= (int) 0 ;
7487 int arg4
= (int) 0 ;
7488 wxCursor
*result
= 0 ;
7489 bool temp1
= false ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7498 PyObject
* obj2
= 0 ;
7499 PyObject
* obj3
= 0 ;
7500 char * kwnames
[] = {
7501 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7506 arg1
= wxString_in_helper(obj0
);
7507 if (arg1
== NULL
) SWIG_fail
;
7510 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7511 if (!SWIG_IsOK(ecode2
)) {
7512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7514 arg2
= static_cast< long >(val2
);
7516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7517 if (!SWIG_IsOK(ecode3
)) {
7518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7520 arg3
= static_cast< int >(val3
);
7523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7524 if (!SWIG_IsOK(ecode4
)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7527 arg4
= static_cast< int >(val4
);
7530 if (!wxPyCheckForApp()) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7551 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7552 PyObject
*resultobj
= 0;
7553 wxCursor
*arg1
= (wxCursor
*) 0 ;
7556 PyObject
*swig_obj
[1] ;
7558 if (!args
) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7564 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_Py_Void();
7579 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
= 0;
7582 wxCursor
*result
= 0 ;
7585 PyObject
* obj0
= 0 ;
7586 char * kwnames
[] = {
7590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7591 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7592 if (!SWIG_IsOK(ecode1
)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7595 arg1
= static_cast< int >(val1
);
7597 if (!wxPyCheckForApp()) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (wxCursor
*)new wxCursor(arg1
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7610 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
= 0;
7613 wxCursor
*result
= 0 ;
7616 PyObject
* obj0
= 0 ;
7617 char * kwnames
[] = {
7618 (char *) "image", NULL
7621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7623 if (!SWIG_IsOK(res1
)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7629 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7631 if (!wxPyCheckForApp()) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7644 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7645 PyObject
*resultobj
= 0;
7646 wxCursor
*arg1
= (wxCursor
*) 0 ;
7650 PyObject
*swig_obj
[1] ;
7652 if (!args
) SWIG_fail
;
7654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7655 if (!SWIG_IsOK(res1
)) {
7656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7658 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (bool)(arg1
)->Ok();
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7674 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7677 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7678 return SWIG_Py_Void();
7681 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7682 return SWIG_Python_InitShadowInstance(args
);
7685 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
= 0;
7687 int arg1
= (int) 0 ;
7688 int arg2
= (int) 0 ;
7689 int arg3
= (int) 0 ;
7690 int arg4
= (int) 0 ;
7691 wxRegion
*result
= 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7702 PyObject
* obj2
= 0 ;
7703 PyObject
* obj3
= 0 ;
7704 char * kwnames
[] = {
7705 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7711 if (!SWIG_IsOK(ecode1
)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7714 arg1
= static_cast< int >(val1
);
7717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7718 if (!SWIG_IsOK(ecode2
)) {
7719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7721 arg2
= static_cast< int >(val2
);
7724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7725 if (!SWIG_IsOK(ecode3
)) {
7726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7728 arg3
= static_cast< int >(val3
);
7731 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7732 if (!SWIG_IsOK(ecode4
)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7735 arg4
= static_cast< int >(val4
);
7738 if (!wxPyCheckForApp()) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7751 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
= 0;
7753 wxBitmap
*arg1
= 0 ;
7754 wxRegion
*result
= 0 ;
7757 PyObject
* obj0
= 0 ;
7758 char * kwnames
[] = {
7759 (char *) "bmp", NULL
7762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7763 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7764 if (!SWIG_IsOK(res1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7770 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7772 if (!wxPyCheckForApp()) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7785 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
= 0;
7787 wxBitmap
*arg1
= 0 ;
7788 wxColour
*arg2
= 0 ;
7789 int arg3
= (int) 0 ;
7790 wxRegion
*result
= 0 ;
7796 PyObject
* obj0
= 0 ;
7797 PyObject
* obj1
= 0 ;
7798 PyObject
* obj2
= 0 ;
7799 char * kwnames
[] = {
7800 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7804 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7805 if (!SWIG_IsOK(res1
)) {
7806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7811 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7814 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7818 if (!SWIG_IsOK(ecode3
)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7821 arg3
= static_cast< int >(val3
);
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7837 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
= 0;
7840 wxPoint
*arg2
= (wxPoint
*) 0 ;
7841 int arg3
= (int) wxWINDING_RULE
;
7842 wxRegion
*result
= 0 ;
7845 PyObject
* obj0
= 0 ;
7846 PyObject
* obj1
= 0 ;
7847 char * kwnames
[] = {
7848 (char *) "points",(char *) "fillStyle", NULL
7851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7853 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7854 if (arg2
== NULL
) SWIG_fail
;
7857 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7858 if (!SWIG_IsOK(ecode3
)) {
7859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7861 arg3
= static_cast< int >(val3
);
7864 if (!wxPyCheckForApp()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7872 if (arg2
) delete [] arg2
;
7877 if (arg2
) delete [] arg2
;
7883 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7884 PyObject
*resultobj
= 0;
7885 wxRegion
*arg1
= (wxRegion
*) 0 ;
7888 PyObject
*swig_obj
[1] ;
7890 if (!args
) SWIG_fail
;
7892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7893 if (!SWIG_IsOK(res1
)) {
7894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7896 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_Py_Void();
7911 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7912 PyObject
*resultobj
= 0;
7913 wxRegion
*arg1
= (wxRegion
*) 0 ;
7916 PyObject
*swig_obj
[1] ;
7918 if (!args
) SWIG_fail
;
7920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7921 if (!SWIG_IsOK(res1
)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7924 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_Py_Void();
7938 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
= 0;
7940 wxRegion
*arg1
= (wxRegion
*) 0 ;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 PyObject
* obj2
= 0 ;
7953 char * kwnames
[] = {
7954 (char *) "self",(char *) "x",(char *) "y", NULL
7957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7959 if (!SWIG_IsOK(res1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7962 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7964 if (!SWIG_IsOK(ecode2
)) {
7965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7967 arg2
= static_cast< int >(val2
);
7968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7969 if (!SWIG_IsOK(ecode3
)) {
7970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7972 arg3
= static_cast< int >(val3
);
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7988 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
= 0;
7990 wxRegion
*arg1
= (wxRegion
*) 0 ;
7993 wxRegionContain result
;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 PyObject
* obj2
= 0 ;
8003 char * kwnames
[] = {
8004 (char *) "self",(char *) "x",(char *) "y", NULL
8007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8009 if (!SWIG_IsOK(res1
)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8012 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8014 if (!SWIG_IsOK(ecode2
)) {
8015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8017 arg2
= static_cast< int >(val2
);
8018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8019 if (!SWIG_IsOK(ecode3
)) {
8020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8022 arg3
= static_cast< int >(val3
);
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_From_int(static_cast< int >(result
));
8036 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
= 0;
8038 wxRegion
*arg1
= (wxRegion
*) 0 ;
8040 wxRegionContain result
;
8044 PyObject
* obj0
= 0 ;
8045 PyObject
* obj1
= 0 ;
8046 char * kwnames
[] = {
8047 (char *) "self",(char *) "pt", NULL
8050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8052 if (!SWIG_IsOK(res1
)) {
8053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= SWIG_From_int(static_cast< int >(result
));
8073 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
= 0;
8075 wxRegion
*arg1
= (wxRegion
*) 0 ;
8077 wxRegionContain result
;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8083 char * kwnames
[] = {
8084 (char *) "self",(char *) "rect", NULL
8087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8089 if (!SWIG_IsOK(res1
)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8092 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8095 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= SWIG_From_int(static_cast< int >(result
));
8110 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
= 0;
8112 wxRegion
*arg1
= (wxRegion
*) 0 ;
8117 wxRegionContain result
;
8128 PyObject
* obj0
= 0 ;
8129 PyObject
* obj1
= 0 ;
8130 PyObject
* obj2
= 0 ;
8131 PyObject
* obj3
= 0 ;
8132 PyObject
* obj4
= 0 ;
8133 char * kwnames
[] = {
8134 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8139 if (!SWIG_IsOK(res1
)) {
8140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8142 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8144 if (!SWIG_IsOK(ecode2
)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8147 arg2
= static_cast< int >(val2
);
8148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8149 if (!SWIG_IsOK(ecode3
)) {
8150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8152 arg3
= static_cast< int >(val3
);
8153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8154 if (!SWIG_IsOK(ecode4
)) {
8155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8157 arg4
= static_cast< int >(val4
);
8158 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8159 if (!SWIG_IsOK(ecode5
)) {
8160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8162 arg5
= static_cast< int >(val5
);
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= SWIG_From_int(static_cast< int >(result
));
8176 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8177 PyObject
*resultobj
= 0;
8178 wxRegion
*arg1
= (wxRegion
*) 0 ;
8182 PyObject
*swig_obj
[1] ;
8184 if (!args
) SWIG_fail
;
8186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8187 if (!SWIG_IsOK(res1
)) {
8188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8190 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (arg1
)->GetBox();
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8204 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
= 0;
8206 wxRegion
*arg1
= (wxRegion
*) 0 ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8224 PyObject
* obj2
= 0 ;
8225 PyObject
* obj3
= 0 ;
8226 PyObject
* obj4
= 0 ;
8227 char * kwnames
[] = {
8228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8236 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8238 if (!SWIG_IsOK(ecode2
)) {
8239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8241 arg2
= static_cast< int >(val2
);
8242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8243 if (!SWIG_IsOK(ecode3
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8246 arg3
= static_cast< int >(val3
);
8247 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8248 if (!SWIG_IsOK(ecode4
)) {
8249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8251 arg4
= static_cast< int >(val4
);
8252 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8253 if (!SWIG_IsOK(ecode5
)) {
8254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8256 arg5
= static_cast< int >(val5
);
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8272 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
= 0;
8274 wxRegion
*arg1
= (wxRegion
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8281 PyObject
* obj1
= 0 ;
8282 char * kwnames
[] = {
8283 (char *) "self",(char *) "rect", NULL
8286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8288 if (!SWIG_IsOK(res1
)) {
8289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8291 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8294 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8311 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
= 0;
8313 wxRegion
*arg1
= (wxRegion
*) 0 ;
8314 wxRegion
*arg2
= 0 ;
8320 PyObject
* obj0
= 0 ;
8321 PyObject
* obj1
= 0 ;
8322 char * kwnames
[] = {
8323 (char *) "self",(char *) "region", NULL
8326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8328 if (!SWIG_IsOK(res1
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8331 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8333 if (!SWIG_IsOK(res2
)) {
8334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8339 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8355 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8356 PyObject
*resultobj
= 0;
8357 wxRegion
*arg1
= (wxRegion
*) 0 ;
8361 PyObject
*swig_obj
[1] ;
8363 if (!args
) SWIG_fail
;
8365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8366 if (!SWIG_IsOK(res1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8369 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 result
= (bool)(arg1
)->IsEmpty();
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8385 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
= 0;
8387 wxRegion
*arg1
= (wxRegion
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8405 PyObject
* obj2
= 0 ;
8406 PyObject
* obj3
= 0 ;
8407 PyObject
* obj4
= 0 ;
8408 char * kwnames
[] = {
8409 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8414 if (!SWIG_IsOK(res1
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8417 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8419 if (!SWIG_IsOK(ecode2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8422 arg2
= static_cast< int >(val2
);
8423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8424 if (!SWIG_IsOK(ecode3
)) {
8425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8427 arg3
= static_cast< int >(val3
);
8428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8429 if (!SWIG_IsOK(ecode4
)) {
8430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8432 arg4
= static_cast< int >(val4
);
8433 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8434 if (!SWIG_IsOK(ecode5
)) {
8435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8437 arg5
= static_cast< int >(val5
);
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8453 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
= 0;
8455 wxRegion
*arg1
= (wxRegion
*) 0 ;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8463 char * kwnames
[] = {
8464 (char *) "self",(char *) "rect", NULL
8467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8469 if (!SWIG_IsOK(res1
)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8472 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8475 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8492 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
= 0;
8494 wxRegion
*arg1
= (wxRegion
*) 0 ;
8495 wxRegion
*arg2
= 0 ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8503 char * kwnames
[] = {
8504 (char *) "self",(char *) "region", NULL
8507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8509 if (!SWIG_IsOK(res1
)) {
8510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8512 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8514 if (!SWIG_IsOK(res2
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8520 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8536 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
= 0;
8538 wxRegion
*arg1
= (wxRegion
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8557 PyObject
* obj3
= 0 ;
8558 PyObject
* obj4
= 0 ;
8559 char * kwnames
[] = {
8560 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8565 if (!SWIG_IsOK(res1
)) {
8566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8568 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8570 if (!SWIG_IsOK(ecode2
)) {
8571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8573 arg2
= static_cast< int >(val2
);
8574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8575 if (!SWIG_IsOK(ecode3
)) {
8576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8578 arg3
= static_cast< int >(val3
);
8579 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8580 if (!SWIG_IsOK(ecode4
)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8583 arg4
= static_cast< int >(val4
);
8584 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8585 if (!SWIG_IsOK(ecode5
)) {
8586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8588 arg5
= static_cast< int >(val5
);
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8604 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
= 0;
8606 wxRegion
*arg1
= (wxRegion
*) 0 ;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8614 char * kwnames
[] = {
8615 (char *) "self",(char *) "rect", NULL
8618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8620 if (!SWIG_IsOK(res1
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8623 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8626 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8643 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxRegion
*arg1
= (wxRegion
*) 0 ;
8646 wxRegion
*arg2
= 0 ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 char * kwnames
[] = {
8655 (char *) "self",(char *) "region", NULL
8658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8660 if (!SWIG_IsOK(res1
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8663 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8665 if (!SWIG_IsOK(res2
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8671 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8687 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxRegion
*arg1
= (wxRegion
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8707 PyObject
* obj2
= 0 ;
8708 PyObject
* obj3
= 0 ;
8709 PyObject
* obj4
= 0 ;
8710 char * kwnames
[] = {
8711 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8716 if (!SWIG_IsOK(res1
)) {
8717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8719 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8721 if (!SWIG_IsOK(ecode2
)) {
8722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8724 arg2
= static_cast< int >(val2
);
8725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8726 if (!SWIG_IsOK(ecode3
)) {
8727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8729 arg3
= static_cast< int >(val3
);
8730 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8731 if (!SWIG_IsOK(ecode4
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8734 arg4
= static_cast< int >(val4
);
8735 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8736 if (!SWIG_IsOK(ecode5
)) {
8737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8739 arg5
= static_cast< int >(val5
);
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8755 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
= 0;
8757 wxRegion
*arg1
= (wxRegion
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8765 char * kwnames
[] = {
8766 (char *) "self",(char *) "rect", NULL
8769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8771 if (!SWIG_IsOK(res1
)) {
8772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8774 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8777 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8794 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
= 0;
8796 wxRegion
*arg1
= (wxRegion
*) 0 ;
8797 wxRegion
*arg2
= 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 char * kwnames
[] = {
8806 (char *) "self",(char *) "region", NULL
8809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8811 if (!SWIG_IsOK(res1
)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8814 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8816 if (!SWIG_IsOK(res2
)) {
8817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8822 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8838 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8839 PyObject
*resultobj
= 0;
8840 wxRegion
*arg1
= (wxRegion
*) 0 ;
8841 SwigValueWrapper
<wxBitmap
> result
;
8844 PyObject
*swig_obj
[1] ;
8846 if (!args
) SWIG_fail
;
8848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8849 if (!SWIG_IsOK(res1
)) {
8850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8852 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (arg1
)->ConvertToBitmap();
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8866 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
= 0;
8868 wxRegion
*arg1
= (wxRegion
*) 0 ;
8869 wxBitmap
*arg2
= 0 ;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 char * kwnames
[] = {
8878 (char *) "self",(char *) "bmp", NULL
8881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8883 if (!SWIG_IsOK(res1
)) {
8884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8886 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8888 if (!SWIG_IsOK(res2
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8894 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8910 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
= 0;
8912 wxRegion
*arg1
= (wxRegion
*) 0 ;
8913 wxBitmap
*arg2
= 0 ;
8914 wxColour
*arg3
= 0 ;
8915 int arg4
= (int) 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 PyObject
* obj2
= 0 ;
8927 PyObject
* obj3
= 0 ;
8928 char * kwnames
[] = {
8929 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8934 if (!SWIG_IsOK(res1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8937 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8939 if (!SWIG_IsOK(res2
)) {
8940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8945 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8948 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8952 if (!SWIG_IsOK(ecode4
)) {
8953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8955 arg4
= static_cast< int >(val4
);
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8972 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8975 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8976 return SWIG_Py_Void();
8979 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8980 return SWIG_Python_InitShadowInstance(args
);
8983 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
= 0;
8985 wxRegion
*arg1
= 0 ;
8986 wxRegionIterator
*result
= 0 ;
8989 PyObject
* obj0
= 0 ;
8990 char * kwnames
[] = {
8991 (char *) "region", NULL
8994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
8995 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
8996 if (!SWIG_IsOK(res1
)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9002 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9004 if (!wxPyCheckForApp()) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9017 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9018 PyObject
*resultobj
= 0;
9019 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9022 PyObject
*swig_obj
[1] ;
9024 if (!args
) SWIG_fail
;
9026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9027 if (!SWIG_IsOK(res1
)) {
9028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9030 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= SWIG_Py_Void();
9045 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9046 PyObject
*resultobj
= 0;
9047 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9051 PyObject
*swig_obj
[1] ;
9053 if (!args
) SWIG_fail
;
9055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9056 if (!SWIG_IsOK(res1
)) {
9057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9059 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (int)(arg1
)->GetX();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_From_int(static_cast< int >(result
));
9073 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9074 PyObject
*resultobj
= 0;
9075 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9079 PyObject
*swig_obj
[1] ;
9081 if (!args
) SWIG_fail
;
9083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9084 if (!SWIG_IsOK(res1
)) {
9085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9087 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (int)(arg1
)->GetY();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= SWIG_From_int(static_cast< int >(result
));
9101 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9102 PyObject
*resultobj
= 0;
9103 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9107 PyObject
*swig_obj
[1] ;
9109 if (!args
) SWIG_fail
;
9111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9112 if (!SWIG_IsOK(res1
)) {
9113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9115 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (int)(arg1
)->GetW();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_From_int(static_cast< int >(result
));
9129 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9130 PyObject
*resultobj
= 0;
9131 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9135 PyObject
*swig_obj
[1] ;
9137 if (!args
) SWIG_fail
;
9139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9140 if (!SWIG_IsOK(res1
)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9143 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (int)(arg1
)->GetWidth();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_From_int(static_cast< int >(result
));
9157 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9158 PyObject
*resultobj
= 0;
9159 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9163 PyObject
*swig_obj
[1] ;
9165 if (!args
) SWIG_fail
;
9167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9168 if (!SWIG_IsOK(res1
)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9171 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (int)(arg1
)->GetH();
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_From_int(static_cast< int >(result
));
9185 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9186 PyObject
*resultobj
= 0;
9187 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9191 PyObject
*swig_obj
[1] ;
9193 if (!args
) SWIG_fail
;
9195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9196 if (!SWIG_IsOK(res1
)) {
9197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9199 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (int)(arg1
)->GetHeight();
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_From_int(static_cast< int >(result
));
9213 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9214 PyObject
*resultobj
= 0;
9215 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9219 PyObject
*swig_obj
[1] ;
9221 if (!args
) SWIG_fail
;
9223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9224 if (!SWIG_IsOK(res1
)) {
9225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9227 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 result
= (arg1
)->GetRect();
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9241 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9242 PyObject
*resultobj
= 0;
9243 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9247 PyObject
*swig_obj
[1] ;
9249 if (!args
) SWIG_fail
;
9251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9252 if (!SWIG_IsOK(res1
)) {
9253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9255 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (bool)(arg1
)->HaveRects();
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9271 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9272 PyObject
*resultobj
= 0;
9273 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9276 PyObject
*swig_obj
[1] ;
9278 if (!args
) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9284 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_Py_Void();
9298 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9299 PyObject
*resultobj
= 0;
9300 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9303 PyObject
*swig_obj
[1] ;
9305 if (!args
) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9311 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 wxRegionIterator_Next(arg1
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= SWIG_Py_Void();
9325 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9326 PyObject
*resultobj
= 0;
9327 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9331 PyObject
*swig_obj
[1] ;
9333 if (!args
) SWIG_fail
;
9335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9336 if (!SWIG_IsOK(res1
)) {
9337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9339 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9355 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9358 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9359 return SWIG_Py_Void();
9362 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9363 return SWIG_Python_InitShadowInstance(args
);
9366 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 PyObject
*resultobj
= 0;
9368 wxNativeFontInfo
*result
= 0 ;
9370 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9384 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9385 PyObject
*resultobj
= 0;
9386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9389 PyObject
*swig_obj
[1] ;
9391 if (!args
) SWIG_fail
;
9393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9394 if (!SWIG_IsOK(res1
)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9397 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= SWIG_Py_Void();
9412 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9413 PyObject
*resultobj
= 0;
9414 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9417 PyObject
*swig_obj
[1] ;
9419 if (!args
) SWIG_fail
;
9421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9422 if (!SWIG_IsOK(res1
)) {
9423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9425 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9432 resultobj
= SWIG_Py_Void();
9439 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
= 0;
9441 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9449 char * kwnames
[] = {
9450 (char *) "self",(char *) "font", NULL
9453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9455 if (!SWIG_IsOK(res1
)) {
9456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9458 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9460 if (!SWIG_IsOK(res2
)) {
9461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9466 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_Py_Void();
9480 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9481 PyObject
*resultobj
= 0;
9482 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9486 PyObject
*swig_obj
[1] ;
9488 if (!args
) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9494 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_int(static_cast< int >(result
));
9508 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9509 PyObject
*resultobj
= 0;
9510 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9514 PyObject
*swig_obj
[1] ;
9516 if (!args
) SWIG_fail
;
9518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9519 if (!SWIG_IsOK(res1
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9522 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_From_int(static_cast< int >(result
));
9536 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9537 PyObject
*resultobj
= 0;
9538 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9539 wxFontWeight result
;
9542 PyObject
*swig_obj
[1] ;
9544 if (!args
) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9550 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_From_int(static_cast< int >(result
));
9564 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9565 PyObject
*resultobj
= 0;
9566 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9570 PyObject
*swig_obj
[1] ;
9572 if (!args
) SWIG_fail
;
9574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9575 if (!SWIG_IsOK(res1
)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9578 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9595 PyObject
*resultobj
= 0;
9596 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9600 PyObject
*swig_obj
[1] ;
9602 if (!args
) SWIG_fail
;
9604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9605 if (!SWIG_IsOK(res1
)) {
9606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9608 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9628 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9629 PyObject
*resultobj
= 0;
9630 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9631 wxFontFamily result
;
9634 PyObject
*swig_obj
[1] ;
9636 if (!args
) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9642 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_From_int(static_cast< int >(result
));
9656 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9657 PyObject
*resultobj
= 0;
9658 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9659 wxFontEncoding result
;
9662 PyObject
*swig_obj
[1] ;
9664 if (!args
) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9670 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_From_int(static_cast< int >(result
));
9684 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= 0;
9686 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "pointsize", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9703 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9705 if (!SWIG_IsOK(ecode2
)) {
9706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9708 arg2
= static_cast< int >(val2
);
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->SetPointSize(arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9722 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
= 0;
9724 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 char * kwnames
[] = {
9733 (char *) "self",(char *) "style", NULL
9736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9741 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9743 if (!SWIG_IsOK(ecode2
)) {
9744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9746 arg2
= static_cast< wxFontStyle
>(val2
);
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 (arg1
)->SetStyle(arg2
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_Py_Void();
9760 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "weight", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9779 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9781 if (!SWIG_IsOK(ecode2
)) {
9782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9784 arg2
= static_cast< wxFontWeight
>(val2
);
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 (arg1
)->SetWeight(arg2
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_Py_Void();
9798 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
= 0;
9800 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9808 char * kwnames
[] = {
9809 (char *) "self",(char *) "underlined", NULL
9812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9817 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9818 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9819 if (!SWIG_IsOK(ecode2
)) {
9820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9822 arg2
= static_cast< bool >(val2
);
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 (arg1
)->SetUnderlined(arg2
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_Py_Void();
9836 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= 0;
9838 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 char * kwnames
[] = {
9846 (char *) "self",(char *) "facename", NULL
9849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9851 if (!SWIG_IsOK(res1
)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9854 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9856 wxString
* sptr
= wxString_in_helper(obj1
);
9857 if (sptr
== NULL
) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (bool)(arg1
)->SetFaceName(arg2
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9876 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
= 0;
9878 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "self",(char *) "family", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9892 if (!SWIG_IsOK(res1
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9895 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9897 if (!SWIG_IsOK(ecode2
)) {
9898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9900 arg2
= static_cast< wxFontFamily
>(val2
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 (arg1
)->SetFamily(arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_Py_Void();
9914 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
= 0;
9916 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9917 wxFontEncoding arg2
;
9922 PyObject
* obj0
= 0 ;
9923 PyObject
* obj1
= 0 ;
9924 char * kwnames
[] = {
9925 (char *) "self",(char *) "encoding", NULL
9928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9930 if (!SWIG_IsOK(res1
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9933 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9935 if (!SWIG_IsOK(ecode2
)) {
9936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9938 arg2
= static_cast< wxFontEncoding
>(val2
);
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 (arg1
)->SetEncoding(arg2
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_Py_Void();
9952 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= 0;
9954 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9955 wxString
*arg2
= 0 ;
9959 bool temp2
= false ;
9960 PyObject
* obj0
= 0 ;
9961 PyObject
* obj1
= 0 ;
9962 char * kwnames
[] = {
9963 (char *) "self",(char *) "s", NULL
9966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9968 if (!SWIG_IsOK(res1
)) {
9969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9971 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9973 arg2
= wxString_in_helper(obj1
);
9974 if (arg2
== NULL
) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10000 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10001 PyObject
*resultobj
= 0;
10002 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10006 PyObject
*swig_obj
[1] ;
10008 if (!args
) SWIG_fail
;
10009 swig_obj
[0] = args
;
10010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10011 if (!SWIG_IsOK(res1
)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10014 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10034 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10035 PyObject
*resultobj
= 0;
10036 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10040 PyObject
*swig_obj
[1] ;
10042 if (!args
) SWIG_fail
;
10043 swig_obj
[0] = args
;
10044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10045 if (!SWIG_IsOK(res1
)) {
10046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10048 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= wxNativeFontInfo___str__(arg1
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10068 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
= 0;
10070 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10071 wxString
*arg2
= 0 ;
10075 bool temp2
= false ;
10076 PyObject
* obj0
= 0 ;
10077 PyObject
* obj1
= 0 ;
10078 char * kwnames
[] = {
10079 (char *) "self",(char *) "s", NULL
10082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10084 if (!SWIG_IsOK(res1
)) {
10085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10087 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10089 arg2
= wxString_in_helper(obj1
);
10090 if (arg2
== NULL
) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10116 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10117 PyObject
*resultobj
= 0;
10118 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10122 PyObject
*swig_obj
[1] ;
10124 if (!args
) SWIG_fail
;
10125 swig_obj
[0] = args
;
10126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10150 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10153 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10154 return SWIG_Py_Void();
10157 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10158 return SWIG_Python_InitShadowInstance(args
);
10161 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10162 PyObject
*resultobj
= 0;
10163 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10164 wxString
*arg2
= (wxString
*) 0 ;
10167 bool temp2
= false ;
10168 PyObject
*swig_obj
[2] ;
10170 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10172 if (!SWIG_IsOK(res1
)) {
10173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10175 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10177 arg2
= wxString_in_helper(swig_obj
[1]);
10178 if (arg2
== NULL
) SWIG_fail
;
10181 if (arg1
) (arg1
)->facename
= *arg2
;
10183 resultobj
= SWIG_Py_Void();
10198 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10199 PyObject
*resultobj
= 0;
10200 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10201 wxString
*result
= 0 ;
10204 PyObject
*swig_obj
[1] ;
10206 if (!args
) SWIG_fail
;
10207 swig_obj
[0] = args
;
10208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10212 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10213 result
= (wxString
*)& ((arg1
)->facename
);
10216 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10218 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10227 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10228 PyObject
*resultobj
= 0;
10229 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10230 wxFontEncoding arg2
;
10235 PyObject
*swig_obj
[2] ;
10237 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10239 if (!SWIG_IsOK(res1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10242 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10243 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10244 if (!SWIG_IsOK(ecode2
)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10247 arg2
= static_cast< wxFontEncoding
>(val2
);
10248 if (arg1
) (arg1
)->encoding
= arg2
;
10250 resultobj
= SWIG_Py_Void();
10257 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10258 PyObject
*resultobj
= 0;
10259 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10260 wxFontEncoding result
;
10263 PyObject
*swig_obj
[1] ;
10265 if (!args
) SWIG_fail
;
10266 swig_obj
[0] = args
;
10267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10268 if (!SWIG_IsOK(res1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10271 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10272 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10273 resultobj
= SWIG_From_int(static_cast< int >(result
));
10280 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10281 PyObject
*resultobj
= 0;
10282 wxNativeEncodingInfo
*result
= 0 ;
10284 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10298 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10299 PyObject
*resultobj
= 0;
10300 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10303 PyObject
*swig_obj
[1] ;
10305 if (!args
) SWIG_fail
;
10306 swig_obj
[0] = args
;
10307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10308 if (!SWIG_IsOK(res1
)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10311 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= SWIG_Py_Void();
10326 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
= 0;
10328 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10329 wxString
*arg2
= 0 ;
10333 bool temp2
= false ;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 char * kwnames
[] = {
10337 (char *) "self",(char *) "s", NULL
10340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10342 if (!SWIG_IsOK(res1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10345 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10347 arg2
= wxString_in_helper(obj1
);
10348 if (arg2
== NULL
) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10374 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10375 PyObject
*resultobj
= 0;
10376 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10380 PyObject
*swig_obj
[1] ;
10382 if (!args
) SWIG_fail
;
10383 swig_obj
[0] = args
;
10384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10385 if (!SWIG_IsOK(res1
)) {
10386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10388 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10408 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10411 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10412 return SWIG_Py_Void();
10415 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10416 return SWIG_Python_InitShadowInstance(args
);
10419 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
= 0;
10421 wxFontEncoding arg1
;
10422 wxNativeEncodingInfo
*result
= 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char * kwnames
[] = {
10427 (char *) "encoding", NULL
10430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10432 if (!SWIG_IsOK(ecode1
)) {
10433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10435 arg1
= static_cast< wxFontEncoding
>(val1
);
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10449 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
= 0;
10451 wxNativeEncodingInfo
*arg1
= 0 ;
10455 PyObject
* obj0
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "info", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10468 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10484 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 PyObject
*resultobj
= 0;
10486 wxFontMapper
*result
= 0 ;
10488 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (wxFontMapper
*)new wxFontMapper();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10502 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10503 PyObject
*resultobj
= 0;
10504 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10507 PyObject
*swig_obj
[1] ;
10509 if (!args
) SWIG_fail
;
10510 swig_obj
[0] = args
;
10511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10515 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_Py_Void();
10530 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10531 PyObject
*resultobj
= 0;
10532 wxFontMapper
*result
= 0 ;
10534 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (wxFontMapper
*)wxFontMapper::Get();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10548 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
= 0;
10550 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10551 wxFontMapper
*result
= 0 ;
10554 PyObject
* obj0
= 0 ;
10555 char * kwnames
[] = {
10556 (char *) "mapper", NULL
10559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10564 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10578 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= 0;
10580 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10581 wxString
*arg2
= 0 ;
10582 bool arg3
= (bool) true ;
10583 wxFontEncoding result
;
10586 bool temp2
= false ;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 PyObject
* obj2
= 0 ;
10592 char * kwnames
[] = {
10593 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10598 if (!SWIG_IsOK(res1
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10601 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10603 arg2
= wxString_in_helper(obj1
);
10604 if (arg2
== NULL
) SWIG_fail
;
10608 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10609 if (!SWIG_IsOK(ecode3
)) {
10610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10612 arg3
= static_cast< bool >(val3
);
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= SWIG_From_int(static_cast< int >(result
));
10635 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10636 PyObject
*resultobj
= 0;
10639 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10653 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= 0;
10656 wxFontEncoding result
;
10659 PyObject
* obj0
= 0 ;
10660 char * kwnames
[] = {
10664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10665 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10666 if (!SWIG_IsOK(ecode1
)) {
10667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10669 arg1
= static_cast< size_t >(val1
);
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= SWIG_From_int(static_cast< int >(result
));
10683 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
= 0;
10685 wxFontEncoding arg1
;
10689 PyObject
* obj0
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "encoding", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10696 if (!SWIG_IsOK(ecode1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10699 arg1
= static_cast< wxFontEncoding
>(val1
);
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= wxFontMapper::GetEncodingName(arg1
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10719 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxFontEncoding arg1
;
10725 PyObject
* obj0
= 0 ;
10726 char * kwnames
[] = {
10727 (char *) "encoding", NULL
10730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10732 if (!SWIG_IsOK(ecode1
)) {
10733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10735 arg1
= static_cast< wxFontEncoding
>(val1
);
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= wxFontMapper::GetEncodingDescription(arg1
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10755 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
= 0;
10757 wxString
*arg1
= 0 ;
10758 wxFontEncoding result
;
10759 bool temp1
= false ;
10760 PyObject
* obj0
= 0 ;
10761 char * kwnames
[] = {
10762 (char *) "name", NULL
10765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10767 arg1
= wxString_in_helper(obj0
);
10768 if (arg1
== NULL
) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_From_int(static_cast< int >(result
));
10792 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
= 0;
10794 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10795 wxString
*arg2
= 0 ;
10798 bool temp2
= false ;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 char * kwnames
[] = {
10802 (char *) "self",(char *) "prefix", NULL
10805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10807 if (!SWIG_IsOK(res1
)) {
10808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10810 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10812 arg2
= wxString_in_helper(obj1
);
10813 if (arg2
== NULL
) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= SWIG_Py_Void();
10837 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10838 PyObject
*resultobj
= 0;
10841 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= wxFontMapper::GetDefaultConfigPath();
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10861 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
= 0;
10863 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10864 wxFontEncoding arg2
;
10865 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10866 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10867 bool arg4
= (bool) true ;
10868 PyObject
*result
= 0 ;
10873 bool temp3
= false ;
10876 PyObject
* obj0
= 0 ;
10877 PyObject
* obj1
= 0 ;
10878 PyObject
* obj2
= 0 ;
10879 PyObject
* obj3
= 0 ;
10880 char * kwnames
[] = {
10881 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10886 if (!SWIG_IsOK(res1
)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10889 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10891 if (!SWIG_IsOK(ecode2
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10894 arg2
= static_cast< wxFontEncoding
>(val2
);
10897 arg3
= wxString_in_helper(obj2
);
10898 if (arg3
== NULL
) SWIG_fail
;
10903 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10904 if (!SWIG_IsOK(ecode4
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10907 arg4
= static_cast< bool >(val4
);
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= result
;
10930 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
= 0;
10932 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10933 wxFontEncoding arg2
;
10934 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10935 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10941 bool temp3
= false ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 PyObject
* obj2
= 0 ;
10945 char * kwnames
[] = {
10946 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10954 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10956 if (!SWIG_IsOK(ecode2
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10959 arg2
= static_cast< wxFontEncoding
>(val2
);
10962 arg3
= wxString_in_helper(obj2
);
10963 if (arg3
== NULL
) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10990 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
= 0;
10992 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10993 wxWindow
*arg2
= (wxWindow
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 char * kwnames
[] = {
11001 (char *) "self",(char *) "parent", NULL
11004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11006 if (!SWIG_IsOK(res1
)) {
11007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11009 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11011 if (!SWIG_IsOK(res2
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11014 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 (arg1
)->SetDialogParent(arg2
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= SWIG_Py_Void();
11028 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= 0;
11030 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11031 wxString
*arg2
= 0 ;
11034 bool temp2
= false ;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char * kwnames
[] = {
11038 (char *) "self",(char *) "title", NULL
11041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11043 if (!SWIG_IsOK(res1
)) {
11044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11046 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11048 arg2
= wxString_in_helper(obj1
);
11049 if (arg2
== NULL
) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_Py_Void();
11073 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11076 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11077 return SWIG_Py_Void();
11080 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11081 return SWIG_Python_InitShadowInstance(args
);
11084 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
= 0;
11090 bool arg5
= (bool) false ;
11091 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11092 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11093 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11094 wxFont
*result
= 0 ;
11105 bool temp6
= false ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 PyObject
* obj2
= 0 ;
11111 PyObject
* obj3
= 0 ;
11112 PyObject
* obj4
= 0 ;
11113 PyObject
* obj5
= 0 ;
11114 PyObject
* obj6
= 0 ;
11115 char * kwnames
[] = {
11116 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11121 if (!SWIG_IsOK(ecode1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11124 arg1
= static_cast< int >(val1
);
11125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11126 if (!SWIG_IsOK(ecode2
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11129 arg2
= static_cast< int >(val2
);
11130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11131 if (!SWIG_IsOK(ecode3
)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11134 arg3
= static_cast< int >(val3
);
11135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11136 if (!SWIG_IsOK(ecode4
)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11139 arg4
= static_cast< int >(val4
);
11141 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11142 if (!SWIG_IsOK(ecode5
)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11145 arg5
= static_cast< bool >(val5
);
11149 arg6
= wxString_in_helper(obj5
);
11150 if (arg6
== NULL
) SWIG_fail
;
11155 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11156 if (!SWIG_IsOK(ecode7
)) {
11157 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11159 arg7
= static_cast< wxFontEncoding
>(val7
);
11162 if (!wxPyCheckForApp()) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11183 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11184 PyObject
*resultobj
= 0;
11185 wxFont
*arg1
= (wxFont
*) 0 ;
11188 PyObject
*swig_obj
[1] ;
11190 if (!args
) SWIG_fail
;
11191 swig_obj
[0] = args
;
11192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11193 if (!SWIG_IsOK(res1
)) {
11194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11196 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_Py_Void();
11211 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 wxNativeFontInfo
*arg1
= 0 ;
11214 wxFont
*result
= 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char * kwnames
[] = {
11219 (char *) "info", NULL
11222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11223 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11224 if (!SWIG_IsOK(res1
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11230 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11232 if (!wxPyCheckForApp()) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11245 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
= 0;
11247 wxString
*arg1
= 0 ;
11248 wxFont
*result
= 0 ;
11249 bool temp1
= false ;
11250 PyObject
* obj0
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "info", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11257 arg1
= wxString_in_helper(obj0
);
11258 if (arg1
== NULL
) SWIG_fail
;
11262 if (!wxPyCheckForApp()) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11283 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
= 0;
11286 wxFontFamily arg2
;
11287 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11288 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11289 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11290 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11291 wxFont
*result
= 0 ;
11298 bool temp4
= false ;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 PyObject
* obj2
= 0 ;
11304 PyObject
* obj3
= 0 ;
11305 PyObject
* obj4
= 0 ;
11306 char * kwnames
[] = {
11307 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11312 if (!SWIG_IsOK(ecode1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11315 arg1
= static_cast< int >(val1
);
11316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11317 if (!SWIG_IsOK(ecode2
)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11320 arg2
= static_cast< wxFontFamily
>(val2
);
11322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11323 if (!SWIG_IsOK(ecode3
)) {
11324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11326 arg3
= static_cast< int >(val3
);
11330 arg4
= wxString_in_helper(obj3
);
11331 if (arg4
== NULL
) SWIG_fail
;
11336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11337 if (!SWIG_IsOK(ecode5
)) {
11338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11340 arg5
= static_cast< wxFontEncoding
>(val5
);
11343 if (!wxPyCheckForApp()) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11364 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
= 0;
11370 bool arg5
= (bool) false ;
11371 wxString
const &arg6_defvalue
= wxEmptyString
;
11372 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11373 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11374 wxFont
*result
= 0 ;
11384 bool temp6
= false ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 PyObject
* obj2
= 0 ;
11390 PyObject
* obj3
= 0 ;
11391 PyObject
* obj4
= 0 ;
11392 PyObject
* obj5
= 0 ;
11393 PyObject
* obj6
= 0 ;
11394 char * kwnames
[] = {
11395 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11401 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11404 if (!SWIG_IsOK(ecode2
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11407 arg2
= static_cast< int >(val2
);
11408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11409 if (!SWIG_IsOK(ecode3
)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11412 arg3
= static_cast< int >(val3
);
11413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11414 if (!SWIG_IsOK(ecode4
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11417 arg4
= static_cast< int >(val4
);
11419 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11420 if (!SWIG_IsOK(ecode5
)) {
11421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11423 arg5
= static_cast< bool >(val5
);
11427 arg6
= wxString_in_helper(obj5
);
11428 if (arg6
== NULL
) SWIG_fail
;
11433 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11434 if (!SWIG_IsOK(ecode7
)) {
11435 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11437 arg7
= static_cast< wxFontEncoding
>(val7
);
11440 if (!wxPyCheckForApp()) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11461 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
= 0;
11464 wxFontFamily arg2
;
11465 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11466 wxString
const &arg4_defvalue
= wxEmptyString
;
11467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11468 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11469 wxFont
*result
= 0 ;
11475 bool temp4
= false ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 PyObject
* obj2
= 0 ;
11481 PyObject
* obj3
= 0 ;
11482 PyObject
* obj4
= 0 ;
11483 char * kwnames
[] = {
11484 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11490 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11493 if (!SWIG_IsOK(ecode2
)) {
11494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11496 arg2
= static_cast< wxFontFamily
>(val2
);
11498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11499 if (!SWIG_IsOK(ecode3
)) {
11500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11502 arg3
= static_cast< int >(val3
);
11506 arg4
= wxString_in_helper(obj3
);
11507 if (arg4
== NULL
) SWIG_fail
;
11512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11513 if (!SWIG_IsOK(ecode5
)) {
11514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11516 arg5
= static_cast< wxFontEncoding
>(val5
);
11519 if (!wxPyCheckForApp()) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11540 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11541 PyObject
*resultobj
= 0;
11542 wxFont
*arg1
= (wxFont
*) 0 ;
11546 PyObject
*swig_obj
[1] ;
11548 if (!args
) SWIG_fail
;
11549 swig_obj
[0] = args
;
11550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11551 if (!SWIG_IsOK(res1
)) {
11552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11554 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (bool)((wxFont
const *)arg1
)->Ok();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11570 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
= 0;
11572 wxFont
*arg1
= (wxFont
*) 0 ;
11573 wxFont
*arg2
= (wxFont
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char * kwnames
[] = {
11582 (char *) "self",(char *) "other", NULL
11585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11587 if (!SWIG_IsOK(res1
)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11590 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11592 if (!SWIG_IsOK(res2
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11595 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11611 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
= 0;
11613 wxFont
*arg1
= (wxFont
*) 0 ;
11614 wxFont
*arg2
= (wxFont
*) 0 ;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 char * kwnames
[] = {
11623 (char *) "self",(char *) "other", NULL
11626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11628 if (!SWIG_IsOK(res1
)) {
11629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11631 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11633 if (!SWIG_IsOK(res2
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11636 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11652 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11653 PyObject
*resultobj
= 0;
11654 wxFont
*arg1
= (wxFont
*) 0 ;
11658 PyObject
*swig_obj
[1] ;
11660 if (!args
) SWIG_fail
;
11661 swig_obj
[0] = args
;
11662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11663 if (!SWIG_IsOK(res1
)) {
11664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11666 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_From_int(static_cast< int >(result
));
11680 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11681 PyObject
*resultobj
= 0;
11682 wxFont
*arg1
= (wxFont
*) 0 ;
11686 PyObject
*swig_obj
[1] ;
11688 if (!args
) SWIG_fail
;
11689 swig_obj
[0] = args
;
11690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11694 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11708 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 PyObject
*resultobj
= 0;
11710 wxFont
*arg1
= (wxFont
*) 0 ;
11714 PyObject
*swig_obj
[1] ;
11716 if (!args
) SWIG_fail
;
11717 swig_obj
[0] = args
;
11718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11722 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11738 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11739 PyObject
*resultobj
= 0;
11740 wxFont
*arg1
= (wxFont
*) 0 ;
11744 PyObject
*swig_obj
[1] ;
11746 if (!args
) SWIG_fail
;
11747 swig_obj
[0] = args
;
11748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11749 if (!SWIG_IsOK(res1
)) {
11750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11752 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= SWIG_From_int(static_cast< int >(result
));
11766 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11767 PyObject
*resultobj
= 0;
11768 wxFont
*arg1
= (wxFont
*) 0 ;
11772 PyObject
*swig_obj
[1] ;
11774 if (!args
) SWIG_fail
;
11775 swig_obj
[0] = args
;
11776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11777 if (!SWIG_IsOK(res1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11780 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_From_int(static_cast< int >(result
));
11794 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11795 PyObject
*resultobj
= 0;
11796 wxFont
*arg1
= (wxFont
*) 0 ;
11800 PyObject
*swig_obj
[1] ;
11802 if (!args
) SWIG_fail
;
11803 swig_obj
[0] = args
;
11804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11805 if (!SWIG_IsOK(res1
)) {
11806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11808 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_From_int(static_cast< int >(result
));
11822 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11823 PyObject
*resultobj
= 0;
11824 wxFont
*arg1
= (wxFont
*) 0 ;
11828 PyObject
*swig_obj
[1] ;
11830 if (!args
) SWIG_fail
;
11831 swig_obj
[0] = args
;
11832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11833 if (!SWIG_IsOK(res1
)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11836 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11852 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11853 PyObject
*resultobj
= 0;
11854 wxFont
*arg1
= (wxFont
*) 0 ;
11858 PyObject
*swig_obj
[1] ;
11860 if (!args
) SWIG_fail
;
11861 swig_obj
[0] = args
;
11862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11863 if (!SWIG_IsOK(res1
)) {
11864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11866 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= ((wxFont
const *)arg1
)->GetFaceName();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11886 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11887 PyObject
*resultobj
= 0;
11888 wxFont
*arg1
= (wxFont
*) 0 ;
11889 wxFontEncoding result
;
11892 PyObject
*swig_obj
[1] ;
11894 if (!args
) SWIG_fail
;
11895 swig_obj
[0] = args
;
11896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11897 if (!SWIG_IsOK(res1
)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11900 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= SWIG_From_int(static_cast< int >(result
));
11914 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11915 PyObject
*resultobj
= 0;
11916 wxFont
*arg1
= (wxFont
*) 0 ;
11917 wxNativeFontInfo
*result
= 0 ;
11920 PyObject
*swig_obj
[1] ;
11922 if (!args
) SWIG_fail
;
11923 swig_obj
[0] = args
;
11924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11925 if (!SWIG_IsOK(res1
)) {
11926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11928 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11942 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11943 PyObject
*resultobj
= 0;
11944 wxFont
*arg1
= (wxFont
*) 0 ;
11948 PyObject
*swig_obj
[1] ;
11950 if (!args
) SWIG_fail
;
11951 swig_obj
[0] = args
;
11952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11956 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11972 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 PyObject
*resultobj
= 0;
11974 wxFont
*arg1
= (wxFont
*) 0 ;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11986 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12006 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12007 PyObject
*resultobj
= 0;
12008 wxFont
*arg1
= (wxFont
*) 0 ;
12012 PyObject
*swig_obj
[1] ;
12014 if (!args
) SWIG_fail
;
12015 swig_obj
[0] = args
;
12016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12020 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12040 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
= 0;
12042 wxFont
*arg1
= (wxFont
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 char * kwnames
[] = {
12051 (char *) "self",(char *) "pointSize", NULL
12054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12059 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12061 if (!SWIG_IsOK(ecode2
)) {
12062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12064 arg2
= static_cast< int >(val2
);
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 (arg1
)->SetPointSize(arg2
);
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= SWIG_Py_Void();
12078 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
= 0;
12080 wxFont
*arg1
= (wxFont
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "pixelSize", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12096 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= SWIG_Py_Void();
12114 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
= 0;
12116 wxFont
*arg1
= (wxFont
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char * kwnames
[] = {
12125 (char *) "self",(char *) "family", NULL
12128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12130 if (!SWIG_IsOK(res1
)) {
12131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12133 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12135 if (!SWIG_IsOK(ecode2
)) {
12136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12138 arg2
= static_cast< int >(val2
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->SetFamily(arg2
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_Py_Void();
12152 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
= 0;
12154 wxFont
*arg1
= (wxFont
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 char * kwnames
[] = {
12163 (char *) "self",(char *) "style", NULL
12166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12171 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12173 if (!SWIG_IsOK(ecode2
)) {
12174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12176 arg2
= static_cast< int >(val2
);
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 (arg1
)->SetStyle(arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_Py_Void();
12190 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
= 0;
12192 wxFont
*arg1
= (wxFont
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 char * kwnames
[] = {
12201 (char *) "self",(char *) "weight", NULL
12204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12206 if (!SWIG_IsOK(res1
)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12209 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12211 if (!SWIG_IsOK(ecode2
)) {
12212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12214 arg2
= static_cast< int >(val2
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 (arg1
)->SetWeight(arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_Py_Void();
12228 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= 0;
12230 wxFont
*arg1
= (wxFont
*) 0 ;
12231 wxString
*arg2
= 0 ;
12235 bool temp2
= false ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char * kwnames
[] = {
12239 (char *) "self",(char *) "faceName", NULL
12242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12247 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12249 arg2
= wxString_in_helper(obj1
);
12250 if (arg2
== NULL
) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
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 ;
12400 bool temp2
= false ;
12401 PyObject
* obj0
= 0 ;
12402 PyObject
* obj1
= 0 ;
12403 char * kwnames
[] = {
12404 (char *) "self",(char *) "info", NULL
12407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12409 if (!SWIG_IsOK(res1
)) {
12410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12412 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12414 arg2
= wxString_in_helper(obj1
);
12415 if (arg2
== NULL
) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12441 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
= 0;
12443 wxFont
*arg1
= (wxFont
*) 0 ;
12444 wxString
*arg2
= 0 ;
12448 bool temp2
= false ;
12449 PyObject
* obj0
= 0 ;
12450 PyObject
* obj1
= 0 ;
12451 char * kwnames
[] = {
12452 (char *) "self",(char *) "info", NULL
12455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12457 if (!SWIG_IsOK(res1
)) {
12458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12460 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12462 arg2
= wxString_in_helper(obj1
);
12463 if (arg2
== NULL
) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12489 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12490 PyObject
*resultobj
= 0;
12491 wxFont
*arg1
= (wxFont
*) 0 ;
12495 PyObject
*swig_obj
[1] ;
12497 if (!args
) SWIG_fail
;
12498 swig_obj
[0] = args
;
12499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12500 if (!SWIG_IsOK(res1
)) {
12501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12503 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12523 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12524 PyObject
*resultobj
= 0;
12525 wxFont
*arg1
= (wxFont
*) 0 ;
12529 PyObject
*swig_obj
[1] ;
12531 if (!args
) SWIG_fail
;
12532 swig_obj
[0] = args
;
12533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12534 if (!SWIG_IsOK(res1
)) {
12535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12537 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= ((wxFont
const *)arg1
)->GetStyleString();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12557 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12558 PyObject
*resultobj
= 0;
12559 wxFont
*arg1
= (wxFont
*) 0 ;
12563 PyObject
*swig_obj
[1] ;
12565 if (!args
) SWIG_fail
;
12566 swig_obj
[0] = args
;
12567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12568 if (!SWIG_IsOK(res1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12571 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= ((wxFont
const *)arg1
)->GetWeightString();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12591 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
= 0;
12593 wxFont
*arg1
= (wxFont
*) 0 ;
12594 bool arg2
= (bool) true ;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 char * kwnames
[] = {
12602 (char *) "self",(char *) "no", NULL
12605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12607 if (!SWIG_IsOK(res1
)) {
12608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12610 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12613 if (!SWIG_IsOK(ecode2
)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12616 arg2
= static_cast< bool >(val2
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetNoAntiAliasing(arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12631 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12632 PyObject
*resultobj
= 0;
12633 wxFont
*arg1
= (wxFont
*) 0 ;
12637 PyObject
*swig_obj
[1] ;
12639 if (!args
) SWIG_fail
;
12640 swig_obj
[0] = args
;
12641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12642 if (!SWIG_IsOK(res1
)) {
12643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12645 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12661 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12662 PyObject
*resultobj
= 0;
12663 wxFontEncoding result
;
12665 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12667 if (!wxPyCheckForApp()) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= SWIG_From_int(static_cast< int >(result
));
12680 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12681 PyObject
*resultobj
= 0;
12682 wxFontEncoding arg1
;
12685 PyObject
* obj0
= 0 ;
12686 char * kwnames
[] = {
12687 (char *) "encoding", NULL
12690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12691 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12692 if (!SWIG_IsOK(ecode1
)) {
12693 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12695 arg1
= static_cast< wxFontEncoding
>(val1
);
12697 if (!wxPyCheckForApp()) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 wxFont::SetDefaultEncoding(arg1
);
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_Py_Void();
12710 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12713 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12714 return SWIG_Py_Void();
12717 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12718 return SWIG_Python_InitShadowInstance(args
);
12721 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 PyObject
*resultobj
= 0;
12723 wxPyFontEnumerator
*result
= 0 ;
12725 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12727 if (!wxPyCheckForApp()) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12740 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12741 PyObject
*resultobj
= 0;
12742 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12745 PyObject
*swig_obj
[1] ;
12747 if (!args
) SWIG_fail
;
12748 swig_obj
[0] = args
;
12749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12750 if (!SWIG_IsOK(res1
)) {
12751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12753 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_Py_Void();
12768 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= 0;
12770 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12771 PyObject
*arg2
= (PyObject
*) 0 ;
12772 PyObject
*arg3
= (PyObject
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 PyObject
* obj1
= 0 ;
12780 PyObject
* obj2
= 0 ;
12781 PyObject
* obj3
= 0 ;
12782 char * kwnames
[] = {
12783 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12788 if (!SWIG_IsOK(res1
)) {
12789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12791 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12794 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12795 if (!SWIG_IsOK(ecode4
)) {
12796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12798 arg4
= static_cast< bool >(val4
);
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_Py_Void();
12812 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= 0;
12814 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12815 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12816 bool arg3
= (bool) false ;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 PyObject
* obj2
= 0 ;
12827 char * kwnames
[] = {
12828 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12833 if (!SWIG_IsOK(res1
)) {
12834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12836 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12839 if (!SWIG_IsOK(ecode2
)) {
12840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12842 arg2
= static_cast< wxFontEncoding
>(val2
);
12845 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12846 if (!SWIG_IsOK(ecode3
)) {
12847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12849 arg3
= static_cast< bool >(val3
);
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12866 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
= 0;
12868 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12869 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12870 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12874 bool temp2
= false ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char * kwnames
[] = {
12878 (char *) "self",(char *) "facename", NULL
12881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12883 if (!SWIG_IsOK(res1
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12886 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12889 arg2
= wxString_in_helper(obj1
);
12890 if (arg2
== NULL
) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12917 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12918 PyObject
*resultobj
= 0;
12919 PyObject
*result
= 0 ;
12921 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= result
;
12935 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12936 PyObject
*resultobj
= 0;
12937 PyObject
*result
= 0 ;
12939 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= result
;
12953 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
= 0;
12955 wxString
*arg1
= 0 ;
12957 bool temp1
= false ;
12958 PyObject
* obj0
= 0 ;
12959 char * kwnames
[] = {
12960 (char *) "str", NULL
12963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
12965 arg1
= wxString_in_helper(obj0
);
12966 if (arg1
== NULL
) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12992 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12995 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
12996 return SWIG_Py_Void();
12999 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13000 return SWIG_Python_InitShadowInstance(args
);
13003 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13004 PyObject
*resultobj
= 0;
13005 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13011 PyObject
*swig_obj
[2] ;
13013 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13015 if (!SWIG_IsOK(res1
)) {
13016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13018 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13019 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13020 if (!SWIG_IsOK(ecode2
)) {
13021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13023 arg2
= static_cast< int >(val2
);
13024 if (arg1
) (arg1
)->Language
= arg2
;
13026 resultobj
= SWIG_Py_Void();
13033 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13034 PyObject
*resultobj
= 0;
13035 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13039 PyObject
*swig_obj
[1] ;
13041 if (!args
) SWIG_fail
;
13042 swig_obj
[0] = args
;
13043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13044 if (!SWIG_IsOK(res1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13047 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13048 result
= (int) ((arg1
)->Language
);
13049 resultobj
= SWIG_From_int(static_cast< int >(result
));
13056 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13057 PyObject
*resultobj
= 0;
13058 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13059 wxString
*arg2
= (wxString
*) 0 ;
13062 bool temp2
= false ;
13063 PyObject
*swig_obj
[2] ;
13065 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13067 if (!SWIG_IsOK(res1
)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13070 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13072 arg2
= wxString_in_helper(swig_obj
[1]);
13073 if (arg2
== NULL
) SWIG_fail
;
13076 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13078 resultobj
= SWIG_Py_Void();
13093 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13094 PyObject
*resultobj
= 0;
13095 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13096 wxString
*result
= 0 ;
13099 PyObject
*swig_obj
[1] ;
13101 if (!args
) SWIG_fail
;
13102 swig_obj
[0] = args
;
13103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13104 if (!SWIG_IsOK(res1
)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13107 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13108 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13122 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13123 PyObject
*resultobj
= 0;
13124 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13125 wxString
*arg2
= (wxString
*) 0 ;
13128 bool temp2
= false ;
13129 PyObject
*swig_obj
[2] ;
13131 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13133 if (!SWIG_IsOK(res1
)) {
13134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13136 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13138 arg2
= wxString_in_helper(swig_obj
[1]);
13139 if (arg2
== NULL
) SWIG_fail
;
13142 if (arg1
) (arg1
)->Description
= *arg2
;
13144 resultobj
= SWIG_Py_Void();
13159 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13160 PyObject
*resultobj
= 0;
13161 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13162 wxString
*result
= 0 ;
13165 PyObject
*swig_obj
[1] ;
13167 if (!args
) SWIG_fail
;
13168 swig_obj
[0] = args
;
13169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13170 if (!SWIG_IsOK(res1
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13173 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13174 result
= (wxString
*)& ((arg1
)->Description
);
13177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13188 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13191 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13192 return SWIG_Py_Void();
13195 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
= 0;
13197 int arg1
= (int) -1 ;
13198 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13199 wxLocale
*result
= 0 ;
13204 PyObject
* obj0
= 0 ;
13205 PyObject
* obj1
= 0 ;
13206 char * kwnames
[] = {
13207 (char *) "language",(char *) "flags", NULL
13210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13213 if (!SWIG_IsOK(ecode1
)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13216 arg1
= static_cast< int >(val1
);
13219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13220 if (!SWIG_IsOK(ecode2
)) {
13221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13223 arg2
= static_cast< int >(val2
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13238 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13239 PyObject
*resultobj
= 0;
13240 wxLocale
*arg1
= (wxLocale
*) 0 ;
13243 PyObject
*swig_obj
[1] ;
13245 if (!args
) SWIG_fail
;
13246 swig_obj
[0] = args
;
13247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13248 if (!SWIG_IsOK(res1
)) {
13249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13251 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_Py_Void();
13266 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxLocale
*arg1
= (wxLocale
*) 0 ;
13269 wxString
*arg2
= 0 ;
13270 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13271 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13272 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13273 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13274 bool arg5
= (bool) true ;
13275 bool arg6
= (bool) false ;
13279 bool temp2
= false ;
13280 bool temp3
= false ;
13281 bool temp4
= false ;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 PyObject
* obj2
= 0 ;
13289 PyObject
* obj3
= 0 ;
13290 PyObject
* obj4
= 0 ;
13291 PyObject
* obj5
= 0 ;
13292 char * kwnames
[] = {
13293 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13298 if (!SWIG_IsOK(res1
)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13301 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13303 arg2
= wxString_in_helper(obj1
);
13304 if (arg2
== NULL
) SWIG_fail
;
13309 arg3
= wxString_in_helper(obj2
);
13310 if (arg3
== NULL
) SWIG_fail
;
13316 arg4
= wxString_in_helper(obj3
);
13317 if (arg4
== NULL
) SWIG_fail
;
13322 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13323 if (!SWIG_IsOK(ecode5
)) {
13324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13326 arg5
= static_cast< bool >(val5
);
13329 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13330 if (!SWIG_IsOK(ecode6
)) {
13331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13333 arg6
= static_cast< bool >(val6
);
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13374 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
= 0;
13376 wxLocale
*arg1
= (wxLocale
*) 0 ;
13377 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13378 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 PyObject
* obj2
= 0 ;
13389 char * kwnames
[] = {
13390 (char *) "self",(char *) "language",(char *) "flags", NULL
13393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13395 if (!SWIG_IsOK(res1
)) {
13396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13398 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13401 if (!SWIG_IsOK(ecode2
)) {
13402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13404 arg2
= static_cast< int >(val2
);
13407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13408 if (!SWIG_IsOK(ecode3
)) {
13409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13411 arg3
= static_cast< int >(val3
);
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13428 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 PyObject
*resultobj
= 0;
13432 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 result
= (int)wxLocale::GetSystemLanguage();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= SWIG_From_int(static_cast< int >(result
));
13446 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13447 PyObject
*resultobj
= 0;
13448 wxFontEncoding result
;
13450 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= SWIG_From_int(static_cast< int >(result
));
13464 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13465 PyObject
*resultobj
= 0;
13468 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= wxLocale::GetSystemEncodingName();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13488 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13489 PyObject
*resultobj
= 0;
13490 wxLocale
*arg1
= (wxLocale
*) 0 ;
13494 PyObject
*swig_obj
[1] ;
13496 if (!args
) SWIG_fail
;
13497 swig_obj
[0] = args
;
13498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13499 if (!SWIG_IsOK(res1
)) {
13500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13502 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13518 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13519 PyObject
*resultobj
= 0;
13520 wxLocale
*arg1
= (wxLocale
*) 0 ;
13524 PyObject
*swig_obj
[1] ;
13526 if (!args
) SWIG_fail
;
13527 swig_obj
[0] = args
;
13528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13529 if (!SWIG_IsOK(res1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13532 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= ((wxLocale
const *)arg1
)->GetLocale();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13552 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13553 PyObject
*resultobj
= 0;
13554 wxLocale
*arg1
= (wxLocale
*) 0 ;
13558 PyObject
*swig_obj
[1] ;
13560 if (!args
) SWIG_fail
;
13561 swig_obj
[0] = args
;
13562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13566 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_From_int(static_cast< int >(result
));
13580 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13581 PyObject
*resultobj
= 0;
13582 wxLocale
*arg1
= (wxLocale
*) 0 ;
13586 PyObject
*swig_obj
[1] ;
13588 if (!args
) SWIG_fail
;
13589 swig_obj
[0] = args
;
13590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13591 if (!SWIG_IsOK(res1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13594 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= ((wxLocale
const *)arg1
)->GetSysName();
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13614 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13615 PyObject
*resultobj
= 0;
13616 wxLocale
*arg1
= (wxLocale
*) 0 ;
13620 PyObject
*swig_obj
[1] ;
13622 if (!args
) SWIG_fail
;
13623 swig_obj
[0] = args
;
13624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13625 if (!SWIG_IsOK(res1
)) {
13626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13628 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13648 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxString
*arg1
= 0 ;
13651 bool temp1
= false ;
13652 PyObject
* obj0
= 0 ;
13653 char * kwnames
[] = {
13654 (char *) "prefix", NULL
13657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13659 arg1
= wxString_in_helper(obj0
);
13660 if (arg1
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= SWIG_Py_Void();
13684 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= 0;
13686 wxLocale
*arg1
= (wxLocale
*) 0 ;
13687 wxString
*arg2
= 0 ;
13691 bool temp2
= false ;
13692 PyObject
* obj0
= 0 ;
13693 PyObject
* obj1
= 0 ;
13694 char * kwnames
[] = {
13695 (char *) "self",(char *) "szDomain", NULL
13698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13700 if (!SWIG_IsOK(res1
)) {
13701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13703 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13705 arg2
= wxString_in_helper(obj1
);
13706 if (arg2
== NULL
) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13732 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
= 0;
13734 wxLocale
*arg1
= (wxLocale
*) 0 ;
13735 wxString
*arg2
= 0 ;
13739 bool temp2
= false ;
13740 PyObject
* obj0
= 0 ;
13741 PyObject
* obj1
= 0 ;
13742 char * kwnames
[] = {
13743 (char *) "self",(char *) "szDomain", NULL
13746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13748 if (!SWIG_IsOK(res1
)) {
13749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13751 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13753 arg2
= wxString_in_helper(obj1
);
13754 if (arg2
== NULL
) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13780 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
= 0;
13783 wxLanguageInfo
*result
= 0 ;
13786 PyObject
* obj0
= 0 ;
13787 char * kwnames
[] = {
13788 (char *) "lang", NULL
13791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13792 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13793 if (!SWIG_IsOK(ecode1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13796 arg1
= static_cast< int >(val1
);
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13810 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
= 0;
13816 PyObject
* obj0
= 0 ;
13817 char * kwnames
[] = {
13818 (char *) "lang", NULL
13821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13822 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13823 if (!SWIG_IsOK(ecode1
)) {
13824 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13826 arg1
= static_cast< int >(val1
);
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= wxLocale::GetLanguageName(arg1
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13846 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
= 0;
13848 wxString
*arg1
= 0 ;
13849 wxLanguageInfo
*result
= 0 ;
13850 bool temp1
= false ;
13851 PyObject
* obj0
= 0 ;
13852 char * kwnames
[] = {
13853 (char *) "locale", NULL
13856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13858 arg1
= wxString_in_helper(obj0
);
13859 if (arg1
== NULL
) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13883 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
= 0;
13885 wxLanguageInfo
*arg1
= 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char * kwnames
[] = {
13890 (char *) "info", NULL
13893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13894 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13895 if (!SWIG_IsOK(res1
)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13901 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_Py_Void();
13915 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
= 0;
13917 wxLocale
*arg1
= (wxLocale
*) 0 ;
13918 wxString
*arg2
= 0 ;
13919 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13920 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13924 bool temp2
= false ;
13925 bool temp3
= false ;
13926 PyObject
* obj0
= 0 ;
13927 PyObject
* obj1
= 0 ;
13928 PyObject
* obj2
= 0 ;
13929 char * kwnames
[] = {
13930 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13935 if (!SWIG_IsOK(res1
)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13938 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13940 arg2
= wxString_in_helper(obj1
);
13941 if (arg2
== NULL
) SWIG_fail
;
13946 arg3
= wxString_in_helper(obj2
);
13947 if (arg3
== NULL
) SWIG_fail
;
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13986 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13987 PyObject
*resultobj
= 0;
13988 wxLocale
*arg1
= (wxLocale
*) 0 ;
13989 wxString
*result
= 0 ;
13992 PyObject
*swig_obj
[1] ;
13994 if (!args
) SWIG_fail
;
13995 swig_obj
[0] = args
;
13996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13997 if (!SWIG_IsOK(res1
)) {
13998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14000 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14005 result
= (wxString
*) &_result_ref
;
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14014 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14023 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14026 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14027 return SWIG_Py_Void();
14030 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14031 return SWIG_Python_InitShadowInstance(args
);
14034 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14035 PyObject
*resultobj
= 0;
14036 wxLocale
*result
= 0 ;
14038 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (wxLocale
*)wxGetLocale();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14052 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14053 PyObject
*resultobj
= 0;
14054 wxString
*arg1
= 0 ;
14056 bool temp1
= false ;
14058 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14060 arg1
= wxString_in_helper(swig_obj
[0]);
14061 if (arg1
== NULL
) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= wxGetTranslation((wxString
const &)*arg1
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14091 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14092 PyObject
*resultobj
= 0;
14093 wxString
*arg1
= 0 ;
14094 wxString
*arg2
= 0 ;
14097 bool temp1
= false ;
14098 bool temp2
= false ;
14102 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14104 arg1
= wxString_in_helper(swig_obj
[0]);
14105 if (arg1
== NULL
) SWIG_fail
;
14109 arg2
= wxString_in_helper(swig_obj
[1]);
14110 if (arg2
== NULL
) SWIG_fail
;
14113 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14114 if (!SWIG_IsOK(ecode3
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14117 arg3
= static_cast< size_t >(val3
);
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14153 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14157 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14160 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14163 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14167 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14172 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14173 PyObject
*resultobj
= 0;
14174 wxEncodingConverter
*result
= 0 ;
14176 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14190 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14195 PyObject
*swig_obj
[1] ;
14197 if (!args
) SWIG_fail
;
14198 swig_obj
[0] = args
;
14199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14200 if (!SWIG_IsOK(res1
)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14203 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_Py_Void();
14218 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
= 0;
14220 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14221 wxFontEncoding arg2
;
14222 wxFontEncoding arg3
;
14223 int arg4
= (int) wxCONVERT_STRICT
;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 PyObject
* obj3
= 0 ;
14237 char * kwnames
[] = {
14238 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14243 if (!SWIG_IsOK(res1
)) {
14244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14246 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14248 if (!SWIG_IsOK(ecode2
)) {
14249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14251 arg2
= static_cast< wxFontEncoding
>(val2
);
14252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14253 if (!SWIG_IsOK(ecode3
)) {
14254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14256 arg3
= static_cast< wxFontEncoding
>(val3
);
14258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14259 if (!SWIG_IsOK(ecode4
)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14262 arg4
= static_cast< int >(val4
);
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14279 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
= 0;
14281 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14282 wxString
*arg2
= 0 ;
14286 bool temp2
= false ;
14287 PyObject
* obj0
= 0 ;
14288 PyObject
* obj1
= 0 ;
14289 char * kwnames
[] = {
14290 (char *) "self",(char *) "input", NULL
14293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14295 if (!SWIG_IsOK(res1
)) {
14296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14298 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14300 arg2
= wxString_in_helper(obj1
);
14301 if (arg2
== NULL
) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14331 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
= 0;
14333 wxFontEncoding arg1
;
14334 int arg2
= (int) wxPLATFORM_CURRENT
;
14335 wxFontEncodingArray result
;
14340 PyObject
* obj0
= 0 ;
14341 PyObject
* obj1
= 0 ;
14342 char * kwnames
[] = {
14343 (char *) "enc",(char *) "platform", NULL
14346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14347 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14348 if (!SWIG_IsOK(ecode1
)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14351 arg1
= static_cast< wxFontEncoding
>(val1
);
14353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14354 if (!SWIG_IsOK(ecode2
)) {
14355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14357 arg2
= static_cast< int >(val2
);
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= PyList_New(0);
14367 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14368 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14369 PyList_Append(resultobj
, number
);
14379 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
= 0;
14381 wxFontEncoding arg1
;
14382 wxFontEncodingArray result
;
14385 PyObject
* obj0
= 0 ;
14386 char * kwnames
[] = {
14387 (char *) "enc", NULL
14390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14391 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14392 if (!SWIG_IsOK(ecode1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14395 arg1
= static_cast< wxFontEncoding
>(val1
);
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14403 resultobj
= PyList_New(0);
14404 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14405 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14406 PyList_Append(resultobj
, number
);
14416 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
= 0;
14418 wxFontEncoding arg1
;
14419 wxFontEncoding arg2
;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 char * kwnames
[] = {
14428 (char *) "encIn",(char *) "encOut", NULL
14431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14433 if (!SWIG_IsOK(ecode1
)) {
14434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14436 arg1
= static_cast< wxFontEncoding
>(val1
);
14437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14438 if (!SWIG_IsOK(ecode2
)) {
14439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14441 arg2
= static_cast< wxFontEncoding
>(val2
);
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14460 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14461 return SWIG_Py_Void();
14464 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14465 return SWIG_Python_InitShadowInstance(args
);
14468 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14469 PyObject
*resultobj
= 0;
14470 wxDC
*arg1
= (wxDC
*) 0 ;
14473 PyObject
*swig_obj
[1] ;
14475 if (!args
) SWIG_fail
;
14476 swig_obj
[0] = args
;
14477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14478 if (!SWIG_IsOK(res1
)) {
14479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= SWIG_Py_Void();
14496 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
= 0;
14498 wxDC
*arg1
= (wxDC
*) 0 ;
14501 wxColour
*arg4
= 0 ;
14502 int arg5
= (int) wxFLOOD_SURFACE
;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 PyObject
* obj2
= 0 ;
14516 PyObject
* obj3
= 0 ;
14517 PyObject
* obj4
= 0 ;
14518 char * kwnames
[] = {
14519 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14529 if (!SWIG_IsOK(ecode2
)) {
14530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14532 arg2
= static_cast< int >(val2
);
14533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14534 if (!SWIG_IsOK(ecode3
)) {
14535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14537 arg3
= static_cast< int >(val3
);
14540 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14543 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14544 if (!SWIG_IsOK(ecode5
)) {
14545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14547 arg5
= static_cast< int >(val5
);
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14564 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxDC
*arg1
= (wxDC
*) 0 ;
14567 wxPoint
*arg2
= 0 ;
14568 wxColour
*arg3
= 0 ;
14569 int arg4
= (int) wxFLOOD_SURFACE
;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 PyObject
* obj2
= 0 ;
14580 PyObject
* obj3
= 0 ;
14581 char * kwnames
[] = {
14582 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14597 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14601 if (!SWIG_IsOK(ecode4
)) {
14602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14604 arg4
= static_cast< int >(val4
);
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14621 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
= 0;
14623 wxDC
*arg1
= (wxDC
*) 0 ;
14625 wxColour
*arg3
= 0 ;
14626 wxColour
*arg4
= 0 ;
14627 wxPoint
*arg5
= 0 ;
14634 PyObject
* obj0
= 0 ;
14635 PyObject
* obj1
= 0 ;
14636 PyObject
* obj2
= 0 ;
14637 PyObject
* obj3
= 0 ;
14638 PyObject
* obj4
= 0 ;
14639 char * kwnames
[] = {
14640 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14651 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14655 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14659 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14663 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_Py_Void();
14678 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
= 0;
14680 wxDC
*arg1
= (wxDC
*) 0 ;
14682 wxColour
*arg3
= 0 ;
14683 wxColour
*arg4
= 0 ;
14684 wxDirection arg5
= (wxDirection
) wxEAST
;
14692 PyObject
* obj0
= 0 ;
14693 PyObject
* obj1
= 0 ;
14694 PyObject
* obj2
= 0 ;
14695 PyObject
* obj3
= 0 ;
14696 PyObject
* obj4
= 0 ;
14697 char * kwnames
[] = {
14698 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14703 if (!SWIG_IsOK(res1
)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14709 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14713 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14717 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14721 if (!SWIG_IsOK(ecode5
)) {
14722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14724 arg5
= static_cast< wxDirection
>(val5
);
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= SWIG_Py_Void();
14739 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
= 0;
14741 wxDC
*arg1
= (wxDC
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 PyObject
* obj1
= 0 ;
14753 PyObject
* obj2
= 0 ;
14754 char * kwnames
[] = {
14755 (char *) "self",(char *) "x",(char *) "y", NULL
14758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14760 if (!SWIG_IsOK(res1
)) {
14761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14765 if (!SWIG_IsOK(ecode2
)) {
14766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14768 arg2
= static_cast< int >(val2
);
14769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14770 if (!SWIG_IsOK(ecode3
)) {
14771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14773 arg3
= static_cast< int >(val3
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14787 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
= 0;
14789 wxDC
*arg1
= (wxDC
*) 0 ;
14790 wxPoint
*arg2
= 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char * kwnames
[] = {
14798 (char *) "self",(char *) "pt", NULL
14801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14803 if (!SWIG_IsOK(res1
)) {
14804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14824 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
= 0;
14826 wxDC
*arg1
= (wxDC
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 PyObject
* obj2
= 0 ;
14844 PyObject
* obj3
= 0 ;
14845 PyObject
* obj4
= 0 ;
14846 char * kwnames
[] = {
14847 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14852 if (!SWIG_IsOK(res1
)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14857 if (!SWIG_IsOK(ecode2
)) {
14858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14860 arg2
= static_cast< int >(val2
);
14861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14862 if (!SWIG_IsOK(ecode3
)) {
14863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14865 arg3
= static_cast< int >(val3
);
14866 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14867 if (!SWIG_IsOK(ecode4
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14870 arg4
= static_cast< int >(val4
);
14871 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14872 if (!SWIG_IsOK(ecode5
)) {
14873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14875 arg5
= static_cast< int >(val5
);
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= SWIG_Py_Void();
14889 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
= 0;
14891 wxDC
*arg1
= (wxDC
*) 0 ;
14892 wxPoint
*arg2
= 0 ;
14893 wxPoint
*arg3
= 0 ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 PyObject
* obj2
= 0 ;
14901 char * kwnames
[] = {
14902 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14907 if (!SWIG_IsOK(res1
)) {
14908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_Py_Void();
14932 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
= 0;
14934 wxDC
*arg1
= (wxDC
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 PyObject
* obj1
= 0 ;
14945 PyObject
* obj2
= 0 ;
14946 char * kwnames
[] = {
14947 (char *) "self",(char *) "x",(char *) "y", NULL
14950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14952 if (!SWIG_IsOK(res1
)) {
14953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14957 if (!SWIG_IsOK(ecode2
)) {
14958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14960 arg2
= static_cast< int >(val2
);
14961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14962 if (!SWIG_IsOK(ecode3
)) {
14963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14965 arg3
= static_cast< int >(val3
);
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 (arg1
)->CrossHair(arg2
,arg3
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= SWIG_Py_Void();
14979 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
= 0;
14981 wxDC
*arg1
= (wxDC
*) 0 ;
14982 wxPoint
*arg2
= 0 ;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14988 char * kwnames
[] = {
14989 (char *) "self",(char *) "pt", NULL
14992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14994 if (!SWIG_IsOK(res1
)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15000 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= SWIG_Py_Void();
15015 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
= 0;
15017 wxDC
*arg1
= (wxDC
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 PyObject
* obj2
= 0 ;
15041 PyObject
* obj3
= 0 ;
15042 PyObject
* obj4
= 0 ;
15043 PyObject
* obj5
= 0 ;
15044 PyObject
* obj6
= 0 ;
15045 char * kwnames
[] = {
15046 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15051 if (!SWIG_IsOK(res1
)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15056 if (!SWIG_IsOK(ecode2
)) {
15057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15059 arg2
= static_cast< int >(val2
);
15060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15061 if (!SWIG_IsOK(ecode3
)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15064 arg3
= static_cast< int >(val3
);
15065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15066 if (!SWIG_IsOK(ecode4
)) {
15067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15069 arg4
= static_cast< int >(val4
);
15070 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15071 if (!SWIG_IsOK(ecode5
)) {
15072 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15074 arg5
= static_cast< int >(val5
);
15075 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15076 if (!SWIG_IsOK(ecode6
)) {
15077 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15079 arg6
= static_cast< int >(val6
);
15080 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15081 if (!SWIG_IsOK(ecode7
)) {
15082 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15084 arg7
= static_cast< int >(val7
);
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_Py_Void();
15098 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= 0;
15100 wxDC
*arg1
= (wxDC
*) 0 ;
15101 wxPoint
*arg2
= 0 ;
15102 wxPoint
*arg3
= 0 ;
15103 wxPoint
*arg4
= 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 PyObject
* obj2
= 0 ;
15112 PyObject
* obj3
= 0 ;
15113 char * kwnames
[] = {
15114 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15119 if (!SWIG_IsOK(res1
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15133 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_Py_Void();
15148 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
= 0;
15150 wxDC
*arg1
= (wxDC
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 PyObject
* obj3
= 0 ;
15169 PyObject
* obj4
= 0 ;
15170 char * kwnames
[] = {
15171 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15181 if (!SWIG_IsOK(ecode2
)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15184 arg2
= static_cast< int >(val2
);
15185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15186 if (!SWIG_IsOK(ecode3
)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15189 arg3
= static_cast< int >(val3
);
15190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15191 if (!SWIG_IsOK(ecode4
)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15194 arg4
= static_cast< int >(val4
);
15195 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15196 if (!SWIG_IsOK(ecode5
)) {
15197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15199 arg5
= static_cast< int >(val5
);
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_Py_Void();
15213 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
= 0;
15215 wxDC
*arg1
= (wxDC
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 char * kwnames
[] = {
15223 (char *) "self",(char *) "rect", NULL
15226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15228 if (!SWIG_IsOK(res1
)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15234 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_Py_Void();
15249 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
= 0;
15251 wxDC
*arg1
= (wxDC
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 PyObject
* obj2
= 0 ;
15275 PyObject
* obj3
= 0 ;
15276 PyObject
* obj4
= 0 ;
15277 PyObject
* obj5
= 0 ;
15278 PyObject
* obj6
= 0 ;
15279 char * kwnames
[] = {
15280 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15290 if (!SWIG_IsOK(ecode2
)) {
15291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15293 arg2
= static_cast< int >(val2
);
15294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15295 if (!SWIG_IsOK(ecode3
)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15298 arg3
= static_cast< int >(val3
);
15299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15300 if (!SWIG_IsOK(ecode4
)) {
15301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15303 arg4
= static_cast< int >(val4
);
15304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15305 if (!SWIG_IsOK(ecode5
)) {
15306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15308 arg5
= static_cast< int >(val5
);
15309 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15310 if (!SWIG_IsOK(ecode6
)) {
15311 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15313 arg6
= static_cast< double >(val6
);
15314 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15315 if (!SWIG_IsOK(ecode7
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15318 arg7
= static_cast< double >(val7
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_Py_Void();
15332 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
= 0;
15334 wxDC
*arg1
= (wxDC
*) 0 ;
15335 wxPoint
*arg2
= 0 ;
15347 PyObject
* obj0
= 0 ;
15348 PyObject
* obj1
= 0 ;
15349 PyObject
* obj2
= 0 ;
15350 PyObject
* obj3
= 0 ;
15351 PyObject
* obj4
= 0 ;
15352 char * kwnames
[] = {
15353 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15358 if (!SWIG_IsOK(res1
)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15364 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15368 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15370 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15371 if (!SWIG_IsOK(ecode4
)) {
15372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15374 arg4
= static_cast< double >(val4
);
15375 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15376 if (!SWIG_IsOK(ecode5
)) {
15377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15379 arg5
= static_cast< double >(val5
);
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= SWIG_Py_Void();
15393 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
= 0;
15395 wxDC
*arg1
= (wxDC
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 PyObject
* obj2
= 0 ;
15407 char * kwnames
[] = {
15408 (char *) "self",(char *) "x",(char *) "y", NULL
15411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15413 if (!SWIG_IsOK(res1
)) {
15414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15418 if (!SWIG_IsOK(ecode2
)) {
15419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15421 arg2
= static_cast< int >(val2
);
15422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15423 if (!SWIG_IsOK(ecode3
)) {
15424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15426 arg3
= static_cast< int >(val3
);
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 (arg1
)->DrawPoint(arg2
,arg3
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_Py_Void();
15440 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
= 0;
15442 wxDC
*arg1
= (wxDC
*) 0 ;
15443 wxPoint
*arg2
= 0 ;
15447 PyObject
* obj0
= 0 ;
15448 PyObject
* obj1
= 0 ;
15449 char * kwnames
[] = {
15450 (char *) "self",(char *) "pt", NULL
15453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15455 if (!SWIG_IsOK(res1
)) {
15456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_Py_Void();
15476 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= 0;
15478 wxDC
*arg1
= (wxDC
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 PyObject
* obj2
= 0 ;
15496 PyObject
* obj3
= 0 ;
15497 PyObject
* obj4
= 0 ;
15498 char * kwnames
[] = {
15499 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15504 if (!SWIG_IsOK(res1
)) {
15505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15509 if (!SWIG_IsOK(ecode2
)) {
15510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15512 arg2
= static_cast< int >(val2
);
15513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15514 if (!SWIG_IsOK(ecode3
)) {
15515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15517 arg3
= static_cast< int >(val3
);
15518 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15519 if (!SWIG_IsOK(ecode4
)) {
15520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15522 arg4
= static_cast< int >(val4
);
15523 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15524 if (!SWIG_IsOK(ecode5
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15527 arg5
= static_cast< int >(val5
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_Py_Void();
15541 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15542 PyObject
*resultobj
= 0;
15543 wxDC
*arg1
= (wxDC
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 PyObject
* obj1
= 0 ;
15550 char * kwnames
[] = {
15551 (char *) "self",(char *) "rect", NULL
15554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15556 if (!SWIG_IsOK(res1
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15562 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_Py_Void();
15577 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
= 0;
15579 wxDC
*arg1
= (wxDC
*) 0 ;
15580 wxPoint
*arg2
= 0 ;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 PyObject
* obj2
= 0 ;
15589 char * kwnames
[] = {
15590 (char *) "self",(char *) "pt",(char *) "sz", NULL
15593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15595 if (!SWIG_IsOK(res1
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15605 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_Py_Void();
15620 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
= 0;
15622 wxDC
*arg1
= (wxDC
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 PyObject
* obj2
= 0 ;
15643 PyObject
* obj3
= 0 ;
15644 PyObject
* obj4
= 0 ;
15645 PyObject
* obj5
= 0 ;
15646 char * kwnames
[] = {
15647 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15657 if (!SWIG_IsOK(ecode2
)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15660 arg2
= static_cast< int >(val2
);
15661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15662 if (!SWIG_IsOK(ecode3
)) {
15663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15665 arg3
= static_cast< int >(val3
);
15666 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15667 if (!SWIG_IsOK(ecode4
)) {
15668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15670 arg4
= static_cast< int >(val4
);
15671 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15672 if (!SWIG_IsOK(ecode5
)) {
15673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15675 arg5
= static_cast< int >(val5
);
15676 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15677 if (!SWIG_IsOK(ecode6
)) {
15678 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15680 arg6
= static_cast< double >(val6
);
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= SWIG_Py_Void();
15694 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
= 0;
15696 wxDC
*arg1
= (wxDC
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 PyObject
* obj1
= 0 ;
15706 PyObject
* obj2
= 0 ;
15707 char * kwnames
[] = {
15708 (char *) "self",(char *) "r",(char *) "radius", NULL
15711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15713 if (!SWIG_IsOK(res1
)) {
15714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15719 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15721 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15722 if (!SWIG_IsOK(ecode3
)) {
15723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15725 arg3
= static_cast< double >(val3
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= SWIG_Py_Void();
15739 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
= 0;
15741 wxDC
*arg1
= (wxDC
*) 0 ;
15742 wxPoint
*arg2
= 0 ;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 PyObject
* obj2
= 0 ;
15754 PyObject
* obj3
= 0 ;
15755 char * kwnames
[] = {
15756 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15767 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15771 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15773 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15774 if (!SWIG_IsOK(ecode4
)) {
15775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15777 arg4
= static_cast< double >(val4
);
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= SWIG_Py_Void();
15791 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= 0;
15793 wxDC
*arg1
= (wxDC
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 PyObject
* obj2
= 0 ;
15808 PyObject
* obj3
= 0 ;
15809 char * kwnames
[] = {
15810 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15815 if (!SWIG_IsOK(res1
)) {
15816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15820 if (!SWIG_IsOK(ecode2
)) {
15821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15823 arg2
= static_cast< int >(val2
);
15824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15825 if (!SWIG_IsOK(ecode3
)) {
15826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15828 arg3
= static_cast< int >(val3
);
15829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15830 if (!SWIG_IsOK(ecode4
)) {
15831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15833 arg4
= static_cast< int >(val4
);
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= SWIG_Py_Void();
15847 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
= 0;
15849 wxDC
*arg1
= (wxDC
*) 0 ;
15850 wxPoint
*arg2
= 0 ;
15857 PyObject
* obj0
= 0 ;
15858 PyObject
* obj1
= 0 ;
15859 PyObject
* obj2
= 0 ;
15860 char * kwnames
[] = {
15861 (char *) "self",(char *) "pt",(char *) "radius", NULL
15864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15866 if (!SWIG_IsOK(res1
)) {
15867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15874 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15875 if (!SWIG_IsOK(ecode3
)) {
15876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15878 arg3
= static_cast< int >(val3
);
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_Py_Void();
15892 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
= 0;
15894 wxDC
*arg1
= (wxDC
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 PyObject
* obj2
= 0 ;
15912 PyObject
* obj3
= 0 ;
15913 PyObject
* obj4
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15920 if (!SWIG_IsOK(res1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15925 if (!SWIG_IsOK(ecode2
)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15928 arg2
= static_cast< int >(val2
);
15929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15930 if (!SWIG_IsOK(ecode3
)) {
15931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15933 arg3
= static_cast< int >(val3
);
15934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15935 if (!SWIG_IsOK(ecode4
)) {
15936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15938 arg4
= static_cast< int >(val4
);
15939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15940 if (!SWIG_IsOK(ecode5
)) {
15941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15943 arg5
= static_cast< int >(val5
);
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15950 resultobj
= SWIG_Py_Void();
15957 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
= 0;
15959 wxDC
*arg1
= (wxDC
*) 0 ;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 char * kwnames
[] = {
15967 (char *) "self",(char *) "rect", NULL
15970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15972 if (!SWIG_IsOK(res1
)) {
15973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15978 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= SWIG_Py_Void();
15993 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
= 0;
15995 wxDC
*arg1
= (wxDC
*) 0 ;
15996 wxPoint
*arg2
= 0 ;
16002 PyObject
* obj0
= 0 ;
16003 PyObject
* obj1
= 0 ;
16004 PyObject
* obj2
= 0 ;
16005 char * kwnames
[] = {
16006 (char *) "self",(char *) "pt",(char *) "sz", NULL
16009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16011 if (!SWIG_IsOK(res1
)) {
16012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16021 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= SWIG_Py_Void();
16036 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
= 0;
16038 wxDC
*arg1
= (wxDC
*) 0 ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 PyObject
* obj2
= 0 ;
16053 PyObject
* obj3
= 0 ;
16054 char * kwnames
[] = {
16055 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16060 if (!SWIG_IsOK(res1
)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16065 if (!SWIG_IsOK(res2
)) {
16066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16071 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16073 if (!SWIG_IsOK(ecode3
)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16076 arg3
= static_cast< int >(val3
);
16077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16078 if (!SWIG_IsOK(ecode4
)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16081 arg4
= static_cast< int >(val4
);
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= SWIG_Py_Void();
16095 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
= 0;
16097 wxDC
*arg1
= (wxDC
*) 0 ;
16099 wxPoint
*arg3
= 0 ;
16105 PyObject
* obj0
= 0 ;
16106 PyObject
* obj1
= 0 ;
16107 PyObject
* obj2
= 0 ;
16108 char * kwnames
[] = {
16109 (char *) "self",(char *) "icon",(char *) "pt", NULL
16112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16114 if (!SWIG_IsOK(res1
)) {
16115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16119 if (!SWIG_IsOK(res2
)) {
16120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16125 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 resultobj
= SWIG_Py_Void();
16143 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
= 0;
16145 wxDC
*arg1
= (wxDC
*) 0 ;
16146 wxBitmap
*arg2
= 0 ;
16149 bool arg5
= (bool) false ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 PyObject
* obj2
= 0 ;
16163 PyObject
* obj3
= 0 ;
16164 PyObject
* obj4
= 0 ;
16165 char * kwnames
[] = {
16166 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16171 if (!SWIG_IsOK(res1
)) {
16172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16176 if (!SWIG_IsOK(res2
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16182 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16184 if (!SWIG_IsOK(ecode3
)) {
16185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16187 arg3
= static_cast< int >(val3
);
16188 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16189 if (!SWIG_IsOK(ecode4
)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16192 arg4
= static_cast< int >(val4
);
16194 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16195 if (!SWIG_IsOK(ecode5
)) {
16196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16198 arg5
= static_cast< bool >(val5
);
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_Py_Void();
16213 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
= 0;
16215 wxDC
*arg1
= (wxDC
*) 0 ;
16216 wxBitmap
*arg2
= 0 ;
16217 wxPoint
*arg3
= 0 ;
16218 bool arg4
= (bool) false ;
16226 PyObject
* obj0
= 0 ;
16227 PyObject
* obj1
= 0 ;
16228 PyObject
* obj2
= 0 ;
16229 PyObject
* obj3
= 0 ;
16230 char * kwnames
[] = {
16231 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16236 if (!SWIG_IsOK(res1
)) {
16237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16241 if (!SWIG_IsOK(res2
)) {
16242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16247 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16253 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16254 if (!SWIG_IsOK(ecode4
)) {
16255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16257 arg4
= static_cast< bool >(val4
);
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= SWIG_Py_Void();
16272 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
= 0;
16274 wxDC
*arg1
= (wxDC
*) 0 ;
16275 wxString
*arg2
= 0 ;
16280 bool temp2
= false ;
16285 PyObject
* obj0
= 0 ;
16286 PyObject
* obj1
= 0 ;
16287 PyObject
* obj2
= 0 ;
16288 PyObject
* obj3
= 0 ;
16289 char * kwnames
[] = {
16290 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16295 if (!SWIG_IsOK(res1
)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16300 arg2
= wxString_in_helper(obj1
);
16301 if (arg2
== NULL
) SWIG_fail
;
16304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16305 if (!SWIG_IsOK(ecode3
)) {
16306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16308 arg3
= static_cast< int >(val3
);
16309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16310 if (!SWIG_IsOK(ecode4
)) {
16311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16313 arg4
= static_cast< int >(val4
);
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_Py_Void();
16335 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
= 0;
16337 wxDC
*arg1
= (wxDC
*) 0 ;
16338 wxString
*arg2
= 0 ;
16339 wxPoint
*arg3
= 0 ;
16342 bool temp2
= false ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 PyObject
* obj2
= 0 ;
16347 char * kwnames
[] = {
16348 (char *) "self",(char *) "text",(char *) "pt", NULL
16351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16353 if (!SWIG_IsOK(res1
)) {
16354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16358 arg2
= wxString_in_helper(obj1
);
16359 if (arg2
== NULL
) SWIG_fail
;
16364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= SWIG_Py_Void();
16387 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
= 0;
16389 wxDC
*arg1
= (wxDC
*) 0 ;
16390 wxString
*arg2
= 0 ;
16396 bool temp2
= false ;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 PyObject
* obj2
= 0 ;
16406 PyObject
* obj3
= 0 ;
16407 PyObject
* obj4
= 0 ;
16408 char * kwnames
[] = {
16409 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16414 if (!SWIG_IsOK(res1
)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16419 arg2
= wxString_in_helper(obj1
);
16420 if (arg2
== NULL
) SWIG_fail
;
16423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16424 if (!SWIG_IsOK(ecode3
)) {
16425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16427 arg3
= static_cast< int >(val3
);
16428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16429 if (!SWIG_IsOK(ecode4
)) {
16430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16432 arg4
= static_cast< int >(val4
);
16433 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16434 if (!SWIG_IsOK(ecode5
)) {
16435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16437 arg5
= static_cast< double >(val5
);
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= SWIG_Py_Void();
16459 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
= 0;
16461 wxDC
*arg1
= (wxDC
*) 0 ;
16462 wxString
*arg2
= 0 ;
16463 wxPoint
*arg3
= 0 ;
16467 bool temp2
= false ;
16471 PyObject
* obj0
= 0 ;
16472 PyObject
* obj1
= 0 ;
16473 PyObject
* obj2
= 0 ;
16474 PyObject
* obj3
= 0 ;
16475 char * kwnames
[] = {
16476 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16481 if (!SWIG_IsOK(res1
)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16486 arg2
= wxString_in_helper(obj1
);
16487 if (arg2
== NULL
) SWIG_fail
;
16492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16494 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16495 if (!SWIG_IsOK(ecode4
)) {
16496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16498 arg4
= static_cast< double >(val4
);
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= SWIG_Py_Void();
16520 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
= 0;
16522 wxDC
*arg1
= (wxDC
*) 0 ;
16527 wxDC
*arg6
= (wxDC
*) 0 ;
16530 int arg9
= (int) wxCOPY
;
16531 bool arg10
= (bool) false ;
16532 int arg11
= (int) -1 ;
16533 int arg12
= (int) -1 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 PyObject
* obj2
= 0 ;
16562 PyObject
* obj3
= 0 ;
16563 PyObject
* obj4
= 0 ;
16564 PyObject
* obj5
= 0 ;
16565 PyObject
* obj6
= 0 ;
16566 PyObject
* obj7
= 0 ;
16567 PyObject
* obj8
= 0 ;
16568 PyObject
* obj9
= 0 ;
16569 PyObject
* obj10
= 0 ;
16570 PyObject
* obj11
= 0 ;
16571 char * kwnames
[] = {
16572 (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
16575 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
;
16576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16577 if (!SWIG_IsOK(res1
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16582 if (!SWIG_IsOK(ecode2
)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16585 arg2
= static_cast< int >(val2
);
16586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16587 if (!SWIG_IsOK(ecode3
)) {
16588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16590 arg3
= static_cast< int >(val3
);
16591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16592 if (!SWIG_IsOK(ecode4
)) {
16593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16595 arg4
= static_cast< int >(val4
);
16596 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16597 if (!SWIG_IsOK(ecode5
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16600 arg5
= static_cast< int >(val5
);
16601 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16602 if (!SWIG_IsOK(res6
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16605 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16606 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16607 if (!SWIG_IsOK(ecode7
)) {
16608 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16610 arg7
= static_cast< int >(val7
);
16611 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16612 if (!SWIG_IsOK(ecode8
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16615 arg8
= static_cast< int >(val8
);
16617 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16618 if (!SWIG_IsOK(ecode9
)) {
16619 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16621 arg9
= static_cast< int >(val9
);
16624 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16625 if (!SWIG_IsOK(ecode10
)) {
16626 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16628 arg10
= static_cast< bool >(val10
);
16631 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16632 if (!SWIG_IsOK(ecode11
)) {
16633 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16635 arg11
= static_cast< int >(val11
);
16638 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16639 if (!SWIG_IsOK(ecode12
)) {
16640 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16642 arg12
= static_cast< int >(val12
);
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16659 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= 0;
16661 wxDC
*arg1
= (wxDC
*) 0 ;
16662 wxPoint
*arg2
= 0 ;
16664 wxDC
*arg4
= (wxDC
*) 0 ;
16665 wxPoint
*arg5
= 0 ;
16666 int arg6
= (int) wxCOPY
;
16667 bool arg7
= (bool) false ;
16668 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16669 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 PyObject
* obj2
= 0 ;
16686 PyObject
* obj3
= 0 ;
16687 PyObject
* obj4
= 0 ;
16688 PyObject
* obj5
= 0 ;
16689 PyObject
* obj6
= 0 ;
16690 PyObject
* obj7
= 0 ;
16691 char * kwnames
[] = {
16692 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16697 if (!SWIG_IsOK(res1
)) {
16698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16703 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16707 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16709 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16710 if (!SWIG_IsOK(res4
)) {
16711 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16713 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16716 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16719 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16720 if (!SWIG_IsOK(ecode6
)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16723 arg6
= static_cast< int >(val6
);
16726 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16727 if (!SWIG_IsOK(ecode7
)) {
16728 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16730 arg7
= static_cast< bool >(val7
);
16735 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16753 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
= 0;
16755 wxDC
*arg1
= (wxDC
*) 0 ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 PyObject
* obj2
= 0 ;
16773 PyObject
* obj3
= 0 ;
16774 PyObject
* obj4
= 0 ;
16775 char * kwnames
[] = {
16776 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16781 if (!SWIG_IsOK(res1
)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16786 if (!SWIG_IsOK(ecode2
)) {
16787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16789 arg2
= static_cast< int >(val2
);
16790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16791 if (!SWIG_IsOK(ecode3
)) {
16792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16794 arg3
= static_cast< int >(val3
);
16795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16796 if (!SWIG_IsOK(ecode4
)) {
16797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16799 arg4
= static_cast< int >(val4
);
16800 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16801 if (!SWIG_IsOK(ecode5
)) {
16802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16804 arg5
= static_cast< int >(val5
);
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_Py_Void();
16818 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
= 0;
16820 wxDC
*arg1
= (wxDC
*) 0 ;
16821 wxPoint
*arg2
= 0 ;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 PyObject
* obj2
= 0 ;
16830 char * kwnames
[] = {
16831 (char *) "self",(char *) "pt",(char *) "sz", NULL
16834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16836 if (!SWIG_IsOK(res1
)) {
16837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16846 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= SWIG_Py_Void();
16861 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
= 0;
16863 wxDC
*arg1
= (wxDC
*) 0 ;
16864 wxRegion
*arg2
= 0 ;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char * kwnames
[] = {
16872 (char *) "self",(char *) "region", NULL
16875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16877 if (!SWIG_IsOK(res1
)) {
16878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16882 if (!SWIG_IsOK(res2
)) {
16883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16888 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= SWIG_Py_Void();
16902 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
= 0;
16904 wxDC
*arg1
= (wxDC
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char * kwnames
[] = {
16912 (char *) "self",(char *) "rect", NULL
16915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16917 if (!SWIG_IsOK(res1
)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16920 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16923 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_Py_Void();
16938 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
= 0;
16940 wxDC
*arg1
= (wxDC
*) 0 ;
16942 wxPoint
*arg3
= (wxPoint
*) 0 ;
16943 int arg4
= (int) 0 ;
16944 int arg5
= (int) 0 ;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 PyObject
* obj2
= 0 ;
16954 PyObject
* obj3
= 0 ;
16955 char * kwnames
[] = {
16956 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16961 if (!SWIG_IsOK(res1
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16966 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16967 if (arg3
== NULL
) SWIG_fail
;
16970 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16971 if (!SWIG_IsOK(ecode4
)) {
16972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16974 arg4
= static_cast< int >(val4
);
16977 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16978 if (!SWIG_IsOK(ecode5
)) {
16979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16981 arg5
= static_cast< int >(val5
);
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= SWIG_Py_Void();
16991 if (arg3
) delete [] arg3
;
16996 if (arg3
) delete [] arg3
;
17002 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
= 0;
17004 wxDC
*arg1
= (wxDC
*) 0 ;
17006 wxPoint
*arg3
= (wxPoint
*) 0 ;
17007 int arg4
= (int) 0 ;
17008 int arg5
= (int) 0 ;
17009 int arg6
= (int) wxODDEVEN_RULE
;
17018 PyObject
* obj0
= 0 ;
17019 PyObject
* obj1
= 0 ;
17020 PyObject
* obj2
= 0 ;
17021 PyObject
* obj3
= 0 ;
17022 PyObject
* obj4
= 0 ;
17023 char * kwnames
[] = {
17024 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17029 if (!SWIG_IsOK(res1
)) {
17030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17034 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17035 if (arg3
== NULL
) SWIG_fail
;
17038 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17039 if (!SWIG_IsOK(ecode4
)) {
17040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17042 arg4
= static_cast< int >(val4
);
17045 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17046 if (!SWIG_IsOK(ecode5
)) {
17047 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17049 arg5
= static_cast< int >(val5
);
17052 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17053 if (!SWIG_IsOK(ecode6
)) {
17054 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17056 arg6
= static_cast< int >(val6
);
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= SWIG_Py_Void();
17066 if (arg3
) delete [] arg3
;
17071 if (arg3
) delete [] arg3
;
17077 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
= 0;
17079 wxDC
*arg1
= (wxDC
*) 0 ;
17080 wxString
*arg2
= 0 ;
17082 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17083 int arg5
= (int) -1 ;
17086 bool temp2
= false ;
17092 PyObject
* obj0
= 0 ;
17093 PyObject
* obj1
= 0 ;
17094 PyObject
* obj2
= 0 ;
17095 PyObject
* obj3
= 0 ;
17096 PyObject
* obj4
= 0 ;
17097 char * kwnames
[] = {
17098 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17103 if (!SWIG_IsOK(res1
)) {
17104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17108 arg2
= wxString_in_helper(obj1
);
17109 if (arg2
== NULL
) SWIG_fail
;
17114 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17118 if (!SWIG_IsOK(ecode4
)) {
17119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17121 arg4
= static_cast< int >(val4
);
17124 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17125 if (!SWIG_IsOK(ecode5
)) {
17126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17128 arg5
= static_cast< int >(val5
);
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= SWIG_Py_Void();
17151 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
= 0;
17153 wxDC
*arg1
= (wxDC
*) 0 ;
17154 wxString
*arg2
= 0 ;
17155 wxBitmap
*arg3
= 0 ;
17157 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17158 int arg6
= (int) -1 ;
17162 bool temp2
= false ;
17170 PyObject
* obj0
= 0 ;
17171 PyObject
* obj1
= 0 ;
17172 PyObject
* obj2
= 0 ;
17173 PyObject
* obj3
= 0 ;
17174 PyObject
* obj4
= 0 ;
17175 PyObject
* obj5
= 0 ;
17176 char * kwnames
[] = {
17177 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17182 if (!SWIG_IsOK(res1
)) {
17183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17187 arg2
= wxString_in_helper(obj1
);
17188 if (arg2
== NULL
) SWIG_fail
;
17191 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17192 if (!SWIG_IsOK(res3
)) {
17193 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17198 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17201 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17204 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17205 if (!SWIG_IsOK(ecode5
)) {
17206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17208 arg5
= static_cast< int >(val5
);
17211 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17212 if (!SWIG_IsOK(ecode6
)) {
17213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17215 arg6
= static_cast< int >(val6
);
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17238 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
= 0;
17240 wxDC
*arg1
= (wxDC
*) 0 ;
17242 wxPoint
*arg3
= (wxPoint
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char * kwnames
[] = {
17248 (char *) "self",(char *) "points", NULL
17251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17253 if (!SWIG_IsOK(res1
)) {
17254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17258 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17259 if (arg3
== NULL
) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 (arg1
)->DrawSpline(arg2
,arg3
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_Py_Void();
17269 if (arg3
) delete [] arg3
;
17274 if (arg3
) delete [] arg3
;
17280 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17281 PyObject
*resultobj
= 0;
17282 wxDC
*arg1
= (wxDC
*) 0 ;
17285 PyObject
*swig_obj
[1] ;
17287 if (!args
) SWIG_fail
;
17288 swig_obj
[0] = args
;
17289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17290 if (!SWIG_IsOK(res1
)) {
17291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= SWIG_Py_Void();
17307 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
= 0;
17309 wxDC
*arg1
= (wxDC
*) 0 ;
17310 wxString
*arg2
= 0 ;
17314 bool temp2
= false ;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char * kwnames
[] = {
17318 (char *) "self",(char *) "message", NULL
17321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17323 if (!SWIG_IsOK(res1
)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17328 arg2
= wxString_in_helper(obj1
);
17329 if (arg2
== NULL
) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17355 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17356 PyObject
*resultobj
= 0;
17357 wxDC
*arg1
= (wxDC
*) 0 ;
17360 PyObject
*swig_obj
[1] ;
17362 if (!args
) SWIG_fail
;
17363 swig_obj
[0] = args
;
17364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_Py_Void();
17382 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17383 PyObject
*resultobj
= 0;
17384 wxDC
*arg1
= (wxDC
*) 0 ;
17387 PyObject
*swig_obj
[1] ;
17389 if (!args
) SWIG_fail
;
17390 swig_obj
[0] = args
;
17391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17392 if (!SWIG_IsOK(res1
)) {
17393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 (arg1
)->StartPage();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_Py_Void();
17409 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17410 PyObject
*resultobj
= 0;
17411 wxDC
*arg1
= (wxDC
*) 0 ;
17414 PyObject
*swig_obj
[1] ;
17416 if (!args
) SWIG_fail
;
17417 swig_obj
[0] = args
;
17418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17419 if (!SWIG_IsOK(res1
)) {
17420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= SWIG_Py_Void();
17436 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
= 0;
17438 wxDC
*arg1
= (wxDC
*) 0 ;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char * kwnames
[] = {
17447 (char *) "self",(char *) "font", NULL
17450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17452 if (!SWIG_IsOK(res1
)) {
17453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17457 if (!SWIG_IsOK(res2
)) {
17458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17463 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 (arg1
)->SetFont((wxFont
const &)*arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= SWIG_Py_Void();
17477 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
= 0;
17479 wxDC
*arg1
= (wxDC
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 char * kwnames
[] = {
17488 (char *) "self",(char *) "pen", NULL
17491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17493 if (!SWIG_IsOK(res1
)) {
17494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17498 if (!SWIG_IsOK(res2
)) {
17499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17504 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->SetPen((wxPen
const &)*arg2
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= SWIG_Py_Void();
17518 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
= 0;
17520 wxDC
*arg1
= (wxDC
*) 0 ;
17521 wxBrush
*arg2
= 0 ;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char * kwnames
[] = {
17529 (char *) "self",(char *) "brush", NULL
17532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17534 if (!SWIG_IsOK(res1
)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17539 if (!SWIG_IsOK(res2
)) {
17540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17545 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= SWIG_Py_Void();
17559 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
= 0;
17561 wxDC
*arg1
= (wxDC
*) 0 ;
17562 wxBrush
*arg2
= 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char * kwnames
[] = {
17570 (char *) "self",(char *) "brush", NULL
17573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17575 if (!SWIG_IsOK(res1
)) {
17576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17580 if (!SWIG_IsOK(res2
)) {
17581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17586 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_Py_Void();
17600 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
= 0;
17602 wxDC
*arg1
= (wxDC
*) 0 ;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 char * kwnames
[] = {
17611 (char *) "self",(char *) "mode", NULL
17614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17616 if (!SWIG_IsOK(res1
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17621 if (!SWIG_IsOK(ecode2
)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17624 arg2
= static_cast< int >(val2
);
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 (arg1
)->SetBackgroundMode(arg2
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_Py_Void();
17638 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
= 0;
17640 wxDC
*arg1
= (wxDC
*) 0 ;
17641 wxPalette
*arg2
= 0 ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char * kwnames
[] = {
17649 (char *) "self",(char *) "palette", NULL
17652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17654 if (!SWIG_IsOK(res1
)) {
17655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17659 if (!SWIG_IsOK(res2
)) {
17660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17665 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= SWIG_Py_Void();
17679 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17680 PyObject
*resultobj
= 0;
17681 wxDC
*arg1
= (wxDC
*) 0 ;
17684 PyObject
*swig_obj
[1] ;
17686 if (!args
) SWIG_fail
;
17687 swig_obj
[0] = args
;
17688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17689 if (!SWIG_IsOK(res1
)) {
17690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 (arg1
)->DestroyClippingRegion();
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_Py_Void();
17706 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17707 PyObject
*resultobj
= 0;
17708 wxDC
*arg1
= (wxDC
*) 0 ;
17709 int *arg2
= (int *) 0 ;
17710 int *arg3
= (int *) 0 ;
17711 int *arg4
= (int *) 0 ;
17712 int *arg5
= (int *) 0 ;
17716 int res2
= SWIG_TMPOBJ
;
17718 int res3
= SWIG_TMPOBJ
;
17720 int res4
= SWIG_TMPOBJ
;
17722 int res5
= SWIG_TMPOBJ
;
17723 PyObject
*swig_obj
[1] ;
17729 if (!args
) SWIG_fail
;
17730 swig_obj
[0] = args
;
17731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17732 if (!SWIG_IsOK(res1
)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= SWIG_Py_Void();
17743 if (SWIG_IsTmpObj(res2
)) {
17744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17746 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17749 if (SWIG_IsTmpObj(res3
)) {
17750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17752 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17755 if (SWIG_IsTmpObj(res4
)) {
17756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17758 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17761 if (SWIG_IsTmpObj(res5
)) {
17762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17764 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17773 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17774 PyObject
*resultobj
= 0;
17775 wxDC
*arg1
= (wxDC
*) 0 ;
17779 PyObject
*swig_obj
[1] ;
17781 if (!args
) SWIG_fail
;
17782 swig_obj
[0] = args
;
17783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17784 if (!SWIG_IsOK(res1
)) {
17785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= wxDC_GetClippingRect(arg1
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17801 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17802 PyObject
*resultobj
= 0;
17803 wxDC
*arg1
= (wxDC
*) 0 ;
17807 PyObject
*swig_obj
[1] ;
17809 if (!args
) SWIG_fail
;
17810 swig_obj
[0] = args
;
17811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17812 if (!SWIG_IsOK(res1
)) {
17813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= SWIG_From_int(static_cast< int >(result
));
17829 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17830 PyObject
*resultobj
= 0;
17831 wxDC
*arg1
= (wxDC
*) 0 ;
17835 PyObject
*swig_obj
[1] ;
17837 if (!args
) SWIG_fail
;
17838 swig_obj
[0] = args
;
17839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17840 if (!SWIG_IsOK(res1
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= SWIG_From_int(static_cast< int >(result
));
17857 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
= 0;
17859 wxDC
*arg1
= (wxDC
*) 0 ;
17860 wxString
*arg2
= 0 ;
17861 int *arg3
= (int *) 0 ;
17862 int *arg4
= (int *) 0 ;
17865 bool temp2
= false ;
17867 int res3
= SWIG_TMPOBJ
;
17869 int res4
= SWIG_TMPOBJ
;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 char * kwnames
[] = {
17873 (char *) "self",(char *) "string", NULL
17878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17880 if (!SWIG_IsOK(res1
)) {
17881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17885 arg2
= wxString_in_helper(obj1
);
17886 if (arg2
== NULL
) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_Py_Void();
17896 if (SWIG_IsTmpObj(res3
)) {
17897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17899 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17902 if (SWIG_IsTmpObj(res4
)) {
17903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17905 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17922 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
= 0;
17924 wxDC
*arg1
= (wxDC
*) 0 ;
17925 wxString
*arg2
= 0 ;
17926 int *arg3
= (int *) 0 ;
17927 int *arg4
= (int *) 0 ;
17928 int *arg5
= (int *) 0 ;
17929 int *arg6
= (int *) 0 ;
17930 wxFont
*arg7
= (wxFont
*) NULL
;
17933 bool temp2
= false ;
17935 int res3
= SWIG_TMPOBJ
;
17937 int res4
= SWIG_TMPOBJ
;
17939 int res5
= SWIG_TMPOBJ
;
17941 int res6
= SWIG_TMPOBJ
;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 PyObject
* obj2
= 0 ;
17947 char * kwnames
[] = {
17948 (char *) "self",(char *) "string",(char *) "font", NULL
17955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17957 if (!SWIG_IsOK(res1
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17962 arg2
= wxString_in_helper(obj1
);
17963 if (arg2
== NULL
) SWIG_fail
;
17967 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17968 if (!SWIG_IsOK(res7
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17971 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_Py_Void();
17980 if (SWIG_IsTmpObj(res3
)) {
17981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17983 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17986 if (SWIG_IsTmpObj(res4
)) {
17987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17989 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17992 if (SWIG_IsTmpObj(res5
)) {
17993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17995 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17998 if (SWIG_IsTmpObj(res6
)) {
17999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18001 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18018 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
= 0;
18020 wxDC
*arg1
= (wxDC
*) 0 ;
18021 wxString
*arg2
= 0 ;
18022 int *arg3
= (int *) 0 ;
18023 int *arg4
= (int *) 0 ;
18024 int *arg5
= (int *) 0 ;
18025 wxFont
*arg6
= (wxFont
*) NULL
;
18028 bool temp2
= false ;
18030 int res3
= SWIG_TMPOBJ
;
18032 int res4
= SWIG_TMPOBJ
;
18034 int res5
= SWIG_TMPOBJ
;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 PyObject
* obj2
= 0 ;
18040 char * kwnames
[] = {
18041 (char *) "self",(char *) "text",(char *) "font", NULL
18047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18049 if (!SWIG_IsOK(res1
)) {
18050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18054 arg2
= wxString_in_helper(obj1
);
18055 if (arg2
== NULL
) SWIG_fail
;
18059 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18060 if (!SWIG_IsOK(res6
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18063 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_Py_Void();
18072 if (SWIG_IsTmpObj(res3
)) {
18073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18075 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18078 if (SWIG_IsTmpObj(res4
)) {
18079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18081 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18084 if (SWIG_IsTmpObj(res5
)) {
18085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18087 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18104 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
= 0;
18106 wxDC
*arg1
= (wxDC
*) 0 ;
18107 wxString
*arg2
= 0 ;
18111 bool temp2
= false ;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 char * kwnames
[] = {
18115 (char *) "self",(char *) "text", NULL
18118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18120 if (!SWIG_IsOK(res1
)) {
18121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18125 arg2
= wxString_in_helper(obj1
);
18126 if (arg2
== NULL
) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= PyList_New(0);
18138 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18139 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18140 PyList_Append(resultobj
, val
);
18158 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18159 PyObject
*resultobj
= 0;
18160 wxDC
*arg1
= (wxDC
*) 0 ;
18164 PyObject
*swig_obj
[1] ;
18166 if (!args
) SWIG_fail
;
18167 swig_obj
[0] = args
;
18168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18169 if (!SWIG_IsOK(res1
)) {
18170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (arg1
)->GetSize();
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18186 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18187 PyObject
*resultobj
= 0;
18188 wxDC
*arg1
= (wxDC
*) 0 ;
18189 int *arg2
= (int *) 0 ;
18190 int *arg3
= (int *) 0 ;
18194 int res2
= SWIG_TMPOBJ
;
18196 int res3
= SWIG_TMPOBJ
;
18197 PyObject
*swig_obj
[1] ;
18201 if (!args
) SWIG_fail
;
18202 swig_obj
[0] = args
;
18203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18204 if (!SWIG_IsOK(res1
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 (arg1
)->GetSize(arg2
,arg3
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_Py_Void();
18215 if (SWIG_IsTmpObj(res2
)) {
18216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18218 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18221 if (SWIG_IsTmpObj(res3
)) {
18222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18224 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18233 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18234 PyObject
*resultobj
= 0;
18235 wxDC
*arg1
= (wxDC
*) 0 ;
18239 PyObject
*swig_obj
[1] ;
18241 if (!args
) SWIG_fail
;
18242 swig_obj
[0] = args
;
18243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18261 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18262 PyObject
*resultobj
= 0;
18263 wxDC
*arg1
= (wxDC
*) 0 ;
18264 int *arg2
= (int *) 0 ;
18265 int *arg3
= (int *) 0 ;
18269 int res2
= SWIG_TMPOBJ
;
18271 int res3
= SWIG_TMPOBJ
;
18272 PyObject
*swig_obj
[1] ;
18276 if (!args
) SWIG_fail
;
18277 swig_obj
[0] = args
;
18278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18279 if (!SWIG_IsOK(res1
)) {
18280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_Py_Void();
18290 if (SWIG_IsTmpObj(res2
)) {
18291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18293 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18296 if (SWIG_IsTmpObj(res3
)) {
18297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18299 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18308 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
= 0;
18310 wxDC
*arg1
= (wxDC
*) 0 ;
18317 PyObject
* obj0
= 0 ;
18318 PyObject
* obj1
= 0 ;
18319 char * kwnames
[] = {
18320 (char *) "self",(char *) "x", NULL
18323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18325 if (!SWIG_IsOK(res1
)) {
18326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18328 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18330 if (!SWIG_IsOK(ecode2
)) {
18331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18333 arg2
= static_cast< int >(val2
);
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_From_int(static_cast< int >(result
));
18347 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
= 0;
18349 wxDC
*arg1
= (wxDC
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char * kwnames
[] = {
18359 (char *) "self",(char *) "y", NULL
18362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18369 if (!SWIG_IsOK(ecode2
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18372 arg2
= static_cast< int >(val2
);
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= SWIG_From_int(static_cast< int >(result
));
18386 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
= 0;
18388 wxDC
*arg1
= (wxDC
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 PyObject
* obj1
= 0 ;
18397 char * kwnames
[] = {
18398 (char *) "self",(char *) "x", NULL
18401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18403 if (!SWIG_IsOK(res1
)) {
18404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18408 if (!SWIG_IsOK(ecode2
)) {
18409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18411 arg2
= static_cast< int >(val2
);
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 resultobj
= SWIG_From_int(static_cast< int >(result
));
18425 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
= 0;
18427 wxDC
*arg1
= (wxDC
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18436 char * kwnames
[] = {
18437 (char *) "self",(char *) "y", NULL
18440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18442 if (!SWIG_IsOK(res1
)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18447 if (!SWIG_IsOK(ecode2
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18450 arg2
= static_cast< int >(val2
);
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_From_int(static_cast< int >(result
));
18464 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
= 0;
18466 wxDC
*arg1
= (wxDC
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 char * kwnames
[] = {
18476 (char *) "self",(char *) "x", NULL
18479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18481 if (!SWIG_IsOK(res1
)) {
18482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18486 if (!SWIG_IsOK(ecode2
)) {
18487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18489 arg2
= static_cast< int >(val2
);
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= SWIG_From_int(static_cast< int >(result
));
18503 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
= 0;
18505 wxDC
*arg1
= (wxDC
*) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 char * kwnames
[] = {
18515 (char *) "self",(char *) "y", NULL
18518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18520 if (!SWIG_IsOK(res1
)) {
18521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18525 if (!SWIG_IsOK(ecode2
)) {
18526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18528 arg2
= static_cast< int >(val2
);
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_From_int(static_cast< int >(result
));
18542 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
= 0;
18544 wxDC
*arg1
= (wxDC
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 char * kwnames
[] = {
18554 (char *) "self",(char *) "x", NULL
18557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18559 if (!SWIG_IsOK(res1
)) {
18560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18564 if (!SWIG_IsOK(ecode2
)) {
18565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18567 arg2
= static_cast< int >(val2
);
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_From_int(static_cast< int >(result
));
18581 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
= 0;
18583 wxDC
*arg1
= (wxDC
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char * kwnames
[] = {
18593 (char *) "self",(char *) "y", NULL
18596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18598 if (!SWIG_IsOK(res1
)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18603 if (!SWIG_IsOK(ecode2
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18606 arg2
= static_cast< int >(val2
);
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_From_int(static_cast< int >(result
));
18620 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18621 PyObject
*resultobj
= 0;
18622 wxDC
*arg1
= (wxDC
*) 0 ;
18626 PyObject
*swig_obj
[1] ;
18628 if (!args
) SWIG_fail
;
18629 swig_obj
[0] = args
;
18630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18631 if (!SWIG_IsOK(res1
)) {
18632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18650 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18651 PyObject
*resultobj
= 0;
18652 wxDC
*arg1
= (wxDC
*) 0 ;
18656 PyObject
*swig_obj
[1] ;
18658 if (!args
) SWIG_fail
;
18659 swig_obj
[0] = args
;
18660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18661 if (!SWIG_IsOK(res1
)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18680 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18681 PyObject
*resultobj
= 0;
18682 wxDC
*arg1
= (wxDC
*) 0 ;
18686 PyObject
*swig_obj
[1] ;
18688 if (!args
) SWIG_fail
;
18689 swig_obj
[0] = args
;
18690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18691 if (!SWIG_IsOK(res1
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_From_int(static_cast< int >(result
));
18708 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18709 PyObject
*resultobj
= 0;
18710 wxDC
*arg1
= (wxDC
*) 0 ;
18714 PyObject
*swig_obj
[1] ;
18716 if (!args
) SWIG_fail
;
18717 swig_obj
[0] = args
;
18718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18719 if (!SWIG_IsOK(res1
)) {
18720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= ((wxDC
const *)arg1
)->GetPPI();
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18736 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18737 PyObject
*resultobj
= 0;
18738 wxDC
*arg1
= (wxDC
*) 0 ;
18742 PyObject
*swig_obj
[1] ;
18744 if (!args
) SWIG_fail
;
18745 swig_obj
[0] = args
;
18746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18747 if (!SWIG_IsOK(res1
)) {
18748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (bool)((wxDC
const *)arg1
)->Ok();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18766 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18767 PyObject
*resultobj
= 0;
18768 wxDC
*arg1
= (wxDC
*) 0 ;
18772 PyObject
*swig_obj
[1] ;
18774 if (!args
) SWIG_fail
;
18775 swig_obj
[0] = args
;
18776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18777 if (!SWIG_IsOK(res1
)) {
18778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 resultobj
= SWIG_From_int(static_cast< int >(result
));
18794 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18795 PyObject
*resultobj
= 0;
18796 wxDC
*arg1
= (wxDC
*) 0 ;
18797 wxBrush
*result
= 0 ;
18800 PyObject
*swig_obj
[1] ;
18802 if (!args
) SWIG_fail
;
18803 swig_obj
[0] = args
;
18804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18805 if (!SWIG_IsOK(res1
)) {
18806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18813 result
= (wxBrush
*) &_result_ref
;
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18819 wxBrush
* resultptr
= new wxBrush(*result
);
18820 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18828 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18829 PyObject
*resultobj
= 0;
18830 wxDC
*arg1
= (wxDC
*) 0 ;
18831 wxBrush
*result
= 0 ;
18834 PyObject
*swig_obj
[1] ;
18836 if (!args
) SWIG_fail
;
18837 swig_obj
[0] = args
;
18838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18839 if (!SWIG_IsOK(res1
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18847 result
= (wxBrush
*) &_result_ref
;
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18853 wxBrush
* resultptr
= new wxBrush(*result
);
18854 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18862 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18863 PyObject
*resultobj
= 0;
18864 wxDC
*arg1
= (wxDC
*) 0 ;
18865 wxFont
*result
= 0 ;
18868 PyObject
*swig_obj
[1] ;
18870 if (!args
) SWIG_fail
;
18871 swig_obj
[0] = args
;
18872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18873 if (!SWIG_IsOK(res1
)) {
18874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18881 result
= (wxFont
*) &_result_ref
;
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 wxFont
* resultptr
= new wxFont(*result
);
18888 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18896 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18897 PyObject
*resultobj
= 0;
18898 wxDC
*arg1
= (wxDC
*) 0 ;
18899 wxPen
*result
= 0 ;
18902 PyObject
*swig_obj
[1] ;
18904 if (!args
) SWIG_fail
;
18905 swig_obj
[0] = args
;
18906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18907 if (!SWIG_IsOK(res1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18915 result
= (wxPen
*) &_result_ref
;
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18921 wxPen
* resultptr
= new wxPen(*result
);
18922 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18930 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18931 PyObject
*resultobj
= 0;
18932 wxDC
*arg1
= (wxDC
*) 0 ;
18933 wxColour
*result
= 0 ;
18936 PyObject
*swig_obj
[1] ;
18938 if (!args
) SWIG_fail
;
18939 swig_obj
[0] = args
;
18940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18941 if (!SWIG_IsOK(res1
)) {
18942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18949 result
= (wxColour
*) &_result_ref
;
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18961 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18962 PyObject
*resultobj
= 0;
18963 wxDC
*arg1
= (wxDC
*) 0 ;
18964 wxColour
*result
= 0 ;
18967 PyObject
*swig_obj
[1] ;
18969 if (!args
) SWIG_fail
;
18970 swig_obj
[0] = args
;
18971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18972 if (!SWIG_IsOK(res1
)) {
18973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18980 result
= (wxColour
*) &_result_ref
;
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18992 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
= 0;
18994 wxDC
*arg1
= (wxDC
*) 0 ;
18995 wxColour
*arg2
= 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char * kwnames
[] = {
19002 (char *) "self",(char *) "colour", NULL
19005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19013 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_Py_Void();
19028 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= 0;
19030 wxDC
*arg1
= (wxDC
*) 0 ;
19031 wxColour
*arg2
= 0 ;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 char * kwnames
[] = {
19038 (char *) "self",(char *) "colour", NULL
19041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19043 if (!SWIG_IsOK(res1
)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19049 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_Py_Void();
19064 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19065 PyObject
*resultobj
= 0;
19066 wxDC
*arg1
= (wxDC
*) 0 ;
19070 PyObject
*swig_obj
[1] ;
19072 if (!args
) SWIG_fail
;
19073 swig_obj
[0] = args
;
19074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19075 if (!SWIG_IsOK(res1
)) {
19076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_From_int(static_cast< int >(result
));
19092 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
= 0;
19094 wxDC
*arg1
= (wxDC
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char * kwnames
[] = {
19103 (char *) "self",(char *) "mode", NULL
19106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19113 if (!SWIG_IsOK(ecode2
)) {
19114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19116 arg2
= static_cast< int >(val2
);
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 (arg1
)->SetMapMode(arg2
);
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= SWIG_Py_Void();
19130 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19131 PyObject
*resultobj
= 0;
19132 wxDC
*arg1
= (wxDC
*) 0 ;
19133 double *arg2
= (double *) 0 ;
19134 double *arg3
= (double *) 0 ;
19138 int res2
= SWIG_TMPOBJ
;
19140 int res3
= SWIG_TMPOBJ
;
19141 PyObject
*swig_obj
[1] ;
19145 if (!args
) SWIG_fail
;
19146 swig_obj
[0] = args
;
19147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19148 if (!SWIG_IsOK(res1
)) {
19149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= SWIG_Py_Void();
19159 if (SWIG_IsTmpObj(res2
)) {
19160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19162 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19165 if (SWIG_IsTmpObj(res3
)) {
19166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19168 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19177 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
= 0;
19179 wxDC
*arg1
= (wxDC
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 PyObject
* obj2
= 0 ;
19191 char * kwnames
[] = {
19192 (char *) "self",(char *) "x",(char *) "y", NULL
19195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19197 if (!SWIG_IsOK(res1
)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19201 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19202 if (!SWIG_IsOK(ecode2
)) {
19203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19205 arg2
= static_cast< double >(val2
);
19206 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19207 if (!SWIG_IsOK(ecode3
)) {
19208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19210 arg3
= static_cast< double >(val3
);
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->SetUserScale(arg2
,arg3
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_Py_Void();
19224 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19225 PyObject
*resultobj
= 0;
19226 wxDC
*arg1
= (wxDC
*) 0 ;
19227 double *arg2
= (double *) 0 ;
19228 double *arg3
= (double *) 0 ;
19232 int res2
= SWIG_TMPOBJ
;
19234 int res3
= SWIG_TMPOBJ
;
19235 PyObject
*swig_obj
[1] ;
19239 if (!args
) SWIG_fail
;
19240 swig_obj
[0] = args
;
19241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19242 if (!SWIG_IsOK(res1
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->GetLogicalScale(arg2
,arg3
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_Py_Void();
19253 if (SWIG_IsTmpObj(res2
)) {
19254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19256 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19259 if (SWIG_IsTmpObj(res3
)) {
19260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19262 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19271 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
= 0;
19273 wxDC
*arg1
= (wxDC
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 PyObject
* obj2
= 0 ;
19285 char * kwnames
[] = {
19286 (char *) "self",(char *) "x",(char *) "y", NULL
19289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19295 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19296 if (!SWIG_IsOK(ecode2
)) {
19297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19299 arg2
= static_cast< double >(val2
);
19300 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19301 if (!SWIG_IsOK(ecode3
)) {
19302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19304 arg3
= static_cast< double >(val3
);
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->SetLogicalScale(arg2
,arg3
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_Py_Void();
19318 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19319 PyObject
*resultobj
= 0;
19320 wxDC
*arg1
= (wxDC
*) 0 ;
19324 PyObject
*swig_obj
[1] ;
19326 if (!args
) SWIG_fail
;
19327 swig_obj
[0] = args
;
19328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19329 if (!SWIG_IsOK(res1
)) {
19330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19339 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19346 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19347 PyObject
*resultobj
= 0;
19348 wxDC
*arg1
= (wxDC
*) 0 ;
19349 int *arg2
= (int *) 0 ;
19350 int *arg3
= (int *) 0 ;
19354 int res2
= SWIG_TMPOBJ
;
19356 int res3
= SWIG_TMPOBJ
;
19357 PyObject
*swig_obj
[1] ;
19361 if (!args
) SWIG_fail
;
19362 swig_obj
[0] = args
;
19363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19364 if (!SWIG_IsOK(res1
)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= SWIG_Py_Void();
19375 if (SWIG_IsTmpObj(res2
)) {
19376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19378 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19381 if (SWIG_IsTmpObj(res3
)) {
19382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19384 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19393 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
= 0;
19395 wxDC
*arg1
= (wxDC
*) 0 ;
19404 PyObject
* obj0
= 0 ;
19405 PyObject
* obj1
= 0 ;
19406 PyObject
* obj2
= 0 ;
19407 char * kwnames
[] = {
19408 (char *) "self",(char *) "x",(char *) "y", NULL
19411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19413 if (!SWIG_IsOK(res1
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19418 if (!SWIG_IsOK(ecode2
)) {
19419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19421 arg2
= static_cast< int >(val2
);
19422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19423 if (!SWIG_IsOK(ecode3
)) {
19424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19426 arg3
= static_cast< int >(val3
);
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= SWIG_Py_Void();
19440 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
= 0;
19442 wxDC
*arg1
= (wxDC
*) 0 ;
19443 wxPoint
*arg2
= 0 ;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 char * kwnames
[] = {
19450 (char *) "self",(char *) "point", NULL
19453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_Py_Void();
19476 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19477 PyObject
*resultobj
= 0;
19478 wxDC
*arg1
= (wxDC
*) 0 ;
19482 PyObject
*swig_obj
[1] ;
19484 if (!args
) SWIG_fail
;
19485 swig_obj
[0] = args
;
19486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19504 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19505 PyObject
*resultobj
= 0;
19506 wxDC
*arg1
= (wxDC
*) 0 ;
19507 int *arg2
= (int *) 0 ;
19508 int *arg3
= (int *) 0 ;
19512 int res2
= SWIG_TMPOBJ
;
19514 int res3
= SWIG_TMPOBJ
;
19515 PyObject
*swig_obj
[1] ;
19519 if (!args
) SWIG_fail
;
19520 swig_obj
[0] = args
;
19521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19522 if (!SWIG_IsOK(res1
)) {
19523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_Py_Void();
19533 if (SWIG_IsTmpObj(res2
)) {
19534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19536 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19539 if (SWIG_IsTmpObj(res3
)) {
19540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19551 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
= 0;
19553 wxDC
*arg1
= (wxDC
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 PyObject
* obj2
= 0 ;
19565 char * kwnames
[] = {
19566 (char *) "self",(char *) "x",(char *) "y", NULL
19569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19576 if (!SWIG_IsOK(ecode2
)) {
19577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19579 arg2
= static_cast< int >(val2
);
19580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19581 if (!SWIG_IsOK(ecode3
)) {
19582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19584 arg3
= static_cast< int >(val3
);
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_Py_Void();
19598 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
= 0;
19600 wxDC
*arg1
= (wxDC
*) 0 ;
19601 wxPoint
*arg2
= 0 ;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 char * kwnames
[] = {
19608 (char *) "self",(char *) "point", NULL
19611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19613 if (!SWIG_IsOK(res1
)) {
19614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= SWIG_Py_Void();
19634 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
= 0;
19636 wxDC
*arg1
= (wxDC
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 PyObject
* obj1
= 0 ;
19647 PyObject
* obj2
= 0 ;
19648 char * kwnames
[] = {
19649 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19654 if (!SWIG_IsOK(res1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19658 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19659 if (!SWIG_IsOK(ecode2
)) {
19660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19662 arg2
= static_cast< bool >(val2
);
19663 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19664 if (!SWIG_IsOK(ecode3
)) {
19665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19667 arg3
= static_cast< bool >(val3
);
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_Py_Void();
19681 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19682 PyObject
*resultobj
= 0;
19683 wxDC
*arg1
= (wxDC
*) 0 ;
19687 PyObject
*swig_obj
[1] ;
19689 if (!args
) SWIG_fail
;
19690 swig_obj
[0] = args
;
19691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19692 if (!SWIG_IsOK(res1
)) {
19693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= SWIG_From_int(static_cast< int >(result
));
19709 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
= 0;
19711 wxDC
*arg1
= (wxDC
*) 0 ;
19717 PyObject
* obj0
= 0 ;
19718 PyObject
* obj1
= 0 ;
19719 char * kwnames
[] = {
19720 (char *) "self",(char *) "function", NULL
19723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19725 if (!SWIG_IsOK(res1
)) {
19726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19728 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19730 if (!SWIG_IsOK(ecode2
)) {
19731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19733 arg2
= static_cast< int >(val2
);
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 (arg1
)->SetLogicalFunction(arg2
);
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_Py_Void();
19747 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19748 PyObject
*resultobj
= 0;
19749 wxDC
*arg1
= (wxDC
*) 0 ;
19752 PyObject
*swig_obj
[1] ;
19754 if (!args
) SWIG_fail
;
19755 swig_obj
[0] = args
;
19756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19757 if (!SWIG_IsOK(res1
)) {
19758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->ComputeScaleAndOrigin();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_Py_Void();
19774 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
= 0;
19776 wxDC
*arg1
= (wxDC
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 PyObject
* obj2
= 0 ;
19788 char * kwnames
[] = {
19789 (char *) "self",(char *) "x",(char *) "y", NULL
19792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19794 if (!SWIG_IsOK(res1
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19799 if (!SWIG_IsOK(ecode2
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19802 arg2
= static_cast< int >(val2
);
19803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19804 if (!SWIG_IsOK(ecode3
)) {
19805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19807 arg3
= static_cast< int >(val3
);
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= SWIG_Py_Void();
19821 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
= 0;
19823 wxDC
*arg1
= (wxDC
*) 0 ;
19824 wxPoint
*arg2
= 0 ;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 char * kwnames
[] = {
19831 (char *) "self",(char *) "point", NULL
19834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19836 if (!SWIG_IsOK(res1
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= SWIG_Py_Void();
19857 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 PyObject
*resultobj
= 0;
19859 wxDC
*arg1
= (wxDC
*) 0 ;
19862 PyObject
*swig_obj
[1] ;
19864 if (!args
) SWIG_fail
;
19865 swig_obj
[0] = args
;
19866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19867 if (!SWIG_IsOK(res1
)) {
19868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 (arg1
)->ResetBoundingBox();
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= SWIG_Py_Void();
19884 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19885 PyObject
*resultobj
= 0;
19886 wxDC
*arg1
= (wxDC
*) 0 ;
19890 PyObject
*swig_obj
[1] ;
19892 if (!args
) SWIG_fail
;
19893 swig_obj
[0] = args
;
19894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19895 if (!SWIG_IsOK(res1
)) {
19896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (int)((wxDC
const *)arg1
)->MinX();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= SWIG_From_int(static_cast< int >(result
));
19912 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19913 PyObject
*resultobj
= 0;
19914 wxDC
*arg1
= (wxDC
*) 0 ;
19918 PyObject
*swig_obj
[1] ;
19920 if (!args
) SWIG_fail
;
19921 swig_obj
[0] = args
;
19922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19923 if (!SWIG_IsOK(res1
)) {
19924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (int)((wxDC
const *)arg1
)->MaxX();
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_From_int(static_cast< int >(result
));
19940 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19941 PyObject
*resultobj
= 0;
19942 wxDC
*arg1
= (wxDC
*) 0 ;
19946 PyObject
*swig_obj
[1] ;
19948 if (!args
) SWIG_fail
;
19949 swig_obj
[0] = args
;
19950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19951 if (!SWIG_IsOK(res1
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (int)((wxDC
const *)arg1
)->MinY();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= SWIG_From_int(static_cast< int >(result
));
19968 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19969 PyObject
*resultobj
= 0;
19970 wxDC
*arg1
= (wxDC
*) 0 ;
19974 PyObject
*swig_obj
[1] ;
19976 if (!args
) SWIG_fail
;
19977 swig_obj
[0] = args
;
19978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19979 if (!SWIG_IsOK(res1
)) {
19980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (int)((wxDC
const *)arg1
)->MaxY();
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= SWIG_From_int(static_cast< int >(result
));
19996 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19997 PyObject
*resultobj
= 0;
19998 wxDC
*arg1
= (wxDC
*) 0 ;
19999 int *arg2
= (int *) 0 ;
20000 int *arg3
= (int *) 0 ;
20001 int *arg4
= (int *) 0 ;
20002 int *arg5
= (int *) 0 ;
20006 int res2
= SWIG_TMPOBJ
;
20008 int res3
= SWIG_TMPOBJ
;
20010 int res4
= SWIG_TMPOBJ
;
20012 int res5
= SWIG_TMPOBJ
;
20013 PyObject
*swig_obj
[1] ;
20019 if (!args
) SWIG_fail
;
20020 swig_obj
[0] = args
;
20021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20022 if (!SWIG_IsOK(res1
)) {
20023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= SWIG_Py_Void();
20033 if (SWIG_IsTmpObj(res2
)) {
20034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20036 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20039 if (SWIG_IsTmpObj(res3
)) {
20040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20042 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20045 if (SWIG_IsTmpObj(res4
)) {
20046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20048 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20051 if (SWIG_IsTmpObj(res5
)) {
20052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20054 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20063 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
= 0;
20065 wxDC
*arg1
= (wxDC
*) 0 ;
20066 PyObject
*arg2
= (PyObject
*) 0 ;
20067 PyObject
*arg3
= (PyObject
*) 0 ;
20068 PyObject
*arg4
= (PyObject
*) 0 ;
20069 PyObject
*result
= 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 PyObject
* obj2
= 0 ;
20075 PyObject
* obj3
= 0 ;
20076 char * kwnames
[] = {
20077 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20082 if (!SWIG_IsOK(res1
)) {
20083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= result
;
20102 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
= 0;
20104 wxDC
*arg1
= (wxDC
*) 0 ;
20105 PyObject
*arg2
= (PyObject
*) 0 ;
20106 PyObject
*arg3
= (PyObject
*) 0 ;
20107 PyObject
*arg4
= (PyObject
*) 0 ;
20108 PyObject
*result
= 0 ;
20111 PyObject
* obj0
= 0 ;
20112 PyObject
* obj1
= 0 ;
20113 PyObject
* obj2
= 0 ;
20114 PyObject
* obj3
= 0 ;
20115 char * kwnames
[] = {
20116 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20121 if (!SWIG_IsOK(res1
)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= result
;
20141 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
= 0;
20143 wxDC
*arg1
= (wxDC
*) 0 ;
20144 PyObject
*arg2
= (PyObject
*) 0 ;
20145 PyObject
*arg3
= (PyObject
*) 0 ;
20146 PyObject
*arg4
= (PyObject
*) 0 ;
20147 PyObject
*result
= 0 ;
20150 PyObject
* obj0
= 0 ;
20151 PyObject
* obj1
= 0 ;
20152 PyObject
* obj2
= 0 ;
20153 PyObject
* obj3
= 0 ;
20154 char * kwnames
[] = {
20155 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20160 if (!SWIG_IsOK(res1
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= result
;
20180 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
= 0;
20182 wxDC
*arg1
= (wxDC
*) 0 ;
20183 PyObject
*arg2
= (PyObject
*) 0 ;
20184 PyObject
*arg3
= (PyObject
*) 0 ;
20185 PyObject
*arg4
= (PyObject
*) 0 ;
20186 PyObject
*result
= 0 ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 PyObject
* obj2
= 0 ;
20192 PyObject
* obj3
= 0 ;
20193 char * kwnames
[] = {
20194 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20199 if (!SWIG_IsOK(res1
)) {
20200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= result
;
20219 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
= 0;
20221 wxDC
*arg1
= (wxDC
*) 0 ;
20222 PyObject
*arg2
= (PyObject
*) 0 ;
20223 PyObject
*arg3
= (PyObject
*) 0 ;
20224 PyObject
*arg4
= (PyObject
*) 0 ;
20225 PyObject
*result
= 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 PyObject
* obj2
= 0 ;
20231 PyObject
* obj3
= 0 ;
20232 char * kwnames
[] = {
20233 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20238 if (!SWIG_IsOK(res1
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= result
;
20258 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= 0;
20260 wxDC
*arg1
= (wxDC
*) 0 ;
20261 PyObject
*arg2
= (PyObject
*) 0 ;
20262 PyObject
*arg3
= (PyObject
*) 0 ;
20263 PyObject
*arg4
= (PyObject
*) 0 ;
20264 PyObject
*arg5
= (PyObject
*) 0 ;
20265 PyObject
*result
= 0 ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 PyObject
* obj2
= 0 ;
20271 PyObject
* obj3
= 0 ;
20272 PyObject
* obj4
= 0 ;
20273 char * kwnames
[] = {
20274 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20279 if (!SWIG_IsOK(res1
)) {
20280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= result
;
20300 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20303 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20304 return SWIG_Py_Void();
20307 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20308 PyObject
*resultobj
= 0;
20309 wxMemoryDC
*result
= 0 ;
20311 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20313 if (!wxPyCheckForApp()) SWIG_fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 result
= (wxMemoryDC
*)new wxMemoryDC();
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20326 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
= 0;
20328 wxDC
*arg1
= (wxDC
*) 0 ;
20329 wxMemoryDC
*result
= 0 ;
20332 PyObject
* obj0
= 0 ;
20333 char * kwnames
[] = {
20334 (char *) "oldDC", NULL
20337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20339 if (!SWIG_IsOK(res1
)) {
20340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20344 if (!wxPyCheckForApp()) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20357 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
= 0;
20359 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20360 wxBitmap
*arg2
= 0 ;
20365 PyObject
* obj0
= 0 ;
20366 PyObject
* obj1
= 0 ;
20367 char * kwnames
[] = {
20368 (char *) "self",(char *) "bitmap", NULL
20371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20376 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20378 if (!SWIG_IsOK(res2
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20384 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= SWIG_Py_Void();
20398 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20401 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20402 return SWIG_Py_Void();
20405 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20406 return SWIG_Python_InitShadowInstance(args
);
20409 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20410 PyObject
*resultobj
= 0;
20411 wxDC
*arg1
= (wxDC
*) 0 ;
20412 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20413 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20414 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20415 wxBufferedDC
*result
= 0 ;
20423 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20425 if (!SWIG_IsOK(res1
)) {
20426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20430 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20431 if (!SWIG_IsOK(res2
)) {
20432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20437 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20440 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20441 if (!SWIG_IsOK(ecode3
)) {
20442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20444 arg3
= static_cast< int >(val3
);
20447 if (!wxPyCheckForApp()) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20460 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20461 PyObject
*resultobj
= 0;
20462 wxDC
*arg1
= (wxDC
*) 0 ;
20464 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20465 wxBufferedDC
*result
= 0 ;
20472 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20474 if (!SWIG_IsOK(res1
)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20480 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20483 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20484 if (!SWIG_IsOK(ecode3
)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20487 arg3
= static_cast< int >(val3
);
20490 if (!wxPyCheckForApp()) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20503 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20507 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20509 if ((argc
>= 1) && (argc
<= 3)) {
20513 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20514 _v
= SWIG_CheckState(res
);
20516 if (!_v
) goto check_1
;
20518 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20522 if ((argc
>= 2) && (argc
<= 3)) {
20523 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20527 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20532 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20537 PyObject
*swig_obj
[1] ;
20539 if (!args
) SWIG_fail
;
20540 swig_obj
[0] = args
;
20541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20542 if (!SWIG_IsOK(res1
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20545 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_Py_Void();
20560 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20561 PyObject
*resultobj
= 0;
20562 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20565 PyObject
*swig_obj
[1] ;
20567 if (!args
) SWIG_fail
;
20568 swig_obj
[0] = args
;
20569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20570 if (!SWIG_IsOK(res1
)) {
20571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20573 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= SWIG_Py_Void();
20587 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20590 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20591 return SWIG_Py_Void();
20594 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20595 return SWIG_Python_InitShadowInstance(args
);
20598 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
= 0;
20600 wxWindow
*arg1
= (wxWindow
*) 0 ;
20601 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20602 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20603 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20604 wxBufferedPaintDC
*result
= 0 ;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 PyObject
* obj2
= 0 ;
20614 char * kwnames
[] = {
20615 (char *) "window",(char *) "buffer",(char *) "style", NULL
20618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20620 if (!SWIG_IsOK(res1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20626 if (!SWIG_IsOK(res2
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20632 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20636 if (!SWIG_IsOK(ecode3
)) {
20637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20639 arg3
= static_cast< int >(val3
);
20642 if (!wxPyCheckForApp()) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20655 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20658 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20659 return SWIG_Py_Void();
20662 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20663 return SWIG_Python_InitShadowInstance(args
);
20666 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20667 PyObject
*resultobj
= 0;
20668 wxScreenDC
*result
= 0 ;
20670 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20672 if (!wxPyCheckForApp()) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 result
= (wxScreenDC
*)new wxScreenDC();
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20685 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
= 0;
20687 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20688 wxWindow
*arg2
= (wxWindow
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 char * kwnames
[] = {
20697 (char *) "self",(char *) "window", NULL
20700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20702 if (!SWIG_IsOK(res1
)) {
20703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20705 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20707 if (!SWIG_IsOK(res2
)) {
20708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20726 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
= 0;
20728 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20729 wxRect
*arg2
= (wxRect
*) NULL
;
20735 PyObject
* obj0
= 0 ;
20736 PyObject
* obj1
= 0 ;
20737 char * kwnames
[] = {
20738 (char *) "self",(char *) "rect", NULL
20741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20743 if (!SWIG_IsOK(res1
)) {
20744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20746 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20749 if (!SWIG_IsOK(res2
)) {
20750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20752 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20757 wxPyEndAllowThreads(__tstate
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20769 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20770 PyObject
*resultobj
= 0;
20771 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20775 PyObject
*swig_obj
[1] ;
20777 if (!args
) SWIG_fail
;
20778 swig_obj
[0] = args
;
20779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20780 if (!SWIG_IsOK(res1
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20783 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (bool)(arg1
)->EndDrawingOnTop();
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20799 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20802 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20803 return SWIG_Py_Void();
20806 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20807 return SWIG_Python_InitShadowInstance(args
);
20810 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= 0;
20812 wxWindow
*arg1
= (wxWindow
*) 0 ;
20813 wxClientDC
*result
= 0 ;
20816 PyObject
* obj0
= 0 ;
20817 char * kwnames
[] = {
20818 (char *) "win", NULL
20821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20823 if (!SWIG_IsOK(res1
)) {
20824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20828 if (!wxPyCheckForApp()) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (wxClientDC
*)new wxClientDC(arg1
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20841 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20844 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20845 return SWIG_Py_Void();
20848 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20849 return SWIG_Python_InitShadowInstance(args
);
20852 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
= 0;
20854 wxWindow
*arg1
= (wxWindow
*) 0 ;
20855 wxPaintDC
*result
= 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char * kwnames
[] = {
20860 (char *) "win", NULL
20863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20870 if (!wxPyCheckForApp()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20883 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20886 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20887 return SWIG_Py_Void();
20890 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20891 return SWIG_Python_InitShadowInstance(args
);
20894 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
= 0;
20896 wxWindow
*arg1
= (wxWindow
*) 0 ;
20897 wxWindowDC
*result
= 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char * kwnames
[] = {
20902 (char *) "win", NULL
20905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20907 if (!SWIG_IsOK(res1
)) {
20908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20910 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20912 if (!wxPyCheckForApp()) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20925 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20928 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20929 return SWIG_Py_Void();
20932 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20933 return SWIG_Python_InitShadowInstance(args
);
20936 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
= 0;
20940 wxMirrorDC
*result
= 0 ;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 char * kwnames
[] = {
20948 (char *) "dc",(char *) "mirror", NULL
20951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20952 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20960 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20961 if (!SWIG_IsOK(ecode2
)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20964 arg2
= static_cast< bool >(val2
);
20966 if (!wxPyCheckForApp()) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20979 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20982 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20983 return SWIG_Py_Void();
20986 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20987 return SWIG_Python_InitShadowInstance(args
);
20990 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
= 0;
20992 wxPrintData
*arg1
= 0 ;
20993 wxPostScriptDC
*result
= 0 ;
20996 PyObject
* obj0
= 0 ;
20997 char * kwnames
[] = {
20998 (char *) "printData", NULL
21001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21002 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21003 if (!SWIG_IsOK(res1
)) {
21004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21009 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21011 if (!wxPyCheckForApp()) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21024 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21025 PyObject
*resultobj
= 0;
21026 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21027 wxPrintData
*result
= 0 ;
21030 PyObject
*swig_obj
[1] ;
21032 if (!args
) SWIG_fail
;
21033 swig_obj
[0] = args
;
21034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21035 if (!SWIG_IsOK(res1
)) {
21036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21038 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21043 result
= (wxPrintData
*) &_result_ref
;
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21055 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
= 0;
21057 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21058 wxPrintData
*arg2
= 0 ;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 char * kwnames
[] = {
21066 (char *) "self",(char *) "data", NULL
21069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21071 if (!SWIG_IsOK(res1
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21074 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21076 if (!SWIG_IsOK(res2
)) {
21077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21082 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_Py_Void();
21096 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
= 0;
21101 PyObject
* obj0
= 0 ;
21102 char * kwnames
[] = {
21103 (char *) "ppi", NULL
21106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21108 if (!SWIG_IsOK(ecode1
)) {
21109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21111 arg1
= static_cast< int >(val1
);
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 wxPostScriptDC::SetResolution(arg1
);
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= SWIG_Py_Void();
21125 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21126 PyObject
*resultobj
= 0;
21129 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (int)wxPostScriptDC::GetResolution();
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_From_int(static_cast< int >(result
));
21143 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21146 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21147 return SWIG_Py_Void();
21150 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 return SWIG_Python_InitShadowInstance(args
);
21154 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
= 0;
21156 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21157 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21158 wxMetaFile
*result
= 0 ;
21159 bool temp1
= false ;
21160 PyObject
* obj0
= 0 ;
21161 char * kwnames
[] = {
21162 (char *) "filename", NULL
21165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21168 arg1
= wxString_in_helper(obj0
);
21169 if (arg1
== NULL
) SWIG_fail
;
21174 if (!wxPyCheckForApp()) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21195 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21198 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21199 return SWIG_Py_Void();
21202 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21203 return SWIG_Python_InitShadowInstance(args
);
21206 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
= 0;
21208 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21209 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21210 int arg2
= (int) 0 ;
21211 int arg3
= (int) 0 ;
21212 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21213 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21214 wxMetaFileDC
*result
= 0 ;
21215 bool temp1
= false ;
21220 bool temp4
= false ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 PyObject
* obj2
= 0 ;
21224 PyObject
* obj3
= 0 ;
21225 char * kwnames
[] = {
21226 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21232 arg1
= wxString_in_helper(obj0
);
21233 if (arg1
== NULL
) SWIG_fail
;
21238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21239 if (!SWIG_IsOK(ecode2
)) {
21240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21242 arg2
= static_cast< int >(val2
);
21245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21246 if (!SWIG_IsOK(ecode3
)) {
21247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21249 arg3
= static_cast< int >(val3
);
21253 arg4
= wxString_in_helper(obj3
);
21254 if (arg4
== NULL
) SWIG_fail
;
21259 if (!wxPyCheckForApp()) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21288 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21291 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21292 return SWIG_Py_Void();
21295 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21296 return SWIG_Python_InitShadowInstance(args
);
21299 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
= 0;
21301 wxPrintData
*arg1
= 0 ;
21302 wxPrinterDC
*result
= 0 ;
21305 PyObject
* obj0
= 0 ;
21306 char * kwnames
[] = {
21307 (char *) "printData", NULL
21310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21311 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21312 if (!SWIG_IsOK(res1
)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21318 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21320 if (!wxPyCheckForApp()) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21333 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21336 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21337 return SWIG_Py_Void();
21340 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21341 return SWIG_Python_InitShadowInstance(args
);
21344 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
= 0;
21348 int arg3
= (int) true ;
21349 int arg4
= (int) 1 ;
21350 wxImageList
*result
= 0 ;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 PyObject
* obj2
= 0 ;
21362 PyObject
* obj3
= 0 ;
21363 char * kwnames
[] = {
21364 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21369 if (!SWIG_IsOK(ecode1
)) {
21370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21372 arg1
= static_cast< int >(val1
);
21373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21374 if (!SWIG_IsOK(ecode2
)) {
21375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21377 arg2
= static_cast< int >(val2
);
21379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21380 if (!SWIG_IsOK(ecode3
)) {
21381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21383 arg3
= static_cast< int >(val3
);
21386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21387 if (!SWIG_IsOK(ecode4
)) {
21388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21390 arg4
= static_cast< int >(val4
);
21393 if (!wxPyCheckForApp()) SWIG_fail
;
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21395 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21408 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21409 PyObject
*resultobj
= 0;
21410 wxImageList
*arg1
= (wxImageList
*) 0 ;
21413 PyObject
*swig_obj
[1] ;
21415 if (!args
) SWIG_fail
;
21416 swig_obj
[0] = args
;
21417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21418 if (!SWIG_IsOK(res1
)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21421 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_Py_Void();
21436 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
= 0;
21438 wxImageList
*arg1
= (wxImageList
*) 0 ;
21439 wxBitmap
*arg2
= 0 ;
21440 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21441 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 PyObject
* obj2
= 0 ;
21452 char * kwnames
[] = {
21453 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21458 if (!SWIG_IsOK(res1
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21461 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21463 if (!SWIG_IsOK(res2
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21469 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21471 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21472 if (!SWIG_IsOK(res3
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21478 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_From_int(static_cast< int >(result
));
21493 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
= 0;
21495 wxImageList
*arg1
= (wxImageList
*) 0 ;
21496 wxBitmap
*arg2
= 0 ;
21497 wxColour
*arg3
= 0 ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 PyObject
* obj2
= 0 ;
21507 char * kwnames
[] = {
21508 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21513 if (!SWIG_IsOK(res1
)) {
21514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21516 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21518 if (!SWIG_IsOK(res2
)) {
21519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21524 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21527 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= SWIG_From_int(static_cast< int >(result
));
21542 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
= 0;
21544 wxImageList
*arg1
= (wxImageList
*) 0 ;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 char * kwnames
[] = {
21554 (char *) "self",(char *) "icon", NULL
21557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21559 if (!SWIG_IsOK(res1
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21562 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21564 if (!SWIG_IsOK(res2
)) {
21565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21570 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 resultobj
= SWIG_From_int(static_cast< int >(result
));
21584 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
= 0;
21586 wxImageList
*arg1
= (wxImageList
*) 0 ;
21588 SwigValueWrapper
<wxBitmap
> result
;
21593 PyObject
* obj0
= 0 ;
21594 PyObject
* obj1
= 0 ;
21595 char * kwnames
[] = {
21596 (char *) "self",(char *) "index", NULL
21599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21601 if (!SWIG_IsOK(res1
)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21604 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21606 if (!SWIG_IsOK(ecode2
)) {
21607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21609 arg2
= static_cast< int >(val2
);
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21623 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
= 0;
21625 wxImageList
*arg1
= (wxImageList
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 char * kwnames
[] = {
21635 (char *) "self",(char *) "index", NULL
21638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21643 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21645 if (!SWIG_IsOK(ecode2
)) {
21646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21648 arg2
= static_cast< int >(val2
);
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21662 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
= 0;
21664 wxImageList
*arg1
= (wxImageList
*) 0 ;
21666 wxBitmap
*arg3
= 0 ;
21667 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
21668 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 PyObject
* obj2
= 0 ;
21681 PyObject
* obj3
= 0 ;
21682 char * kwnames
[] = {
21683 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
21686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21688 if (!SWIG_IsOK(res1
)) {
21689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21691 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21693 if (!SWIG_IsOK(ecode2
)) {
21694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21696 arg2
= static_cast< int >(val2
);
21697 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21698 if (!SWIG_IsOK(res3
)) {
21699 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21704 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21706 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21707 if (!SWIG_IsOK(res4
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21713 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21730 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
= 0;
21732 wxImageList
*arg1
= (wxImageList
*) 0 ;
21737 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21738 bool arg7
= (bool) (bool)false ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 PyObject
* obj2
= 0 ;
21757 PyObject
* obj3
= 0 ;
21758 PyObject
* obj4
= 0 ;
21759 PyObject
* obj5
= 0 ;
21760 PyObject
* obj6
= 0 ;
21761 char * kwnames
[] = {
21762 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21767 if (!SWIG_IsOK(res1
)) {
21768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21770 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21772 if (!SWIG_IsOK(ecode2
)) {
21773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21775 arg2
= static_cast< int >(val2
);
21776 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21777 if (!SWIG_IsOK(res3
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21783 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21785 if (!SWIG_IsOK(ecode4
)) {
21786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21788 arg4
= static_cast< int >(val4
);
21789 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21790 if (!SWIG_IsOK(ecode5
)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21793 arg5
= static_cast< int >(val5
);
21795 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21796 if (!SWIG_IsOK(ecode6
)) {
21797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21799 arg6
= static_cast< int >(val6
);
21802 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21803 if (!SWIG_IsOK(ecode7
)) {
21804 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21806 arg7
= static_cast< bool >(val7
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21823 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21824 PyObject
*resultobj
= 0;
21825 wxImageList
*arg1
= (wxImageList
*) 0 ;
21829 PyObject
*swig_obj
[1] ;
21831 if (!args
) SWIG_fail
;
21832 swig_obj
[0] = args
;
21833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21834 if (!SWIG_IsOK(res1
)) {
21835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
21837 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (int)(arg1
)->GetImageCount();
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 resultobj
= SWIG_From_int(static_cast< int >(result
));
21851 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
= 0;
21853 wxImageList
*arg1
= (wxImageList
*) 0 ;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 char * kwnames
[] = {
21863 (char *) "self",(char *) "index", NULL
21866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21868 if (!SWIG_IsOK(res1
)) {
21869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
21871 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21873 if (!SWIG_IsOK(ecode2
)) {
21874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
21876 arg2
= static_cast< int >(val2
);
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 result
= (bool)(arg1
)->Remove(arg2
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21892 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21893 PyObject
*resultobj
= 0;
21894 wxImageList
*arg1
= (wxImageList
*) 0 ;
21898 PyObject
*swig_obj
[1] ;
21900 if (!args
) SWIG_fail
;
21901 swig_obj
[0] = args
;
21902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21903 if (!SWIG_IsOK(res1
)) {
21904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
21906 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (bool)(arg1
)->RemoveAll();
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21922 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
= 0;
21924 wxImageList
*arg1
= (wxImageList
*) 0 ;
21933 int res3
= SWIG_TMPOBJ
;
21935 int res4
= SWIG_TMPOBJ
;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 char * kwnames
[] = {
21939 (char *) "self",(char *) "index", NULL
21944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21946 if (!SWIG_IsOK(res1
)) {
21947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
21949 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21951 if (!SWIG_IsOK(ecode2
)) {
21952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
21954 arg2
= static_cast< int >(val2
);
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= SWIG_Py_Void();
21962 if (SWIG_IsTmpObj(res3
)) {
21963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21965 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21968 if (SWIG_IsTmpObj(res4
)) {
21969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21971 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21980 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21983 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
21984 return SWIG_Py_Void();
21987 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21988 return SWIG_Python_InitShadowInstance(args
);
21991 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21992 PyObject
*resultobj
= 0;
21993 wxStockGDI
*result
= 0 ;
21995 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (wxStockGDI
*)new wxStockGDI();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22009 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22010 PyObject
*resultobj
= 0;
22011 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22014 PyObject
*swig_obj
[1] ;
22016 if (!args
) SWIG_fail
;
22017 swig_obj
[0] = args
;
22018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22019 if (!SWIG_IsOK(res1
)) {
22020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22022 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= SWIG_Py_Void();
22037 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22038 PyObject
*resultobj
= 0;
22040 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 wxStockGDI::DeleteAll();
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= SWIG_Py_Void();
22054 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22055 PyObject
*resultobj
= 0;
22056 wxStockGDI
*result
= 0 ;
22058 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 wxStockGDI
&_result_ref
= wxStockGDI::instance();
22063 result
= (wxStockGDI
*) &_result_ref
;
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22075 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
= 0;
22077 wxStockGDI::Item arg1
;
22078 wxBrush
*result
= 0 ;
22081 PyObject
* obj0
= 0 ;
22082 char * kwnames
[] = {
22083 (char *) "item", NULL
22086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
22087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22088 if (!SWIG_IsOK(ecode1
)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22091 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22105 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
= 0;
22107 wxStockGDI::Item arg1
;
22108 wxColour
*result
= 0 ;
22111 PyObject
* obj0
= 0 ;
22112 char * kwnames
[] = {
22113 (char *) "item", NULL
22116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
22117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22118 if (!SWIG_IsOK(ecode1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22121 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22135 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= 0;
22137 wxStockGDI::Item arg1
;
22138 wxCursor
*result
= 0 ;
22141 PyObject
* obj0
= 0 ;
22142 char * kwnames
[] = {
22143 (char *) "item", NULL
22146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
22147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22148 if (!SWIG_IsOK(ecode1
)) {
22149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22151 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
22165 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
= 0;
22167 wxStockGDI::Item arg1
;
22168 wxPen
*result
= 0 ;
22171 PyObject
* obj0
= 0 ;
22172 char * kwnames
[] = {
22173 (char *) "item", NULL
22176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
22177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22178 if (!SWIG_IsOK(ecode1
)) {
22179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22181 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22195 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
= 0;
22197 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22198 wxStockGDI::Item arg2
;
22199 wxFont
*result
= 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char * kwnames
[] = {
22207 (char *) "self",(char *) "item", NULL
22210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22212 if (!SWIG_IsOK(res1
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22215 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22217 if (!SWIG_IsOK(ecode2
)) {
22218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
22220 arg2
= static_cast< wxStockGDI::Item
>(val2
);
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22234 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22237 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
22238 return SWIG_Py_Void();
22241 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 return SWIG_Python_InitShadowInstance(args
);
22245 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22246 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22251 SWIGINTERN PyObject
*NullBitmap_get(void) {
22252 PyObject
*pyobj
= 0;
22254 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22259 SWIGINTERN
int NullIcon_set(PyObject
*) {
22260 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22265 SWIGINTERN PyObject
*NullIcon_get(void) {
22266 PyObject
*pyobj
= 0;
22268 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22273 SWIGINTERN
int NullCursor_set(PyObject
*) {
22274 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22279 SWIGINTERN PyObject
*NullCursor_get(void) {
22280 PyObject
*pyobj
= 0;
22282 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22287 SWIGINTERN
int NullPen_set(PyObject
*) {
22288 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22293 SWIGINTERN PyObject
*NullPen_get(void) {
22294 PyObject
*pyobj
= 0;
22296 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22301 SWIGINTERN
int NullBrush_set(PyObject
*) {
22302 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22307 SWIGINTERN PyObject
*NullBrush_get(void) {
22308 PyObject
*pyobj
= 0;
22310 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22315 SWIGINTERN
int NullPalette_set(PyObject
*) {
22316 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22321 SWIGINTERN PyObject
*NullPalette_get(void) {
22322 PyObject
*pyobj
= 0;
22324 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22329 SWIGINTERN
int NullFont_set(PyObject
*) {
22330 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22335 SWIGINTERN PyObject
*NullFont_get(void) {
22336 PyObject
*pyobj
= 0;
22338 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22343 SWIGINTERN
int NullColour_set(PyObject
*) {
22344 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22349 SWIGINTERN PyObject
*NullColour_get(void) {
22350 PyObject
*pyobj
= 0;
22352 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22357 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22358 PyObject
*resultobj
= 0;
22359 wxGDIObjListBase
*result
= 0 ;
22361 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
22375 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22376 PyObject
*resultobj
= 0;
22377 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
22380 PyObject
*swig_obj
[1] ;
22382 if (!args
) SWIG_fail
;
22383 swig_obj
[0] = args
;
22384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
22385 if (!SWIG_IsOK(res1
)) {
22386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
22388 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22396 resultobj
= SWIG_Py_Void();
22403 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22406 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
22407 return SWIG_Py_Void();
22410 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22411 return SWIG_Python_InitShadowInstance(args
);
22414 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22415 PyObject
*resultobj
= 0;
22416 wxPenList
*arg1
= (wxPenList
*) 0 ;
22417 wxColour
*arg2
= 0 ;
22420 wxPen
*result
= 0 ;
22428 PyObject
* obj0
= 0 ;
22429 PyObject
* obj1
= 0 ;
22430 PyObject
* obj2
= 0 ;
22431 PyObject
* obj3
= 0 ;
22432 char * kwnames
[] = {
22433 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22438 if (!SWIG_IsOK(res1
)) {
22439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22441 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22444 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22447 if (!SWIG_IsOK(ecode3
)) {
22448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22450 arg3
= static_cast< int >(val3
);
22451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22452 if (!SWIG_IsOK(ecode4
)) {
22453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22455 arg4
= static_cast< int >(val4
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22469 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
= 0;
22471 wxPenList
*arg1
= (wxPenList
*) 0 ;
22472 wxPen
*arg2
= (wxPen
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 char * kwnames
[] = {
22480 (char *) "self",(char *) "pen", NULL
22483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22485 if (!SWIG_IsOK(res1
)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22488 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22490 if (!SWIG_IsOK(res2
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22493 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 (arg1
)->AddPen(arg2
);
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_Py_Void();
22507 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
= 0;
22509 wxPenList
*arg1
= (wxPenList
*) 0 ;
22510 wxPen
*arg2
= (wxPen
*) 0 ;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 char * kwnames
[] = {
22518 (char *) "self",(char *) "pen", NULL
22521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22523 if (!SWIG_IsOK(res1
)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22526 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22527 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22528 if (!SWIG_IsOK(res2
)) {
22529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22531 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 (arg1
)->RemovePen(arg2
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= SWIG_Py_Void();
22545 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22548 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22549 return SWIG_Py_Void();
22552 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
= 0;
22554 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22555 wxColour
*arg2
= 0 ;
22556 int arg3
= (int) wxSOLID
;
22557 wxBrush
*result
= 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 PyObject
* obj2
= 0 ;
22566 char * kwnames
[] = {
22567 (char *) "self",(char *) "colour",(char *) "style", NULL
22570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22575 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22582 if (!SWIG_IsOK(ecode3
)) {
22583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22585 arg3
= static_cast< int >(val3
);
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22600 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
= 0;
22602 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22603 wxBrush
*arg2
= (wxBrush
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 char * kwnames
[] = {
22611 (char *) "self",(char *) "brush", NULL
22614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22619 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22621 if (!SWIG_IsOK(res2
)) {
22622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22624 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 (arg1
)->AddBrush(arg2
);
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 resultobj
= SWIG_Py_Void();
22638 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
= 0;
22640 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22641 wxBrush
*arg2
= (wxBrush
*) 0 ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 char * kwnames
[] = {
22649 (char *) "self",(char *) "brush", NULL
22652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22654 if (!SWIG_IsOK(res1
)) {
22655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22657 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22658 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22659 if (!SWIG_IsOK(res2
)) {
22660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22662 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22665 (arg1
)->RemoveBrush(arg2
);
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= SWIG_Py_Void();
22676 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22679 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
22680 return SWIG_Py_Void();
22683 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
= 0;
22685 wxFontList
*arg1
= (wxFontList
*) 0 ;
22690 bool arg6
= (bool) false ;
22691 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22692 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22693 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
22694 wxFont
*result
= 0 ;
22707 bool temp7
= false ;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 PyObject
* obj2
= 0 ;
22713 PyObject
* obj3
= 0 ;
22714 PyObject
* obj4
= 0 ;
22715 PyObject
* obj5
= 0 ;
22716 PyObject
* obj6
= 0 ;
22717 PyObject
* obj7
= 0 ;
22718 char * kwnames
[] = {
22719 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
22722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22724 if (!SWIG_IsOK(res1
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22727 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22729 if (!SWIG_IsOK(ecode2
)) {
22730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
22732 arg2
= static_cast< int >(val2
);
22733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22734 if (!SWIG_IsOK(ecode3
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
22737 arg3
= static_cast< int >(val3
);
22738 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22739 if (!SWIG_IsOK(ecode4
)) {
22740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
22742 arg4
= static_cast< int >(val4
);
22743 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22744 if (!SWIG_IsOK(ecode5
)) {
22745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
22747 arg5
= static_cast< int >(val5
);
22749 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
22750 if (!SWIG_IsOK(ecode6
)) {
22751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
22753 arg6
= static_cast< bool >(val6
);
22757 arg7
= wxString_in_helper(obj6
);
22758 if (arg7
== NULL
) SWIG_fail
;
22763 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
22764 if (!SWIG_IsOK(ecode8
)) {
22765 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
22767 arg8
= static_cast< wxFontEncoding
>(val8
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22790 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
= 0;
22792 wxFontList
*arg1
= (wxFontList
*) 0 ;
22793 wxFont
*arg2
= (wxFont
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char * kwnames
[] = {
22801 (char *) "self",(char *) "font", NULL
22804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22806 if (!SWIG_IsOK(res1
)) {
22807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22809 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22811 if (!SWIG_IsOK(res2
)) {
22812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
22814 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 (arg1
)->AddFont(arg2
);
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_Py_Void();
22828 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
= 0;
22830 wxFontList
*arg1
= (wxFontList
*) 0 ;
22831 wxFont
*arg2
= (wxFont
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char * kwnames
[] = {
22839 (char *) "self",(char *) "font", NULL
22842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22847 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22849 if (!SWIG_IsOK(res2
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
22852 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->RemoveFont(arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_Py_Void();
22866 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22869 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
22870 return SWIG_Py_Void();
22873 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22874 PyObject
*resultobj
= 0;
22875 wxColourDatabase
*result
= 0 ;
22877 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
22879 if (!wxPyCheckForApp()) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (wxColourDatabase
*)new wxColourDatabase();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
22892 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22897 PyObject
*swig_obj
[1] ;
22899 if (!args
) SWIG_fail
;
22900 swig_obj
[0] = args
;
22901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
22905 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= SWIG_Py_Void();
22920 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
= 0;
22922 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22923 wxString
*arg2
= 0 ;
22927 bool temp2
= false ;
22928 PyObject
* obj0
= 0 ;
22929 PyObject
* obj1
= 0 ;
22930 char * kwnames
[] = {
22931 (char *) "self",(char *) "name", NULL
22934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22936 if (!SWIG_IsOK(res1
)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22939 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22941 arg2
= wxString_in_helper(obj1
);
22942 if (arg2
== NULL
) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
22966 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
= 0;
22968 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22969 wxColour
*arg2
= 0 ;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 char * kwnames
[] = {
22977 (char *) "self",(char *) "colour", NULL
22980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22982 if (!SWIG_IsOK(res1
)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22985 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22988 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23009 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
= 0;
23011 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23012 wxString
*arg2
= 0 ;
23013 wxColour
*arg3
= 0 ;
23016 bool temp2
= false ;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 PyObject
* obj2
= 0 ;
23021 char * kwnames
[] = {
23022 (char *) "self",(char *) "name",(char *) "colour", NULL
23025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23027 if (!SWIG_IsOK(res1
)) {
23028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23030 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23032 arg2
= wxString_in_helper(obj1
);
23033 if (arg2
== NULL
) SWIG_fail
;
23038 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_Py_Void();
23061 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
= 0;
23063 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23064 wxString
*arg2
= 0 ;
23070 bool temp2
= false ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 PyObject
* obj2
= 0 ;
23080 PyObject
* obj3
= 0 ;
23081 PyObject
* obj4
= 0 ;
23082 char * kwnames
[] = {
23083 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23088 if (!SWIG_IsOK(res1
)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23091 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23093 arg2
= wxString_in_helper(obj1
);
23094 if (arg2
== NULL
) SWIG_fail
;
23097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23098 if (!SWIG_IsOK(ecode3
)) {
23099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23101 arg3
= static_cast< int >(val3
);
23102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23103 if (!SWIG_IsOK(ecode4
)) {
23104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23106 arg4
= static_cast< int >(val4
);
23107 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23108 if (!SWIG_IsOK(ecode5
)) {
23109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23111 arg5
= static_cast< int >(val5
);
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_Py_Void();
23133 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23136 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23137 return SWIG_Py_Void();
23140 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23141 return SWIG_Python_InitShadowInstance(args
);
23144 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23145 PyObject
*resultobj
= 0;
23146 wxFontList
*result
= 0 ;
23148 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (wxFontList
*)_wxPyInitTheFontList();
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
23162 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23163 PyObject
*resultobj
= 0;
23164 wxPenList
*result
= 0 ;
23166 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (wxPenList
*)_wxPyInitThePenList();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
23180 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23181 PyObject
*resultobj
= 0;
23182 wxBrushList
*result
= 0 ;
23184 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= (wxBrushList
*)_wxPyInitTheBrushList();
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
23198 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23199 PyObject
*resultobj
= 0;
23200 wxColourDatabase
*result
= 0 ;
23202 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23216 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23217 PyObject
*resultobj
= 0;
23218 wxEffects
*result
= 0 ;
23220 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 result
= (wxEffects
*)new wxEffects();
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23234 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23235 PyObject
*resultobj
= 0;
23236 wxEffects
*arg1
= (wxEffects
*) 0 ;
23240 PyObject
*swig_obj
[1] ;
23242 if (!args
) SWIG_fail
;
23243 swig_obj
[0] = args
;
23244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23245 if (!SWIG_IsOK(res1
)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23248 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23262 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23263 PyObject
*resultobj
= 0;
23264 wxEffects
*arg1
= (wxEffects
*) 0 ;
23268 PyObject
*swig_obj
[1] ;
23270 if (!args
) SWIG_fail
;
23271 swig_obj
[0] = args
;
23272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23276 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23290 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23291 PyObject
*resultobj
= 0;
23292 wxEffects
*arg1
= (wxEffects
*) 0 ;
23296 PyObject
*swig_obj
[1] ;
23298 if (!args
) SWIG_fail
;
23299 swig_obj
[0] = args
;
23300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23304 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23318 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23319 PyObject
*resultobj
= 0;
23320 wxEffects
*arg1
= (wxEffects
*) 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23332 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23346 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 PyObject
*resultobj
= 0;
23348 wxEffects
*arg1
= (wxEffects
*) 0 ;
23352 PyObject
*swig_obj
[1] ;
23354 if (!args
) SWIG_fail
;
23355 swig_obj
[0] = args
;
23356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23360 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23374 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23375 PyObject
*resultobj
= 0;
23376 wxEffects
*arg1
= (wxEffects
*) 0 ;
23377 wxColour
*arg2
= 0 ;
23381 PyObject
* obj0
= 0 ;
23382 PyObject
* obj1
= 0 ;
23383 char * kwnames
[] = {
23384 (char *) "self",(char *) "c", NULL
23387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23389 if (!SWIG_IsOK(res1
)) {
23390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23392 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= SWIG_Py_Void();
23410 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
= 0;
23412 wxEffects
*arg1
= (wxEffects
*) 0 ;
23413 wxColour
*arg2
= 0 ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char * kwnames
[] = {
23420 (char *) "self",(char *) "c", NULL
23423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23425 if (!SWIG_IsOK(res1
)) {
23426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23428 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23431 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_Py_Void();
23446 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
= 0;
23448 wxEffects
*arg1
= (wxEffects
*) 0 ;
23449 wxColour
*arg2
= 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char * kwnames
[] = {
23456 (char *) "self",(char *) "c", NULL
23459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23461 if (!SWIG_IsOK(res1
)) {
23462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23464 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= SWIG_Py_Void();
23482 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
= 0;
23484 wxEffects
*arg1
= (wxEffects
*) 0 ;
23485 wxColour
*arg2
= 0 ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char * kwnames
[] = {
23492 (char *) "self",(char *) "c", NULL
23495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23500 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23503 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_Py_Void();
23518 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
= 0;
23520 wxEffects
*arg1
= (wxEffects
*) 0 ;
23521 wxColour
*arg2
= 0 ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 char * kwnames
[] = {
23528 (char *) "self",(char *) "c", NULL
23531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23533 if (!SWIG_IsOK(res1
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23536 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= SWIG_Py_Void();
23554 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
= 0;
23556 wxEffects
*arg1
= (wxEffects
*) 0 ;
23557 wxColour
*arg2
= 0 ;
23558 wxColour
*arg3
= 0 ;
23559 wxColour
*arg4
= 0 ;
23560 wxColour
*arg5
= 0 ;
23561 wxColour
*arg6
= 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 PyObject
* obj2
= 0 ;
23572 PyObject
* obj3
= 0 ;
23573 PyObject
* obj4
= 0 ;
23574 PyObject
* obj5
= 0 ;
23575 char * kwnames
[] = {
23576 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23581 if (!SWIG_IsOK(res1
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23584 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23587 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23591 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23595 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23599 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
23603 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= SWIG_Py_Void();
23618 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
= 0;
23620 wxEffects
*arg1
= (wxEffects
*) 0 ;
23623 int arg4
= (int) 1 ;
23631 PyObject
* obj0
= 0 ;
23632 PyObject
* obj1
= 0 ;
23633 PyObject
* obj2
= 0 ;
23634 PyObject
* obj3
= 0 ;
23635 char * kwnames
[] = {
23636 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
23639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23641 if (!SWIG_IsOK(res1
)) {
23642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
23644 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
23646 if (!SWIG_IsOK(res2
)) {
23647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23652 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23655 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
23658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23659 if (!SWIG_IsOK(ecode4
)) {
23660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
23662 arg4
= static_cast< int >(val4
);
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_Py_Void();
23677 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
= 0;
23679 wxEffects
*arg1
= (wxEffects
*) 0 ;
23682 wxBitmap
*arg4
= 0 ;
23691 PyObject
* obj0
= 0 ;
23692 PyObject
* obj1
= 0 ;
23693 PyObject
* obj2
= 0 ;
23694 PyObject
* obj3
= 0 ;
23695 char * kwnames
[] = {
23696 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
23699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23701 if (!SWIG_IsOK(res1
)) {
23702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
23704 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23707 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23709 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
23710 if (!SWIG_IsOK(res3
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23716 arg3
= reinterpret_cast< wxDC
* >(argp3
);
23717 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
23718 if (!SWIG_IsOK(res4
)) {
23719 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23724 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23740 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23743 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
23744 return SWIG_Py_Void();
23747 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23748 return SWIG_Python_InitShadowInstance(args
);
23751 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
= 0;
23756 wxSplitterRenderParams
*result
= 0 ;
23763 PyObject
* obj0
= 0 ;
23764 PyObject
* obj1
= 0 ;
23765 PyObject
* obj2
= 0 ;
23766 char * kwnames
[] = {
23767 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
23770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23772 if (!SWIG_IsOK(ecode1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
23775 arg1
= static_cast< int >(val1
);
23776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23777 if (!SWIG_IsOK(ecode2
)) {
23778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
23780 arg2
= static_cast< int >(val2
);
23781 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23782 if (!SWIG_IsOK(ecode3
)) {
23783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
23785 arg3
= static_cast< bool >(val3
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
23799 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23800 PyObject
*resultobj
= 0;
23801 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23804 PyObject
*swig_obj
[1] ;
23806 if (!args
) SWIG_fail
;
23807 swig_obj
[0] = args
;
23808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
23809 if (!SWIG_IsOK(res1
)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23812 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_Py_Void();
23827 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23828 PyObject
*resultobj
= 0;
23829 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23833 PyObject
*swig_obj
[1] ;
23835 if (!args
) SWIG_fail
;
23836 swig_obj
[0] = args
;
23837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23838 if (!SWIG_IsOK(res1
)) {
23839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23841 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23842 result
= (int)(int) ((arg1
)->widthSash
);
23843 resultobj
= SWIG_From_int(static_cast< int >(result
));
23850 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23851 PyObject
*resultobj
= 0;
23852 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23856 PyObject
*swig_obj
[1] ;
23858 if (!args
) SWIG_fail
;
23859 swig_obj
[0] = args
;
23860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23864 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23865 result
= (int)(int) ((arg1
)->border
);
23866 resultobj
= SWIG_From_int(static_cast< int >(result
));
23873 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23874 PyObject
*resultobj
= 0;
23875 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23879 PyObject
*swig_obj
[1] ;
23881 if (!args
) SWIG_fail
;
23882 swig_obj
[0] = args
;
23883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23884 if (!SWIG_IsOK(res1
)) {
23885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23887 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23888 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
23889 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
23896 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23899 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
23900 return SWIG_Py_Void();
23903 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23904 return SWIG_Python_InitShadowInstance(args
);
23907 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
= 0;
23911 wxRendererVersion
*result
= 0 ;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23918 char * kwnames
[] = {
23919 (char *) "version_",(char *) "age_", NULL
23922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23924 if (!SWIG_IsOK(ecode1
)) {
23925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
23927 arg1
= static_cast< int >(val1
);
23928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23929 if (!SWIG_IsOK(ecode2
)) {
23930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
23932 arg2
= static_cast< int >(val2
);
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
23946 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23947 PyObject
*resultobj
= 0;
23948 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
23951 PyObject
*swig_obj
[1] ;
23953 if (!args
) SWIG_fail
;
23954 swig_obj
[0] = args
;
23955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
23956 if (!SWIG_IsOK(res1
)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
23959 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= SWIG_Py_Void();
23974 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
= 0;
23976 wxRendererVersion
*arg1
= 0 ;
23980 PyObject
* obj0
= 0 ;
23981 char * kwnames
[] = {
23982 (char *) "ver", NULL
23985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
23986 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
23987 if (!SWIG_IsOK(res1
)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
23991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
23993 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24009 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24010 PyObject
*resultobj
= 0;
24011 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24015 PyObject
*swig_obj
[1] ;
24017 if (!args
) SWIG_fail
;
24018 swig_obj
[0] = args
;
24019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24023 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24024 result
= (int)(int) ((arg1
)->version
);
24025 resultobj
= SWIG_From_int(static_cast< int >(result
));
24032 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24033 PyObject
*resultobj
= 0;
24034 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24038 PyObject
*swig_obj
[1] ;
24040 if (!args
) SWIG_fail
;
24041 swig_obj
[0] = args
;
24042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24043 if (!SWIG_IsOK(res1
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24046 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24047 result
= (int)(int) ((arg1
)->age
);
24048 resultobj
= SWIG_From_int(static_cast< int >(result
));
24055 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24058 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24059 return SWIG_Py_Void();
24062 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24063 return SWIG_Python_InitShadowInstance(args
);
24066 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
= 0;
24068 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24069 wxWindow
*arg2
= (wxWindow
*) 0 ;
24072 int arg5
= (int) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 PyObject
* obj1
= 0 ;
24084 PyObject
* obj2
= 0 ;
24085 PyObject
* obj3
= 0 ;
24086 PyObject
* obj4
= 0 ;
24087 char * kwnames
[] = {
24088 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24093 if (!SWIG_IsOK(res1
)) {
24094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24096 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24098 if (!SWIG_IsOK(res2
)) {
24099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24101 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24102 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24103 if (!SWIG_IsOK(res3
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24109 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24112 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24115 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24116 if (!SWIG_IsOK(ecode5
)) {
24117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24119 arg5
= static_cast< int >(val5
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_Py_Void();
24134 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
= 0;
24136 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24137 wxWindow
*arg2
= (wxWindow
*) 0 ;
24140 int arg5
= (int) 0 ;
24150 PyObject
* obj0
= 0 ;
24151 PyObject
* obj1
= 0 ;
24152 PyObject
* obj2
= 0 ;
24153 PyObject
* obj3
= 0 ;
24154 PyObject
* obj4
= 0 ;
24155 char * kwnames
[] = {
24156 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24164 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24166 if (!SWIG_IsOK(res2
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24170 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24171 if (!SWIG_IsOK(res3
)) {
24172 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24177 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24180 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24184 if (!SWIG_IsOK(ecode5
)) {
24185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24187 arg5
= static_cast< int >(val5
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_Py_Void();
24202 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
= 0;
24204 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24205 wxWindow
*arg2
= (wxWindow
*) 0 ;
24208 int arg5
= (int) 0 ;
24218 PyObject
* obj0
= 0 ;
24219 PyObject
* obj1
= 0 ;
24220 PyObject
* obj2
= 0 ;
24221 PyObject
* obj3
= 0 ;
24222 PyObject
* obj4
= 0 ;
24223 char * kwnames
[] = {
24224 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24232 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24234 if (!SWIG_IsOK(res2
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24238 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24239 if (!SWIG_IsOK(res3
)) {
24240 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24245 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24248 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24251 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24252 if (!SWIG_IsOK(ecode5
)) {
24253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24255 arg5
= static_cast< int >(val5
);
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_Py_Void();
24270 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24271 PyObject
*resultobj
= 0;
24272 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24273 wxWindow
*arg2
= (wxWindow
*) 0 ;
24277 wxOrientation arg6
;
24278 int arg7
= (int) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 PyObject
* obj2
= 0 ;
24295 PyObject
* obj3
= 0 ;
24296 PyObject
* obj4
= 0 ;
24297 PyObject
* obj5
= 0 ;
24298 PyObject
* obj6
= 0 ;
24299 char * kwnames
[] = {
24300 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24305 if (!SWIG_IsOK(res1
)) {
24306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24308 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24310 if (!SWIG_IsOK(res2
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24314 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24315 if (!SWIG_IsOK(res3
)) {
24316 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24321 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24324 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24326 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24327 if (!SWIG_IsOK(ecode5
)) {
24328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24330 arg5
= static_cast< int >(val5
);
24331 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24332 if (!SWIG_IsOK(ecode6
)) {
24333 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24335 arg6
= static_cast< wxOrientation
>(val6
);
24337 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24338 if (!SWIG_IsOK(ecode7
)) {
24339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24341 arg7
= static_cast< int >(val7
);
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_Py_Void();
24356 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= 0;
24358 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24359 wxWindow
*arg2
= (wxWindow
*) 0 ;
24362 int arg5
= (int) 0 ;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24374 PyObject
* obj2
= 0 ;
24375 PyObject
* obj3
= 0 ;
24376 PyObject
* obj4
= 0 ;
24377 char * kwnames
[] = {
24378 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24383 if (!SWIG_IsOK(res1
)) {
24384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24386 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24388 if (!SWIG_IsOK(res2
)) {
24389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24392 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24393 if (!SWIG_IsOK(res3
)) {
24394 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24399 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24402 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24405 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24406 if (!SWIG_IsOK(ecode5
)) {
24407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24409 arg5
= static_cast< int >(val5
);
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_Py_Void();
24424 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
= 0;
24426 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24427 wxWindow
*arg2
= (wxWindow
*) 0 ;
24430 int arg5
= (int) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 PyObject
* obj2
= 0 ;
24443 PyObject
* obj3
= 0 ;
24444 PyObject
* obj4
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24454 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24456 if (!SWIG_IsOK(res2
)) {
24457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24460 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24461 if (!SWIG_IsOK(res3
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24467 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24470 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24474 if (!SWIG_IsOK(ecode5
)) {
24475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24477 arg5
= static_cast< int >(val5
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_Py_Void();
24492 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24495 wxWindow
*arg2
= (wxWindow
*) 0 ;
24498 int arg5
= (int) 0 ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 PyObject
* obj2
= 0 ;
24511 PyObject
* obj3
= 0 ;
24512 PyObject
* obj4
= 0 ;
24513 char * kwnames
[] = {
24514 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24522 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24524 if (!SWIG_IsOK(res2
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
24527 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24528 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24529 if (!SWIG_IsOK(res3
)) {
24530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24535 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24538 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24542 if (!SWIG_IsOK(ecode5
)) {
24543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
24545 arg5
= static_cast< int >(val5
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_Py_Void();
24560 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
= 0;
24562 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24563 wxWindow
*arg2
= (wxWindow
*) 0 ;
24566 int arg5
= (int) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 PyObject
* obj2
= 0 ;
24579 PyObject
* obj3
= 0 ;
24580 PyObject
* obj4
= 0 ;
24581 char * kwnames
[] = {
24582 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24587 if (!SWIG_IsOK(res1
)) {
24588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24590 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24592 if (!SWIG_IsOK(res2
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24596 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24597 if (!SWIG_IsOK(res3
)) {
24598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24603 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24606 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24609 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24610 if (!SWIG_IsOK(ecode5
)) {
24611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
24613 arg5
= static_cast< int >(val5
);
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= SWIG_Py_Void();
24628 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
= 0;
24630 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24631 wxWindow
*arg2
= (wxWindow
*) 0 ;
24634 int arg5
= (int) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 PyObject
* obj3
= 0 ;
24648 PyObject
* obj4
= 0 ;
24649 char * kwnames
[] = {
24650 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24658 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24660 if (!SWIG_IsOK(res2
)) {
24661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
24663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24664 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24665 if (!SWIG_IsOK(res3
)) {
24666 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24671 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24674 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24678 if (!SWIG_IsOK(ecode5
)) {
24679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
24681 arg5
= static_cast< int >(val5
);
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_Py_Void();
24696 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
= 0;
24698 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24699 wxWindow
*arg2
= (wxWindow
*) 0 ;
24700 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24705 PyObject
* obj0
= 0 ;
24706 PyObject
* obj1
= 0 ;
24707 char * kwnames
[] = {
24708 (char *) "self",(char *) "win", NULL
24711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24713 if (!SWIG_IsOK(res1
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24716 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24718 if (!SWIG_IsOK(res2
)) {
24719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24721 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24735 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24736 PyObject
*resultobj
= 0;
24737 wxRendererNative
*result
= 0 ;
24739 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24741 if (!wxPyCheckForApp()) SWIG_fail
;
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24745 result
= (wxRendererNative
*) &_result_ref
;
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24757 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24758 PyObject
*resultobj
= 0;
24759 wxRendererNative
*result
= 0 ;
24761 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24763 if (!wxPyCheckForApp()) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24767 result
= (wxRendererNative
*) &_result_ref
;
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24779 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24780 PyObject
*resultobj
= 0;
24781 wxRendererNative
*result
= 0 ;
24783 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24785 if (!wxPyCheckForApp()) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24789 result
= (wxRendererNative
*) &_result_ref
;
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24801 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
= 0;
24803 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24804 wxRendererNative
*result
= 0 ;
24807 PyObject
* obj0
= 0 ;
24808 char * kwnames
[] = {
24809 (char *) "renderer", NULL
24812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
24813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24814 if (!SWIG_IsOK(res1
)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24817 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24819 if (!wxPyCheckForApp()) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24832 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24833 PyObject
*resultobj
= 0;
24834 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24835 SwigValueWrapper
<wxRendererVersion
> result
;
24838 PyObject
*swig_obj
[1] ;
24840 if (!args
) SWIG_fail
;
24841 swig_obj
[0] = args
;
24842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
24846 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
24860 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24863 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
24864 return SWIG_Py_Void();
24867 static PyMethodDef SwigMethods
[] = {
24868 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
24869 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
24870 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
24871 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
24872 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
24873 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24874 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24875 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24876 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
24877 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
24878 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
24879 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
24880 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
24881 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24882 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24883 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24884 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24885 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
24886 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24887 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24888 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
24889 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
24890 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
24891 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
24892 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24893 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
24894 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24895 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24896 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
24897 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
24898 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
24899 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
24900 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24901 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
24902 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
24903 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
24904 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
24905 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
24906 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
24907 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
24908 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24909 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24910 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24911 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24912 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24913 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24914 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
24915 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24916 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
24917 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24918 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24919 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
24920 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
24921 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24922 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24923 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
24924 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24925 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24926 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24927 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
24928 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
24929 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
24930 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
24931 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
24932 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
24933 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
24934 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24935 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
24936 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24937 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24938 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24939 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24940 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24941 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
24942 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
24943 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
24944 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
24945 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
24946 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
24947 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
24948 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24949 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24950 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24951 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24952 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24953 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
24954 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24955 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24956 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24957 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24958 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24959 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24960 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24961 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
24962 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
24963 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24964 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
24965 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
24966 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
24967 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24968 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
24969 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
24970 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24971 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24972 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24973 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24974 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
24975 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
24976 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
24977 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
24978 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24979 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24980 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24981 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24982 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
24983 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
24984 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24985 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
24986 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
24987 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24988 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
24989 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24990 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
24991 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
24992 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
24993 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
24994 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24995 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24996 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
24997 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24998 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24999 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25000 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25001 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25002 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25003 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25004 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25005 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25006 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25007 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25008 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25009 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25010 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25011 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25012 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25013 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25014 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25015 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25016 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25017 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25018 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25019 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25020 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25021 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25022 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25023 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25024 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25025 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25026 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25027 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25028 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25029 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25030 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25031 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25032 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25033 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25034 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25035 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25036 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25037 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25038 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25039 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25040 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25041 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25042 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25043 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25044 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25045 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25046 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25047 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25048 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25049 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25050 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25051 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25052 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25053 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
25054 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
25055 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
25056 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
25057 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25058 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
25059 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
25060 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
25061 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
25062 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
25063 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
25064 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
25065 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25066 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25067 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25068 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25069 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25070 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25071 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25072 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25073 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
25074 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
25075 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25076 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
25077 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
25078 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
25079 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
25080 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
25081 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
25082 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
25083 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
25084 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
25085 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25086 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
25087 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
25088 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
25089 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25090 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25091 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
25092 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
25093 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
25094 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25095 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25096 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
25097 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25098 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25099 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25100 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25101 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25102 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
25103 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25104 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25105 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25106 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25107 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
25108 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
25109 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25110 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
25111 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25112 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25113 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25114 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25115 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25116 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
25117 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25118 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25119 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
25120 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
25121 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
25122 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
25123 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
25124 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
25125 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
25126 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
25127 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
25128 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
25129 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
25130 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
25131 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
25132 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25134 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25135 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25136 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25137 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25138 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25139 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25141 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25142 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
25144 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
25145 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
25146 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25147 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
25148 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
25149 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25150 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
25151 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
25152 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
25153 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
25154 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25156 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25157 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
25158 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
25159 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25160 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
25161 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
25162 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
25163 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
25164 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
25165 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
25166 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
25167 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
25168 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
25169 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
25171 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25173 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
25174 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
25175 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
25176 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
25177 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
25178 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
25179 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
25180 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
25181 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25182 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
25190 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
25191 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
25192 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
25193 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
25194 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
25195 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
25196 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
25202 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
25203 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
25204 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
25253 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
25255 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
25256 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
25257 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25258 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25259 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25260 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
25264 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
25265 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
25266 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
25267 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
25268 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
25273 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
25274 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
25275 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
25276 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
25285 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
25286 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
25287 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
25288 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
25289 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
25290 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
25291 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
25292 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
25293 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
25294 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
25295 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
25296 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
25299 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
25301 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
25303 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
25305 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
25306 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
25309 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
25310 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
25314 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
25316 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
25319 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
25320 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
25321 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
25322 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
25323 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
25324 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
25331 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
25332 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
25335 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
25336 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
25337 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
25338 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
25339 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
25340 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
25341 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
25343 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
25344 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
25345 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
25348 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
25349 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
25350 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
25352 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
25353 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
25355 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
25356 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
25358 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
25359 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
25361 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
25362 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
25364 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
25367 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
25368 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
25369 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
25371 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
25372 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
25374 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
25375 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
25377 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
25378 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
25380 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
25388 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
25390 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
25392 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
25393 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
25394 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
25395 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
25396 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
25397 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
25403 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
25404 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
25405 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
25406 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
25407 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
25408 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
25412 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
25416 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
25420 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
25421 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
25422 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
25427 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
25428 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
25429 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
25430 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
25431 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
25432 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
25433 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
25434 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
25435 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
25436 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
25437 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
25438 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
25447 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
25448 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
25450 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
25451 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
25452 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
25453 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
25454 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
25455 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
25457 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
25459 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
25460 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
25461 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
25462 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
25473 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
25474 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
25475 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
25477 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
25478 { NULL
, NULL
, 0, NULL
}
25482 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25484 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
25485 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
25487 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
25488 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25490 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
25491 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
25493 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
25494 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
25496 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
25497 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
25499 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
25500 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
25502 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
25503 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
25505 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
25506 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
25508 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
25509 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
25511 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
25512 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
25514 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
25515 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
25517 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
25518 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
25520 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
25521 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
25523 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
25524 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
25526 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
25527 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
25529 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
25530 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
25532 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
25533 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25535 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
25536 return (void *)((wxDC
*) ((wxClientDC
*) x
));
25538 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
25539 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
25541 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
25542 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
25544 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
25545 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
25547 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
25548 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
25550 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
25551 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
25553 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
25554 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
25556 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
25557 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25559 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25560 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25562 static void *_p_wxPenTo_p_wxObject(void *x
) {
25563 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
25565 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
25566 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
25568 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25569 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25571 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25572 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25574 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25577 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25578 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25580 static void *_p_wxIconTo_p_wxObject(void *x
) {
25581 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
25583 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25584 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25586 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25587 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25589 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25590 return (void *)((wxObject
*) ((wxSizer
*) x
));
25592 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25593 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25595 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25598 static void *_p_wxEventTo_p_wxObject(void *x
) {
25599 return (void *)((wxObject
*) ((wxEvent
*) x
));
25601 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25602 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25604 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25605 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25607 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25608 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25610 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
25611 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
25613 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25616 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25619 static void *_p_wxDCTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) ((wxDC
*) x
));
25622 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25625 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25628 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25631 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25634 static void *_p_wxControlTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25637 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25640 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
25641 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
25643 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25644 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25646 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
25647 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
25649 static void *_p_wxRegionTo_p_wxObject(void *x
) {
25650 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
25652 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25653 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25655 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
25656 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
25658 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
25659 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
25661 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
25662 return (void *)((wxObject
*) ((wxEffects
*) x
));
25664 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25665 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25667 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25670 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
25671 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
25673 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25674 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25676 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25677 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25679 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
25680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
25682 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25683 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25685 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25688 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25689 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25691 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25692 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25694 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25695 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25697 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25698 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25700 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25701 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25703 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25704 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25706 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25709 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25712 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25713 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25715 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25716 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25718 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25719 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25721 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25722 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25724 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25725 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25727 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25728 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25730 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25731 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25733 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
25734 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
25736 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25737 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25739 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25742 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25745 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25746 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25748 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
25749 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25751 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
25752 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
25754 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
25755 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
25757 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
25758 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
25760 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
25761 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
25763 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25764 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25766 static void *_p_wxImageTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) ((wxImage
*) x
));
25769 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25772 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
25775 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
25778 static void *_p_wxImageListTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) ((wxImageList
*) x
));
25781 static void *_p_wxCursorTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
25784 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
25787 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
25790 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25793 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25796 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25799 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25802 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25805 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25808 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
25811 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25814 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
25817 static void *_p_wxMaskTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) ((wxMask
*) x
));
25820 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25823 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25826 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25829 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25830 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25832 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25833 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25835 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25836 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25838 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25841 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25842 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25844 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25845 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25847 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25848 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25850 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25853 static void *_p_wxFontTo_p_wxObject(void *x
) {
25854 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
25856 static void *_p_wxBrushTo_p_wxObject(void *x
) {
25857 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
25859 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
25860 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
25862 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25865 static void *_p_wxColourTo_p_wxObject(void *x
) {
25866 return (void *)((wxObject
*) ((wxColour
*) x
));
25868 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25871 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25872 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25874 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25875 return (void *)((wxWindow
*) ((wxControl
*) x
));
25877 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25878 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25880 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25881 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25883 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
25884 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
25885 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};
25886 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
25887 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
25888 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
25889 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
25890 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
25891 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
25892 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
25893 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
25894 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
25895 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
25896 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
25897 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
25898 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
25899 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
25900 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
25901 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
25902 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
25903 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
25904 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
25905 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
25906 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
25907 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
25908 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
25909 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
25910 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
25911 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
25912 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
25913 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
25914 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
25915 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
25916 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
25917 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
25918 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
25919 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
25920 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
25921 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
25922 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
25923 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
25924 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
25925 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
25926 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
25927 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
25928 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
25929 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
25930 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
25931 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
25932 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
25933 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
25934 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
25935 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
25936 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
25937 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
25938 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
25939 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
25940 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
25941 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
25942 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
25943 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
25944 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
25945 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
25946 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
25947 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
25948 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
25949 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
25950 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
25951 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
25952 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
25953 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
25954 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
25955 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
25956 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
25957 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
25958 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
25959 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
25960 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
25961 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
25962 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
25963 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
25964 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
25965 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
25966 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
25967 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
25968 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
25969 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
25970 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
25971 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
25972 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
25973 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
25974 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
25975 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
25976 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
25977 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
25978 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
25979 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
25980 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
25981 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
25982 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
25983 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
25984 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
25985 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
25986 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
25987 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
25988 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
25989 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
25990 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
25991 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
25992 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
25993 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
25994 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
25995 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
25996 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
25997 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
25998 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
25999 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26000 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26001 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26002 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26003 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26004 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26005 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26006 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26007 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26008 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26009 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26010 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26011 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26012 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26013 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26014 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26015 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26016 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26017 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
26018 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26019 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26020 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26022 static swig_type_info
*swig_type_initial
[] = {
26025 &_swigt__p_form_ops_t
,
26027 &_swigt__p_unsigned_char
,
26028 &_swigt__p_unsigned_int
,
26029 &_swigt__p_unsigned_long
,
26030 &_swigt__p_wxANIHandler
,
26031 &_swigt__p_wxAcceleratorTable
,
26032 &_swigt__p_wxActivateEvent
,
26033 &_swigt__p_wxBMPHandler
,
26034 &_swigt__p_wxBitmap
,
26035 &_swigt__p_wxBoxSizer
,
26036 &_swigt__p_wxBrush
,
26037 &_swigt__p_wxBrushList
,
26038 &_swigt__p_wxBufferedDC
,
26039 &_swigt__p_wxBufferedPaintDC
,
26040 &_swigt__p_wxCURHandler
,
26041 &_swigt__p_wxChildFocusEvent
,
26042 &_swigt__p_wxClientDC
,
26043 &_swigt__p_wxClipboardTextEvent
,
26044 &_swigt__p_wxCloseEvent
,
26045 &_swigt__p_wxColour
,
26046 &_swigt__p_wxColourDatabase
,
26047 &_swigt__p_wxCommandEvent
,
26048 &_swigt__p_wxContextMenuEvent
,
26049 &_swigt__p_wxControl
,
26050 &_swigt__p_wxControlWithItems
,
26051 &_swigt__p_wxCursor
,
26054 &_swigt__p_wxDateEvent
,
26055 &_swigt__p_wxDisplayChangedEvent
,
26056 &_swigt__p_wxDropFilesEvent
,
26057 &_swigt__p_wxDuplexMode
,
26058 &_swigt__p_wxEffects
,
26059 &_swigt__p_wxEncodingConverter
,
26060 &_swigt__p_wxEraseEvent
,
26061 &_swigt__p_wxEvent
,
26062 &_swigt__p_wxEvtHandler
,
26063 &_swigt__p_wxFSFile
,
26064 &_swigt__p_wxFileSystem
,
26065 &_swigt__p_wxFlexGridSizer
,
26066 &_swigt__p_wxFocusEvent
,
26068 &_swigt__p_wxFontList
,
26069 &_swigt__p_wxFontMapper
,
26070 &_swigt__p_wxGBSizerItem
,
26071 &_swigt__p_wxGDIObjListBase
,
26072 &_swigt__p_wxGDIObject
,
26073 &_swigt__p_wxGIFHandler
,
26074 &_swigt__p_wxGridBagSizer
,
26075 &_swigt__p_wxGridSizer
,
26076 &_swigt__p_wxICOHandler
,
26078 &_swigt__p_wxIconBundle
,
26079 &_swigt__p_wxIconLocation
,
26080 &_swigt__p_wxIconizeEvent
,
26081 &_swigt__p_wxIdleEvent
,
26082 &_swigt__p_wxImage
,
26083 &_swigt__p_wxImageHandler
,
26084 &_swigt__p_wxImageList
,
26085 &_swigt__p_wxIndividualLayoutConstraint
,
26086 &_swigt__p_wxInitDialogEvent
,
26087 &_swigt__p_wxJPEGHandler
,
26088 &_swigt__p_wxKeyEvent
,
26089 &_swigt__p_wxLanguageInfo
,
26090 &_swigt__p_wxLayoutConstraints
,
26091 &_swigt__p_wxLocale
,
26093 &_swigt__p_wxMaximizeEvent
,
26094 &_swigt__p_wxMemoryDC
,
26096 &_swigt__p_wxMenuBar
,
26097 &_swigt__p_wxMenuEvent
,
26098 &_swigt__p_wxMenuItem
,
26099 &_swigt__p_wxMetaFile
,
26100 &_swigt__p_wxMetaFileDC
,
26101 &_swigt__p_wxMirrorDC
,
26102 &_swigt__p_wxMouseCaptureChangedEvent
,
26103 &_swigt__p_wxMouseEvent
,
26104 &_swigt__p_wxMoveEvent
,
26105 &_swigt__p_wxNativeEncodingInfo
,
26106 &_swigt__p_wxNativeFontInfo
,
26107 &_swigt__p_wxNavigationKeyEvent
,
26108 &_swigt__p_wxNcPaintEvent
,
26109 &_swigt__p_wxNotifyEvent
,
26110 &_swigt__p_wxObject
,
26111 &_swigt__p_wxPCXHandler
,
26112 &_swigt__p_wxPNGHandler
,
26113 &_swigt__p_wxPNMHandler
,
26114 &_swigt__p_wxPaintDC
,
26115 &_swigt__p_wxPaintEvent
,
26116 &_swigt__p_wxPalette
,
26117 &_swigt__p_wxPaletteChangedEvent
,
26118 &_swigt__p_wxPaperSize
,
26120 &_swigt__p_wxPenList
,
26121 &_swigt__p_wxPoint
,
26122 &_swigt__p_wxPostScriptDC
,
26123 &_swigt__p_wxPrintData
,
26124 &_swigt__p_wxPrinterDC
,
26125 &_swigt__p_wxPyApp
,
26126 &_swigt__p_wxPyCommandEvent
,
26127 &_swigt__p_wxPyEvent
,
26128 &_swigt__p_wxPyFontEnumerator
,
26129 &_swigt__p_wxPyImageHandler
,
26130 &_swigt__p_wxPySizer
,
26131 &_swigt__p_wxPyValidator
,
26132 &_swigt__p_wxQueryNewPaletteEvent
,
26134 &_swigt__p_wxRegion
,
26135 &_swigt__p_wxRegionIterator
,
26136 &_swigt__p_wxRendererNative
,
26137 &_swigt__p_wxRendererVersion
,
26138 &_swigt__p_wxScreenDC
,
26139 &_swigt__p_wxScrollEvent
,
26140 &_swigt__p_wxScrollWinEvent
,
26141 &_swigt__p_wxSetCursorEvent
,
26142 &_swigt__p_wxShowEvent
,
26144 &_swigt__p_wxSizeEvent
,
26145 &_swigt__p_wxSizer
,
26146 &_swigt__p_wxSizerItem
,
26147 &_swigt__p_wxSplitterRenderParams
,
26148 &_swigt__p_wxStaticBoxSizer
,
26149 &_swigt__p_wxStdDialogButtonSizer
,
26150 &_swigt__p_wxStockGDI
,
26151 &_swigt__p_wxString
,
26152 &_swigt__p_wxSysColourChangedEvent
,
26153 &_swigt__p_wxTIFFHandler
,
26154 &_swigt__p_wxUpdateUIEvent
,
26155 &_swigt__p_wxValidator
,
26156 &_swigt__p_wxWindow
,
26157 &_swigt__p_wxWindowCreateEvent
,
26158 &_swigt__p_wxWindowDC
,
26159 &_swigt__p_wxWindowDestroyEvent
,
26160 &_swigt__p_wxXPMHandler
,
26163 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
26164 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
26165 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
26166 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
26167 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
26168 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
26169 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
26170 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
26171 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
26172 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
26173 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}};
26174 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26175 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
26176 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
26177 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
26178 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
26179 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}};
26180 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
26181 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
26182 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
26183 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
26184 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
26185 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
26186 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
26187 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}};
26188 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}};
26189 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
26190 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
26191 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
26192 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
26193 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
26194 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
26195 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
26196 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
26197 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}};
26198 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
26199 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
26200 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
26201 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
26202 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
26203 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
26204 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26205 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26206 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
26207 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
26208 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26209 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26210 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26211 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
26212 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
26213 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
26214 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
26215 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26216 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26217 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
26218 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
26219 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26220 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26221 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26222 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26223 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26224 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26225 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
26226 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
26227 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
26228 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
26229 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26230 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26231 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
26232 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
26233 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26234 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
26235 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26236 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
26237 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26238 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26239 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26240 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
26241 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26242 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26243 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
26244 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
26245 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
26246 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
26247 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26248 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26249 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26250 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26251 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
26252 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26253 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
26254 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26255 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26256 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
26257 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
26258 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
26259 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26260 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26261 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26262 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
26263 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
26264 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26265 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26266 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
26267 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26268 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26269 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26270 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26271 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26272 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
26273 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26274 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26275 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
26276 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
26277 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
26278 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}};
26279 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26280 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
26281 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
26282 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
26283 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
26284 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
26285 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
26286 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
26287 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
26288 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
26289 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
26290 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
26291 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
26292 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
26293 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
26294 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
26295 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
26296 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
26297 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
26298 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
26299 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}};
26300 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
26302 static swig_cast_info
*swig_cast_initial
[] = {
26305 _swigc__p_form_ops_t
,
26307 _swigc__p_unsigned_char
,
26308 _swigc__p_unsigned_int
,
26309 _swigc__p_unsigned_long
,
26310 _swigc__p_wxANIHandler
,
26311 _swigc__p_wxAcceleratorTable
,
26312 _swigc__p_wxActivateEvent
,
26313 _swigc__p_wxBMPHandler
,
26314 _swigc__p_wxBitmap
,
26315 _swigc__p_wxBoxSizer
,
26317 _swigc__p_wxBrushList
,
26318 _swigc__p_wxBufferedDC
,
26319 _swigc__p_wxBufferedPaintDC
,
26320 _swigc__p_wxCURHandler
,
26321 _swigc__p_wxChildFocusEvent
,
26322 _swigc__p_wxClientDC
,
26323 _swigc__p_wxClipboardTextEvent
,
26324 _swigc__p_wxCloseEvent
,
26325 _swigc__p_wxColour
,
26326 _swigc__p_wxColourDatabase
,
26327 _swigc__p_wxCommandEvent
,
26328 _swigc__p_wxContextMenuEvent
,
26329 _swigc__p_wxControl
,
26330 _swigc__p_wxControlWithItems
,
26331 _swigc__p_wxCursor
,
26334 _swigc__p_wxDateEvent
,
26335 _swigc__p_wxDisplayChangedEvent
,
26336 _swigc__p_wxDropFilesEvent
,
26337 _swigc__p_wxDuplexMode
,
26338 _swigc__p_wxEffects
,
26339 _swigc__p_wxEncodingConverter
,
26340 _swigc__p_wxEraseEvent
,
26342 _swigc__p_wxEvtHandler
,
26343 _swigc__p_wxFSFile
,
26344 _swigc__p_wxFileSystem
,
26345 _swigc__p_wxFlexGridSizer
,
26346 _swigc__p_wxFocusEvent
,
26348 _swigc__p_wxFontList
,
26349 _swigc__p_wxFontMapper
,
26350 _swigc__p_wxGBSizerItem
,
26351 _swigc__p_wxGDIObjListBase
,
26352 _swigc__p_wxGDIObject
,
26353 _swigc__p_wxGIFHandler
,
26354 _swigc__p_wxGridBagSizer
,
26355 _swigc__p_wxGridSizer
,
26356 _swigc__p_wxICOHandler
,
26358 _swigc__p_wxIconBundle
,
26359 _swigc__p_wxIconLocation
,
26360 _swigc__p_wxIconizeEvent
,
26361 _swigc__p_wxIdleEvent
,
26363 _swigc__p_wxImageHandler
,
26364 _swigc__p_wxImageList
,
26365 _swigc__p_wxIndividualLayoutConstraint
,
26366 _swigc__p_wxInitDialogEvent
,
26367 _swigc__p_wxJPEGHandler
,
26368 _swigc__p_wxKeyEvent
,
26369 _swigc__p_wxLanguageInfo
,
26370 _swigc__p_wxLayoutConstraints
,
26371 _swigc__p_wxLocale
,
26373 _swigc__p_wxMaximizeEvent
,
26374 _swigc__p_wxMemoryDC
,
26376 _swigc__p_wxMenuBar
,
26377 _swigc__p_wxMenuEvent
,
26378 _swigc__p_wxMenuItem
,
26379 _swigc__p_wxMetaFile
,
26380 _swigc__p_wxMetaFileDC
,
26381 _swigc__p_wxMirrorDC
,
26382 _swigc__p_wxMouseCaptureChangedEvent
,
26383 _swigc__p_wxMouseEvent
,
26384 _swigc__p_wxMoveEvent
,
26385 _swigc__p_wxNativeEncodingInfo
,
26386 _swigc__p_wxNativeFontInfo
,
26387 _swigc__p_wxNavigationKeyEvent
,
26388 _swigc__p_wxNcPaintEvent
,
26389 _swigc__p_wxNotifyEvent
,
26390 _swigc__p_wxObject
,
26391 _swigc__p_wxPCXHandler
,
26392 _swigc__p_wxPNGHandler
,
26393 _swigc__p_wxPNMHandler
,
26394 _swigc__p_wxPaintDC
,
26395 _swigc__p_wxPaintEvent
,
26396 _swigc__p_wxPalette
,
26397 _swigc__p_wxPaletteChangedEvent
,
26398 _swigc__p_wxPaperSize
,
26400 _swigc__p_wxPenList
,
26402 _swigc__p_wxPostScriptDC
,
26403 _swigc__p_wxPrintData
,
26404 _swigc__p_wxPrinterDC
,
26406 _swigc__p_wxPyCommandEvent
,
26407 _swigc__p_wxPyEvent
,
26408 _swigc__p_wxPyFontEnumerator
,
26409 _swigc__p_wxPyImageHandler
,
26410 _swigc__p_wxPySizer
,
26411 _swigc__p_wxPyValidator
,
26412 _swigc__p_wxQueryNewPaletteEvent
,
26414 _swigc__p_wxRegion
,
26415 _swigc__p_wxRegionIterator
,
26416 _swigc__p_wxRendererNative
,
26417 _swigc__p_wxRendererVersion
,
26418 _swigc__p_wxScreenDC
,
26419 _swigc__p_wxScrollEvent
,
26420 _swigc__p_wxScrollWinEvent
,
26421 _swigc__p_wxSetCursorEvent
,
26422 _swigc__p_wxShowEvent
,
26424 _swigc__p_wxSizeEvent
,
26426 _swigc__p_wxSizerItem
,
26427 _swigc__p_wxSplitterRenderParams
,
26428 _swigc__p_wxStaticBoxSizer
,
26429 _swigc__p_wxStdDialogButtonSizer
,
26430 _swigc__p_wxStockGDI
,
26431 _swigc__p_wxString
,
26432 _swigc__p_wxSysColourChangedEvent
,
26433 _swigc__p_wxTIFFHandler
,
26434 _swigc__p_wxUpdateUIEvent
,
26435 _swigc__p_wxValidator
,
26436 _swigc__p_wxWindow
,
26437 _swigc__p_wxWindowCreateEvent
,
26438 _swigc__p_wxWindowDC
,
26439 _swigc__p_wxWindowDestroyEvent
,
26440 _swigc__p_wxXPMHandler
,
26444 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26446 static swig_const_info swig_const_table
[] = {
26447 {0, 0, 0, 0.0, 0, 0}};
26452 /* -----------------------------------------------------------------------------
26453 * Type initialization:
26454 * This problem is tough by the requirement that no dynamic
26455 * memory is used. Also, since swig_type_info structures store pointers to
26456 * swig_cast_info structures and swig_cast_info structures store pointers back
26457 * to swig_type_info structures, we need some lookup code at initialization.
26458 * The idea is that swig generates all the structures that are needed.
26459 * The runtime then collects these partially filled structures.
26460 * The SWIG_InitializeModule function takes these initial arrays out of
26461 * swig_module, and does all the lookup, filling in the swig_module.types
26462 * array with the correct data and linking the correct swig_cast_info
26463 * structures together.
26465 * The generated swig_type_info structures are assigned staticly to an initial
26466 * array. We just loop though that array, and handle each type individually.
26467 * First we lookup if this type has been already loaded, and if so, use the
26468 * loaded structure instead of the generated one. Then we have to fill in the
26469 * cast linked list. The cast data is initially stored in something like a
26470 * two-dimensional array. Each row corresponds to a type (there are the same
26471 * number of rows as there are in the swig_type_initial array). Each entry in
26472 * a column is one of the swig_cast_info structures for that type.
26473 * The cast_initial array is actually an array of arrays, because each row has
26474 * a variable number of columns. So to actually build the cast linked list,
26475 * we find the array of casts associated with the type, and loop through it
26476 * adding the casts to the list. The one last trick we need to do is making
26477 * sure the type pointer in the swig_cast_info struct is correct.
26479 * First off, we lookup the cast->type name to see if it is already loaded.
26480 * There are three cases to handle:
26481 * 1) If the cast->type has already been loaded AND the type we are adding
26482 * casting info to has not been loaded (it is in this module), THEN we
26483 * replace the cast->type pointer with the type pointer that has already
26485 * 2) If BOTH types (the one we are adding casting info to, and the
26486 * cast->type) are loaded, THEN the cast info has already been loaded by
26487 * the previous module so we just ignore it.
26488 * 3) Finally, if cast->type has not already been loaded, then we add that
26489 * swig_cast_info to the linked list (because the cast->type) pointer will
26491 * ----------------------------------------------------------------------------- */
26501 #define SWIGRUNTIME_DEBUG
26505 SWIG_InitializeModule(void *clientdata
) {
26507 swig_module_info
*module_head
;
26508 static int init_run
= 0;
26510 clientdata
= clientdata
;
26512 if (init_run
) return;
26515 /* Initialize the swig_module */
26516 swig_module
.type_initial
= swig_type_initial
;
26517 swig_module
.cast_initial
= swig_cast_initial
;
26519 /* Try and load any already created modules */
26520 module_head
= SWIG_GetModule(clientdata
);
26522 swig_module
.next
= module_head
->next
;
26523 module_head
->next
= &swig_module
;
26525 /* This is the first module loaded */
26526 swig_module
.next
= &swig_module
;
26527 SWIG_SetModule(clientdata
, &swig_module
);
26530 /* Now work on filling in swig_module.types */
26531 #ifdef SWIGRUNTIME_DEBUG
26532 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
26534 for (i
= 0; i
< swig_module
.size
; ++i
) {
26535 swig_type_info
*type
= 0;
26536 swig_type_info
*ret
;
26537 swig_cast_info
*cast
;
26539 #ifdef SWIGRUNTIME_DEBUG
26540 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26543 /* if there is another module already loaded */
26544 if (swig_module
.next
!= &swig_module
) {
26545 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
26548 /* Overwrite clientdata field */
26549 #ifdef SWIGRUNTIME_DEBUG
26550 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
26552 if (swig_module
.type_initial
[i
]->clientdata
) {
26553 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
26554 #ifdef SWIGRUNTIME_DEBUG
26555 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
26559 type
= swig_module
.type_initial
[i
];
26562 /* Insert casting types */
26563 cast
= swig_module
.cast_initial
[i
];
26564 while (cast
->type
) {
26565 /* Don't need to add information already in the list */
26567 #ifdef SWIGRUNTIME_DEBUG
26568 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
26570 if (swig_module
.next
!= &swig_module
) {
26571 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
26572 #ifdef SWIGRUNTIME_DEBUG
26573 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
26577 if (type
== swig_module
.type_initial
[i
]) {
26578 #ifdef SWIGRUNTIME_DEBUG
26579 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
26584 /* Check for casting already in the list */
26585 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
26586 #ifdef SWIGRUNTIME_DEBUG
26587 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
26589 if (!ocast
) ret
= 0;
26594 #ifdef SWIGRUNTIME_DEBUG
26595 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
26598 type
->cast
->prev
= cast
;
26599 cast
->next
= type
->cast
;
26605 /* Set entry in modules->types array equal to the type */
26606 swig_module
.types
[i
] = type
;
26608 swig_module
.types
[i
] = 0;
26610 #ifdef SWIGRUNTIME_DEBUG
26611 printf("**** SWIG_InitializeModule: Cast List ******\n");
26612 for (i
= 0; i
< swig_module
.size
; ++i
) {
26614 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
26615 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26616 while (cast
->type
) {
26617 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
26621 printf("---- Total casts: %d\n",j
);
26623 printf("**** SWIG_InitializeModule: Cast List ******\n");
26627 /* This function will propagate the clientdata field of type to
26628 * any new swig_type_info structures that have been added into the list
26629 * of equivalent types. It is like calling
26630 * SWIG_TypeClientData(type, clientdata) a second time.
26633 SWIG_PropagateClientData(void) {
26635 swig_cast_info
*equiv
;
26636 static int init_run
= 0;
26638 if (init_run
) return;
26641 for (i
= 0; i
< swig_module
.size
; i
++) {
26642 if (swig_module
.types
[i
]->clientdata
) {
26643 equiv
= swig_module
.types
[i
]->cast
;
26645 if (!equiv
->converter
) {
26646 if (equiv
->type
&& !equiv
->type
->clientdata
)
26647 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
26649 equiv
= equiv
->next
;
26669 /* Python-specific SWIG API */
26670 #define SWIG_newvarlink() SWIG_Python_newvarlink()
26671 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
26672 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
26674 /* -----------------------------------------------------------------------------
26675 * global variable support code.
26676 * ----------------------------------------------------------------------------- */
26678 typedef struct swig_globalvar
{
26679 char *name
; /* Name of global variable */
26680 PyObject
*(*get_attr
)(void); /* Return the current value */
26681 int (*set_attr
)(PyObject
*); /* Set the value */
26682 struct swig_globalvar
*next
;
26685 typedef struct swig_varlinkobject
{
26687 swig_globalvar
*vars
;
26688 } swig_varlinkobject
;
26690 SWIGINTERN PyObject
*
26691 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
26692 return PyString_FromString("<Swig global variables>");
26695 SWIGINTERN PyObject
*
26696 swig_varlink_str(swig_varlinkobject
*v
) {
26697 PyObject
*str
= PyString_FromString("(");
26698 swig_globalvar
*var
;
26699 for (var
= v
->vars
; var
; var
=var
->next
) {
26700 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
26701 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
26703 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
26708 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
26709 PyObject
*str
= swig_varlink_str(v
);
26710 fprintf(fp
,"Swig global variables ");
26711 fprintf(fp
,"%s\n", PyString_AsString(str
));
26717 swig_varlink_dealloc(swig_varlinkobject
*v
) {
26718 swig_globalvar
*var
= v
->vars
;
26720 swig_globalvar
*n
= var
->next
;
26727 SWIGINTERN PyObject
*
26728 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
26729 PyObject
*res
= NULL
;
26730 swig_globalvar
*var
= v
->vars
;
26732 if (strcmp(var
->name
,n
) == 0) {
26733 res
= (*var
->get_attr
)();
26738 if (res
== NULL
&& !PyErr_Occurred()) {
26739 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26745 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
26747 swig_globalvar
*var
= v
->vars
;
26749 if (strcmp(var
->name
,n
) == 0) {
26750 res
= (*var
->set_attr
)(p
);
26755 if (res
== 1 && !PyErr_Occurred()) {
26756 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26761 SWIGINTERN PyTypeObject
*
26762 swig_varlink_type(void) {
26763 static char varlink__doc__
[] = "Swig var link object";
26764 static PyTypeObject varlink_type
;
26765 static int type_init
= 0;
26767 const PyTypeObject tmp
26769 PyObject_HEAD_INIT(NULL
)
26770 0, /* Number of items in variable part (ob_size) */
26771 (char *)"swigvarlink", /* Type name (tp_name) */
26772 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
26773 0, /* Itemsize (tp_itemsize) */
26774 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
26775 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
26776 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
26777 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
26778 0, /* tp_compare */
26779 (reprfunc
) swig_varlink_repr
, /* tp_repr */
26780 0, /* tp_as_number */
26781 0, /* tp_as_sequence */
26782 0, /* tp_as_mapping */
26785 (reprfunc
)swig_varlink_str
, /* tp_str */
26786 0, /* tp_getattro */
26787 0, /* tp_setattro */
26788 0, /* tp_as_buffer */
26790 varlink__doc__
, /* tp_doc */
26791 0, /* tp_traverse */
26793 0, /* tp_richcompare */
26794 0, /* tp_weaklistoffset */
26795 #if PY_VERSION_HEX >= 0x02020000
26796 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
26798 #if PY_VERSION_HEX >= 0x02030000
26801 #ifdef COUNT_ALLOCS
26802 0,0,0,0 /* tp_alloc -> tp_next */
26805 varlink_type
= tmp
;
26806 varlink_type
.ob_type
= &PyType_Type
;
26809 return &varlink_type
;
26812 /* Create a variable linking object for use later */
26813 SWIGINTERN PyObject
*
26814 SWIG_Python_newvarlink(void) {
26815 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
26819 return ((PyObject
*) result
);
26823 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
26824 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
26825 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
26827 size_t size
= strlen(name
)+1;
26828 gv
->name
= (char *)malloc(size
);
26830 strncpy(gv
->name
,name
,size
);
26831 gv
->get_attr
= get_attr
;
26832 gv
->set_attr
= set_attr
;
26833 gv
->next
= v
->vars
;
26839 SWIGINTERN PyObject
*
26841 static PyObject
*_SWIG_globals
= 0;
26842 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
26843 return _SWIG_globals
;
26846 /* -----------------------------------------------------------------------------
26847 * constants/methods manipulation
26848 * ----------------------------------------------------------------------------- */
26850 /* Install Constants */
26852 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
26855 for (i
= 0; constants
[i
].type
; ++i
) {
26856 switch(constants
[i
].type
) {
26857 case SWIG_PY_POINTER
:
26858 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
26860 case SWIG_PY_BINARY
:
26861 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
26868 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
26874 /* -----------------------------------------------------------------------------*/
26875 /* Fix SwigMethods to carry the callback ptrs when needed */
26876 /* -----------------------------------------------------------------------------*/
26879 SWIG_Python_FixMethods(PyMethodDef
*methods
,
26880 swig_const_info
*const_table
,
26881 swig_type_info
**types
,
26882 swig_type_info
**types_initial
) {
26884 for (i
= 0; methods
[i
].ml_name
; ++i
) {
26885 char *c
= methods
[i
].ml_doc
;
26886 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
26888 swig_const_info
*ci
= 0;
26889 char *name
= c
+ 10;
26890 for (j
= 0; const_table
[j
].type
; ++j
) {
26891 if (strncmp(const_table
[j
].name
, name
,
26892 strlen(const_table
[j
].name
)) == 0) {
26893 ci
= &(const_table
[j
]);
26898 size_t shift
= (ci
->ptype
) - types
;
26899 swig_type_info
*ty
= types_initial
[shift
];
26900 size_t ldoc
= (c
- methods
[i
].ml_doc
);
26901 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
26902 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
26905 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
26907 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
26909 strncpy(buff
, "swig_ptr: ", 10);
26911 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
26912 methods
[i
].ml_doc
= ndoc
;
26924 /* -----------------------------------------------------------------------------*
26925 * Partial Init method
26926 * -----------------------------------------------------------------------------*/
26931 SWIGEXPORT
void SWIG_init(void) {
26934 /* Fix SwigMethods to carry the callback ptrs when needed */
26935 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
26937 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26938 d
= PyModule_GetDict(m
);
26940 SWIG_InitializeModule(0);
26941 SWIG_InstallConstants(d
,swig_const_table
);
26944 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
26945 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
26946 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
26947 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
26948 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
26949 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
26950 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
26951 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
26952 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
26953 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
26954 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
26955 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
26956 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
26957 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
26958 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
26959 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
26960 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
26961 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
26962 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
26963 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
26964 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
26965 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
26966 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
26967 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
26968 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
26969 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
26970 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
26971 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
26972 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
26973 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
26974 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
26975 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
26976 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
26977 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
26978 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
26979 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
26980 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
26981 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
26982 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
26983 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
26984 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
26985 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
26986 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
26987 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
26988 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
26989 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
26990 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
26991 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
26992 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
26993 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
26994 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
26995 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
26996 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
26997 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
26998 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
26999 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27000 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27001 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27002 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27003 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27004 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27005 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27006 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27007 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27008 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27009 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27010 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27011 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27012 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27013 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27014 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27015 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27016 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27017 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27018 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27019 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27020 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27021 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27022 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27023 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27024 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27025 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27026 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27027 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27028 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27029 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27030 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27031 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27032 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27033 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27034 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27035 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27036 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27037 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27038 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27039 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27040 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27041 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27042 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27043 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
27044 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
27045 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
27046 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
27047 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
27048 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
27049 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
27050 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
27051 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
27052 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
27053 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
27054 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
27055 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
27056 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
27057 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
27058 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
27059 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
27060 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
27061 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
27062 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
27063 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
27064 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
27065 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
27066 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
27067 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
27068 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
27069 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
27070 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
27071 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
27072 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
27073 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
27075 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
27077 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
27078 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
27079 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
27080 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
27081 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
27082 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
27083 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
27084 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
27085 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
27086 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
27087 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
27088 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
27089 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
27090 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
27091 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
27092 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
27093 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
27094 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
27095 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
27096 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
27097 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
27098 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
27099 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
27100 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
27101 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
27102 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
27103 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
27104 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
27105 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
27106 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
27107 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
27108 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
27109 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
27110 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
27111 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
27112 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
27113 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
27114 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
27115 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
27116 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
27117 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
27118 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
27119 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
27120 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
27121 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
27122 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
27123 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
27124 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
27125 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
27126 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
27127 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
27128 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
27129 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
27130 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
27131 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
27132 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
27133 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
27134 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
27135 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
27136 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
27137 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
27138 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
27139 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
27140 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
27141 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
27142 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
27143 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
27144 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
27145 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
27146 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
27147 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
27148 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
27149 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
27150 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
27151 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
27152 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
27153 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
27154 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
27155 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
27156 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
27157 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
27158 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
27159 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
27160 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
27161 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
27162 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
27163 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
27164 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
27165 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
27166 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
27167 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
27168 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
27169 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
27170 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
27171 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
27172 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
27173 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
27174 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
27175 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
27176 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
27177 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
27178 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
27179 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
27180 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
27181 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
27182 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
27183 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
27184 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
27185 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
27186 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
27187 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
27188 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
27189 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
27190 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
27191 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
27192 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
27193 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
27194 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
27195 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
27196 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
27197 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
27198 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
27199 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
27200 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
27201 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
27202 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
27203 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
27204 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
27205 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
27206 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
27207 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
27208 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
27209 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
27210 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
27211 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
27212 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
27213 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
27214 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
27215 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
27216 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
27217 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
27218 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
27219 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
27220 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
27221 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
27222 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
27223 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
27224 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
27225 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
27226 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
27227 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
27228 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
27229 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
27230 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
27231 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
27232 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
27233 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
27234 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
27235 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
27236 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
27237 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
27238 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
27239 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
27240 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
27241 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
27242 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
27243 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
27244 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
27245 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
27246 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
27247 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
27248 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
27249 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
27250 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
27251 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
27252 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
27253 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
27254 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
27255 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
27256 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
27257 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
27258 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
27259 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
27260 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
27261 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
27262 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
27263 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
27264 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
27265 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
27266 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
27267 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
27268 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
27269 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
27270 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
27271 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
27272 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
27273 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
27274 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
27275 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
27276 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
27277 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
27278 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
27279 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
27280 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
27281 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
27282 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
27283 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
27284 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
27285 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
27286 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
27287 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
27288 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
27289 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
27290 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
27291 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
27292 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
27293 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
27294 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
27295 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
27296 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
27297 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
27298 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
27299 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
27300 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
27301 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
27302 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
27303 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
27304 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
27305 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
27306 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
27307 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
27308 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
27309 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
27310 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
27311 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
27312 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
27313 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
27314 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
27315 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
27316 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
27317 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
27318 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
27319 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
27320 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
27321 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
27322 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
27323 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
27324 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
27325 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
27326 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
27327 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
27328 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
27329 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
27330 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
27331 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
27332 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
27333 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
27334 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
27335 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
27336 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
27337 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
27338 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
27339 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
27340 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
27341 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
27342 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
27343 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
27344 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
27345 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
27346 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
27347 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
27348 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
27349 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
27350 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
27351 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
27352 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
27353 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
27354 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
27355 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
27356 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
27357 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
27358 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
27359 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
27360 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
27361 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
27362 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
27363 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
27364 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
27365 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
27366 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
27367 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
27368 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
27369 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
27370 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
27371 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
27372 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
27373 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
27374 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
27375 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
27376 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
27377 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
27378 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
27379 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
27380 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
27381 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
27382 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
27383 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
27384 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
27385 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
27386 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
27387 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
27388 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
27389 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
27390 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
27392 // Work around a chicken/egg problem in drawlist.cpp
27393 wxPyDrawList_SetAPIPtr();