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 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_double swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2477 #define SWIGTYPE_p_wxBitmap swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxBrush swig_types[13]
2480 #define SWIGTYPE_p_wxBrushList swig_types[14]
2481 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2482 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2485 #define SWIGTYPE_p_wxClientDC swig_types[19]
2486 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[20]
2487 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2488 #define SWIGTYPE_p_wxColour swig_types[22]
2489 #define SWIGTYPE_p_wxColourDatabase swig_types[23]
2490 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2492 #define SWIGTYPE_p_wxControl swig_types[26]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2494 #define SWIGTYPE_p_wxCursor swig_types[28]
2495 #define SWIGTYPE_p_wxDC swig_types[29]
2496 #define SWIGTYPE_p_wxDash swig_types[30]
2497 #define SWIGTYPE_p_wxDateEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2501 #define SWIGTYPE_p_wxEffects swig_types[35]
2502 #define SWIGTYPE_p_wxEncodingConverter swig_types[36]
2503 #define SWIGTYPE_p_wxEraseEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvent swig_types[38]
2505 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2506 #define SWIGTYPE_p_wxFSFile swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontList swig_types[45]
2512 #define SWIGTYPE_p_wxFontMapper swig_types[46]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2514 #define SWIGTYPE_p_wxGDIObjListBase swig_types[48]
2515 #define SWIGTYPE_p_wxGDIObject swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconLocation swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxImageList swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLanguageInfo swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxLocale swig_types[68]
2535 #define SWIGTYPE_p_wxMask swig_types[69]
2536 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxMemoryDC swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMetaFile swig_types[76]
2543 #define SWIGTYPE_p_wxMetaFileDC swig_types[77]
2544 #define SWIGTYPE_p_wxMirrorDC swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[82]
2549 #define SWIGTYPE_p_wxNativeFontInfo swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPaintDC swig_types[91]
2558 #define SWIGTYPE_p_wxPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPalette swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaperSize swig_types[95]
2562 #define SWIGTYPE_p_wxPen swig_types[96]
2563 #define SWIGTYPE_p_wxPenList swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPostScriptDC swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrinterDC swig_types[101]
2568 #define SWIGTYPE_p_wxPyApp swig_types[102]
2569 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2571 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[105]
2572 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPySizer swig_types[107]
2574 #define SWIGTYPE_p_wxPyValidator swig_types[108]
2575 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[109]
2576 #define SWIGTYPE_p_wxRect swig_types[110]
2577 #define SWIGTYPE_p_wxRegion swig_types[111]
2578 #define SWIGTYPE_p_wxRegionIterator swig_types[112]
2579 #define SWIGTYPE_p_wxRendererNative swig_types[113]
2580 #define SWIGTYPE_p_wxRendererVersion swig_types[114]
2581 #define SWIGTYPE_p_wxScreenDC swig_types[115]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[116]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[117]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[118]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[119]
2586 #define SWIGTYPE_p_wxSize swig_types[120]
2587 #define SWIGTYPE_p_wxSizeEvent swig_types[121]
2588 #define SWIGTYPE_p_wxSizer swig_types[122]
2589 #define SWIGTYPE_p_wxSizerItem swig_types[123]
2590 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[124]
2591 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[125]
2592 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[126]
2593 #define SWIGTYPE_p_wxStockGDI swig_types[127]
2594 #define SWIGTYPE_p_wxString swig_types[128]
2595 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[129]
2596 #define SWIGTYPE_p_wxTIFFHandler swig_types[130]
2597 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[131]
2598 #define SWIGTYPE_p_wxValidator swig_types[132]
2599 #define SWIGTYPE_p_wxWindow swig_types[133]
2600 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[134]
2601 #define SWIGTYPE_p_wxWindowDC swig_types[135]
2602 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[136]
2603 #define SWIGTYPE_p_wxXPMHandler swig_types[137]
2604 static swig_type_info
*swig_types
[139];
2605 static swig_module_info swig_module
= {swig_types
, 138, 0, 0, 0, 0};
2606 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2607 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2609 /* -------- TYPES TABLE (END) -------- */
2611 #if (PY_VERSION_HEX <= 0x02000000)
2612 # if !defined(SWIG_PYTHON_CLASSIC)
2613 # error "This python version requires to use swig with the '-classic' option"
2616 #if (PY_VERSION_HEX <= 0x02020000)
2617 # error "This python version requires to use swig with the '-nomodern' option"
2619 #if (PY_VERSION_HEX <= 0x02020000)
2620 # error "This python version requires to use swig with the '-nomodernargs' option"
2623 # error "This python version requires to use swig with the '-nofastunpack' option"
2626 /*-----------------------------------------------
2627 @(target):= _gdi_.so
2628 ------------------------------------------------*/
2629 #define SWIG_init init_gdi_
2631 #define SWIG_name "_gdi_"
2633 #define SWIGVERSION 0x010329
2636 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2637 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2640 #include <stdexcept>
2644 class PyObject_ptr
{
2649 PyObject_ptr() :_obj(0)
2653 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2658 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2660 if (initial_ref
) Py_XINCREF(_obj
);
2663 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2665 Py_XINCREF(item
._obj
);
2676 operator PyObject
*() const
2681 PyObject
*operator->() const
2690 struct PyObject_var
: PyObject_ptr
{
2691 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2693 PyObject_var
& operator = (PyObject
* obj
)
2703 #include "wx/wxPython/wxPython.h"
2704 #include "wx/wxPython/pyclasses.h"
2707 static const wxString
wxPyEmptyString(wxEmptyString
);
2709 #define SWIG_From_long PyInt_FromLong
2712 SWIGINTERNINLINE PyObject
*
2713 SWIG_From_int (int value
)
2715 return SWIG_From_long (value
);
2721 # define LLONG_MIN LONG_LONG_MIN
2724 # define LLONG_MAX LONG_LONG_MAX
2727 # define ULLONG_MAX ULONG_LONG_MAX
2732 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2734 if (PyNumber_Check(obj
)) {
2735 if (val
) *val
= PyInt_AsLong(obj
);
2738 return SWIG_TypeError
;
2743 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2746 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2747 return SWIG_TypeError
;
2750 *val
= (unsigned long)v
;
2756 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2759 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2760 if (SWIG_IsOK(res
)) {
2761 if ((v
> UCHAR_MAX
)) {
2762 return SWIG_OverflowError
;
2764 if (val
) *val
= static_cast< unsigned char >(v
);
2771 SWIGINTERNINLINE PyObject
*
2772 SWIG_From_unsigned_SS_long (unsigned long value
)
2774 return (value
> LONG_MAX
) ?
2775 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2779 SWIGINTERNINLINE PyObject
*
2780 SWIG_From_unsigned_SS_char (unsigned char value
)
2782 return SWIG_From_unsigned_SS_long (value
);
2785 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2786 wxColour temp
, *obj
= &temp
;
2787 if ( other
== Py_None
) return false;
2788 if ( ! wxColour_helper(other
, &obj
) ) {
2792 return self
->operator==(*obj
);
2794 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2795 wxColour temp
, *obj
= &temp
;
2796 if ( other
== Py_None
) return true;
2797 if ( ! wxColour_helper(other
, &obj
)) {
2801 return self
->operator!=(*obj
);
2803 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2804 PyObject
* rv
= PyTuple_New(3);
2810 green
= self
->Green();
2811 blue
= self
->Blue();
2813 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2814 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2815 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2818 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2819 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2823 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2826 int res
= SWIG_AsVal_long (obj
, &v
);
2827 if (SWIG_IsOK(res
)) {
2828 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2829 return SWIG_OverflowError
;
2831 if (val
) *val
= static_cast< int >(v
);
2837 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2839 int count
= self
->GetDashes(&dashes
);
2840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2841 PyObject
* retval
= PyList_New(0);
2842 for (int x
=0; x
<count
; x
++) {
2843 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2844 PyList_Append(retval
, pyint
);
2847 wxPyEndBlockThreads(blocked
);
2850 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2852 int size
= PyList_Size(pyDashes
);
2853 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2855 // black magic warning! The array of wxDashes needs to exist as
2856 // long as the pen does because wxPen does not copy the array. So
2857 // stick a copy in a Python string object and attach it to _self,
2858 // and then call SetDashes with a pointer to that array. Then
2859 // when the Python pen object is destroyed the array will be
2861 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2862 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2864 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2866 Py_DECREF(strDashes
);
2867 wxPyEndBlockThreads(blocked
);
2869 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2870 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2872 #include <wx/image.h>
2874 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2875 char** cArray
= NULL
;
2878 if (!PyList_Check(listOfStrings
)) {
2879 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2882 count
= PyList_Size(listOfStrings
);
2883 cArray
= new char*[count
];
2885 for(int x
=0; x
<count
; x
++) {
2886 // TODO: Need some validation and error checking here
2887 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2893 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2894 char** cArray
= NULL
;
2897 cArray
= ConvertListOfStrings(listOfStrings
);
2900 bmp
= new wxBitmap(cArray
);
2904 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2907 PyString_AsStringAndSize(bits
, &buf
, &length
);
2908 return new wxBitmap(buf
, width
, height
, depth
);
2910 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2911 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2912 wxSize
size(self
->GetWidth(), self
->GetHeight());
2915 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2916 wxMask
*mask
= new wxMask(*self
, colour
);
2917 self
->SetMask(mask
);
2919 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2920 self
->SetWidth(size
.x
);
2921 self
->SetHeight(size
.y
);
2923 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2925 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2927 return new wxMask(bitmap
, *wxBLACK
);
2929 return new wxMask(bitmap
, colour
);
2932 #include <wx/iconbndl.h>
2934 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2935 wxIcon
* icon
= new wxIcon();
2936 icon
->CopyFromBitmap(bmp
);
2939 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2940 char** cArray
= NULL
;
2943 cArray
= ConvertListOfStrings(listOfStrings
);
2946 icon
= new wxIcon(cArray
);
2950 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2951 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2953 return new wxIconLocation(*filename
, num
);
2958 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2960 self
->SetIndex(num
);
2965 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2967 return self
->GetIndex();
2972 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2974 wxImage
img(cursorName
, type
);
2975 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2976 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2977 return new wxCursor(img
);
2979 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2982 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2985 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2988 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2989 return self
->operator bool();
2992 #include <wx/fontutil.h>
2993 #include <wx/fontmap.h>
2994 #include <wx/fontenum.h>
2998 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3000 if (obj
== Py_True
) {
3001 if (val
) *val
= true;
3003 } else if (obj
== Py_False
) {
3004 if (val
) *val
= false;
3008 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3009 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3014 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3015 return self
->ToString();
3018 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3019 { wxPyRaiseNotImplemented(); return NULL
; }
3021 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3022 { wxPyRaiseNotImplemented(); return false; }
3025 SWIGINTERNINLINE PyObject
*
3026 SWIG_From_size_t (size_t value
)
3028 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3032 SWIGINTERNINLINE
int
3033 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3036 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3037 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3041 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3042 wxFontEncoding alt_enc
;
3043 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3044 return PyInt_FromLong(alt_enc
);
3050 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3051 wxNativeFontInfo nfi
;
3052 nfi
.FromString(info
);
3053 return new wxFont(nfi
);
3055 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3056 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3058 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3059 return wxFontBase::New(pixelSize
, family
,
3060 style
, weight
, underlined
,
3063 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3064 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3066 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3067 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3069 class wxPyFontEnumerator
: public wxFontEnumerator
{
3071 wxPyFontEnumerator() {}
3072 ~wxPyFontEnumerator() {}
3074 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3075 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3080 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3081 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3084 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3086 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3087 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3088 ret
= wxArrayString2PyList_helper(arr
);
3089 wxPyEndBlockThreads(blocked
);
3092 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3094 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3095 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3096 ret
= wxArrayString2PyList_helper(arr
);
3097 wxPyEndBlockThreads(blocked
);
3103 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3106 loc
= new wxLocale();
3108 loc
= new wxLocale(language
, flags
);
3109 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3110 // for the floating point conversions and such to work right.
3111 #if PY_VERSION_HEX < 0x02040000
3112 setlocale(LC_NUMERIC
, "C");
3116 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3117 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3118 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3119 // for the floating point conversions and such to work right.
3120 #if PY_VERSION_HEX < 0x02040000
3121 setlocale(LC_NUMERIC
, "C");
3125 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3126 bool rc
= self
->Init(language
, flags
);
3127 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3128 // for the floating point conversions and such to work right.
3129 #if PY_VERSION_HEX < 0x02040000
3130 setlocale(LC_NUMERIC
, "C");
3135 #include "wx/wxPython/pydrawxxx.h"
3137 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3139 self
->GetPixel(x
, y
, &col
);
3142 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3144 self
->GetPixel(pt
, &col
);
3149 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3151 if (PyNumber_Check(obj
)) {
3152 if (val
) *val
= PyFloat_AsDouble(obj
);
3155 return SWIG_TypeError
;
3158 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3160 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3163 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3165 self
->GetClippingBox(rect
);
3168 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3170 self
->GetPartialTextExtents(text
, widths
);
3174 #define SWIG_From_double PyFloat_FromDouble
3176 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3177 self
->SetLogicalOrigin(point
.x
, point
.y
);
3179 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3180 self
->SetDeviceOrigin(point
.x
, point
.y
);
3182 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3183 self
->CalcBoundingBox(point
.x
, point
.y
);
3185 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3186 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3188 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3189 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3191 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3192 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3194 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3195 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3197 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3198 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3200 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3201 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3204 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3212 #include <wx/dcbuffer.h>
3215 #include <wx/dcps.h>
3218 #include <wx/metafile.h>
3222 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3223 self
->AddColour(name
, wxColour(red
, green
, blue
));
3226 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3227 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3228 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3229 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3232 #include <wx/effects.h>
3235 #include "wx/renderer.h"
3238 SWIGINTERNINLINE PyObject
*
3239 SWIG_From_bool (bool value
)
3241 return PyBool_FromLong(value
? 1 : 0);
3247 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3248 PyObject
*resultobj
= 0;
3249 wxGDIObject
*result
= 0 ;
3251 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3253 if (!wxPyCheckForApp()) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 result
= (wxGDIObject
*)new wxGDIObject();
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) SWIG_fail
;
3259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3266 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3267 PyObject
*resultobj
= 0;
3268 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3271 PyObject
*swig_obj
[1] ;
3273 if (!args
) SWIG_fail
;
3275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3276 if (!SWIG_IsOK(res1
)) {
3277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3279 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_Py_Void();
3294 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3295 PyObject
*resultobj
= 0;
3296 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3300 PyObject
*swig_obj
[1] ;
3302 if (!args
) SWIG_fail
;
3304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3305 if (!SWIG_IsOK(res1
)) {
3306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3308 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 result
= (bool)(arg1
)->IsNull();
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3324 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3327 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3328 return SWIG_Py_Void();
3331 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3332 return SWIG_Python_InitShadowInstance(args
);
3335 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
= 0;
3337 byte arg1
= (byte
) 0 ;
3338 byte arg2
= (byte
) 0 ;
3339 byte arg3
= (byte
) 0 ;
3340 wxColour
*result
= 0 ;
3341 unsigned char val1
;
3343 unsigned char val2
;
3345 unsigned char val3
;
3347 PyObject
* obj0
= 0 ;
3348 PyObject
* obj1
= 0 ;
3349 PyObject
* obj2
= 0 ;
3350 char * kwnames
[] = {
3351 (char *) "red",(char *) "green",(char *) "blue", NULL
3354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3356 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3357 if (!SWIG_IsOK(ecode1
)) {
3358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3360 arg1
= static_cast< byte
>(val1
);
3363 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3364 if (!SWIG_IsOK(ecode2
)) {
3365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3367 arg2
= static_cast< byte
>(val2
);
3370 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3371 if (!SWIG_IsOK(ecode3
)) {
3372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3374 arg3
= static_cast< byte
>(val3
);
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3389 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
= 0;
3391 wxString
*arg1
= 0 ;
3392 wxColour
*result
= 0 ;
3393 bool temp1
= false ;
3394 PyObject
* obj0
= 0 ;
3395 char * kwnames
[] = {
3396 (char *) "colorName", NULL
3399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3401 arg1
= wxString_in_helper(obj0
);
3402 if (arg1
== NULL
) SWIG_fail
;
3406 if (!wxPyCheckForApp()) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3427 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
= 0;
3429 unsigned long arg1
;
3430 wxColour
*result
= 0 ;
3431 unsigned long val1
;
3433 PyObject
* obj0
= 0 ;
3434 char * kwnames
[] = {
3435 (char *) "colRGB", NULL
3438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3439 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3440 if (!SWIG_IsOK(ecode1
)) {
3441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3443 arg1
= static_cast< unsigned long >(val1
);
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (wxColour
*)new wxColour(arg1
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3457 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3458 PyObject
*resultobj
= 0;
3459 wxColour
*arg1
= (wxColour
*) 0 ;
3462 PyObject
*swig_obj
[1] ;
3464 if (!args
) SWIG_fail
;
3466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3467 if (!SWIG_IsOK(res1
)) {
3468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3470 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= SWIG_Py_Void();
3485 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3486 PyObject
*resultobj
= 0;
3487 wxColour
*arg1
= (wxColour
*) 0 ;
3491 PyObject
*swig_obj
[1] ;
3493 if (!args
) SWIG_fail
;
3495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3496 if (!SWIG_IsOK(res1
)) {
3497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3499 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 result
= (byte
)(arg1
)->Red();
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3513 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3514 PyObject
*resultobj
= 0;
3515 wxColour
*arg1
= (wxColour
*) 0 ;
3519 PyObject
*swig_obj
[1] ;
3521 if (!args
) SWIG_fail
;
3523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3524 if (!SWIG_IsOK(res1
)) {
3525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3527 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (byte
)(arg1
)->Green();
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3534 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3541 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3542 PyObject
*resultobj
= 0;
3543 wxColour
*arg1
= (wxColour
*) 0 ;
3547 PyObject
*swig_obj
[1] ;
3549 if (!args
) SWIG_fail
;
3551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3552 if (!SWIG_IsOK(res1
)) {
3553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3555 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (byte
)(arg1
)->Blue();
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3569 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3570 PyObject
*resultobj
= 0;
3571 wxColour
*arg1
= (wxColour
*) 0 ;
3575 PyObject
*swig_obj
[1] ;
3577 if (!args
) SWIG_fail
;
3579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3580 if (!SWIG_IsOK(res1
)) {
3581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3583 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (bool)(arg1
)->Ok();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3599 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
*resultobj
= 0;
3601 wxColour
*arg1
= (wxColour
*) 0 ;
3607 unsigned char val2
;
3609 unsigned char val3
;
3611 unsigned char val4
;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3615 PyObject
* obj2
= 0 ;
3616 PyObject
* obj3
= 0 ;
3617 char * kwnames
[] = {
3618 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3623 if (!SWIG_IsOK(res1
)) {
3624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3626 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3627 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3628 if (!SWIG_IsOK(ecode2
)) {
3629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3631 arg2
= static_cast< byte
>(val2
);
3632 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3633 if (!SWIG_IsOK(ecode3
)) {
3634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3636 arg3
= static_cast< byte
>(val3
);
3637 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3638 if (!SWIG_IsOK(ecode4
)) {
3639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3641 arg4
= static_cast< byte
>(val4
);
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->Set(arg2
,arg3
,arg4
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= SWIG_Py_Void();
3655 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
= 0;
3657 wxColour
*arg1
= (wxColour
*) 0 ;
3658 unsigned long arg2
;
3661 unsigned long val2
;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3665 char * kwnames
[] = {
3666 (char *) "self",(char *) "colRGB", NULL
3669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3671 if (!SWIG_IsOK(res1
)) {
3672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3674 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3675 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3676 if (!SWIG_IsOK(ecode2
)) {
3677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3679 arg2
= static_cast< unsigned long >(val2
);
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 resultobj
= SWIG_Py_Void();
3693 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
= 0;
3695 wxColour
*arg1
= (wxColour
*) 0 ;
3696 wxString
*arg2
= 0 ;
3699 bool temp2
= false ;
3700 PyObject
* obj0
= 0 ;
3701 PyObject
* obj1
= 0 ;
3702 char * kwnames
[] = {
3703 (char *) "self",(char *) "colourName", NULL
3706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3708 if (!SWIG_IsOK(res1
)) {
3709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3711 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3713 arg2
= wxString_in_helper(obj1
);
3714 if (arg2
== NULL
) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 (arg1
)->InitFromName((wxString
const &)*arg2
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= SWIG_Py_Void();
3738 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
= 0;
3740 wxColour
*arg1
= (wxColour
*) 0 ;
3741 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3749 char * kwnames
[] = {
3750 (char *) "self",(char *) "flags", NULL
3753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3755 if (!SWIG_IsOK(res1
)) {
3756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3758 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3760 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3761 if (!SWIG_IsOK(ecode2
)) {
3762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3764 arg2
= static_cast< long >(val2
);
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3785 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3786 PyObject
*resultobj
= 0;
3787 wxColour
*arg1
= (wxColour
*) 0 ;
3791 PyObject
*swig_obj
[1] ;
3793 if (!args
) SWIG_fail
;
3795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3796 if (!SWIG_IsOK(res1
)) {
3797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3799 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_From_long(static_cast< long >(result
));
3813 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
= 0;
3815 wxColour
*arg1
= (wxColour
*) 0 ;
3816 PyObject
*arg2
= (PyObject
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj1
= 0 ;
3822 char * kwnames
[] = {
3823 (char *) "self",(char *) "other", NULL
3826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3828 if (!SWIG_IsOK(res1
)) {
3829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3831 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3834 result
= (bool)wxColour___eq__(arg1
,arg2
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3846 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
= 0;
3848 wxColour
*arg1
= (wxColour
*) 0 ;
3849 PyObject
*arg2
= (PyObject
*) 0 ;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3855 char * kwnames
[] = {
3856 (char *) "self",(char *) "other", NULL
3859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3861 if (!SWIG_IsOK(res1
)) {
3862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3864 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3867 result
= (bool)wxColour___ne__(arg1
,arg2
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3879 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3880 PyObject
*resultobj
= 0;
3881 wxColour
*arg1
= (wxColour
*) 0 ;
3882 PyObject
*result
= 0 ;
3885 PyObject
*swig_obj
[1] ;
3887 if (!args
) SWIG_fail
;
3889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3890 if (!SWIG_IsOK(res1
)) {
3891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3893 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (PyObject
*)wxColour_Get(arg1
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3907 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3908 PyObject
*resultobj
= 0;
3909 wxColour
*arg1
= (wxColour
*) 0 ;
3910 unsigned long result
;
3913 PyObject
*swig_obj
[1] ;
3915 if (!args
) SWIG_fail
;
3917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3918 if (!SWIG_IsOK(res1
)) {
3919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3921 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (unsigned long)wxColour_GetRGB(arg1
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3935 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3938 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3939 return SWIG_Py_Void();
3942 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3943 return SWIG_Python_InitShadowInstance(args
);
3946 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
= 0;
3949 unsigned char *arg2
= (unsigned char *) 0 ;
3950 unsigned char *arg3
= (unsigned char *) 0 ;
3951 unsigned char *arg4
= (unsigned char *) 0 ;
3952 wxPalette
*result
= 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3963 PyObject
* obj2
= 0 ;
3964 PyObject
* obj3
= 0 ;
3965 char * kwnames
[] = {
3966 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3971 if (!SWIG_IsOK(ecode1
)) {
3972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3974 arg1
= static_cast< int >(val1
);
3975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3976 if (!SWIG_IsOK(res2
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3979 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3980 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3981 if (!SWIG_IsOK(res3
)) {
3982 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3984 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3985 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3986 if (!SWIG_IsOK(res4
)) {
3987 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
3989 arg4
= reinterpret_cast< unsigned char * >(argp4
);
3991 if (!wxPyCheckForApp()) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4004 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4005 PyObject
*resultobj
= 0;
4006 wxPalette
*arg1
= (wxPalette
*) 0 ;
4009 PyObject
*swig_obj
[1] ;
4011 if (!args
) SWIG_fail
;
4013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4014 if (!SWIG_IsOK(res1
)) {
4015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4017 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_Py_Void();
4032 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
= 0;
4034 wxPalette
*arg1
= (wxPalette
*) 0 ;
4041 unsigned char val2
;
4043 unsigned char val3
;
4045 unsigned char val4
;
4047 PyObject
* obj0
= 0 ;
4048 PyObject
* obj1
= 0 ;
4049 PyObject
* obj2
= 0 ;
4050 PyObject
* obj3
= 0 ;
4051 char * kwnames
[] = {
4052 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4060 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4061 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4062 if (!SWIG_IsOK(ecode2
)) {
4063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4065 arg2
= static_cast< byte
>(val2
);
4066 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4067 if (!SWIG_IsOK(ecode3
)) {
4068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4070 arg3
= static_cast< byte
>(val3
);
4071 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4072 if (!SWIG_IsOK(ecode4
)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4075 arg4
= static_cast< byte
>(val4
);
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= SWIG_From_int(static_cast< int >(result
));
4089 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
= 0;
4091 wxPalette
*arg1
= (wxPalette
*) 0 ;
4093 byte
*arg3
= (byte
*) 0 ;
4094 byte
*arg4
= (byte
*) 0 ;
4095 byte
*arg5
= (byte
*) 0 ;
4102 int res3
= SWIG_TMPOBJ
;
4104 int res4
= SWIG_TMPOBJ
;
4106 int res5
= SWIG_TMPOBJ
;
4107 PyObject
* obj0
= 0 ;
4108 PyObject
* obj1
= 0 ;
4109 char * kwnames
[] = {
4110 (char *) "self",(char *) "pixel", NULL
4116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4118 if (!SWIG_IsOK(res1
)) {
4119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4121 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4123 if (!SWIG_IsOK(ecode2
)) {
4124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4126 arg2
= static_cast< int >(val2
);
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4136 if (SWIG_IsTmpObj(res3
)) {
4137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4139 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4142 if (SWIG_IsTmpObj(res4
)) {
4143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4145 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4148 if (SWIG_IsTmpObj(res5
)) {
4149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4151 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4160 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4161 PyObject
*resultobj
= 0;
4162 wxPalette
*arg1
= (wxPalette
*) 0 ;
4166 PyObject
*swig_obj
[1] ;
4168 if (!args
) SWIG_fail
;
4170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4171 if (!SWIG_IsOK(res1
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4174 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= SWIG_From_int(static_cast< int >(result
));
4188 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4189 PyObject
*resultobj
= 0;
4190 wxPalette
*arg1
= (wxPalette
*) 0 ;
4194 PyObject
*swig_obj
[1] ;
4196 if (!args
) SWIG_fail
;
4198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4199 if (!SWIG_IsOK(res1
)) {
4200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4202 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (bool)(arg1
)->Ok();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4218 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4221 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4222 return SWIG_Py_Void();
4225 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4226 return SWIG_Python_InitShadowInstance(args
);
4229 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
= 0;
4231 wxColour
*arg1
= 0 ;
4232 int arg2
= (int) 1 ;
4233 int arg3
= (int) wxSOLID
;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 PyObject
* obj2
= 0 ;
4243 char * kwnames
[] = {
4244 (char *) "colour",(char *) "width",(char *) "style", NULL
4247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4250 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4254 if (!SWIG_IsOK(ecode2
)) {
4255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4257 arg2
= static_cast< int >(val2
);
4260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4261 if (!SWIG_IsOK(ecode3
)) {
4262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4264 arg3
= static_cast< int >(val3
);
4267 if (!wxPyCheckForApp()) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4280 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4281 PyObject
*resultobj
= 0;
4282 wxPen
*arg1
= (wxPen
*) 0 ;
4285 PyObject
*swig_obj
[1] ;
4287 if (!args
) SWIG_fail
;
4289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4290 if (!SWIG_IsOK(res1
)) {
4291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4293 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_Py_Void();
4308 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxPen
*arg1
= (wxPen
*) 0 ;
4314 PyObject
*swig_obj
[1] ;
4316 if (!args
) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4322 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (int)(arg1
)->GetCap();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_From_int(static_cast< int >(result
));
4336 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 PyObject
*resultobj
= 0;
4338 wxPen
*arg1
= (wxPen
*) 0 ;
4342 PyObject
*swig_obj
[1] ;
4344 if (!args
) SWIG_fail
;
4346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4347 if (!SWIG_IsOK(res1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4350 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (arg1
)->GetColour();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4364 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4365 PyObject
*resultobj
= 0;
4366 wxPen
*arg1
= (wxPen
*) 0 ;
4370 PyObject
*swig_obj
[1] ;
4372 if (!args
) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4378 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (int)(arg1
)->GetJoin();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_From_int(static_cast< int >(result
));
4392 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4393 PyObject
*resultobj
= 0;
4394 wxPen
*arg1
= (wxPen
*) 0 ;
4398 PyObject
*swig_obj
[1] ;
4400 if (!args
) SWIG_fail
;
4402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4403 if (!SWIG_IsOK(res1
)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4406 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (int)(arg1
)->GetStyle();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_From_int(static_cast< int >(result
));
4420 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4421 PyObject
*resultobj
= 0;
4422 wxPen
*arg1
= (wxPen
*) 0 ;
4426 PyObject
*swig_obj
[1] ;
4428 if (!args
) SWIG_fail
;
4430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4431 if (!SWIG_IsOK(res1
)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4434 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (int)(arg1
)->GetWidth();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_From_int(static_cast< int >(result
));
4448 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4449 PyObject
*resultobj
= 0;
4450 wxPen
*arg1
= (wxPen
*) 0 ;
4454 PyObject
*swig_obj
[1] ;
4456 if (!args
) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4462 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (bool)(arg1
)->Ok();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4478 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxPen
*arg1
= (wxPen
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4488 char * kwnames
[] = {
4489 (char *) "self",(char *) "cap_style", NULL
4492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4497 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4499 if (!SWIG_IsOK(ecode2
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4502 arg2
= static_cast< int >(val2
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 (arg1
)->SetCap(arg2
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_Py_Void();
4516 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxPen
*arg1
= (wxPen
*) 0 ;
4519 wxColour
*arg2
= 0 ;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "self",(char *) "colour", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4534 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 (arg1
)->SetColour(*arg2
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= SWIG_Py_Void();
4552 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
= 0;
4554 wxPen
*arg1
= (wxPen
*) 0 ;
4560 PyObject
* obj0
= 0 ;
4561 PyObject
* obj1
= 0 ;
4562 char * kwnames
[] = {
4563 (char *) "self",(char *) "join_style", NULL
4566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4568 if (!SWIG_IsOK(res1
)) {
4569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4571 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4573 if (!SWIG_IsOK(ecode2
)) {
4574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4576 arg2
= static_cast< int >(val2
);
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 (arg1
)->SetJoin(arg2
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 resultobj
= SWIG_Py_Void();
4590 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
= 0;
4592 wxPen
*arg1
= (wxPen
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4600 char * kwnames
[] = {
4601 (char *) "self",(char *) "style", NULL
4604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4606 if (!SWIG_IsOK(res1
)) {
4607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4609 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4611 if (!SWIG_IsOK(ecode2
)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4614 arg2
= static_cast< int >(val2
);
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 (arg1
)->SetStyle(arg2
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SWIG_Py_Void();
4628 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
= 0;
4630 wxPen
*arg1
= (wxPen
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 char * kwnames
[] = {
4639 (char *) "self",(char *) "width", NULL
4642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4644 if (!SWIG_IsOK(res1
)) {
4645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4647 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4649 if (!SWIG_IsOK(ecode2
)) {
4650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4652 arg2
= static_cast< int >(val2
);
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 (arg1
)->SetWidth(arg2
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= SWIG_Py_Void();
4666 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxPen
*arg1
= (wxPen
*) 0 ;
4670 wxDash
*arg3
= (wxDash
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4674 PyObject
* obj1
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "self",(char *) "dashes", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4681 if (!SWIG_IsOK(res1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4684 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4686 arg2
= PyList_Size(obj1
);
4687 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4688 if (arg3
== NULL
) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 (arg1
)->SetDashes(arg2
,arg3
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_Py_Void();
4698 if (arg3
) delete [] arg3
;
4703 if (arg3
) delete [] arg3
;
4709 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4710 PyObject
*resultobj
= 0;
4711 wxPen
*arg1
= (wxPen
*) 0 ;
4712 PyObject
*result
= 0 ;
4715 PyObject
*swig_obj
[1] ;
4717 if (!args
) SWIG_fail
;
4719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4720 if (!SWIG_IsOK(res1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4723 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4737 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
= 0;
4739 wxPen
*arg1
= (wxPen
*) 0 ;
4740 PyObject
*arg2
= (PyObject
*) 0 ;
4741 PyObject
*arg3
= (PyObject
*) 0 ;
4744 PyObject
* obj0
= 0 ;
4745 PyObject
* obj1
= 0 ;
4746 PyObject
* obj2
= 0 ;
4747 char * kwnames
[] = {
4748 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4756 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 wxPen__SetDashes(arg1
,arg2
,arg3
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= SWIG_Py_Void();
4772 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4773 PyObject
*resultobj
= 0;
4774 wxPen
*arg1
= (wxPen
*) 0 ;
4778 PyObject
*swig_obj
[1] ;
4780 if (!args
) SWIG_fail
;
4782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4783 if (!SWIG_IsOK(res1
)) {
4784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4786 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_From_int(static_cast< int >(result
));
4800 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4801 PyObject
*resultobj
= 0;
4802 wxPen
*arg1
= (wxPen
*) 0 ;
4803 wxBitmap
*result
= 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4814 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxBitmap
*)(arg1
)->GetStipple();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
4828 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
= 0;
4830 wxPen
*arg1
= (wxPen
*) 0 ;
4831 wxBitmap
*arg2
= 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 char * kwnames
[] = {
4839 (char *) "self",(char *) "stipple", NULL
4842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4844 if (!SWIG_IsOK(res1
)) {
4845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4847 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
4849 if (!SWIG_IsOK(res2
)) {
4850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4855 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 (arg1
)->SetStipple(*arg2
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= SWIG_Py_Void();
4869 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
= 0;
4871 wxPen
*arg1
= (wxPen
*) 0 ;
4872 wxPen
*arg2
= (wxPen
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4880 char * kwnames
[] = {
4881 (char *) "self",(char *) "other", NULL
4884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4889 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4891 if (!SWIG_IsOK(res2
)) {
4892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4894 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4910 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
= 0;
4912 wxPen
*arg1
= (wxPen
*) 0 ;
4913 wxPen
*arg2
= (wxPen
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 char * kwnames
[] = {
4922 (char *) "self",(char *) "other", NULL
4925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4927 if (!SWIG_IsOK(res1
)) {
4928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4930 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4932 if (!SWIG_IsOK(res2
)) {
4933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4935 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4951 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4954 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4955 return SWIG_Py_Void();
4958 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4959 return SWIG_Python_InitShadowInstance(args
);
4962 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
= 0;
4964 wxColour
*arg1
= 0 ;
4965 int arg2
= (int) wxSOLID
;
4966 wxBrush
*result
= 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4972 char * kwnames
[] = {
4973 (char *) "colour",(char *) "style", NULL
4976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4979 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4983 if (!SWIG_IsOK(ecode2
)) {
4984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4986 arg2
= static_cast< int >(val2
);
4989 if (!wxPyCheckForApp()) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5002 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
= 0;
5004 wxBitmap
*arg1
= 0 ;
5005 wxBrush
*result
= 0 ;
5008 PyObject
* obj0
= 0 ;
5009 char * kwnames
[] = {
5010 (char *) "stippleBitmap", NULL
5013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5014 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5015 if (!SWIG_IsOK(res1
)) {
5016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5021 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5023 if (!wxPyCheckForApp()) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5036 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 PyObject
*resultobj
= 0;
5038 wxBrush
*arg1
= (wxBrush
*) 0 ;
5041 PyObject
*swig_obj
[1] ;
5043 if (!args
) SWIG_fail
;
5045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5046 if (!SWIG_IsOK(res1
)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5049 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_Py_Void();
5064 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxBrush
*arg1
= (wxBrush
*) 0 ;
5067 wxColour
*arg2
= 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "col", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5082 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5085 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetColour((wxColour
const &)*arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
= 0;
5102 wxBrush
*arg1
= (wxBrush
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5109 PyObject
* obj1
= 0 ;
5110 char * kwnames
[] = {
5111 (char *) "self",(char *) "style", NULL
5114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5116 if (!SWIG_IsOK(res1
)) {
5117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5119 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5121 if (!SWIG_IsOK(ecode2
)) {
5122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5124 arg2
= static_cast< int >(val2
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 (arg1
)->SetStyle(arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_Py_Void();
5138 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
= 0;
5140 wxBrush
*arg1
= (wxBrush
*) 0 ;
5141 wxBitmap
*arg2
= 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "self",(char *) "stipple", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5154 if (!SWIG_IsOK(res1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5157 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5159 if (!SWIG_IsOK(res2
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5165 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= SWIG_Py_Void();
5179 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5180 PyObject
*resultobj
= 0;
5181 wxBrush
*arg1
= (wxBrush
*) 0 ;
5185 PyObject
*swig_obj
[1] ;
5187 if (!args
) SWIG_fail
;
5189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5190 if (!SWIG_IsOK(res1
)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5193 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= ((wxBrush
const *)arg1
)->GetColour();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5207 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5208 PyObject
*resultobj
= 0;
5209 wxBrush
*arg1
= (wxBrush
*) 0 ;
5213 PyObject
*swig_obj
[1] ;
5215 if (!args
) SWIG_fail
;
5217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5218 if (!SWIG_IsOK(res1
)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5221 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_From_int(static_cast< int >(result
));
5235 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5236 PyObject
*resultobj
= 0;
5237 wxBrush
*arg1
= (wxBrush
*) 0 ;
5238 wxBitmap
*result
= 0 ;
5241 PyObject
*swig_obj
[1] ;
5243 if (!args
) SWIG_fail
;
5245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5246 if (!SWIG_IsOK(res1
)) {
5247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5249 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5263 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5264 PyObject
*resultobj
= 0;
5265 wxBrush
*arg1
= (wxBrush
*) 0 ;
5269 PyObject
*swig_obj
[1] ;
5271 if (!args
) SWIG_fail
;
5273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5274 if (!SWIG_IsOK(res1
)) {
5275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5277 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5293 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5294 PyObject
*resultobj
= 0;
5295 wxBrush
*arg1
= (wxBrush
*) 0 ;
5299 PyObject
*swig_obj
[1] ;
5301 if (!args
) SWIG_fail
;
5303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5304 if (!SWIG_IsOK(res1
)) {
5305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5307 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 result
= (bool)(arg1
)->Ok();
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5323 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5326 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5327 return SWIG_Py_Void();
5330 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5331 return SWIG_Python_InitShadowInstance(args
);
5334 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
= 0;
5336 wxString
*arg1
= 0 ;
5337 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5338 wxBitmap
*result
= 0 ;
5339 bool temp1
= false ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5344 char * kwnames
[] = {
5345 (char *) "name",(char *) "type", NULL
5348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5350 arg1
= wxString_in_helper(obj0
);
5351 if (arg1
== NULL
) SWIG_fail
;
5355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5356 if (!SWIG_IsOK(ecode2
)) {
5357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5359 arg2
= static_cast< wxBitmapType
>(val2
);
5362 if (!wxPyCheckForApp()) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5383 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5384 PyObject
*resultobj
= 0;
5385 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5388 PyObject
*swig_obj
[1] ;
5390 if (!args
) SWIG_fail
;
5392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5393 if (!SWIG_IsOK(res1
)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5396 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_Py_Void();
5411 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
= 0;
5415 int arg3
= (int) -1 ;
5416 wxBitmap
*result
= 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5426 char * kwnames
[] = {
5427 (char *) "width",(char *) "height",(char *) "depth", NULL
5430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5435 arg1
= static_cast< int >(val1
);
5436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5437 if (!SWIG_IsOK(ecode2
)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5440 arg2
= static_cast< int >(val2
);
5442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5443 if (!SWIG_IsOK(ecode3
)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5446 arg3
= static_cast< int >(val3
);
5449 if (!wxPyCheckForApp()) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5462 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
= 0;
5465 wxBitmap
*result
= 0 ;
5468 PyObject
* obj0
= 0 ;
5469 char * kwnames
[] = {
5470 (char *) "icon", NULL
5473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5474 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5475 if (!SWIG_IsOK(res1
)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5481 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5483 if (!wxPyCheckForApp()) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5496 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
= 0;
5499 int arg2
= (int) -1 ;
5500 wxBitmap
*result
= 0 ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5507 char * kwnames
[] = {
5508 (char *) "image",(char *) "depth", NULL
5511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5512 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5513 if (!SWIG_IsOK(res1
)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5519 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5522 if (!SWIG_IsOK(ecode2
)) {
5523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5525 arg2
= static_cast< int >(val2
);
5528 if (!wxPyCheckForApp()) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5541 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
= 0;
5543 PyObject
*arg1
= (PyObject
*) 0 ;
5544 wxBitmap
*result
= 0 ;
5545 PyObject
* obj0
= 0 ;
5546 char * kwnames
[] = {
5547 (char *) "listOfStrings", NULL
5550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5553 if (!wxPyCheckForApp()) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5566 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
= 0;
5568 PyObject
*arg1
= (PyObject
*) 0 ;
5571 int arg4
= (int) 1 ;
5572 wxBitmap
*result
= 0 ;
5579 PyObject
* obj0
= 0 ;
5580 PyObject
* obj1
= 0 ;
5581 PyObject
* obj2
= 0 ;
5582 PyObject
* obj3
= 0 ;
5583 char * kwnames
[] = {
5584 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5590 if (!SWIG_IsOK(ecode2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5593 arg2
= static_cast< int >(val2
);
5594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5595 if (!SWIG_IsOK(ecode3
)) {
5596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5598 arg3
= static_cast< int >(val3
);
5600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5601 if (!SWIG_IsOK(ecode4
)) {
5602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5604 arg4
= static_cast< int >(val4
);
5607 if (!wxPyCheckForApp()) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5620 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5621 PyObject
*resultobj
= 0;
5622 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5626 PyObject
*swig_obj
[1] ;
5628 if (!args
) SWIG_fail
;
5630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5631 if (!SWIG_IsOK(res1
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5634 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (long)(arg1
)->GetHandle();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_From_long(static_cast< long >(result
));
5648 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
= 0;
5650 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5658 char * kwnames
[] = {
5659 (char *) "self",(char *) "handle", NULL
5662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5664 if (!SWIG_IsOK(res1
)) {
5665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5667 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5669 if (!SWIG_IsOK(ecode2
)) {
5670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
5672 arg2
= static_cast< long >(val2
);
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 wxBitmap_SetHandle(arg1
,arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= SWIG_Py_Void();
5686 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5687 PyObject
*resultobj
= 0;
5688 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5692 PyObject
*swig_obj
[1] ;
5694 if (!args
) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5700 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (bool)(arg1
)->Ok();
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5716 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5717 PyObject
*resultobj
= 0;
5718 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5722 PyObject
*swig_obj
[1] ;
5724 if (!args
) SWIG_fail
;
5726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5727 if (!SWIG_IsOK(res1
)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5730 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (int)(arg1
)->GetWidth();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= SWIG_From_int(static_cast< int >(result
));
5744 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5745 PyObject
*resultobj
= 0;
5746 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5750 PyObject
*swig_obj
[1] ;
5752 if (!args
) SWIG_fail
;
5754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5755 if (!SWIG_IsOK(res1
)) {
5756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5758 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (int)(arg1
)->GetHeight();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_From_int(static_cast< int >(result
));
5772 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5773 PyObject
*resultobj
= 0;
5774 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5778 PyObject
*swig_obj
[1] ;
5780 if (!args
) SWIG_fail
;
5782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5783 if (!SWIG_IsOK(res1
)) {
5784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5786 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (int)(arg1
)->GetDepth();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_From_int(static_cast< int >(result
));
5800 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5801 PyObject
*resultobj
= 0;
5802 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5806 PyObject
*swig_obj
[1] ;
5808 if (!args
) SWIG_fail
;
5810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5811 if (!SWIG_IsOK(res1
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5814 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= wxBitmap_GetSize(arg1
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5828 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5829 PyObject
*resultobj
= 0;
5830 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5831 SwigValueWrapper
<wxImage
> result
;
5834 PyObject
*swig_obj
[1] ;
5836 if (!args
) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5842 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5856 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5857 PyObject
*resultobj
= 0;
5858 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5859 wxMask
*result
= 0 ;
5862 PyObject
*swig_obj
[1] ;
5864 if (!args
) SWIG_fail
;
5866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5867 if (!SWIG_IsOK(res1
)) {
5868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5870 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5884 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
= 0;
5886 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5887 wxMask
*arg2
= (wxMask
*) 0 ;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5893 char * kwnames
[] = {
5894 (char *) "self",(char *) "mask", NULL
5897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5899 if (!SWIG_IsOK(res1
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5902 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5903 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5904 if (!SWIG_IsOK(res2
)) {
5905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 (arg1
)->SetMask(arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= SWIG_Py_Void();
5920 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
= 0;
5922 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5923 wxColour
*arg2
= 0 ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5929 char * kwnames
[] = {
5930 (char *) "self",(char *) "colour", NULL
5933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5935 if (!SWIG_IsOK(res1
)) {
5936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5938 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_Py_Void();
5956 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
= 0;
5958 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5960 SwigValueWrapper
<wxBitmap
> result
;
5964 PyObject
* obj0
= 0 ;
5965 PyObject
* obj1
= 0 ;
5966 char * kwnames
[] = {
5967 (char *) "self",(char *) "rect", NULL
5970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5975 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5978 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5993 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
= 0;
5995 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5996 wxString
*arg2
= 0 ;
5998 wxPalette
*arg4
= (wxPalette
*) NULL
;
6002 bool temp2
= false ;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6009 PyObject
* obj2
= 0 ;
6010 PyObject
* obj3
= 0 ;
6011 char * kwnames
[] = {
6012 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6017 if (!SWIG_IsOK(res1
)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6020 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6022 arg2
= wxString_in_helper(obj1
);
6023 if (arg2
== NULL
) SWIG_fail
;
6026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6027 if (!SWIG_IsOK(ecode3
)) {
6028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6030 arg3
= static_cast< wxBitmapType
>(val3
);
6032 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6033 if (!SWIG_IsOK(res4
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6036 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6061 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
= 0;
6063 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6064 wxString
*arg2
= 0 ;
6069 bool temp2
= false ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6075 char * kwnames
[] = {
6076 (char *) "self",(char *) "name",(char *) "type", NULL
6079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6086 arg2
= wxString_in_helper(obj1
);
6087 if (arg2
== NULL
) SWIG_fail
;
6090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6091 if (!SWIG_IsOK(ecode3
)) {
6092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6094 arg3
= static_cast< wxBitmapType
>(val3
);
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6118 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6119 PyObject
*resultobj
= 0;
6120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6121 wxPalette
*result
= 0 ;
6124 PyObject
*swig_obj
[1] ;
6126 if (!args
) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6146 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
= 0;
6148 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6149 wxPalette
*arg2
= 0 ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 char * kwnames
[] = {
6157 (char *) "self",(char *) "palette", NULL
6160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6167 if (!SWIG_IsOK(res2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6173 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_Py_Void();
6187 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
= 0;
6189 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6198 char * kwnames
[] = {
6199 (char *) "self",(char *) "icon", NULL
6202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6204 if (!SWIG_IsOK(res1
)) {
6205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6209 if (!SWIG_IsOK(res2
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6215 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6231 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
= 0;
6233 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6241 char * kwnames
[] = {
6242 (char *) "self",(char *) "height", NULL
6245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6247 if (!SWIG_IsOK(res1
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6250 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6252 if (!SWIG_IsOK(ecode2
)) {
6253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6255 arg2
= static_cast< int >(val2
);
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 (arg1
)->SetHeight(arg2
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_Py_Void();
6269 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "self",(char *) "width", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6285 if (!SWIG_IsOK(res1
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6288 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6290 if (!SWIG_IsOK(ecode2
)) {
6291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6293 arg2
= static_cast< int >(val2
);
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetWidth(arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6307 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
= 0;
6309 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "self",(char *) "depth", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6323 if (!SWIG_IsOK(res1
)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6326 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6328 if (!SWIG_IsOK(ecode2
)) {
6329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6331 arg2
= static_cast< int >(val2
);
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 (arg1
)->SetDepth(arg2
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_Py_Void();
6345 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= 0;
6347 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6354 char * kwnames
[] = {
6355 (char *) "self",(char *) "size", NULL
6358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6360 if (!SWIG_IsOK(res1
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6363 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6366 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6371 wxPyEndAllowThreads(__tstate
);
6372 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= SWIG_Py_Void();
6381 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
*resultobj
= 0;
6383 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6384 wxCursor
*arg2
= 0 ;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "self",(char *) "cursor", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6401 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6403 if (!SWIG_IsOK(res2
)) {
6404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6409 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6425 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
= 0;
6427 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6428 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 char * kwnames
[] = {
6437 (char *) "self",(char *) "other", NULL
6440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6442 if (!SWIG_IsOK(res1
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6445 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6447 if (!SWIG_IsOK(res2
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6450 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6466 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
= 0;
6468 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6469 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6477 char * kwnames
[] = {
6478 (char *) "self",(char *) "other", NULL
6481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6486 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6488 if (!SWIG_IsOK(res2
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6491 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6507 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6510 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6511 return SWIG_Py_Void();
6514 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6515 return SWIG_Python_InitShadowInstance(args
);
6518 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= 0;
6520 wxBitmap
*arg1
= 0 ;
6521 wxColour
const &arg2_defvalue
= wxNullColour
;
6522 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6523 wxMask
*result
= 0 ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 char * kwnames
[] = {
6530 (char *) "bitmap",(char *) "colour", NULL
6533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6534 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6535 if (!SWIG_IsOK(res1
)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6541 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6549 if (!wxPyCheckForApp()) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6562 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6563 PyObject
*resultobj
= 0;
6564 wxMask
*arg1
= (wxMask
*) 0 ;
6567 PyObject
*swig_obj
[1] ;
6569 if (!args
) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6575 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 resultobj
= SWIG_Py_Void();
6590 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6593 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6594 return SWIG_Py_Void();
6597 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 return SWIG_Python_InitShadowInstance(args
);
6601 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
= 0;
6603 wxString
*arg1
= 0 ;
6605 int arg3
= (int) -1 ;
6606 int arg4
= (int) -1 ;
6607 wxIcon
*result
= 0 ;
6608 bool temp1
= false ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 PyObject
* obj2
= 0 ;
6618 PyObject
* obj3
= 0 ;
6619 char * kwnames
[] = {
6620 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6625 arg1
= wxString_in_helper(obj0
);
6626 if (arg1
== NULL
) SWIG_fail
;
6629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6630 if (!SWIG_IsOK(ecode2
)) {
6631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6633 arg2
= static_cast< wxBitmapType
>(val2
);
6635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6636 if (!SWIG_IsOK(ecode3
)) {
6637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6639 arg3
= static_cast< int >(val3
);
6642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6643 if (!SWIG_IsOK(ecode4
)) {
6644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6646 arg4
= static_cast< int >(val4
);
6649 if (!wxPyCheckForApp()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6670 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6671 PyObject
*resultobj
= 0;
6672 wxIcon
*arg1
= (wxIcon
*) 0 ;
6675 PyObject
*swig_obj
[1] ;
6677 if (!args
) SWIG_fail
;
6679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6680 if (!SWIG_IsOK(res1
)) {
6681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6683 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= SWIG_Py_Void();
6698 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6699 PyObject
*resultobj
= 0;
6700 wxIcon
*result
= 0 ;
6702 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6704 if (!wxPyCheckForApp()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (wxIcon
*)new wxIcon();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6717 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
= 0;
6719 wxIconLocation
*arg1
= 0 ;
6720 wxIcon
*result
= 0 ;
6723 PyObject
* obj0
= 0 ;
6724 char * kwnames
[] = {
6725 (char *) "loc", NULL
6728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6736 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6738 if (!wxPyCheckForApp()) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6751 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
= 0;
6753 wxBitmap
*arg1
= 0 ;
6754 wxIcon
*result
= 0 ;
6757 PyObject
* obj0
= 0 ;
6758 char * kwnames
[] = {
6759 (char *) "bmp", NULL
6762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6770 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6785 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
= 0;
6787 PyObject
*arg1
= (PyObject
*) 0 ;
6788 wxIcon
*result
= 0 ;
6789 PyObject
* obj0
= 0 ;
6790 char * kwnames
[] = {
6791 (char *) "listOfStrings", NULL
6794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6797 if (!wxPyCheckForApp()) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (wxIcon
*)new_wxIcon(arg1
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6810 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
= 0;
6812 wxIcon
*arg1
= (wxIcon
*) 0 ;
6813 wxString
*arg2
= 0 ;
6818 bool temp2
= false ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 PyObject
* obj2
= 0 ;
6824 char * kwnames
[] = {
6825 (char *) "self",(char *) "name",(char *) "type", NULL
6828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6833 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6835 arg2
= wxString_in_helper(obj1
);
6836 if (arg2
== NULL
) SWIG_fail
;
6839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6840 if (!SWIG_IsOK(ecode3
)) {
6841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6843 arg3
= static_cast< wxBitmapType
>(val3
);
6845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6846 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6867 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6868 PyObject
*resultobj
= 0;
6869 wxIcon
*arg1
= (wxIcon
*) 0 ;
6873 PyObject
*swig_obj
[1] ;
6875 if (!args
) SWIG_fail
;
6877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6878 if (!SWIG_IsOK(res1
)) {
6879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6881 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= (long)(arg1
)->GetHandle();
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= SWIG_From_long(static_cast< long >(result
));
6895 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
= 0;
6897 wxIcon
*arg1
= (wxIcon
*) 0 ;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6905 char * kwnames
[] = {
6906 (char *) "self",(char *) "handle", NULL
6909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6911 if (!SWIG_IsOK(res1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6914 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6916 if (!SWIG_IsOK(ecode2
)) {
6917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
6919 arg2
= static_cast< long >(val2
);
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 wxIcon_SetHandle(arg1
,arg2
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_Py_Void();
6933 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6934 PyObject
*resultobj
= 0;
6935 wxIcon
*arg1
= (wxIcon
*) 0 ;
6939 PyObject
*swig_obj
[1] ;
6941 if (!args
) SWIG_fail
;
6943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6944 if (!SWIG_IsOK(res1
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6947 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (bool)(arg1
)->Ok();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6963 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6964 PyObject
*resultobj
= 0;
6965 wxIcon
*arg1
= (wxIcon
*) 0 ;
6969 PyObject
*swig_obj
[1] ;
6971 if (!args
) SWIG_fail
;
6973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6974 if (!SWIG_IsOK(res1
)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6977 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (int)(arg1
)->GetWidth();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_From_int(static_cast< int >(result
));
6991 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6992 PyObject
*resultobj
= 0;
6993 wxIcon
*arg1
= (wxIcon
*) 0 ;
6997 PyObject
*swig_obj
[1] ;
6999 if (!args
) SWIG_fail
;
7001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7002 if (!SWIG_IsOK(res1
)) {
7003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7005 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (int)(arg1
)->GetHeight();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7012 resultobj
= SWIG_From_int(static_cast< int >(result
));
7019 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7020 PyObject
*resultobj
= 0;
7021 wxIcon
*arg1
= (wxIcon
*) 0 ;
7025 PyObject
*swig_obj
[1] ;
7027 if (!args
) SWIG_fail
;
7029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7030 if (!SWIG_IsOK(res1
)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7033 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (int)(arg1
)->GetDepth();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_From_int(static_cast< int >(result
));
7047 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
= 0;
7049 wxIcon
*arg1
= (wxIcon
*) 0 ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 char * kwnames
[] = {
7058 (char *) "self",(char *) "w", NULL
7061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
7066 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7068 if (!SWIG_IsOK(ecode2
)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
7071 arg2
= static_cast< int >(val2
);
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 (arg1
)->SetWidth(arg2
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_Py_Void();
7085 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= 0;
7087 wxIcon
*arg1
= (wxIcon
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 char * kwnames
[] = {
7096 (char *) "self",(char *) "h", NULL
7099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7101 if (!SWIG_IsOK(res1
)) {
7102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7104 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7106 if (!SWIG_IsOK(ecode2
)) {
7107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
7109 arg2
= static_cast< int >(val2
);
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 (arg1
)->SetHeight(arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_Py_Void();
7123 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
= 0;
7125 wxIcon
*arg1
= (wxIcon
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 char * kwnames
[] = {
7134 (char *) "self",(char *) "d", NULL
7137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7139 if (!SWIG_IsOK(res1
)) {
7140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7142 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7144 if (!SWIG_IsOK(ecode2
)) {
7145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
7147 arg2
= static_cast< int >(val2
);
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 (arg1
)->SetDepth(arg2
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= SWIG_Py_Void();
7161 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
= 0;
7163 wxIcon
*arg1
= (wxIcon
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7170 char * kwnames
[] = {
7171 (char *) "self",(char *) "size", NULL
7174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7176 if (!SWIG_IsOK(res1
)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
7179 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7182 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 (arg1
)->SetSize((wxSize
const &)*arg2
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_Py_Void();
7197 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
= 0;
7199 wxIcon
*arg1
= (wxIcon
*) 0 ;
7200 wxBitmap
*arg2
= 0 ;
7205 PyObject
* obj0
= 0 ;
7206 PyObject
* obj1
= 0 ;
7207 char * kwnames
[] = {
7208 (char *) "self",(char *) "bmp", NULL
7211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7213 if (!SWIG_IsOK(res1
)) {
7214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
7216 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7218 if (!SWIG_IsOK(res2
)) {
7219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7224 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_Py_Void();
7238 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7241 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
7242 return SWIG_Py_Void();
7245 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7246 return SWIG_Python_InitShadowInstance(args
);
7249 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
= 0;
7251 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
7252 int arg2
= (int) 0 ;
7253 wxIconLocation
*result
= 0 ;
7254 bool temp1
= false ;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7259 char * kwnames
[] = {
7260 (char *) "filename",(char *) "num", NULL
7263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7266 arg1
= wxString_in_helper(obj0
);
7267 if (arg1
== NULL
) SWIG_fail
;
7272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7273 if (!SWIG_IsOK(ecode2
)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
7276 arg2
= static_cast< int >(val2
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7299 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7300 PyObject
*resultobj
= 0;
7301 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7304 PyObject
*swig_obj
[1] ;
7306 if (!args
) SWIG_fail
;
7308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7309 if (!SWIG_IsOK(res1
)) {
7310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7312 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= SWIG_Py_Void();
7327 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 PyObject
*resultobj
= 0;
7329 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7333 PyObject
*swig_obj
[1] ;
7335 if (!args
) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7341 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7357 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
= 0;
7359 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7360 wxString
*arg2
= 0 ;
7363 bool temp2
= false ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7366 char * kwnames
[] = {
7367 (char *) "self",(char *) "filename", NULL
7370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7372 if (!SWIG_IsOK(res1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7375 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7377 arg2
= wxString_in_helper(obj1
);
7378 if (arg2
== NULL
) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 (arg1
)->SetFileName((wxString
const &)*arg2
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_Py_Void();
7402 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7403 PyObject
*resultobj
= 0;
7404 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7405 wxString
*result
= 0 ;
7408 PyObject
*swig_obj
[1] ;
7410 if (!args
) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7416 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7421 result
= (wxString
*) &_result_ref
;
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7430 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7439 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= 0;
7441 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7449 char * kwnames
[] = {
7450 (char *) "self",(char *) "num", NULL
7453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7455 if (!SWIG_IsOK(res1
)) {
7456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7458 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7460 if (!SWIG_IsOK(ecode2
)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7463 arg2
= static_cast< int >(val2
);
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 wxIconLocation_SetIndex(arg1
,arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7470 resultobj
= SWIG_Py_Void();
7477 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7478 PyObject
*resultobj
= 0;
7479 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7483 PyObject
*swig_obj
[1] ;
7485 if (!args
) SWIG_fail
;
7487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7488 if (!SWIG_IsOK(res1
)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7491 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (int)wxIconLocation_GetIndex(arg1
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= SWIG_From_int(static_cast< int >(result
));
7505 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7508 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7509 return SWIG_Py_Void();
7512 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 return SWIG_Python_InitShadowInstance(args
);
7516 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7517 PyObject
*resultobj
= 0;
7518 wxIconBundle
*result
= 0 ;
7520 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (wxIconBundle
*)new wxIconBundle();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7534 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
= 0;
7536 wxString
*arg1
= 0 ;
7538 wxIconBundle
*result
= 0 ;
7539 bool temp1
= false ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7544 char * kwnames
[] = {
7545 (char *) "file",(char *) "type", NULL
7548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7550 arg1
= wxString_in_helper(obj0
);
7551 if (arg1
== NULL
) SWIG_fail
;
7554 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7555 if (!SWIG_IsOK(ecode2
)) {
7556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7558 arg2
= static_cast< long >(val2
);
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7580 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
= 0;
7583 wxIconBundle
*result
= 0 ;
7586 PyObject
* obj0
= 0 ;
7587 char * kwnames
[] = {
7588 (char *) "icon", NULL
7591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7592 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7593 if (!SWIG_IsOK(res1
)) {
7594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7599 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7613 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7614 PyObject
*resultobj
= 0;
7615 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7618 PyObject
*swig_obj
[1] ;
7620 if (!args
) SWIG_fail
;
7622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7623 if (!SWIG_IsOK(res1
)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7626 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_Py_Void();
7641 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= 0;
7643 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 char * kwnames
[] = {
7652 (char *) "self",(char *) "icon", NULL
7655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7660 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7662 if (!SWIG_IsOK(res2
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7668 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= SWIG_Py_Void();
7682 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
= 0;
7684 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7685 wxString
*arg2
= 0 ;
7689 bool temp2
= false ;
7692 PyObject
* obj0
= 0 ;
7693 PyObject
* obj1
= 0 ;
7694 PyObject
* obj2
= 0 ;
7695 char * kwnames
[] = {
7696 (char *) "self",(char *) "file",(char *) "type", NULL
7699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7704 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7706 arg2
= wxString_in_helper(obj1
);
7707 if (arg2
== NULL
) SWIG_fail
;
7710 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7711 if (!SWIG_IsOK(ecode3
)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7714 arg3
= static_cast< long >(val3
);
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_Py_Void();
7736 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
= 0;
7738 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7740 wxIcon
*result
= 0 ;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7746 char * kwnames
[] = {
7747 (char *) "self",(char *) "size", NULL
7750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7752 if (!SWIG_IsOK(res1
)) {
7753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7755 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7758 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7764 result
= (wxIcon
*) &_result_ref
;
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7770 wxIcon
* resultptr
= new wxIcon(*result
);
7771 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7779 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7782 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7783 return SWIG_Py_Void();
7786 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7787 return SWIG_Python_InitShadowInstance(args
);
7790 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= 0;
7792 wxString
*arg1
= 0 ;
7794 int arg3
= (int) 0 ;
7795 int arg4
= (int) 0 ;
7796 wxCursor
*result
= 0 ;
7797 bool temp1
= false ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7806 PyObject
* obj2
= 0 ;
7807 PyObject
* obj3
= 0 ;
7808 char * kwnames
[] = {
7809 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7814 arg1
= wxString_in_helper(obj0
);
7815 if (arg1
== NULL
) SWIG_fail
;
7818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7819 if (!SWIG_IsOK(ecode2
)) {
7820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7822 arg2
= static_cast< long >(val2
);
7824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7825 if (!SWIG_IsOK(ecode3
)) {
7826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7828 arg3
= static_cast< int >(val3
);
7831 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7832 if (!SWIG_IsOK(ecode4
)) {
7833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7835 arg4
= static_cast< int >(val4
);
7838 if (!wxPyCheckForApp()) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7859 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7860 PyObject
*resultobj
= 0;
7861 wxCursor
*arg1
= (wxCursor
*) 0 ;
7864 PyObject
*swig_obj
[1] ;
7866 if (!args
) SWIG_fail
;
7868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7869 if (!SWIG_IsOK(res1
)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7872 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_Py_Void();
7887 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
= 0;
7890 wxCursor
*result
= 0 ;
7893 PyObject
* obj0
= 0 ;
7894 char * kwnames
[] = {
7898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7899 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7900 if (!SWIG_IsOK(ecode1
)) {
7901 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7903 arg1
= static_cast< int >(val1
);
7905 if (!wxPyCheckForApp()) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxCursor
*)new wxCursor(arg1
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7918 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
= 0;
7921 wxCursor
*result
= 0 ;
7924 PyObject
* obj0
= 0 ;
7925 char * kwnames
[] = {
7926 (char *) "image", NULL
7929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7930 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7931 if (!SWIG_IsOK(res1
)) {
7932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7937 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7939 if (!wxPyCheckForApp()) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7952 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7953 PyObject
*resultobj
= 0;
7954 wxCursor
*arg1
= (wxCursor
*) 0 ;
7958 PyObject
*swig_obj
[1] ;
7960 if (!args
) SWIG_fail
;
7962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7963 if (!SWIG_IsOK(res1
)) {
7964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7966 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (long)(arg1
)->GetHandle();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_From_long(static_cast< long >(result
));
7980 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
= 0;
7982 wxCursor
*arg1
= (wxCursor
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 char * kwnames
[] = {
7991 (char *) "self",(char *) "handle", NULL
7994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7996 if (!SWIG_IsOK(res1
)) {
7997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7999 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8001 if (!SWIG_IsOK(ecode2
)) {
8002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
8004 arg2
= static_cast< long >(val2
);
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 wxCursor_SetHandle(arg1
,arg2
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= SWIG_Py_Void();
8018 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8019 PyObject
*resultobj
= 0;
8020 wxCursor
*arg1
= (wxCursor
*) 0 ;
8024 PyObject
*swig_obj
[1] ;
8026 if (!args
) SWIG_fail
;
8028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8029 if (!SWIG_IsOK(res1
)) {
8030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
8032 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (bool)(arg1
)->Ok();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8048 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 PyObject
*resultobj
= 0;
8050 wxCursor
*arg1
= (wxCursor
*) 0 ;
8054 PyObject
*swig_obj
[1] ;
8056 if (!args
) SWIG_fail
;
8058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8059 if (!SWIG_IsOK(res1
)) {
8060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8062 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 result
= (int)(arg1
)->GetWidth();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= SWIG_From_int(static_cast< int >(result
));
8076 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8077 PyObject
*resultobj
= 0;
8078 wxCursor
*arg1
= (wxCursor
*) 0 ;
8082 PyObject
*swig_obj
[1] ;
8084 if (!args
) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8090 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (int)(arg1
)->GetHeight();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_From_int(static_cast< int >(result
));
8104 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8105 PyObject
*resultobj
= 0;
8106 wxCursor
*arg1
= (wxCursor
*) 0 ;
8110 PyObject
*swig_obj
[1] ;
8112 if (!args
) SWIG_fail
;
8114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8115 if (!SWIG_IsOK(res1
)) {
8116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8118 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (int)(arg1
)->GetDepth();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= SWIG_From_int(static_cast< int >(result
));
8132 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
= 0;
8134 wxCursor
*arg1
= (wxCursor
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8142 char * kwnames
[] = {
8143 (char *) "self",(char *) "w", NULL
8146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8148 if (!SWIG_IsOK(res1
)) {
8149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8151 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8153 if (!SWIG_IsOK(ecode2
)) {
8154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
8156 arg2
= static_cast< int >(val2
);
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 (arg1
)->SetWidth(arg2
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= SWIG_Py_Void();
8170 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
= 0;
8172 wxCursor
*arg1
= (wxCursor
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8179 PyObject
* obj1
= 0 ;
8180 char * kwnames
[] = {
8181 (char *) "self",(char *) "h", NULL
8184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8186 if (!SWIG_IsOK(res1
)) {
8187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8189 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8191 if (!SWIG_IsOK(ecode2
)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
8194 arg2
= static_cast< int >(val2
);
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 (arg1
)->SetHeight(arg2
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_Py_Void();
8208 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
= 0;
8210 wxCursor
*arg1
= (wxCursor
*) 0 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 char * kwnames
[] = {
8219 (char *) "self",(char *) "d", NULL
8222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8224 if (!SWIG_IsOK(res1
)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8227 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8229 if (!SWIG_IsOK(ecode2
)) {
8230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
8232 arg2
= static_cast< int >(val2
);
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 (arg1
)->SetDepth(arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_Py_Void();
8246 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
= 0;
8248 wxCursor
*arg1
= (wxCursor
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 char * kwnames
[] = {
8256 (char *) "self",(char *) "size", NULL
8259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8261 if (!SWIG_IsOK(res1
)) {
8262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
8264 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8267 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 (arg1
)->SetSize((wxSize
const &)*arg2
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= SWIG_Py_Void();
8282 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8285 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
8286 return SWIG_Py_Void();
8289 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8290 return SWIG_Python_InitShadowInstance(args
);
8293 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= 0;
8295 int arg1
= (int) 0 ;
8296 int arg2
= (int) 0 ;
8297 int arg3
= (int) 0 ;
8298 int arg4
= (int) 0 ;
8299 wxRegion
*result
= 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8310 PyObject
* obj2
= 0 ;
8311 PyObject
* obj3
= 0 ;
8312 char * kwnames
[] = {
8313 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8319 if (!SWIG_IsOK(ecode1
)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
8322 arg1
= static_cast< int >(val1
);
8325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8326 if (!SWIG_IsOK(ecode2
)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
8329 arg2
= static_cast< int >(val2
);
8332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8333 if (!SWIG_IsOK(ecode3
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
8336 arg3
= static_cast< int >(val3
);
8339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8340 if (!SWIG_IsOK(ecode4
)) {
8341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
8343 arg4
= static_cast< int >(val4
);
8346 if (!wxPyCheckForApp()) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
8359 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
= 0;
8361 wxBitmap
*arg1
= 0 ;
8362 wxRegion
*result
= 0 ;
8365 PyObject
* obj0
= 0 ;
8366 char * kwnames
[] = {
8367 (char *) "bmp", NULL
8370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8372 if (!SWIG_IsOK(res1
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8378 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8380 if (!wxPyCheckForApp()) SWIG_fail
;
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8393 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= 0;
8395 wxBitmap
*arg1
= 0 ;
8396 wxColour
*arg2
= 0 ;
8397 int arg3
= (int) 0 ;
8398 wxRegion
*result
= 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8406 PyObject
* obj2
= 0 ;
8407 char * kwnames
[] = {
8408 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8419 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8422 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8426 if (!SWIG_IsOK(ecode3
)) {
8427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
8429 arg3
= static_cast< int >(val3
);
8432 if (!wxPyCheckForApp()) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8445 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
*resultobj
= 0;
8448 wxPoint
*arg2
= (wxPoint
*) 0 ;
8449 int arg3
= (int) wxWINDING_RULE
;
8450 wxRegion
*result
= 0 ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8455 char * kwnames
[] = {
8456 (char *) "points",(char *) "fillStyle", NULL
8459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8461 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
8462 if (arg2
== NULL
) SWIG_fail
;
8465 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
8466 if (!SWIG_IsOK(ecode3
)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
8469 arg3
= static_cast< int >(val3
);
8472 if (!wxPyCheckForApp()) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8480 if (arg2
) delete [] arg2
;
8485 if (arg2
) delete [] arg2
;
8491 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8492 PyObject
*resultobj
= 0;
8493 wxRegion
*arg1
= (wxRegion
*) 0 ;
8496 PyObject
*swig_obj
[1] ;
8498 if (!args
) SWIG_fail
;
8500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
8501 if (!SWIG_IsOK(res1
)) {
8502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
8504 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_Py_Void();
8519 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8520 PyObject
*resultobj
= 0;
8521 wxRegion
*arg1
= (wxRegion
*) 0 ;
8524 PyObject
*swig_obj
[1] ;
8526 if (!args
) SWIG_fail
;
8528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8529 if (!SWIG_IsOK(res1
)) {
8530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
8532 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_Py_Void();
8546 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
= 0;
8548 wxRegion
*arg1
= (wxRegion
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8561 char * kwnames
[] = {
8562 (char *) "self",(char *) "x",(char *) "y", NULL
8565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8567 if (!SWIG_IsOK(res1
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
8570 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8572 if (!SWIG_IsOK(ecode2
)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
8575 arg2
= static_cast< int >(val2
);
8576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8577 if (!SWIG_IsOK(ecode3
)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
8580 arg3
= static_cast< int >(val3
);
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8596 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
= 0;
8598 wxRegion
*arg1
= (wxRegion
*) 0 ;
8601 wxRegionContain result
;
8608 PyObject
* obj0
= 0 ;
8609 PyObject
* obj1
= 0 ;
8610 PyObject
* obj2
= 0 ;
8611 char * kwnames
[] = {
8612 (char *) "self",(char *) "x",(char *) "y", NULL
8615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8620 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8622 if (!SWIG_IsOK(ecode2
)) {
8623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8625 arg2
= static_cast< int >(val2
);
8626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8627 if (!SWIG_IsOK(ecode3
)) {
8628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8630 arg3
= static_cast< int >(val3
);
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_From_int(static_cast< int >(result
));
8644 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
= 0;
8646 wxRegion
*arg1
= (wxRegion
*) 0 ;
8648 wxRegionContain result
;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 char * kwnames
[] = {
8655 (char *) "self",(char *) "pt", NULL
8658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",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_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8663 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= SWIG_From_int(static_cast< int >(result
));
8681 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
= 0;
8683 wxRegion
*arg1
= (wxRegion
*) 0 ;
8685 wxRegionContain result
;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8691 char * kwnames
[] = {
8692 (char *) "self",(char *) "rect", NULL
8695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8700 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8703 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_From_int(static_cast< int >(result
));
8718 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
= 0;
8720 wxRegion
*arg1
= (wxRegion
*) 0 ;
8725 wxRegionContain result
;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8739 PyObject
* obj3
= 0 ;
8740 PyObject
* obj4
= 0 ;
8741 char * kwnames
[] = {
8742 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8747 if (!SWIG_IsOK(res1
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8750 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8752 if (!SWIG_IsOK(ecode2
)) {
8753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8755 arg2
= static_cast< int >(val2
);
8756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8757 if (!SWIG_IsOK(ecode3
)) {
8758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8760 arg3
= static_cast< int >(val3
);
8761 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8762 if (!SWIG_IsOK(ecode4
)) {
8763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8765 arg4
= static_cast< int >(val4
);
8766 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8767 if (!SWIG_IsOK(ecode5
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8770 arg5
= static_cast< int >(val5
);
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_From_int(static_cast< int >(result
));
8784 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 PyObject
*resultobj
= 0;
8786 wxRegion
*arg1
= (wxRegion
*) 0 ;
8790 PyObject
*swig_obj
[1] ;
8792 if (!args
) SWIG_fail
;
8794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8795 if (!SWIG_IsOK(res1
)) {
8796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8798 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 result
= (arg1
)->GetBox();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8812 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxRegion
*arg1
= (wxRegion
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8832 PyObject
* obj2
= 0 ;
8833 PyObject
* obj3
= 0 ;
8834 PyObject
* obj4
= 0 ;
8835 char * kwnames
[] = {
8836 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8841 if (!SWIG_IsOK(res1
)) {
8842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8844 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8846 if (!SWIG_IsOK(ecode2
)) {
8847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8849 arg2
= static_cast< int >(val2
);
8850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8851 if (!SWIG_IsOK(ecode3
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8854 arg3
= static_cast< int >(val3
);
8855 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8856 if (!SWIG_IsOK(ecode4
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8859 arg4
= static_cast< int >(val4
);
8860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8861 if (!SWIG_IsOK(ecode5
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8864 arg5
= static_cast< int >(val5
);
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8880 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxRegion
*arg1
= (wxRegion
*) 0 ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8890 char * kwnames
[] = {
8891 (char *) "self",(char *) "rect", NULL
8894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8896 if (!SWIG_IsOK(res1
)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8899 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8919 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
= 0;
8921 wxRegion
*arg1
= (wxRegion
*) 0 ;
8922 wxRegion
*arg2
= 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 char * kwnames
[] = {
8931 (char *) "self",(char *) "region", NULL
8934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8939 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8941 if (!SWIG_IsOK(res2
)) {
8942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8947 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8964 PyObject
*resultobj
= 0;
8965 wxRegion
*arg1
= (wxRegion
*) 0 ;
8969 PyObject
*swig_obj
[1] ;
8971 if (!args
) SWIG_fail
;
8973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8974 if (!SWIG_IsOK(res1
)) {
8975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8977 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (bool)(arg1
)->IsEmpty();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8993 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
= 0;
8995 wxRegion
*arg1
= (wxRegion
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9013 PyObject
* obj2
= 0 ;
9014 PyObject
* obj3
= 0 ;
9015 PyObject
* obj4
= 0 ;
9016 char * kwnames
[] = {
9017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
9025 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9027 if (!SWIG_IsOK(ecode2
)) {
9028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
9030 arg2
= static_cast< int >(val2
);
9031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9032 if (!SWIG_IsOK(ecode3
)) {
9033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
9035 arg3
= static_cast< int >(val3
);
9036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9037 if (!SWIG_IsOK(ecode4
)) {
9038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
9040 arg4
= static_cast< int >(val4
);
9041 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9042 if (!SWIG_IsOK(ecode5
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
9045 arg5
= static_cast< int >(val5
);
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9061 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
= 0;
9063 wxRegion
*arg1
= (wxRegion
*) 0 ;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 char * kwnames
[] = {
9072 (char *) "self",(char *) "rect", NULL
9075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9077 if (!SWIG_IsOK(res1
)) {
9078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9080 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9083 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9100 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
= 0;
9102 wxRegion
*arg1
= (wxRegion
*) 0 ;
9103 wxRegion
*arg2
= 0 ;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9111 char * kwnames
[] = {
9112 (char *) "self",(char *) "region", NULL
9115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9120 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9122 if (!SWIG_IsOK(res2
)) {
9123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9128 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9144 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
= 0;
9146 wxRegion
*arg1
= (wxRegion
*) 0 ;
9162 PyObject
* obj0
= 0 ;
9163 PyObject
* obj1
= 0 ;
9164 PyObject
* obj2
= 0 ;
9165 PyObject
* obj3
= 0 ;
9166 PyObject
* obj4
= 0 ;
9167 char * kwnames
[] = {
9168 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9173 if (!SWIG_IsOK(res1
)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
9176 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9178 if (!SWIG_IsOK(ecode2
)) {
9179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
9181 arg2
= static_cast< int >(val2
);
9182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9183 if (!SWIG_IsOK(ecode3
)) {
9184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
9186 arg3
= static_cast< int >(val3
);
9187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9188 if (!SWIG_IsOK(ecode4
)) {
9189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
9191 arg4
= static_cast< int >(val4
);
9192 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9193 if (!SWIG_IsOK(ecode5
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
9196 arg5
= static_cast< int >(val5
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9212 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxRegion
*arg1
= (wxRegion
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "rect", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9231 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9234 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9251 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
= 0;
9253 wxRegion
*arg1
= (wxRegion
*) 0 ;
9254 wxRegion
*arg2
= 0 ;
9260 PyObject
* obj0
= 0 ;
9261 PyObject
* obj1
= 0 ;
9262 char * kwnames
[] = {
9263 (char *) "self",(char *) "region", NULL
9266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9268 if (!SWIG_IsOK(res1
)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9271 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9273 if (!SWIG_IsOK(res2
)) {
9274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9279 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9295 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
= 0;
9297 wxRegion
*arg1
= (wxRegion
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9315 PyObject
* obj2
= 0 ;
9316 PyObject
* obj3
= 0 ;
9317 PyObject
* obj4
= 0 ;
9318 char * kwnames
[] = {
9319 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9324 if (!SWIG_IsOK(res1
)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
9327 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9329 if (!SWIG_IsOK(ecode2
)) {
9330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
9332 arg2
= static_cast< int >(val2
);
9333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9334 if (!SWIG_IsOK(ecode3
)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
9337 arg3
= static_cast< int >(val3
);
9338 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9339 if (!SWIG_IsOK(ecode4
)) {
9340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
9342 arg4
= static_cast< int >(val4
);
9343 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9344 if (!SWIG_IsOK(ecode5
)) {
9345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
9347 arg5
= static_cast< int >(val5
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9363 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
= 0;
9365 wxRegion
*arg1
= (wxRegion
*) 0 ;
9371 PyObject
* obj0
= 0 ;
9372 PyObject
* obj1
= 0 ;
9373 char * kwnames
[] = {
9374 (char *) "self",(char *) "rect", NULL
9377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9382 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9385 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9402 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
= 0;
9404 wxRegion
*arg1
= (wxRegion
*) 0 ;
9405 wxRegion
*arg2
= 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 char * kwnames
[] = {
9414 (char *) "self",(char *) "region", NULL
9417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9419 if (!SWIG_IsOK(res1
)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9422 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9424 if (!SWIG_IsOK(res2
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9430 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9446 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9447 PyObject
*resultobj
= 0;
9448 wxRegion
*arg1
= (wxRegion
*) 0 ;
9449 SwigValueWrapper
<wxBitmap
> result
;
9452 PyObject
*swig_obj
[1] ;
9454 if (!args
) SWIG_fail
;
9456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9457 if (!SWIG_IsOK(res1
)) {
9458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9460 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (arg1
)->ConvertToBitmap();
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
9474 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= 0;
9476 wxRegion
*arg1
= (wxRegion
*) 0 ;
9477 wxBitmap
*arg2
= 0 ;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 char * kwnames
[] = {
9486 (char *) "self",(char *) "bmp", NULL
9489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9494 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9496 if (!SWIG_IsOK(res2
)) {
9497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9502 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9518 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
= 0;
9520 wxRegion
*arg1
= (wxRegion
*) 0 ;
9521 wxBitmap
*arg2
= 0 ;
9522 wxColour
*arg3
= 0 ;
9523 int arg4
= (int) 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9535 PyObject
* obj3
= 0 ;
9536 char * kwnames
[] = {
9537 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9542 if (!SWIG_IsOK(res1
)) {
9543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
9545 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9547 if (!SWIG_IsOK(res2
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9553 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9556 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9560 if (!SWIG_IsOK(ecode4
)) {
9561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
9563 arg4
= static_cast< int >(val4
);
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9580 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9583 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
9584 return SWIG_Py_Void();
9587 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9588 return SWIG_Python_InitShadowInstance(args
);
9591 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxRegion
*arg1
= 0 ;
9594 wxRegionIterator
*result
= 0 ;
9597 PyObject
* obj0
= 0 ;
9598 char * kwnames
[] = {
9599 (char *) "region", NULL
9602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9603 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9604 if (!SWIG_IsOK(res1
)) {
9605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9610 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9612 if (!wxPyCheckForApp()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9625 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9626 PyObject
*resultobj
= 0;
9627 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9630 PyObject
*swig_obj
[1] ;
9632 if (!args
) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9638 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_Py_Void();
9653 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9654 PyObject
*resultobj
= 0;
9655 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9659 PyObject
*swig_obj
[1] ;
9661 if (!args
) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9667 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (int)(arg1
)->GetX();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= SWIG_From_int(static_cast< int >(result
));
9681 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9682 PyObject
*resultobj
= 0;
9683 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9687 PyObject
*swig_obj
[1] ;
9689 if (!args
) SWIG_fail
;
9691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9692 if (!SWIG_IsOK(res1
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9695 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (int)(arg1
)->GetY();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_From_int(static_cast< int >(result
));
9709 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9710 PyObject
*resultobj
= 0;
9711 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9715 PyObject
*swig_obj
[1] ;
9717 if (!args
) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9723 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (int)(arg1
)->GetW();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_From_int(static_cast< int >(result
));
9737 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9738 PyObject
*resultobj
= 0;
9739 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9743 PyObject
*swig_obj
[1] ;
9745 if (!args
) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9751 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (int)(arg1
)->GetWidth();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= SWIG_From_int(static_cast< int >(result
));
9765 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9766 PyObject
*resultobj
= 0;
9767 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9771 PyObject
*swig_obj
[1] ;
9773 if (!args
) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9779 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (int)(arg1
)->GetH();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_From_int(static_cast< int >(result
));
9793 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9794 PyObject
*resultobj
= 0;
9795 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9799 PyObject
*swig_obj
[1] ;
9801 if (!args
) SWIG_fail
;
9803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9804 if (!SWIG_IsOK(res1
)) {
9805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9807 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (int)(arg1
)->GetHeight();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= SWIG_From_int(static_cast< int >(result
));
9821 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9822 PyObject
*resultobj
= 0;
9823 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9827 PyObject
*swig_obj
[1] ;
9829 if (!args
) SWIG_fail
;
9831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9832 if (!SWIG_IsOK(res1
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9835 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (arg1
)->GetRect();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9849 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9850 PyObject
*resultobj
= 0;
9851 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9855 PyObject
*swig_obj
[1] ;
9857 if (!args
) SWIG_fail
;
9859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9860 if (!SWIG_IsOK(res1
)) {
9861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9863 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (bool)(arg1
)->HaveRects();
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9879 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9880 PyObject
*resultobj
= 0;
9881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9884 PyObject
*swig_obj
[1] ;
9886 if (!args
) SWIG_fail
;
9888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9889 if (!SWIG_IsOK(res1
)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9892 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_Py_Void();
9906 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9907 PyObject
*resultobj
= 0;
9908 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9911 PyObject
*swig_obj
[1] ;
9913 if (!args
) SWIG_fail
;
9915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9916 if (!SWIG_IsOK(res1
)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9919 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 wxRegionIterator_Next(arg1
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_Py_Void();
9933 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9934 PyObject
*resultobj
= 0;
9935 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9939 PyObject
*swig_obj
[1] ;
9941 if (!args
) SWIG_fail
;
9943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9944 if (!SWIG_IsOK(res1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9947 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9963 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9966 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9967 return SWIG_Py_Void();
9970 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 return SWIG_Python_InitShadowInstance(args
);
9974 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 PyObject
*resultobj
= 0;
9976 wxNativeFontInfo
*result
= 0 ;
9978 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9992 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9993 PyObject
*resultobj
= 0;
9994 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9997 PyObject
*swig_obj
[1] ;
9999 if (!args
) SWIG_fail
;
10000 swig_obj
[0] = args
;
10001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10005 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_Py_Void();
10020 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10021 PyObject
*resultobj
= 0;
10022 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10025 PyObject
*swig_obj
[1] ;
10027 if (!args
) SWIG_fail
;
10028 swig_obj
[0] = args
;
10029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10030 if (!SWIG_IsOK(res1
)) {
10031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10033 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_Py_Void();
10047 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= 0;
10049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj1
= 0 ;
10057 char * kwnames
[] = {
10058 (char *) "self",(char *) "font", NULL
10061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10063 if (!SWIG_IsOK(res1
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10066 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10068 if (!SWIG_IsOK(res2
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10074 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_Py_Void();
10088 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10089 PyObject
*resultobj
= 0;
10090 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10094 PyObject
*swig_obj
[1] ;
10096 if (!args
) SWIG_fail
;
10097 swig_obj
[0] = args
;
10098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10099 if (!SWIG_IsOK(res1
)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10102 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_From_int(static_cast< int >(result
));
10116 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(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_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
10144 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10145 PyObject
*resultobj
= 0;
10146 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10147 wxFontStyle result
;
10150 PyObject
*swig_obj
[1] ;
10152 if (!args
) SWIG_fail
;
10153 swig_obj
[0] = args
;
10154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10158 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_From_int(static_cast< int >(result
));
10172 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10173 PyObject
*resultobj
= 0;
10174 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10175 wxFontWeight result
;
10178 PyObject
*swig_obj
[1] ;
10180 if (!args
) SWIG_fail
;
10181 swig_obj
[0] = args
;
10182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10183 if (!SWIG_IsOK(res1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10186 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= SWIG_From_int(static_cast< int >(result
));
10200 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10201 PyObject
*resultobj
= 0;
10202 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10206 PyObject
*swig_obj
[1] ;
10208 if (!args
) SWIG_fail
;
10209 swig_obj
[0] = args
;
10210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10214 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10231 PyObject
*resultobj
= 0;
10232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10236 PyObject
*swig_obj
[1] ;
10238 if (!args
) SWIG_fail
;
10239 swig_obj
[0] = args
;
10240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10241 if (!SWIG_IsOK(res1
)) {
10242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10244 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10264 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10265 PyObject
*resultobj
= 0;
10266 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10267 wxFontFamily result
;
10270 PyObject
*swig_obj
[1] ;
10272 if (!args
) SWIG_fail
;
10273 swig_obj
[0] = args
;
10274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10275 if (!SWIG_IsOK(res1
)) {
10276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10278 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_From_int(static_cast< int >(result
));
10292 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10293 PyObject
*resultobj
= 0;
10294 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10295 wxFontEncoding result
;
10298 PyObject
*swig_obj
[1] ;
10300 if (!args
) SWIG_fail
;
10301 swig_obj
[0] = args
;
10302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10303 if (!SWIG_IsOK(res1
)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10306 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_From_int(static_cast< int >(result
));
10320 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 char * kwnames
[] = {
10331 (char *) "self",(char *) "pointsize", NULL
10334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10339 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10341 if (!SWIG_IsOK(ecode2
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
10344 arg2
= static_cast< int >(val2
);
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 (arg1
)->SetPointSize(arg2
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_Py_Void();
10358 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
= 0;
10360 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 char * kwnames
[] = {
10368 (char *) "self",(char *) "pixelSize", NULL
10371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10376 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_Py_Void();
10394 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "self",(char *) "style", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10413 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10415 if (!SWIG_IsOK(ecode2
)) {
10416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
10418 arg2
= static_cast< wxFontStyle
>(val2
);
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 (arg1
)->SetStyle(arg2
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_Py_Void();
10432 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
= 0;
10434 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10435 wxFontWeight arg2
;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 char * kwnames
[] = {
10443 (char *) "self",(char *) "weight", NULL
10446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10451 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10453 if (!SWIG_IsOK(ecode2
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
10456 arg2
= static_cast< wxFontWeight
>(val2
);
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 (arg1
)->SetWeight(arg2
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_Py_Void();
10470 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
= 0;
10472 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 PyObject
* obj1
= 0 ;
10480 char * kwnames
[] = {
10481 (char *) "self",(char *) "underlined", NULL
10484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10489 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10490 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10491 if (!SWIG_IsOK(ecode2
)) {
10492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
10494 arg2
= static_cast< bool >(val2
);
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->SetUnderlined(arg2
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_Py_Void();
10508 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
= 0;
10510 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 char * kwnames
[] = {
10518 (char *) "self",(char *) "facename", NULL
10521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10523 if (!SWIG_IsOK(res1
)) {
10524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10526 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10528 wxString
* sptr
= wxString_in_helper(obj1
);
10529 if (sptr
== NULL
) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (bool)(arg1
)->SetFaceName(arg2
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10548 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
= 0;
10550 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10551 wxFontFamily arg2
;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char * kwnames
[] = {
10559 (char *) "self",(char *) "family", NULL
10562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10564 if (!SWIG_IsOK(res1
)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10567 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10569 if (!SWIG_IsOK(ecode2
)) {
10570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
10572 arg2
= static_cast< wxFontFamily
>(val2
);
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 (arg1
)->SetFamily(arg2
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_Py_Void();
10586 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
= 0;
10588 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10589 wxFontEncoding arg2
;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 char * kwnames
[] = {
10597 (char *) "self",(char *) "encoding", NULL
10600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10602 if (!SWIG_IsOK(res1
)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10605 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10607 if (!SWIG_IsOK(ecode2
)) {
10608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10610 arg2
= static_cast< wxFontEncoding
>(val2
);
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 (arg1
)->SetEncoding(arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_Py_Void();
10624 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
= 0;
10626 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10627 wxString
*arg2
= 0 ;
10631 bool temp2
= false ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 char * kwnames
[] = {
10635 (char *) "self",(char *) "s", NULL
10638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10640 if (!SWIG_IsOK(res1
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10643 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10645 arg2
= wxString_in_helper(obj1
);
10646 if (arg2
== NULL
) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10672 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10673 PyObject
*resultobj
= 0;
10674 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10678 PyObject
*swig_obj
[1] ;
10680 if (!args
) SWIG_fail
;
10681 swig_obj
[0] = args
;
10682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10686 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10706 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10707 PyObject
*resultobj
= 0;
10708 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10712 PyObject
*swig_obj
[1] ;
10714 if (!args
) SWIG_fail
;
10715 swig_obj
[0] = args
;
10716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10717 if (!SWIG_IsOK(res1
)) {
10718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10720 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= wxNativeFontInfo___str__(arg1
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10740 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
= 0;
10742 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10743 wxString
*arg2
= 0 ;
10747 bool temp2
= false ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 char * kwnames
[] = {
10751 (char *) "self",(char *) "s", NULL
10754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10756 if (!SWIG_IsOK(res1
)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10759 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10761 arg2
= wxString_in_helper(obj1
);
10762 if (arg2
== NULL
) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10788 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10789 PyObject
*resultobj
= 0;
10790 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10794 PyObject
*swig_obj
[1] ;
10796 if (!args
) SWIG_fail
;
10797 swig_obj
[0] = args
;
10798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10802 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10822 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10825 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10826 return SWIG_Py_Void();
10829 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10830 return SWIG_Python_InitShadowInstance(args
);
10833 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10834 PyObject
*resultobj
= 0;
10835 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10836 wxString
*arg2
= (wxString
*) 0 ;
10839 bool temp2
= false ;
10840 PyObject
*swig_obj
[2] ;
10842 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10844 if (!SWIG_IsOK(res1
)) {
10845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10847 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10849 arg2
= wxString_in_helper(swig_obj
[1]);
10850 if (arg2
== NULL
) SWIG_fail
;
10853 if (arg1
) (arg1
)->facename
= *arg2
;
10855 resultobj
= SWIG_Py_Void();
10870 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10871 PyObject
*resultobj
= 0;
10872 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10873 wxString
*result
= 0 ;
10876 PyObject
*swig_obj
[1] ;
10878 if (!args
) SWIG_fail
;
10879 swig_obj
[0] = args
;
10880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10884 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10885 result
= (wxString
*)& ((arg1
)->facename
);
10888 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10890 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10899 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10900 PyObject
*resultobj
= 0;
10901 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10902 wxFontEncoding arg2
;
10907 PyObject
*swig_obj
[2] ;
10909 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10914 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10915 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10916 if (!SWIG_IsOK(ecode2
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10919 arg2
= static_cast< wxFontEncoding
>(val2
);
10920 if (arg1
) (arg1
)->encoding
= arg2
;
10922 resultobj
= SWIG_Py_Void();
10929 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10930 PyObject
*resultobj
= 0;
10931 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10932 wxFontEncoding result
;
10935 PyObject
*swig_obj
[1] ;
10937 if (!args
) SWIG_fail
;
10938 swig_obj
[0] = args
;
10939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10940 if (!SWIG_IsOK(res1
)) {
10941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10943 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10944 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10945 resultobj
= SWIG_From_int(static_cast< int >(result
));
10952 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10953 PyObject
*resultobj
= 0;
10954 wxNativeEncodingInfo
*result
= 0 ;
10956 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10970 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10971 PyObject
*resultobj
= 0;
10972 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10975 PyObject
*swig_obj
[1] ;
10977 if (!args
) SWIG_fail
;
10978 swig_obj
[0] = args
;
10979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10980 if (!SWIG_IsOK(res1
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10983 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_Py_Void();
10998 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
= 0;
11000 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11001 wxString
*arg2
= 0 ;
11005 bool temp2
= false ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char * kwnames
[] = {
11009 (char *) "self",(char *) "s", NULL
11012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
11017 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11019 arg2
= wxString_in_helper(obj1
);
11020 if (arg2
== NULL
) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11046 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11047 PyObject
*resultobj
= 0;
11048 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11052 PyObject
*swig_obj
[1] ;
11054 if (!args
) SWIG_fail
;
11055 swig_obj
[0] = args
;
11056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11057 if (!SWIG_IsOK(res1
)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
11060 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11080 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11083 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
11084 return SWIG_Py_Void();
11087 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11088 return SWIG_Python_InitShadowInstance(args
);
11091 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxFontEncoding arg1
;
11094 wxNativeEncodingInfo
*result
= 0 ;
11097 PyObject
* obj0
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "encoding", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11103 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11104 if (!SWIG_IsOK(ecode1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11107 arg1
= static_cast< wxFontEncoding
>(val1
);
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11121 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
= 0;
11123 wxNativeEncodingInfo
*arg1
= 0 ;
11127 PyObject
* obj0
= 0 ;
11128 char * kwnames
[] = {
11129 (char *) "info", NULL
11132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11133 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
11134 if (!SWIG_IsOK(res1
)) {
11135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11140 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11156 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11157 PyObject
*resultobj
= 0;
11158 wxFontMapper
*result
= 0 ;
11160 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (wxFontMapper
*)new wxFontMapper();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
11174 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11175 PyObject
*resultobj
= 0;
11176 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11179 PyObject
*swig_obj
[1] ;
11181 if (!args
) SWIG_fail
;
11182 swig_obj
[0] = args
;
11183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
11184 if (!SWIG_IsOK(res1
)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11187 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= SWIG_Py_Void();
11202 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11203 PyObject
*resultobj
= 0;
11204 wxFontMapper
*result
= 0 ;
11206 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 result
= (wxFontMapper
*)wxFontMapper::Get();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11220 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
= 0;
11222 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11223 wxFontMapper
*result
= 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char * kwnames
[] = {
11228 (char *) "mapper", NULL
11231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
11232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11233 if (!SWIG_IsOK(res1
)) {
11234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11236 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11250 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
= 0;
11252 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11253 wxString
*arg2
= 0 ;
11254 bool arg3
= (bool) true ;
11255 wxFontEncoding result
;
11258 bool temp2
= false ;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 PyObject
* obj2
= 0 ;
11264 char * kwnames
[] = {
11265 (char *) "self",(char *) "charset",(char *) "interactive", NULL
11268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11273 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11275 arg2
= wxString_in_helper(obj1
);
11276 if (arg2
== NULL
) SWIG_fail
;
11280 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11281 if (!SWIG_IsOK(ecode3
)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
11284 arg3
= static_cast< bool >(val3
);
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_From_int(static_cast< int >(result
));
11307 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11308 PyObject
*resultobj
= 0;
11311 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11325 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
= 0;
11328 wxFontEncoding result
;
11331 PyObject
* obj0
= 0 ;
11332 char * kwnames
[] = {
11336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
11337 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11338 if (!SWIG_IsOK(ecode1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
11341 arg1
= static_cast< size_t >(val1
);
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_int(static_cast< int >(result
));
11355 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= 0;
11357 wxFontEncoding arg1
;
11361 PyObject
* obj0
= 0 ;
11362 char * kwnames
[] = {
11363 (char *) "encoding", NULL
11366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
11367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11368 if (!SWIG_IsOK(ecode1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11371 arg1
= static_cast< wxFontEncoding
>(val1
);
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= wxFontMapper::GetEncodingName(arg1
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11391 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
= 0;
11393 wxFontEncoding arg1
;
11397 PyObject
* obj0
= 0 ;
11398 char * kwnames
[] = {
11399 (char *) "encoding", NULL
11402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
11403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11404 if (!SWIG_IsOK(ecode1
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11407 arg1
= static_cast< wxFontEncoding
>(val1
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= wxFontMapper::GetEncodingDescription(arg1
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11427 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
= 0;
11429 wxString
*arg1
= 0 ;
11430 wxFontEncoding result
;
11431 bool temp1
= false ;
11432 PyObject
* obj0
= 0 ;
11433 char * kwnames
[] = {
11434 (char *) "name", NULL
11437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
11439 arg1
= wxString_in_helper(obj0
);
11440 if (arg1
== NULL
) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_From_int(static_cast< int >(result
));
11464 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
= 0;
11466 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11467 wxString
*arg2
= 0 ;
11470 bool temp2
= false ;
11471 PyObject
* obj0
= 0 ;
11472 PyObject
* obj1
= 0 ;
11473 char * kwnames
[] = {
11474 (char *) "self",(char *) "prefix", NULL
11477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11479 if (!SWIG_IsOK(res1
)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11482 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11484 arg2
= wxString_in_helper(obj1
);
11485 if (arg2
== NULL
) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_Py_Void();
11509 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11510 PyObject
*resultobj
= 0;
11513 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= wxFontMapper::GetDefaultConfigPath();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11533 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
= 0;
11535 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11536 wxFontEncoding arg2
;
11537 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11538 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11539 bool arg4
= (bool) true ;
11540 PyObject
*result
= 0 ;
11545 bool temp3
= false ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 PyObject
* obj2
= 0 ;
11551 PyObject
* obj3
= 0 ;
11552 char * kwnames
[] = {
11553 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
11556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11558 if (!SWIG_IsOK(res1
)) {
11559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11561 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11563 if (!SWIG_IsOK(ecode2
)) {
11564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11566 arg2
= static_cast< wxFontEncoding
>(val2
);
11569 arg3
= wxString_in_helper(obj2
);
11570 if (arg3
== NULL
) SWIG_fail
;
11575 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11576 if (!SWIG_IsOK(ecode4
)) {
11577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
11579 arg4
= static_cast< bool >(val4
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= result
;
11602 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
= 0;
11604 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11605 wxFontEncoding arg2
;
11606 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11607 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11613 bool temp3
= false ;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 PyObject
* obj2
= 0 ;
11617 char * kwnames
[] = {
11618 (char *) "self",(char *) "encoding",(char *) "facename", NULL
11621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11623 if (!SWIG_IsOK(res1
)) {
11624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11626 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11628 if (!SWIG_IsOK(ecode2
)) {
11629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11631 arg2
= static_cast< wxFontEncoding
>(val2
);
11634 arg3
= wxString_in_helper(obj2
);
11635 if (arg3
== NULL
) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11662 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
= 0;
11664 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11665 wxWindow
*arg2
= (wxWindow
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 char * kwnames
[] = {
11673 (char *) "self",(char *) "parent", NULL
11676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11678 if (!SWIG_IsOK(res1
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11681 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11683 if (!SWIG_IsOK(res2
)) {
11684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11686 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 (arg1
)->SetDialogParent(arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_Py_Void();
11700 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
= 0;
11702 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11703 wxString
*arg2
= 0 ;
11706 bool temp2
= false ;
11707 PyObject
* obj0
= 0 ;
11708 PyObject
* obj1
= 0 ;
11709 char * kwnames
[] = {
11710 (char *) "self",(char *) "title", NULL
11713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11715 if (!SWIG_IsOK(res1
)) {
11716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11718 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11720 arg2
= wxString_in_helper(obj1
);
11721 if (arg2
== NULL
) SWIG_fail
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= SWIG_Py_Void();
11745 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11748 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11749 return SWIG_Py_Void();
11752 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11753 return SWIG_Python_InitShadowInstance(args
);
11756 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= 0;
11762 bool arg5
= (bool) false ;
11763 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11764 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11765 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11766 wxFont
*result
= 0 ;
11777 bool temp6
= false ;
11780 PyObject
* obj0
= 0 ;
11781 PyObject
* obj1
= 0 ;
11782 PyObject
* obj2
= 0 ;
11783 PyObject
* obj3
= 0 ;
11784 PyObject
* obj4
= 0 ;
11785 PyObject
* obj5
= 0 ;
11786 PyObject
* obj6
= 0 ;
11787 char * kwnames
[] = {
11788 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11792 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11793 if (!SWIG_IsOK(ecode1
)) {
11794 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11796 arg1
= static_cast< int >(val1
);
11797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11798 if (!SWIG_IsOK(ecode2
)) {
11799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11801 arg2
= static_cast< int >(val2
);
11802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11803 if (!SWIG_IsOK(ecode3
)) {
11804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11806 arg3
= static_cast< int >(val3
);
11807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11808 if (!SWIG_IsOK(ecode4
)) {
11809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11811 arg4
= static_cast< int >(val4
);
11813 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11814 if (!SWIG_IsOK(ecode5
)) {
11815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11817 arg5
= static_cast< bool >(val5
);
11821 arg6
= wxString_in_helper(obj5
);
11822 if (arg6
== NULL
) SWIG_fail
;
11827 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11828 if (!SWIG_IsOK(ecode7
)) {
11829 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11831 arg7
= static_cast< wxFontEncoding
>(val7
);
11834 if (!wxPyCheckForApp()) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11855 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11856 PyObject
*resultobj
= 0;
11857 wxFont
*arg1
= (wxFont
*) 0 ;
11860 PyObject
*swig_obj
[1] ;
11862 if (!args
) SWIG_fail
;
11863 swig_obj
[0] = args
;
11864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11865 if (!SWIG_IsOK(res1
)) {
11866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11868 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 resultobj
= SWIG_Py_Void();
11883 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
= 0;
11885 wxNativeFontInfo
*arg1
= 0 ;
11886 wxFont
*result
= 0 ;
11889 PyObject
* obj0
= 0 ;
11890 char * kwnames
[] = {
11891 (char *) "info", NULL
11894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11895 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11896 if (!SWIG_IsOK(res1
)) {
11897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11902 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11904 if (!wxPyCheckForApp()) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11917 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
= 0;
11919 wxString
*arg1
= 0 ;
11920 wxFont
*result
= 0 ;
11921 bool temp1
= false ;
11922 PyObject
* obj0
= 0 ;
11923 char * kwnames
[] = {
11924 (char *) "info", NULL
11927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11929 arg1
= wxString_in_helper(obj0
);
11930 if (arg1
== NULL
) SWIG_fail
;
11934 if (!wxPyCheckForApp()) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11955 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
= 0;
11958 wxFontFamily arg2
;
11959 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11960 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11961 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11962 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11963 wxFont
*result
= 0 ;
11970 bool temp4
= false ;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 PyObject
* obj2
= 0 ;
11976 PyObject
* obj3
= 0 ;
11977 PyObject
* obj4
= 0 ;
11978 char * kwnames
[] = {
11979 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11984 if (!SWIG_IsOK(ecode1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11987 arg1
= static_cast< int >(val1
);
11988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11989 if (!SWIG_IsOK(ecode2
)) {
11990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11992 arg2
= static_cast< wxFontFamily
>(val2
);
11994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11995 if (!SWIG_IsOK(ecode3
)) {
11996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11998 arg3
= static_cast< int >(val3
);
12002 arg4
= wxString_in_helper(obj3
);
12003 if (arg4
== NULL
) SWIG_fail
;
12008 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12009 if (!SWIG_IsOK(ecode5
)) {
12010 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12012 arg5
= static_cast< wxFontEncoding
>(val5
);
12015 if (!wxPyCheckForApp()) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12036 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
= 0;
12042 bool arg5
= (bool) false ;
12043 wxString
const &arg6_defvalue
= wxEmptyString
;
12044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12045 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12046 wxFont
*result
= 0 ;
12056 bool temp6
= false ;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 PyObject
* obj2
= 0 ;
12062 PyObject
* obj3
= 0 ;
12063 PyObject
* obj4
= 0 ;
12064 PyObject
* obj5
= 0 ;
12065 PyObject
* obj6
= 0 ;
12066 char * kwnames
[] = {
12067 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
12070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12073 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12076 if (!SWIG_IsOK(ecode2
)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
12079 arg2
= static_cast< int >(val2
);
12080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12081 if (!SWIG_IsOK(ecode3
)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12084 arg3
= static_cast< int >(val3
);
12085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12086 if (!SWIG_IsOK(ecode4
)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
12089 arg4
= static_cast< int >(val4
);
12091 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
12092 if (!SWIG_IsOK(ecode5
)) {
12093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
12095 arg5
= static_cast< bool >(val5
);
12099 arg6
= wxString_in_helper(obj5
);
12100 if (arg6
== NULL
) SWIG_fail
;
12105 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
12106 if (!SWIG_IsOK(ecode7
)) {
12107 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
12109 arg7
= static_cast< wxFontEncoding
>(val7
);
12112 if (!wxPyCheckForApp()) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12133 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12136 wxFontFamily arg2
;
12137 int arg3
= (int) wxFONTFLAG_DEFAULT
;
12138 wxString
const &arg4_defvalue
= wxEmptyString
;
12139 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12140 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12141 wxFont
*result
= 0 ;
12147 bool temp4
= false ;
12150 PyObject
* obj0
= 0 ;
12151 PyObject
* obj1
= 0 ;
12152 PyObject
* obj2
= 0 ;
12153 PyObject
* obj3
= 0 ;
12154 PyObject
* obj4
= 0 ;
12155 char * kwnames
[] = {
12156 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
12159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12162 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12165 if (!SWIG_IsOK(ecode2
)) {
12166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
12168 arg2
= static_cast< wxFontFamily
>(val2
);
12170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12171 if (!SWIG_IsOK(ecode3
)) {
12172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12174 arg3
= static_cast< int >(val3
);
12178 arg4
= wxString_in_helper(obj3
);
12179 if (arg4
== NULL
) SWIG_fail
;
12184 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12185 if (!SWIG_IsOK(ecode5
)) {
12186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12188 arg5
= static_cast< wxFontEncoding
>(val5
);
12191 if (!wxPyCheckForApp()) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12212 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12213 PyObject
*resultobj
= 0;
12214 wxFont
*arg1
= (wxFont
*) 0 ;
12218 PyObject
*swig_obj
[1] ;
12220 if (!args
) SWIG_fail
;
12221 swig_obj
[0] = args
;
12222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
12226 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (bool)((wxFont
const *)arg1
)->Ok();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12242 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
= 0;
12244 wxFont
*arg1
= (wxFont
*) 0 ;
12245 wxFont
*arg2
= (wxFont
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 char * kwnames
[] = {
12254 (char *) "self",(char *) "other", NULL
12257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12259 if (!SWIG_IsOK(res1
)) {
12260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
12262 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12264 if (!SWIG_IsOK(res2
)) {
12265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
12267 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12283 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
= 0;
12285 wxFont
*arg1
= (wxFont
*) 0 ;
12286 wxFont
*arg2
= (wxFont
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 PyObject
* obj1
= 0 ;
12294 char * kwnames
[] = {
12295 (char *) "self",(char *) "other", NULL
12298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12300 if (!SWIG_IsOK(res1
)) {
12301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
12303 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12305 if (!SWIG_IsOK(res2
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
12308 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12324 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12325 PyObject
*resultobj
= 0;
12326 wxFont
*arg1
= (wxFont
*) 0 ;
12330 PyObject
*swig_obj
[1] ;
12332 if (!args
) SWIG_fail
;
12333 swig_obj
[0] = args
;
12334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12335 if (!SWIG_IsOK(res1
)) {
12336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12338 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= SWIG_From_int(static_cast< int >(result
));
12352 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12353 PyObject
*resultobj
= 0;
12354 wxFont
*arg1
= (wxFont
*) 0 ;
12358 PyObject
*swig_obj
[1] ;
12360 if (!args
) SWIG_fail
;
12361 swig_obj
[0] = args
;
12362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12363 if (!SWIG_IsOK(res1
)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12366 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= ((wxFont
const *)arg1
)->GetPixelSize();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12380 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12381 PyObject
*resultobj
= 0;
12382 wxFont
*arg1
= (wxFont
*) 0 ;
12386 PyObject
*swig_obj
[1] ;
12388 if (!args
) SWIG_fail
;
12389 swig_obj
[0] = args
;
12390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
12394 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12410 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12412 wxFont
*arg1
= (wxFont
*) 0 ;
12416 PyObject
*swig_obj
[1] ;
12418 if (!args
) SWIG_fail
;
12419 swig_obj
[0] = args
;
12420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12421 if (!SWIG_IsOK(res1
)) {
12422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
12424 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (int)((wxFont
const *)arg1
)->GetFamily();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_From_int(static_cast< int >(result
));
12438 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12439 PyObject
*resultobj
= 0;
12440 wxFont
*arg1
= (wxFont
*) 0 ;
12444 PyObject
*swig_obj
[1] ;
12446 if (!args
) SWIG_fail
;
12447 swig_obj
[0] = args
;
12448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12449 if (!SWIG_IsOK(res1
)) {
12450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
12452 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (int)((wxFont
const *)arg1
)->GetStyle();
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 resultobj
= SWIG_From_int(static_cast< int >(result
));
12466 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12467 PyObject
*resultobj
= 0;
12468 wxFont
*arg1
= (wxFont
*) 0 ;
12472 PyObject
*swig_obj
[1] ;
12474 if (!args
) SWIG_fail
;
12475 swig_obj
[0] = args
;
12476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
12480 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= (int)((wxFont
const *)arg1
)->GetWeight();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_From_int(static_cast< int >(result
));
12494 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12495 PyObject
*resultobj
= 0;
12496 wxFont
*arg1
= (wxFont
*) 0 ;
12500 PyObject
*swig_obj
[1] ;
12502 if (!args
) SWIG_fail
;
12503 swig_obj
[0] = args
;
12504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
12508 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12524 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12525 PyObject
*resultobj
= 0;
12526 wxFont
*arg1
= (wxFont
*) 0 ;
12530 PyObject
*swig_obj
[1] ;
12532 if (!args
) SWIG_fail
;
12533 swig_obj
[0] = args
;
12534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12535 if (!SWIG_IsOK(res1
)) {
12536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
12538 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= ((wxFont
const *)arg1
)->GetFaceName();
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12558 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12559 PyObject
*resultobj
= 0;
12560 wxFont
*arg1
= (wxFont
*) 0 ;
12561 wxFontEncoding result
;
12564 PyObject
*swig_obj
[1] ;
12566 if (!args
) SWIG_fail
;
12567 swig_obj
[0] = args
;
12568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12569 if (!SWIG_IsOK(res1
)) {
12570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
12572 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= SWIG_From_int(static_cast< int >(result
));
12586 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12587 PyObject
*resultobj
= 0;
12588 wxFont
*arg1
= (wxFont
*) 0 ;
12589 wxNativeFontInfo
*result
= 0 ;
12592 PyObject
*swig_obj
[1] ;
12594 if (!args
) SWIG_fail
;
12595 swig_obj
[0] = args
;
12596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12597 if (!SWIG_IsOK(res1
)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
12600 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12614 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 PyObject
*resultobj
= 0;
12616 wxFont
*arg1
= (wxFont
*) 0 ;
12620 PyObject
*swig_obj
[1] ;
12622 if (!args
) SWIG_fail
;
12623 swig_obj
[0] = args
;
12624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
12628 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12644 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12645 PyObject
*resultobj
= 0;
12646 wxFont
*arg1
= (wxFont
*) 0 ;
12650 PyObject
*swig_obj
[1] ;
12652 if (!args
) SWIG_fail
;
12653 swig_obj
[0] = args
;
12654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12655 if (!SWIG_IsOK(res1
)) {
12656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12658 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12678 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12679 PyObject
*resultobj
= 0;
12680 wxFont
*arg1
= (wxFont
*) 0 ;
12684 PyObject
*swig_obj
[1] ;
12686 if (!args
) SWIG_fail
;
12687 swig_obj
[0] = args
;
12688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12689 if (!SWIG_IsOK(res1
)) {
12690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12692 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12712 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
= 0;
12714 wxFont
*arg1
= (wxFont
*) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 char * kwnames
[] = {
12723 (char *) "self",(char *) "pointSize", NULL
12726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12728 if (!SWIG_IsOK(res1
)) {
12729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12731 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12733 if (!SWIG_IsOK(ecode2
)) {
12734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12736 arg2
= static_cast< int >(val2
);
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 (arg1
)->SetPointSize(arg2
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= SWIG_Py_Void();
12750 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
= 0;
12752 wxFont
*arg1
= (wxFont
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 char * kwnames
[] = {
12760 (char *) "self",(char *) "pixelSize", NULL
12763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12768 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12771 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= SWIG_Py_Void();
12786 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
= 0;
12788 wxFont
*arg1
= (wxFont
*) 0 ;
12794 PyObject
* obj0
= 0 ;
12795 PyObject
* obj1
= 0 ;
12796 char * kwnames
[] = {
12797 (char *) "self",(char *) "family", NULL
12800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12805 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12807 if (!SWIG_IsOK(ecode2
)) {
12808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12810 arg2
= static_cast< int >(val2
);
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 (arg1
)->SetFamily(arg2
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_Py_Void();
12824 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
= 0;
12826 wxFont
*arg1
= (wxFont
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 PyObject
* obj1
= 0 ;
12834 char * kwnames
[] = {
12835 (char *) "self",(char *) "style", NULL
12838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12840 if (!SWIG_IsOK(res1
)) {
12841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12843 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12845 if (!SWIG_IsOK(ecode2
)) {
12846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12848 arg2
= static_cast< int >(val2
);
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 (arg1
)->SetStyle(arg2
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= SWIG_Py_Void();
12862 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
= 0;
12864 wxFont
*arg1
= (wxFont
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 char * kwnames
[] = {
12873 (char *) "self",(char *) "weight", NULL
12876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12878 if (!SWIG_IsOK(res1
)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12881 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12883 if (!SWIG_IsOK(ecode2
)) {
12884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12886 arg2
= static_cast< int >(val2
);
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 (arg1
)->SetWeight(arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= SWIG_Py_Void();
12900 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
= 0;
12902 wxFont
*arg1
= (wxFont
*) 0 ;
12903 wxString
*arg2
= 0 ;
12907 bool temp2
= false ;
12908 PyObject
* obj0
= 0 ;
12909 PyObject
* obj1
= 0 ;
12910 char * kwnames
[] = {
12911 (char *) "self",(char *) "faceName", NULL
12914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12916 if (!SWIG_IsOK(res1
)) {
12917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12919 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12921 arg2
= wxString_in_helper(obj1
);
12922 if (arg2
== NULL
) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12948 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= 0;
12950 wxFont
*arg1
= (wxFont
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 char * kwnames
[] = {
12959 (char *) "self",(char *) "underlined", NULL
12962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12964 if (!SWIG_IsOK(res1
)) {
12965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12967 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12968 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12969 if (!SWIG_IsOK(ecode2
)) {
12970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12972 arg2
= static_cast< bool >(val2
);
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 (arg1
)->SetUnderlined(arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_Py_Void();
12986 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
= 0;
12988 wxFont
*arg1
= (wxFont
*) 0 ;
12989 wxFontEncoding arg2
;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 char * kwnames
[] = {
12997 (char *) "self",(char *) "encoding", NULL
13000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13002 if (!SWIG_IsOK(res1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
13005 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13007 if (!SWIG_IsOK(ecode2
)) {
13008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13010 arg2
= static_cast< wxFontEncoding
>(val2
);
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 (arg1
)->SetEncoding(arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_Py_Void();
13024 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= 0;
13026 wxFont
*arg1
= (wxFont
*) 0 ;
13027 wxNativeFontInfo
*arg2
= 0 ;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj1
= 0 ;
13034 char * kwnames
[] = {
13035 (char *) "self",(char *) "info", NULL
13038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13040 if (!SWIG_IsOK(res1
)) {
13041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
13043 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13045 if (!SWIG_IsOK(res2
)) {
13046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13051 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= SWIG_Py_Void();
13065 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
= 0;
13067 wxFont
*arg1
= (wxFont
*) 0 ;
13068 wxString
*arg2
= 0 ;
13072 bool temp2
= false ;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 char * kwnames
[] = {
13076 (char *) "self",(char *) "info", NULL
13079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13081 if (!SWIG_IsOK(res1
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
13084 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13086 arg2
= wxString_in_helper(obj1
);
13087 if (arg2
== NULL
) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13113 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxFont
*arg1
= (wxFont
*) 0 ;
13116 wxString
*arg2
= 0 ;
13120 bool temp2
= false ;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 char * kwnames
[] = {
13124 (char *) "self",(char *) "info", NULL
13127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13129 if (!SWIG_IsOK(res1
)) {
13130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
13132 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13134 arg2
= wxString_in_helper(obj1
);
13135 if (arg2
== NULL
) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13161 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13162 PyObject
*resultobj
= 0;
13163 wxFont
*arg1
= (wxFont
*) 0 ;
13167 PyObject
*swig_obj
[1] ;
13169 if (!args
) SWIG_fail
;
13170 swig_obj
[0] = args
;
13171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13172 if (!SWIG_IsOK(res1
)) {
13173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
13175 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= ((wxFont
const *)arg1
)->GetFamilyString();
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13195 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13196 PyObject
*resultobj
= 0;
13197 wxFont
*arg1
= (wxFont
*) 0 ;
13201 PyObject
*swig_obj
[1] ;
13203 if (!args
) SWIG_fail
;
13204 swig_obj
[0] = args
;
13205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13206 if (!SWIG_IsOK(res1
)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
13209 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 result
= ((wxFont
const *)arg1
)->GetStyleString();
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13229 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13230 PyObject
*resultobj
= 0;
13231 wxFont
*arg1
= (wxFont
*) 0 ;
13235 PyObject
*swig_obj
[1] ;
13237 if (!args
) SWIG_fail
;
13238 swig_obj
[0] = args
;
13239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13240 if (!SWIG_IsOK(res1
)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
13243 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= ((wxFont
const *)arg1
)->GetWeightString();
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13263 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= 0;
13265 wxFont
*arg1
= (wxFont
*) 0 ;
13266 bool arg2
= (bool) true ;
13271 PyObject
* obj0
= 0 ;
13272 PyObject
* obj1
= 0 ;
13273 char * kwnames
[] = {
13274 (char *) "self",(char *) "no", NULL
13277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
13282 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13284 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13285 if (!SWIG_IsOK(ecode2
)) {
13286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
13288 arg2
= static_cast< bool >(val2
);
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 (arg1
)->SetNoAntiAliasing(arg2
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_Py_Void();
13303 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13304 PyObject
*resultobj
= 0;
13305 wxFont
*arg1
= (wxFont
*) 0 ;
13309 PyObject
*swig_obj
[1] ;
13311 if (!args
) SWIG_fail
;
13312 swig_obj
[0] = args
;
13313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13314 if (!SWIG_IsOK(res1
)) {
13315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
13317 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13333 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13334 PyObject
*resultobj
= 0;
13335 wxFontEncoding result
;
13337 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
13339 if (!wxPyCheckForApp()) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_From_int(static_cast< int >(result
));
13352 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
= 0;
13354 wxFontEncoding arg1
;
13357 PyObject
* obj0
= 0 ;
13358 char * kwnames
[] = {
13359 (char *) "encoding", NULL
13362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
13363 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13364 if (!SWIG_IsOK(ecode1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13367 arg1
= static_cast< wxFontEncoding
>(val1
);
13369 if (!wxPyCheckForApp()) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 wxFont::SetDefaultEncoding(arg1
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_Py_Void();
13382 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13385 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
13386 return SWIG_Py_Void();
13389 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13390 return SWIG_Python_InitShadowInstance(args
);
13393 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13394 PyObject
*resultobj
= 0;
13395 wxPyFontEnumerator
*result
= 0 ;
13397 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
13399 if (!wxPyCheckForApp()) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
13412 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13413 PyObject
*resultobj
= 0;
13414 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13417 PyObject
*swig_obj
[1] ;
13419 if (!args
) SWIG_fail
;
13420 swig_obj
[0] = args
;
13421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
13422 if (!SWIG_IsOK(res1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13425 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_Py_Void();
13440 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
= 0;
13442 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13443 PyObject
*arg2
= (PyObject
*) 0 ;
13444 PyObject
*arg3
= (PyObject
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 PyObject
* obj3
= 0 ;
13454 char * kwnames
[] = {
13455 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13460 if (!SWIG_IsOK(res1
)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13463 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13466 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13467 if (!SWIG_IsOK(ecode4
)) {
13468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
13470 arg4
= static_cast< bool >(val4
);
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= SWIG_Py_Void();
13484 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
= 0;
13486 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13487 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
13488 bool arg3
= (bool) false ;
13496 PyObject
* obj0
= 0 ;
13497 PyObject
* obj1
= 0 ;
13498 PyObject
* obj2
= 0 ;
13499 char * kwnames
[] = {
13500 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
13503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13505 if (!SWIG_IsOK(res1
)) {
13506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13508 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13511 if (!SWIG_IsOK(ecode2
)) {
13512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13514 arg2
= static_cast< wxFontEncoding
>(val2
);
13517 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13518 if (!SWIG_IsOK(ecode3
)) {
13519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
13521 arg3
= static_cast< bool >(val3
);
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13538 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
= 0;
13540 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13541 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13542 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13546 bool temp2
= false ;
13547 PyObject
* obj0
= 0 ;
13548 PyObject
* obj1
= 0 ;
13549 char * kwnames
[] = {
13550 (char *) "self",(char *) "facename", NULL
13553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13555 if (!SWIG_IsOK(res1
)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13558 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13561 arg2
= wxString_in_helper(obj1
);
13562 if (arg2
== NULL
) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13589 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13590 PyObject
*resultobj
= 0;
13591 PyObject
*result
= 0 ;
13593 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= result
;
13607 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13608 PyObject
*resultobj
= 0;
13609 PyObject
*result
= 0 ;
13611 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= result
;
13625 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13627 wxString
*arg1
= 0 ;
13629 bool temp1
= false ;
13630 PyObject
* obj0
= 0 ;
13631 char * kwnames
[] = {
13632 (char *) "str", NULL
13635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
13637 arg1
= wxString_in_helper(obj0
);
13638 if (arg1
== NULL
) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13664 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13667 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13668 return SWIG_Py_Void();
13671 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13672 return SWIG_Python_InitShadowInstance(args
);
13675 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13676 PyObject
*resultobj
= 0;
13677 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13683 PyObject
*swig_obj
[2] ;
13685 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13687 if (!SWIG_IsOK(res1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13690 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13691 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13692 if (!SWIG_IsOK(ecode2
)) {
13693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13695 arg2
= static_cast< int >(val2
);
13696 if (arg1
) (arg1
)->Language
= arg2
;
13698 resultobj
= SWIG_Py_Void();
13705 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13706 PyObject
*resultobj
= 0;
13707 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13711 PyObject
*swig_obj
[1] ;
13713 if (!args
) SWIG_fail
;
13714 swig_obj
[0] = args
;
13715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13716 if (!SWIG_IsOK(res1
)) {
13717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13719 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13720 result
= (int) ((arg1
)->Language
);
13721 resultobj
= SWIG_From_int(static_cast< int >(result
));
13728 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13729 PyObject
*resultobj
= 0;
13730 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13731 wxString
*arg2
= (wxString
*) 0 ;
13734 bool temp2
= false ;
13735 PyObject
*swig_obj
[2] ;
13737 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13739 if (!SWIG_IsOK(res1
)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13742 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13744 arg2
= wxString_in_helper(swig_obj
[1]);
13745 if (arg2
== NULL
) SWIG_fail
;
13748 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13750 resultobj
= SWIG_Py_Void();
13765 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 PyObject
*resultobj
= 0;
13767 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13768 wxString
*result
= 0 ;
13771 PyObject
*swig_obj
[1] ;
13773 if (!args
) SWIG_fail
;
13774 swig_obj
[0] = args
;
13775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13776 if (!SWIG_IsOK(res1
)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13779 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13780 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13783 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13785 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13794 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13795 PyObject
*resultobj
= 0;
13796 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13797 wxString
*arg2
= (wxString
*) 0 ;
13800 bool temp2
= false ;
13801 PyObject
*swig_obj
[2] ;
13803 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13805 if (!SWIG_IsOK(res1
)) {
13806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13808 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13810 arg2
= wxString_in_helper(swig_obj
[1]);
13811 if (arg2
== NULL
) SWIG_fail
;
13814 if (arg1
) (arg1
)->Description
= *arg2
;
13816 resultobj
= SWIG_Py_Void();
13831 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13832 PyObject
*resultobj
= 0;
13833 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13834 wxString
*result
= 0 ;
13837 PyObject
*swig_obj
[1] ;
13839 if (!args
) SWIG_fail
;
13840 swig_obj
[0] = args
;
13841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13842 if (!SWIG_IsOK(res1
)) {
13843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13845 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13846 result
= (wxString
*)& ((arg1
)->Description
);
13849 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13851 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13860 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13863 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13864 return SWIG_Py_Void();
13867 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
= 0;
13869 int arg1
= (int) -1 ;
13870 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13871 wxLocale
*result
= 0 ;
13876 PyObject
* obj0
= 0 ;
13877 PyObject
* obj1
= 0 ;
13878 char * kwnames
[] = {
13879 (char *) "language",(char *) "flags", NULL
13882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13885 if (!SWIG_IsOK(ecode1
)) {
13886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13888 arg1
= static_cast< int >(val1
);
13891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13892 if (!SWIG_IsOK(ecode2
)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13895 arg2
= static_cast< int >(val2
);
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13910 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13911 PyObject
*resultobj
= 0;
13912 wxLocale
*arg1
= (wxLocale
*) 0 ;
13915 PyObject
*swig_obj
[1] ;
13917 if (!args
) SWIG_fail
;
13918 swig_obj
[0] = args
;
13919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13923 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_Py_Void();
13938 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= 0;
13940 wxLocale
*arg1
= (wxLocale
*) 0 ;
13941 wxString
*arg2
= 0 ;
13942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13944 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13945 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13946 bool arg5
= (bool) true ;
13947 bool arg6
= (bool) false ;
13951 bool temp2
= false ;
13952 bool temp3
= false ;
13953 bool temp4
= false ;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 PyObject
* obj2
= 0 ;
13961 PyObject
* obj3
= 0 ;
13962 PyObject
* obj4
= 0 ;
13963 PyObject
* obj5
= 0 ;
13964 char * kwnames
[] = {
13965 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13970 if (!SWIG_IsOK(res1
)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13973 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13975 arg2
= wxString_in_helper(obj1
);
13976 if (arg2
== NULL
) SWIG_fail
;
13981 arg3
= wxString_in_helper(obj2
);
13982 if (arg3
== NULL
) SWIG_fail
;
13988 arg4
= wxString_in_helper(obj3
);
13989 if (arg4
== NULL
) SWIG_fail
;
13994 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13995 if (!SWIG_IsOK(ecode5
)) {
13996 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13998 arg5
= static_cast< bool >(val5
);
14001 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
14002 if (!SWIG_IsOK(ecode6
)) {
14003 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
14005 arg6
= static_cast< bool >(val6
);
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14046 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
= 0;
14048 wxLocale
*arg1
= (wxLocale
*) 0 ;
14049 int arg2
= (int) wxLANGUAGE_DEFAULT
;
14050 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 PyObject
* obj2
= 0 ;
14061 char * kwnames
[] = {
14062 (char *) "self",(char *) "language",(char *) "flags", NULL
14065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14067 if (!SWIG_IsOK(res1
)) {
14068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
14070 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14073 if (!SWIG_IsOK(ecode2
)) {
14074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
14076 arg2
= static_cast< int >(val2
);
14079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14080 if (!SWIG_IsOK(ecode3
)) {
14081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
14083 arg3
= static_cast< int >(val3
);
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14100 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14101 PyObject
*resultobj
= 0;
14104 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (int)wxLocale::GetSystemLanguage();
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_From_int(static_cast< int >(result
));
14118 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14119 PyObject
*resultobj
= 0;
14120 wxFontEncoding result
;
14122 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= SWIG_From_int(static_cast< int >(result
));
14136 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14137 PyObject
*resultobj
= 0;
14140 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= wxLocale::GetSystemEncodingName();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14160 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14161 PyObject
*resultobj
= 0;
14162 wxLocale
*arg1
= (wxLocale
*) 0 ;
14166 PyObject
*swig_obj
[1] ;
14168 if (!args
) SWIG_fail
;
14169 swig_obj
[0] = args
;
14170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14171 if (!SWIG_IsOK(res1
)) {
14172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
14174 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14190 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxLocale
*arg1
= (wxLocale
*) 0 ;
14196 PyObject
*swig_obj
[1] ;
14198 if (!args
) SWIG_fail
;
14199 swig_obj
[0] = args
;
14200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
14204 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= ((wxLocale
const *)arg1
)->GetLocale();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14224 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14225 PyObject
*resultobj
= 0;
14226 wxLocale
*arg1
= (wxLocale
*) 0 ;
14230 PyObject
*swig_obj
[1] ;
14232 if (!args
) SWIG_fail
;
14233 swig_obj
[0] = args
;
14234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14235 if (!SWIG_IsOK(res1
)) {
14236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
14238 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_From_int(static_cast< int >(result
));
14252 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14253 PyObject
*resultobj
= 0;
14254 wxLocale
*arg1
= (wxLocale
*) 0 ;
14258 PyObject
*swig_obj
[1] ;
14260 if (!args
) SWIG_fail
;
14261 swig_obj
[0] = args
;
14262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14263 if (!SWIG_IsOK(res1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14266 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= ((wxLocale
const *)arg1
)->GetSysName();
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14286 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14287 PyObject
*resultobj
= 0;
14288 wxLocale
*arg1
= (wxLocale
*) 0 ;
14292 PyObject
*swig_obj
[1] ;
14294 if (!args
) SWIG_fail
;
14295 swig_obj
[0] = args
;
14296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14297 if (!SWIG_IsOK(res1
)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14300 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14320 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
= 0;
14322 wxString
*arg1
= 0 ;
14323 bool temp1
= false ;
14324 PyObject
* obj0
= 0 ;
14325 char * kwnames
[] = {
14326 (char *) "prefix", NULL
14329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
14331 arg1
= wxString_in_helper(obj0
);
14332 if (arg1
== NULL
) SWIG_fail
;
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_Py_Void();
14356 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= 0;
14358 wxLocale
*arg1
= (wxLocale
*) 0 ;
14359 wxString
*arg2
= 0 ;
14363 bool temp2
= false ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char * kwnames
[] = {
14367 (char *) "self",(char *) "szDomain", NULL
14370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
14375 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14377 arg2
= wxString_in_helper(obj1
);
14378 if (arg2
== NULL
) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14404 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
= 0;
14406 wxLocale
*arg1
= (wxLocale
*) 0 ;
14407 wxString
*arg2
= 0 ;
14411 bool temp2
= false ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 char * kwnames
[] = {
14415 (char *) "self",(char *) "szDomain", NULL
14418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14420 if (!SWIG_IsOK(res1
)) {
14421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
14423 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14425 arg2
= wxString_in_helper(obj1
);
14426 if (arg2
== NULL
) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14452 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
= 0;
14455 wxLanguageInfo
*result
= 0 ;
14458 PyObject
* obj0
= 0 ;
14459 char * kwnames
[] = {
14460 (char *) "lang", NULL
14463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14464 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14465 if (!SWIG_IsOK(ecode1
)) {
14466 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
14468 arg1
= static_cast< int >(val1
);
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14482 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
= 0;
14488 PyObject
* obj0
= 0 ;
14489 char * kwnames
[] = {
14490 (char *) "lang", NULL
14493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
14494 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14495 if (!SWIG_IsOK(ecode1
)) {
14496 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
14498 arg1
= static_cast< int >(val1
);
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= wxLocale::GetLanguageName(arg1
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14518 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
= 0;
14520 wxString
*arg1
= 0 ;
14521 wxLanguageInfo
*result
= 0 ;
14522 bool temp1
= false ;
14523 PyObject
* obj0
= 0 ;
14524 char * kwnames
[] = {
14525 (char *) "locale", NULL
14528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14530 arg1
= wxString_in_helper(obj0
);
14531 if (arg1
== NULL
) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14555 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
= 0;
14557 wxLanguageInfo
*arg1
= 0 ;
14560 PyObject
* obj0
= 0 ;
14561 char * kwnames
[] = {
14562 (char *) "info", NULL
14565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
14566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
14567 if (!SWIG_IsOK(res1
)) {
14568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14573 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_Py_Void();
14587 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
= 0;
14589 wxLocale
*arg1
= (wxLocale
*) 0 ;
14590 wxString
*arg2
= 0 ;
14591 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14596 bool temp2
= false ;
14597 bool temp3
= false ;
14598 PyObject
* obj0
= 0 ;
14599 PyObject
* obj1
= 0 ;
14600 PyObject
* obj2
= 0 ;
14601 char * kwnames
[] = {
14602 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
14605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14607 if (!SWIG_IsOK(res1
)) {
14608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
14610 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14612 arg2
= wxString_in_helper(obj1
);
14613 if (arg2
== NULL
) SWIG_fail
;
14618 arg3
= wxString_in_helper(obj2
);
14619 if (arg3
== NULL
) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14658 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14659 PyObject
*resultobj
= 0;
14660 wxLocale
*arg1
= (wxLocale
*) 0 ;
14661 wxString
*result
= 0 ;
14664 PyObject
*swig_obj
[1] ;
14666 if (!args
) SWIG_fail
;
14667 swig_obj
[0] = args
;
14668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14669 if (!SWIG_IsOK(res1
)) {
14670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14672 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14677 result
= (wxString
*) &_result_ref
;
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14695 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14698 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14699 return SWIG_Py_Void();
14702 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14703 return SWIG_Python_InitShadowInstance(args
);
14706 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14707 PyObject
*resultobj
= 0;
14708 wxLocale
*result
= 0 ;
14710 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (wxLocale
*)wxGetLocale();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14724 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14725 PyObject
*resultobj
= 0;
14726 wxString
*arg1
= 0 ;
14728 bool temp1
= false ;
14730 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14732 arg1
= wxString_in_helper(swig_obj
[0]);
14733 if (arg1
== NULL
) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= wxGetTranslation((wxString
const &)*arg1
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14763 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14764 PyObject
*resultobj
= 0;
14765 wxString
*arg1
= 0 ;
14766 wxString
*arg2
= 0 ;
14769 bool temp1
= false ;
14770 bool temp2
= false ;
14774 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14776 arg1
= wxString_in_helper(swig_obj
[0]);
14777 if (arg1
== NULL
) SWIG_fail
;
14781 arg2
= wxString_in_helper(swig_obj
[1]);
14782 if (arg2
== NULL
) SWIG_fail
;
14785 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14786 if (!SWIG_IsOK(ecode3
)) {
14787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14789 arg3
= static_cast< size_t >(val3
);
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14825 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14829 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14832 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14835 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14839 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14844 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14845 PyObject
*resultobj
= 0;
14846 wxEncodingConverter
*result
= 0 ;
14848 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14862 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14863 PyObject
*resultobj
= 0;
14864 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14867 PyObject
*swig_obj
[1] ;
14869 if (!args
) SWIG_fail
;
14870 swig_obj
[0] = args
;
14871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14872 if (!SWIG_IsOK(res1
)) {
14873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14875 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= SWIG_Py_Void();
14890 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
= 0;
14892 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14893 wxFontEncoding arg2
;
14894 wxFontEncoding arg3
;
14895 int arg4
= (int) wxCONVERT_STRICT
;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 PyObject
* obj2
= 0 ;
14908 PyObject
* obj3
= 0 ;
14909 char * kwnames
[] = {
14910 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14915 if (!SWIG_IsOK(res1
)) {
14916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14918 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14920 if (!SWIG_IsOK(ecode2
)) {
14921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14923 arg2
= static_cast< wxFontEncoding
>(val2
);
14924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14925 if (!SWIG_IsOK(ecode3
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14928 arg3
= static_cast< wxFontEncoding
>(val3
);
14930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14931 if (!SWIG_IsOK(ecode4
)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14934 arg4
= static_cast< int >(val4
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14951 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
= 0;
14953 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14954 wxString
*arg2
= 0 ;
14958 bool temp2
= false ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char * kwnames
[] = {
14962 (char *) "self",(char *) "input", NULL
14965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14967 if (!SWIG_IsOK(res1
)) {
14968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14970 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14972 arg2
= wxString_in_helper(obj1
);
14973 if (arg2
== NULL
) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15003 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
= 0;
15005 wxFontEncoding arg1
;
15006 int arg2
= (int) wxPLATFORM_CURRENT
;
15007 wxFontEncodingArray result
;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char * kwnames
[] = {
15015 (char *) "enc",(char *) "platform", NULL
15018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15020 if (!SWIG_IsOK(ecode1
)) {
15021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15023 arg1
= static_cast< wxFontEncoding
>(val1
);
15025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15026 if (!SWIG_IsOK(ecode2
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
15029 arg2
= static_cast< int >(val2
);
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= PyList_New(0);
15039 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15040 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15041 PyList_Append(resultobj
, number
);
15051 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
= 0;
15053 wxFontEncoding arg1
;
15054 wxFontEncodingArray result
;
15057 PyObject
* obj0
= 0 ;
15058 char * kwnames
[] = {
15059 (char *) "enc", NULL
15062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
15063 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15064 if (!SWIG_IsOK(ecode1
)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15067 arg1
= static_cast< wxFontEncoding
>(val1
);
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= PyList_New(0);
15076 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15077 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15078 PyList_Append(resultobj
, number
);
15088 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
= 0;
15090 wxFontEncoding arg1
;
15091 wxFontEncoding arg2
;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 char * kwnames
[] = {
15100 (char *) "encIn",(char *) "encOut", NULL
15103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15105 if (!SWIG_IsOK(ecode1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15108 arg1
= static_cast< wxFontEncoding
>(val1
);
15109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15110 if (!SWIG_IsOK(ecode2
)) {
15111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15113 arg2
= static_cast< wxFontEncoding
>(val2
);
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15129 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15132 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
15133 return SWIG_Py_Void();
15136 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15137 return SWIG_Python_InitShadowInstance(args
);
15140 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15141 PyObject
*resultobj
= 0;
15142 wxDC
*arg1
= (wxDC
*) 0 ;
15145 PyObject
*swig_obj
[1] ;
15147 if (!args
) SWIG_fail
;
15148 swig_obj
[0] = args
;
15149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
15153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= SWIG_Py_Void();
15168 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
= 0;
15170 wxDC
*arg1
= (wxDC
*) 0 ;
15173 wxColour
*arg4
= 0 ;
15174 int arg5
= (int) wxFLOOD_SURFACE
;
15185 PyObject
* obj0
= 0 ;
15186 PyObject
* obj1
= 0 ;
15187 PyObject
* obj2
= 0 ;
15188 PyObject
* obj3
= 0 ;
15189 PyObject
* obj4
= 0 ;
15190 char * kwnames
[] = {
15191 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
15194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15196 if (!SWIG_IsOK(res1
)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
15199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15201 if (!SWIG_IsOK(ecode2
)) {
15202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
15204 arg2
= static_cast< int >(val2
);
15205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15206 if (!SWIG_IsOK(ecode3
)) {
15207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
15209 arg3
= static_cast< int >(val3
);
15212 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15215 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15216 if (!SWIG_IsOK(ecode5
)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
15219 arg5
= static_cast< int >(val5
);
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15236 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
= 0;
15238 wxDC
*arg1
= (wxDC
*) 0 ;
15239 wxPoint
*arg2
= 0 ;
15240 wxColour
*arg3
= 0 ;
15241 int arg4
= (int) wxFLOOD_SURFACE
;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 PyObject
* obj2
= 0 ;
15252 PyObject
* obj3
= 0 ;
15253 char * kwnames
[] = {
15254 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
15257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15259 if (!SWIG_IsOK(res1
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15269 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15273 if (!SWIG_IsOK(ecode4
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
15276 arg4
= static_cast< int >(val4
);
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15293 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
= 0;
15295 wxDC
*arg1
= (wxDC
*) 0 ;
15297 wxColour
*arg3
= 0 ;
15298 wxColour
*arg4
= 0 ;
15299 wxPoint
*arg5
= 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 PyObject
* obj2
= 0 ;
15309 PyObject
* obj3
= 0 ;
15310 PyObject
* obj4
= 0 ;
15311 char * kwnames
[] = {
15312 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
15315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15317 if (!SWIG_IsOK(res1
)) {
15318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
15320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15323 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15327 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15331 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15335 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15339 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_Py_Void();
15350 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
= 0;
15352 wxDC
*arg1
= (wxDC
*) 0 ;
15354 wxColour
*arg3
= 0 ;
15355 wxColour
*arg4
= 0 ;
15356 wxDirection arg5
= (wxDirection
) wxEAST
;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 PyObject
* obj3
= 0 ;
15368 PyObject
* obj4
= 0 ;
15369 char * kwnames
[] = {
15370 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
15373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15375 if (!SWIG_IsOK(res1
)) {
15376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
15378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15381 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15385 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15389 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15392 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15393 if (!SWIG_IsOK(ecode5
)) {
15394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
15396 arg5
= static_cast< wxDirection
>(val5
);
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_Py_Void();
15411 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= 0;
15413 wxDC
*arg1
= (wxDC
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 PyObject
* obj2
= 0 ;
15426 char * kwnames
[] = {
15427 (char *) "self",(char *) "x",(char *) "y", NULL
15430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15432 if (!SWIG_IsOK(res1
)) {
15433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
15435 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15437 if (!SWIG_IsOK(ecode2
)) {
15438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
15440 arg2
= static_cast< int >(val2
);
15441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15442 if (!SWIG_IsOK(ecode3
)) {
15443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
15445 arg3
= static_cast< int >(val3
);
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15459 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
= 0;
15461 wxDC
*arg1
= (wxDC
*) 0 ;
15462 wxPoint
*arg2
= 0 ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 char * kwnames
[] = {
15470 (char *) "self",(char *) "pt", NULL
15473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15475 if (!SWIG_IsOK(res1
)) {
15476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15478 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15496 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
= 0;
15498 wxDC
*arg1
= (wxDC
*) 0 ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 PyObject
* obj3
= 0 ;
15517 PyObject
* obj4
= 0 ;
15518 char * kwnames
[] = {
15519 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
15522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15524 if (!SWIG_IsOK(res1
)) {
15525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
15527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15529 if (!SWIG_IsOK(ecode2
)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
15532 arg2
= static_cast< int >(val2
);
15533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15534 if (!SWIG_IsOK(ecode3
)) {
15535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
15537 arg3
= static_cast< int >(val3
);
15538 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15539 if (!SWIG_IsOK(ecode4
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
15542 arg4
= static_cast< int >(val4
);
15543 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15544 if (!SWIG_IsOK(ecode5
)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
15547 arg5
= static_cast< int >(val5
);
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_Py_Void();
15561 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
= 0;
15563 wxDC
*arg1
= (wxDC
*) 0 ;
15564 wxPoint
*arg2
= 0 ;
15565 wxPoint
*arg3
= 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 PyObject
* obj2
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15585 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_Py_Void();
15604 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
= 0;
15606 wxDC
*arg1
= (wxDC
*) 0 ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 PyObject
* obj2
= 0 ;
15618 char * kwnames
[] = {
15619 (char *) "self",(char *) "x",(char *) "y", NULL
15622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15624 if (!SWIG_IsOK(res1
)) {
15625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
15627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15629 if (!SWIG_IsOK(ecode2
)) {
15630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
15632 arg2
= static_cast< int >(val2
);
15633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15634 if (!SWIG_IsOK(ecode3
)) {
15635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
15637 arg3
= static_cast< int >(val3
);
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 (arg1
)->CrossHair(arg2
,arg3
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_Py_Void();
15651 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
= 0;
15653 wxDC
*arg1
= (wxDC
*) 0 ;
15654 wxPoint
*arg2
= 0 ;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 char * kwnames
[] = {
15661 (char *) "self",(char *) "pt", NULL
15664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15666 if (!SWIG_IsOK(res1
)) {
15667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= SWIG_Py_Void();
15687 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
= 0;
15689 wxDC
*arg1
= (wxDC
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 PyObject
* obj2
= 0 ;
15713 PyObject
* obj3
= 0 ;
15714 PyObject
* obj4
= 0 ;
15715 PyObject
* obj5
= 0 ;
15716 PyObject
* obj6
= 0 ;
15717 char * kwnames
[] = {
15718 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15723 if (!SWIG_IsOK(res1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15728 if (!SWIG_IsOK(ecode2
)) {
15729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15731 arg2
= static_cast< int >(val2
);
15732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15733 if (!SWIG_IsOK(ecode3
)) {
15734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15736 arg3
= static_cast< int >(val3
);
15737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15738 if (!SWIG_IsOK(ecode4
)) {
15739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15741 arg4
= static_cast< int >(val4
);
15742 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15743 if (!SWIG_IsOK(ecode5
)) {
15744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15746 arg5
= static_cast< int >(val5
);
15747 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15748 if (!SWIG_IsOK(ecode6
)) {
15749 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15751 arg6
= static_cast< int >(val6
);
15752 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15753 if (!SWIG_IsOK(ecode7
)) {
15754 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15756 arg7
= static_cast< int >(val7
);
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_Py_Void();
15770 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= 0;
15772 wxDC
*arg1
= (wxDC
*) 0 ;
15773 wxPoint
*arg2
= 0 ;
15774 wxPoint
*arg3
= 0 ;
15775 wxPoint
*arg4
= 0 ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 PyObject
* obj2
= 0 ;
15784 PyObject
* obj3
= 0 ;
15785 char * kwnames
[] = {
15786 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15791 if (!SWIG_IsOK(res1
)) {
15792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15801 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15805 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_Py_Void();
15820 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
= 0;
15822 wxDC
*arg1
= (wxDC
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 PyObject
* obj2
= 0 ;
15840 PyObject
* obj3
= 0 ;
15841 PyObject
* obj4
= 0 ;
15842 char * kwnames
[] = {
15843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15848 if (!SWIG_IsOK(res1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15853 if (!SWIG_IsOK(ecode2
)) {
15854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15856 arg2
= static_cast< int >(val2
);
15857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15858 if (!SWIG_IsOK(ecode3
)) {
15859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15861 arg3
= static_cast< int >(val3
);
15862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15863 if (!SWIG_IsOK(ecode4
)) {
15864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15866 arg4
= static_cast< int >(val4
);
15867 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15868 if (!SWIG_IsOK(ecode5
)) {
15869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15871 arg5
= static_cast< int >(val5
);
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_Py_Void();
15885 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
= 0;
15887 wxDC
*arg1
= (wxDC
*) 0 ;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 char * kwnames
[] = {
15895 (char *) "self",(char *) "rect", NULL
15898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15900 if (!SWIG_IsOK(res1
)) {
15901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15906 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 resultobj
= SWIG_Py_Void();
15921 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
= 0;
15923 wxDC
*arg1
= (wxDC
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 PyObject
* obj3
= 0 ;
15948 PyObject
* obj4
= 0 ;
15949 PyObject
* obj5
= 0 ;
15950 PyObject
* obj6
= 0 ;
15951 char * kwnames
[] = {
15952 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15957 if (!SWIG_IsOK(res1
)) {
15958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15962 if (!SWIG_IsOK(ecode2
)) {
15963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15965 arg2
= static_cast< int >(val2
);
15966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15967 if (!SWIG_IsOK(ecode3
)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15970 arg3
= static_cast< int >(val3
);
15971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15972 if (!SWIG_IsOK(ecode4
)) {
15973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15975 arg4
= static_cast< int >(val4
);
15976 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15977 if (!SWIG_IsOK(ecode5
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15980 arg5
= static_cast< int >(val5
);
15981 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15982 if (!SWIG_IsOK(ecode6
)) {
15983 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15985 arg6
= static_cast< double >(val6
);
15986 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15987 if (!SWIG_IsOK(ecode7
)) {
15988 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15990 arg7
= static_cast< double >(val7
);
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= SWIG_Py_Void();
16004 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
= 0;
16006 wxDC
*arg1
= (wxDC
*) 0 ;
16007 wxPoint
*arg2
= 0 ;
16019 PyObject
* obj0
= 0 ;
16020 PyObject
* obj1
= 0 ;
16021 PyObject
* obj2
= 0 ;
16022 PyObject
* obj3
= 0 ;
16023 PyObject
* obj4
= 0 ;
16024 char * kwnames
[] = {
16025 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
16028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16040 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16042 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16043 if (!SWIG_IsOK(ecode4
)) {
16044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
16046 arg4
= static_cast< double >(val4
);
16047 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16048 if (!SWIG_IsOK(ecode5
)) {
16049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
16051 arg5
= static_cast< double >(val5
);
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= SWIG_Py_Void();
16065 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
= 0;
16067 wxDC
*arg1
= (wxDC
*) 0 ;
16076 PyObject
* obj0
= 0 ;
16077 PyObject
* obj1
= 0 ;
16078 PyObject
* obj2
= 0 ;
16079 char * kwnames
[] = {
16080 (char *) "self",(char *) "x",(char *) "y", NULL
16083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16090 if (!SWIG_IsOK(ecode2
)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
16093 arg2
= static_cast< int >(val2
);
16094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16095 if (!SWIG_IsOK(ecode3
)) {
16096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
16098 arg3
= static_cast< int >(val3
);
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 (arg1
)->DrawPoint(arg2
,arg3
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= SWIG_Py_Void();
16112 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
= 0;
16114 wxDC
*arg1
= (wxDC
*) 0 ;
16115 wxPoint
*arg2
= 0 ;
16119 PyObject
* obj0
= 0 ;
16120 PyObject
* obj1
= 0 ;
16121 char * kwnames
[] = {
16122 (char *) "self",(char *) "pt", NULL
16125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16127 if (!SWIG_IsOK(res1
)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= SWIG_Py_Void();
16148 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
= 0;
16150 wxDC
*arg1
= (wxDC
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 PyObject
* obj2
= 0 ;
16168 PyObject
* obj3
= 0 ;
16169 PyObject
* obj4
= 0 ;
16170 char * kwnames
[] = {
16171 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16181 if (!SWIG_IsOK(ecode2
)) {
16182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
16184 arg2
= static_cast< int >(val2
);
16185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16186 if (!SWIG_IsOK(ecode3
)) {
16187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
16189 arg3
= static_cast< int >(val3
);
16190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16191 if (!SWIG_IsOK(ecode4
)) {
16192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
16194 arg4
= static_cast< int >(val4
);
16195 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16196 if (!SWIG_IsOK(ecode5
)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
16199 arg5
= static_cast< int >(val5
);
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_Py_Void();
16213 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
= 0;
16215 wxDC
*arg1
= (wxDC
*) 0 ;
16220 PyObject
* obj0
= 0 ;
16221 PyObject
* obj1
= 0 ;
16222 char * kwnames
[] = {
16223 (char *) "self",(char *) "rect", NULL
16226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16228 if (!SWIG_IsOK(res1
)) {
16229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16234 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= SWIG_Py_Void();
16249 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
= 0;
16251 wxDC
*arg1
= (wxDC
*) 0 ;
16252 wxPoint
*arg2
= 0 ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 PyObject
* obj2
= 0 ;
16261 char * kwnames
[] = {
16262 (char *) "self",(char *) "pt",(char *) "sz", NULL
16265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16267 if (!SWIG_IsOK(res1
)) {
16268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16277 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= SWIG_Py_Void();
16292 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
= 0;
16294 wxDC
*arg1
= (wxDC
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 PyObject
* obj1
= 0 ;
16314 PyObject
* obj2
= 0 ;
16315 PyObject
* obj3
= 0 ;
16316 PyObject
* obj4
= 0 ;
16317 PyObject
* obj5
= 0 ;
16318 char * kwnames
[] = {
16319 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
16322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16324 if (!SWIG_IsOK(res1
)) {
16325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16329 if (!SWIG_IsOK(ecode2
)) {
16330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
16332 arg2
= static_cast< int >(val2
);
16333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16334 if (!SWIG_IsOK(ecode3
)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
16337 arg3
= static_cast< int >(val3
);
16338 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16339 if (!SWIG_IsOK(ecode4
)) {
16340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
16342 arg4
= static_cast< int >(val4
);
16343 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16344 if (!SWIG_IsOK(ecode5
)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
16347 arg5
= static_cast< int >(val5
);
16348 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
16349 if (!SWIG_IsOK(ecode6
)) {
16350 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
16352 arg6
= static_cast< double >(val6
);
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_Py_Void();
16366 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
= 0;
16368 wxDC
*arg1
= (wxDC
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 PyObject
* obj1
= 0 ;
16378 PyObject
* obj2
= 0 ;
16379 char * kwnames
[] = {
16380 (char *) "self",(char *) "r",(char *) "radius", NULL
16383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16385 if (!SWIG_IsOK(res1
)) {
16386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16391 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16393 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16394 if (!SWIG_IsOK(ecode3
)) {
16395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
16397 arg3
= static_cast< double >(val3
);
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= SWIG_Py_Void();
16411 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
= 0;
16413 wxDC
*arg1
= (wxDC
*) 0 ;
16414 wxPoint
*arg2
= 0 ;
16423 PyObject
* obj0
= 0 ;
16424 PyObject
* obj1
= 0 ;
16425 PyObject
* obj2
= 0 ;
16426 PyObject
* obj3
= 0 ;
16427 char * kwnames
[] = {
16428 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
16431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16443 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16445 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16446 if (!SWIG_IsOK(ecode4
)) {
16447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
16449 arg4
= static_cast< double >(val4
);
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= SWIG_Py_Void();
16463 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
= 0;
16465 wxDC
*arg1
= (wxDC
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 PyObject
* obj2
= 0 ;
16480 PyObject
* obj3
= 0 ;
16481 char * kwnames
[] = {
16482 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
16485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16487 if (!SWIG_IsOK(res1
)) {
16488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
16490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16492 if (!SWIG_IsOK(ecode2
)) {
16493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
16495 arg2
= static_cast< int >(val2
);
16496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16497 if (!SWIG_IsOK(ecode3
)) {
16498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
16500 arg3
= static_cast< int >(val3
);
16501 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16502 if (!SWIG_IsOK(ecode4
)) {
16503 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
16505 arg4
= static_cast< int >(val4
);
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= SWIG_Py_Void();
16519 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
= 0;
16521 wxDC
*arg1
= (wxDC
*) 0 ;
16522 wxPoint
*arg2
= 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 PyObject
* obj2
= 0 ;
16532 char * kwnames
[] = {
16533 (char *) "self",(char *) "pt",(char *) "radius", NULL
16536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16538 if (!SWIG_IsOK(res1
)) {
16539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
16541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16547 if (!SWIG_IsOK(ecode3
)) {
16548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
16550 arg3
= static_cast< int >(val3
);
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_Py_Void();
16564 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
= 0;
16566 wxDC
*arg1
= (wxDC
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 PyObject
* obj1
= 0 ;
16583 PyObject
* obj2
= 0 ;
16584 PyObject
* obj3
= 0 ;
16585 PyObject
* obj4
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
16595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16597 if (!SWIG_IsOK(ecode2
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
16600 arg2
= static_cast< int >(val2
);
16601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16602 if (!SWIG_IsOK(ecode3
)) {
16603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
16605 arg3
= static_cast< int >(val3
);
16606 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16607 if (!SWIG_IsOK(ecode4
)) {
16608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
16610 arg4
= static_cast< int >(val4
);
16611 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16612 if (!SWIG_IsOK(ecode5
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
16615 arg5
= static_cast< int >(val5
);
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= SWIG_Py_Void();
16629 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
= 0;
16631 wxDC
*arg1
= (wxDC
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char * kwnames
[] = {
16639 (char *) "self",(char *) "rect", NULL
16642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16644 if (!SWIG_IsOK(res1
)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
16647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16650 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= SWIG_Py_Void();
16665 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
= 0;
16667 wxDC
*arg1
= (wxDC
*) 0 ;
16668 wxPoint
*arg2
= 0 ;
16674 PyObject
* obj0
= 0 ;
16675 PyObject
* obj1
= 0 ;
16676 PyObject
* obj2
= 0 ;
16677 char * kwnames
[] = {
16678 (char *) "self",(char *) "pt",(char *) "sz", NULL
16681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16683 if (!SWIG_IsOK(res1
)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16686 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16689 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16693 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 resultobj
= SWIG_Py_Void();
16708 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
= 0;
16710 wxDC
*arg1
= (wxDC
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 PyObject
* obj2
= 0 ;
16725 PyObject
* obj3
= 0 ;
16726 char * kwnames
[] = {
16727 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16732 if (!SWIG_IsOK(res1
)) {
16733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16737 if (!SWIG_IsOK(res2
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16743 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16745 if (!SWIG_IsOK(ecode3
)) {
16746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16748 arg3
= static_cast< int >(val3
);
16749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16750 if (!SWIG_IsOK(ecode4
)) {
16751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16753 arg4
= static_cast< int >(val4
);
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_Py_Void();
16767 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
= 0;
16769 wxDC
*arg1
= (wxDC
*) 0 ;
16771 wxPoint
*arg3
= 0 ;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 PyObject
* obj2
= 0 ;
16780 char * kwnames
[] = {
16781 (char *) "self",(char *) "icon",(char *) "pt", NULL
16784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16791 if (!SWIG_IsOK(res2
)) {
16792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16797 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_Py_Void();
16815 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= 0;
16817 wxDC
*arg1
= (wxDC
*) 0 ;
16818 wxBitmap
*arg2
= 0 ;
16821 bool arg5
= (bool) false ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 PyObject
* obj2
= 0 ;
16835 PyObject
* obj3
= 0 ;
16836 PyObject
* obj4
= 0 ;
16837 char * kwnames
[] = {
16838 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16847 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16848 if (!SWIG_IsOK(res2
)) {
16849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16854 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16856 if (!SWIG_IsOK(ecode3
)) {
16857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16859 arg3
= static_cast< int >(val3
);
16860 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16861 if (!SWIG_IsOK(ecode4
)) {
16862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16864 arg4
= static_cast< int >(val4
);
16866 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16867 if (!SWIG_IsOK(ecode5
)) {
16868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16870 arg5
= static_cast< bool >(val5
);
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= SWIG_Py_Void();
16885 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
= 0;
16887 wxDC
*arg1
= (wxDC
*) 0 ;
16888 wxBitmap
*arg2
= 0 ;
16889 wxPoint
*arg3
= 0 ;
16890 bool arg4
= (bool) false ;
16898 PyObject
* obj0
= 0 ;
16899 PyObject
* obj1
= 0 ;
16900 PyObject
* obj2
= 0 ;
16901 PyObject
* obj3
= 0 ;
16902 char * kwnames
[] = {
16903 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16908 if (!SWIG_IsOK(res1
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16913 if (!SWIG_IsOK(res2
)) {
16914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16919 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16922 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16925 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16926 if (!SWIG_IsOK(ecode4
)) {
16927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16929 arg4
= static_cast< bool >(val4
);
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= SWIG_Py_Void();
16944 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
= 0;
16946 wxDC
*arg1
= (wxDC
*) 0 ;
16947 wxString
*arg2
= 0 ;
16952 bool temp2
= false ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 PyObject
* obj2
= 0 ;
16960 PyObject
* obj3
= 0 ;
16961 char * kwnames
[] = {
16962 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16967 if (!SWIG_IsOK(res1
)) {
16968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16972 arg2
= wxString_in_helper(obj1
);
16973 if (arg2
== NULL
) SWIG_fail
;
16976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16977 if (!SWIG_IsOK(ecode3
)) {
16978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16980 arg3
= static_cast< int >(val3
);
16981 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16982 if (!SWIG_IsOK(ecode4
)) {
16983 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16985 arg4
= static_cast< int >(val4
);
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_Py_Void();
17007 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
= 0;
17009 wxDC
*arg1
= (wxDC
*) 0 ;
17010 wxString
*arg2
= 0 ;
17011 wxPoint
*arg3
= 0 ;
17014 bool temp2
= false ;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 PyObject
* obj2
= 0 ;
17019 char * kwnames
[] = {
17020 (char *) "self",(char *) "text",(char *) "pt", NULL
17023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17030 arg2
= wxString_in_helper(obj1
);
17031 if (arg2
== NULL
) SWIG_fail
;
17036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= SWIG_Py_Void();
17059 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
= 0;
17061 wxDC
*arg1
= (wxDC
*) 0 ;
17062 wxString
*arg2
= 0 ;
17068 bool temp2
= false ;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 PyObject
* obj2
= 0 ;
17078 PyObject
* obj3
= 0 ;
17079 PyObject
* obj4
= 0 ;
17080 char * kwnames
[] = {
17081 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
17084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17086 if (!SWIG_IsOK(res1
)) {
17087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
17089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17091 arg2
= wxString_in_helper(obj1
);
17092 if (arg2
== NULL
) SWIG_fail
;
17095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17096 if (!SWIG_IsOK(ecode3
)) {
17097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
17099 arg3
= static_cast< int >(val3
);
17100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17101 if (!SWIG_IsOK(ecode4
)) {
17102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
17104 arg4
= static_cast< int >(val4
);
17105 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17106 if (!SWIG_IsOK(ecode5
)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
17109 arg5
= static_cast< double >(val5
);
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= SWIG_Py_Void();
17131 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
= 0;
17133 wxDC
*arg1
= (wxDC
*) 0 ;
17134 wxString
*arg2
= 0 ;
17135 wxPoint
*arg3
= 0 ;
17139 bool temp2
= false ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 PyObject
* obj2
= 0 ;
17146 PyObject
* obj3
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17158 arg2
= wxString_in_helper(obj1
);
17159 if (arg2
== NULL
) SWIG_fail
;
17164 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17166 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17167 if (!SWIG_IsOK(ecode4
)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
17170 arg4
= static_cast< double >(val4
);
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_Py_Void();
17192 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
= 0;
17194 wxDC
*arg1
= (wxDC
*) 0 ;
17199 wxDC
*arg6
= (wxDC
*) 0 ;
17202 int arg9
= (int) wxCOPY
;
17203 bool arg10
= (bool) false ;
17204 int arg11
= (int) -1 ;
17205 int arg12
= (int) -1 ;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 PyObject
* obj2
= 0 ;
17234 PyObject
* obj3
= 0 ;
17235 PyObject
* obj4
= 0 ;
17236 PyObject
* obj5
= 0 ;
17237 PyObject
* obj6
= 0 ;
17238 PyObject
* obj7
= 0 ;
17239 PyObject
* obj8
= 0 ;
17240 PyObject
* obj9
= 0 ;
17241 PyObject
* obj10
= 0 ;
17242 PyObject
* obj11
= 0 ;
17243 char * kwnames
[] = {
17244 (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
17247 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
;
17248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17249 if (!SWIG_IsOK(res1
)) {
17250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
17252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17254 if (!SWIG_IsOK(ecode2
)) {
17255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
17257 arg2
= static_cast< int >(val2
);
17258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17259 if (!SWIG_IsOK(ecode3
)) {
17260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
17262 arg3
= static_cast< int >(val3
);
17263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17264 if (!SWIG_IsOK(ecode4
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
17267 arg4
= static_cast< int >(val4
);
17268 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17269 if (!SWIG_IsOK(ecode5
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
17272 arg5
= static_cast< int >(val5
);
17273 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
17274 if (!SWIG_IsOK(res6
)) {
17275 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
17277 arg6
= reinterpret_cast< wxDC
* >(argp6
);
17278 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17279 if (!SWIG_IsOK(ecode7
)) {
17280 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
17282 arg7
= static_cast< int >(val7
);
17283 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
17284 if (!SWIG_IsOK(ecode8
)) {
17285 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
17287 arg8
= static_cast< int >(val8
);
17289 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
17290 if (!SWIG_IsOK(ecode9
)) {
17291 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
17293 arg9
= static_cast< int >(val9
);
17296 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
17297 if (!SWIG_IsOK(ecode10
)) {
17298 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
17300 arg10
= static_cast< bool >(val10
);
17303 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
17304 if (!SWIG_IsOK(ecode11
)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
17307 arg11
= static_cast< int >(val11
);
17310 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
17311 if (!SWIG_IsOK(ecode12
)) {
17312 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
17314 arg12
= static_cast< int >(val12
);
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17331 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
= 0;
17333 wxDC
*arg1
= (wxDC
*) 0 ;
17334 wxPoint
*arg2
= 0 ;
17336 wxDC
*arg4
= (wxDC
*) 0 ;
17337 wxPoint
*arg5
= 0 ;
17338 int arg6
= (int) wxCOPY
;
17339 bool arg7
= (bool) false ;
17340 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
17341 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 PyObject
* obj2
= 0 ;
17358 PyObject
* obj3
= 0 ;
17359 PyObject
* obj4
= 0 ;
17360 PyObject
* obj5
= 0 ;
17361 PyObject
* obj6
= 0 ;
17362 PyObject
* obj7
= 0 ;
17363 char * kwnames
[] = {
17364 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
17367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17369 if (!SWIG_IsOK(res1
)) {
17370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17375 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17379 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17381 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
17382 if (!SWIG_IsOK(res4
)) {
17383 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
17385 arg4
= reinterpret_cast< wxDC
* >(argp4
);
17388 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17391 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17392 if (!SWIG_IsOK(ecode6
)) {
17393 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
17395 arg6
= static_cast< int >(val6
);
17398 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
17399 if (!SWIG_IsOK(ecode7
)) {
17400 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
17402 arg7
= static_cast< bool >(val7
);
17407 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17425 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
= 0;
17427 wxDC
*arg1
= (wxDC
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 PyObject
* obj2
= 0 ;
17445 PyObject
* obj3
= 0 ;
17446 PyObject
* obj4
= 0 ;
17447 char * kwnames
[] = {
17448 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17453 if (!SWIG_IsOK(res1
)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17458 if (!SWIG_IsOK(ecode2
)) {
17459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
17461 arg2
= static_cast< int >(val2
);
17462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17463 if (!SWIG_IsOK(ecode3
)) {
17464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
17466 arg3
= static_cast< int >(val3
);
17467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17468 if (!SWIG_IsOK(ecode4
)) {
17469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
17471 arg4
= static_cast< int >(val4
);
17472 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17473 if (!SWIG_IsOK(ecode5
)) {
17474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
17476 arg5
= static_cast< int >(val5
);
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= SWIG_Py_Void();
17490 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
= 0;
17492 wxDC
*arg1
= (wxDC
*) 0 ;
17493 wxPoint
*arg2
= 0 ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 PyObject
* obj2
= 0 ;
17502 char * kwnames
[] = {
17503 (char *) "self",(char *) "pt",(char *) "sz", NULL
17506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17508 if (!SWIG_IsOK(res1
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17518 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= SWIG_Py_Void();
17533 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
= 0;
17535 wxDC
*arg1
= (wxDC
*) 0 ;
17536 wxRegion
*arg2
= 0 ;
17541 PyObject
* obj0
= 0 ;
17542 PyObject
* obj1
= 0 ;
17543 char * kwnames
[] = {
17544 (char *) "self",(char *) "region", NULL
17547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17549 if (!SWIG_IsOK(res1
)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
17554 if (!SWIG_IsOK(res2
)) {
17555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17560 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= SWIG_Py_Void();
17574 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
= 0;
17576 wxDC
*arg1
= (wxDC
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char * kwnames
[] = {
17584 (char *) "self",(char *) "rect", NULL
17587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17589 if (!SWIG_IsOK(res1
)) {
17590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17595 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_Py_Void();
17610 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
= 0;
17612 wxDC
*arg1
= (wxDC
*) 0 ;
17614 wxPoint
*arg3
= (wxPoint
*) 0 ;
17615 int arg4
= (int) 0 ;
17616 int arg5
= (int) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 PyObject
* obj2
= 0 ;
17626 PyObject
* obj3
= 0 ;
17627 char * kwnames
[] = {
17628 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
17631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17633 if (!SWIG_IsOK(res1
)) {
17634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
17636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17638 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17639 if (arg3
== NULL
) SWIG_fail
;
17642 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17643 if (!SWIG_IsOK(ecode4
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
17646 arg4
= static_cast< int >(val4
);
17649 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17650 if (!SWIG_IsOK(ecode5
)) {
17651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
17653 arg5
= static_cast< int >(val5
);
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_Py_Void();
17663 if (arg3
) delete [] arg3
;
17668 if (arg3
) delete [] arg3
;
17674 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
= 0;
17676 wxDC
*arg1
= (wxDC
*) 0 ;
17678 wxPoint
*arg3
= (wxPoint
*) 0 ;
17679 int arg4
= (int) 0 ;
17680 int arg5
= (int) 0 ;
17681 int arg6
= (int) wxODDEVEN_RULE
;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 PyObject
* obj2
= 0 ;
17693 PyObject
* obj3
= 0 ;
17694 PyObject
* obj4
= 0 ;
17695 char * kwnames
[] = {
17696 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17701 if (!SWIG_IsOK(res1
)) {
17702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17706 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17707 if (arg3
== NULL
) SWIG_fail
;
17710 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17711 if (!SWIG_IsOK(ecode4
)) {
17712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17714 arg4
= static_cast< int >(val4
);
17717 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17718 if (!SWIG_IsOK(ecode5
)) {
17719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17721 arg5
= static_cast< int >(val5
);
17724 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17725 if (!SWIG_IsOK(ecode6
)) {
17726 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17728 arg6
= static_cast< int >(val6
);
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_Py_Void();
17738 if (arg3
) delete [] arg3
;
17743 if (arg3
) delete [] arg3
;
17749 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17750 PyObject
*resultobj
= 0;
17751 wxDC
*arg1
= (wxDC
*) 0 ;
17752 wxString
*arg2
= 0 ;
17754 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17755 int arg5
= (int) -1 ;
17758 bool temp2
= false ;
17764 PyObject
* obj0
= 0 ;
17765 PyObject
* obj1
= 0 ;
17766 PyObject
* obj2
= 0 ;
17767 PyObject
* obj3
= 0 ;
17768 PyObject
* obj4
= 0 ;
17769 char * kwnames
[] = {
17770 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17775 if (!SWIG_IsOK(res1
)) {
17776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17780 arg2
= wxString_in_helper(obj1
);
17781 if (arg2
== NULL
) SWIG_fail
;
17786 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17789 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17790 if (!SWIG_IsOK(ecode4
)) {
17791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17793 arg4
= static_cast< int >(val4
);
17796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17797 if (!SWIG_IsOK(ecode5
)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17800 arg5
= static_cast< int >(val5
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_Py_Void();
17823 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
= 0;
17825 wxDC
*arg1
= (wxDC
*) 0 ;
17826 wxString
*arg2
= 0 ;
17827 wxBitmap
*arg3
= 0 ;
17829 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17830 int arg6
= (int) -1 ;
17834 bool temp2
= false ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 PyObject
* obj2
= 0 ;
17845 PyObject
* obj3
= 0 ;
17846 PyObject
* obj4
= 0 ;
17847 PyObject
* obj5
= 0 ;
17848 char * kwnames
[] = {
17849 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17854 if (!SWIG_IsOK(res1
)) {
17855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17859 arg2
= wxString_in_helper(obj1
);
17860 if (arg2
== NULL
) SWIG_fail
;
17863 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17864 if (!SWIG_IsOK(res3
)) {
17865 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17870 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17873 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17876 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17877 if (!SWIG_IsOK(ecode5
)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17880 arg5
= static_cast< int >(val5
);
17883 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17884 if (!SWIG_IsOK(ecode6
)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17887 arg6
= static_cast< int >(val6
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17910 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
= 0;
17912 wxDC
*arg1
= (wxDC
*) 0 ;
17914 wxPoint
*arg3
= (wxPoint
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 char * kwnames
[] = {
17920 (char *) "self",(char *) "points", NULL
17923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17925 if (!SWIG_IsOK(res1
)) {
17926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17930 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17931 if (arg3
== NULL
) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->DrawSpline(arg2
,arg3
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_Py_Void();
17941 if (arg3
) delete [] arg3
;
17946 if (arg3
) delete [] arg3
;
17952 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17953 PyObject
*resultobj
= 0;
17954 wxDC
*arg1
= (wxDC
*) 0 ;
17957 PyObject
*swig_obj
[1] ;
17959 if (!args
) SWIG_fail
;
17960 swig_obj
[0] = args
;
17961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17962 if (!SWIG_IsOK(res1
)) {
17963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_Py_Void();
17979 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= 0;
17981 wxDC
*arg1
= (wxDC
*) 0 ;
17982 wxString
*arg2
= 0 ;
17986 bool temp2
= false ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 char * kwnames
[] = {
17990 (char *) "self",(char *) "message", NULL
17993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17995 if (!SWIG_IsOK(res1
)) {
17996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18000 arg2
= wxString_in_helper(obj1
);
18001 if (arg2
== NULL
) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18027 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18028 PyObject
*resultobj
= 0;
18029 wxDC
*arg1
= (wxDC
*) 0 ;
18032 PyObject
*swig_obj
[1] ;
18034 if (!args
) SWIG_fail
;
18035 swig_obj
[0] = args
;
18036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_Py_Void();
18054 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18055 PyObject
*resultobj
= 0;
18056 wxDC
*arg1
= (wxDC
*) 0 ;
18059 PyObject
*swig_obj
[1] ;
18061 if (!args
) SWIG_fail
;
18062 swig_obj
[0] = args
;
18063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
18067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->StartPage();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_Py_Void();
18081 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18082 PyObject
*resultobj
= 0;
18083 wxDC
*arg1
= (wxDC
*) 0 ;
18086 PyObject
*swig_obj
[1] ;
18088 if (!args
) SWIG_fail
;
18089 swig_obj
[0] = args
;
18090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18091 if (!SWIG_IsOK(res1
)) {
18092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
18094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= SWIG_Py_Void();
18108 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
= 0;
18110 wxDC
*arg1
= (wxDC
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 PyObject
* obj1
= 0 ;
18118 char * kwnames
[] = {
18119 (char *) "self",(char *) "font", NULL
18122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18124 if (!SWIG_IsOK(res1
)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
18127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18129 if (!SWIG_IsOK(res2
)) {
18130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18135 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->SetFont((wxFont
const &)*arg2
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= SWIG_Py_Void();
18149 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
= 0;
18151 wxDC
*arg1
= (wxDC
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 char * kwnames
[] = {
18160 (char *) "self",(char *) "pen", NULL
18163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18165 if (!SWIG_IsOK(res1
)) {
18166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
18168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
18170 if (!SWIG_IsOK(res2
)) {
18171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18176 arg2
= reinterpret_cast< wxPen
* >(argp2
);
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->SetPen((wxPen
const &)*arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_Py_Void();
18190 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
= 0;
18192 wxDC
*arg1
= (wxDC
*) 0 ;
18193 wxBrush
*arg2
= 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char * kwnames
[] = {
18201 (char *) "self",(char *) "brush", NULL
18204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
18209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18211 if (!SWIG_IsOK(res2
)) {
18212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18217 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_Py_Void();
18231 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
= 0;
18233 wxDC
*arg1
= (wxDC
*) 0 ;
18234 wxBrush
*arg2
= 0 ;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 char * kwnames
[] = {
18242 (char *) "self",(char *) "brush", NULL
18245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18247 if (!SWIG_IsOK(res1
)) {
18248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18250 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18252 if (!SWIG_IsOK(res2
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18258 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= SWIG_Py_Void();
18272 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
= 0;
18274 wxDC
*arg1
= (wxDC
*) 0 ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 char * kwnames
[] = {
18283 (char *) "self",(char *) "mode", NULL
18286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18288 if (!SWIG_IsOK(res1
)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
18291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18293 if (!SWIG_IsOK(ecode2
)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
18296 arg2
= static_cast< int >(val2
);
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->SetBackgroundMode(arg2
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= SWIG_Py_Void();
18310 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
= 0;
18312 wxDC
*arg1
= (wxDC
*) 0 ;
18313 wxPalette
*arg2
= 0 ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char * kwnames
[] = {
18321 (char *) "self",(char *) "palette", NULL
18324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18326 if (!SWIG_IsOK(res1
)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
18329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18330 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
18331 if (!SWIG_IsOK(res2
)) {
18332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18337 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_Py_Void();
18351 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18352 PyObject
*resultobj
= 0;
18353 wxDC
*arg1
= (wxDC
*) 0 ;
18356 PyObject
*swig_obj
[1] ;
18358 if (!args
) SWIG_fail
;
18359 swig_obj
[0] = args
;
18360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18361 if (!SWIG_IsOK(res1
)) {
18362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
18364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 (arg1
)->DestroyClippingRegion();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= SWIG_Py_Void();
18378 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 PyObject
*resultobj
= 0;
18380 wxDC
*arg1
= (wxDC
*) 0 ;
18381 int *arg2
= (int *) 0 ;
18382 int *arg3
= (int *) 0 ;
18383 int *arg4
= (int *) 0 ;
18384 int *arg5
= (int *) 0 ;
18388 int res2
= SWIG_TMPOBJ
;
18390 int res3
= SWIG_TMPOBJ
;
18392 int res4
= SWIG_TMPOBJ
;
18394 int res5
= SWIG_TMPOBJ
;
18395 PyObject
*swig_obj
[1] ;
18401 if (!args
) SWIG_fail
;
18402 swig_obj
[0] = args
;
18403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
18407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_Py_Void();
18415 if (SWIG_IsTmpObj(res2
)) {
18416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18418 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18421 if (SWIG_IsTmpObj(res3
)) {
18422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18424 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18427 if (SWIG_IsTmpObj(res4
)) {
18428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18430 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18433 if (SWIG_IsTmpObj(res5
)) {
18434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18436 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18445 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18446 PyObject
*resultobj
= 0;
18447 wxDC
*arg1
= (wxDC
*) 0 ;
18451 PyObject
*swig_obj
[1] ;
18453 if (!args
) SWIG_fail
;
18454 swig_obj
[0] = args
;
18455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18456 if (!SWIG_IsOK(res1
)) {
18457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
18459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= wxDC_GetClippingRect(arg1
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18473 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18474 PyObject
*resultobj
= 0;
18475 wxDC
*arg1
= (wxDC
*) 0 ;
18479 PyObject
*swig_obj
[1] ;
18481 if (!args
) SWIG_fail
;
18482 swig_obj
[0] = args
;
18483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18484 if (!SWIG_IsOK(res1
)) {
18485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
18487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_From_int(static_cast< int >(result
));
18501 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18502 PyObject
*resultobj
= 0;
18503 wxDC
*arg1
= (wxDC
*) 0 ;
18507 PyObject
*swig_obj
[1] ;
18509 if (!args
) SWIG_fail
;
18510 swig_obj
[0] = args
;
18511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18512 if (!SWIG_IsOK(res1
)) {
18513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
18515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_From_int(static_cast< int >(result
));
18529 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= 0;
18531 wxDC
*arg1
= (wxDC
*) 0 ;
18532 wxString
*arg2
= 0 ;
18533 int *arg3
= (int *) 0 ;
18534 int *arg4
= (int *) 0 ;
18537 bool temp2
= false ;
18539 int res3
= SWIG_TMPOBJ
;
18541 int res4
= SWIG_TMPOBJ
;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 char * kwnames
[] = {
18545 (char *) "self",(char *) "string", NULL
18550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18552 if (!SWIG_IsOK(res1
)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18557 arg2
= wxString_in_helper(obj1
);
18558 if (arg2
== NULL
) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= SWIG_Py_Void();
18568 if (SWIG_IsTmpObj(res3
)) {
18569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18571 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18574 if (SWIG_IsTmpObj(res4
)) {
18575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18577 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18594 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
= 0;
18596 wxDC
*arg1
= (wxDC
*) 0 ;
18597 wxString
*arg2
= 0 ;
18598 int *arg3
= (int *) 0 ;
18599 int *arg4
= (int *) 0 ;
18600 int *arg5
= (int *) 0 ;
18601 int *arg6
= (int *) 0 ;
18602 wxFont
*arg7
= (wxFont
*) NULL
;
18605 bool temp2
= false ;
18607 int res3
= SWIG_TMPOBJ
;
18609 int res4
= SWIG_TMPOBJ
;
18611 int res5
= SWIG_TMPOBJ
;
18613 int res6
= SWIG_TMPOBJ
;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 PyObject
* obj2
= 0 ;
18619 char * kwnames
[] = {
18620 (char *) "self",(char *) "string",(char *) "font", NULL
18627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18629 if (!SWIG_IsOK(res1
)) {
18630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18634 arg2
= wxString_in_helper(obj1
);
18635 if (arg2
== NULL
) SWIG_fail
;
18639 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
18640 if (!SWIG_IsOK(res7
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
18643 arg7
= reinterpret_cast< wxFont
* >(argp7
);
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_Py_Void();
18652 if (SWIG_IsTmpObj(res3
)) {
18653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18655 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18658 if (SWIG_IsTmpObj(res4
)) {
18659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18661 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18664 if (SWIG_IsTmpObj(res5
)) {
18665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18667 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18670 if (SWIG_IsTmpObj(res6
)) {
18671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18673 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18690 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
= 0;
18692 wxDC
*arg1
= (wxDC
*) 0 ;
18693 wxString
*arg2
= 0 ;
18694 int *arg3
= (int *) 0 ;
18695 int *arg4
= (int *) 0 ;
18696 int *arg5
= (int *) 0 ;
18697 wxFont
*arg6
= (wxFont
*) NULL
;
18700 bool temp2
= false ;
18702 int res3
= SWIG_TMPOBJ
;
18704 int res4
= SWIG_TMPOBJ
;
18706 int res5
= SWIG_TMPOBJ
;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18711 PyObject
* obj2
= 0 ;
18712 char * kwnames
[] = {
18713 (char *) "self",(char *) "text",(char *) "font", NULL
18719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18721 if (!SWIG_IsOK(res1
)) {
18722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18726 arg2
= wxString_in_helper(obj1
);
18727 if (arg2
== NULL
) SWIG_fail
;
18731 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18732 if (!SWIG_IsOK(res6
)) {
18733 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18735 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_Py_Void();
18744 if (SWIG_IsTmpObj(res3
)) {
18745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18747 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18750 if (SWIG_IsTmpObj(res4
)) {
18751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18753 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18756 if (SWIG_IsTmpObj(res5
)) {
18757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18759 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18776 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
= 0;
18778 wxDC
*arg1
= (wxDC
*) 0 ;
18779 wxString
*arg2
= 0 ;
18783 bool temp2
= false ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char * kwnames
[] = {
18787 (char *) "self",(char *) "text", NULL
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18797 arg2
= wxString_in_helper(obj1
);
18798 if (arg2
== NULL
) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= PyList_New(0);
18810 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18811 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18812 PyList_Append(resultobj
, val
);
18830 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18831 PyObject
*resultobj
= 0;
18832 wxDC
*arg1
= (wxDC
*) 0 ;
18836 PyObject
*swig_obj
[1] ;
18838 if (!args
) SWIG_fail
;
18839 swig_obj
[0] = args
;
18840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18841 if (!SWIG_IsOK(res1
)) {
18842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (arg1
)->GetSize();
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18858 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18859 PyObject
*resultobj
= 0;
18860 wxDC
*arg1
= (wxDC
*) 0 ;
18861 int *arg2
= (int *) 0 ;
18862 int *arg3
= (int *) 0 ;
18866 int res2
= SWIG_TMPOBJ
;
18868 int res3
= SWIG_TMPOBJ
;
18869 PyObject
*swig_obj
[1] ;
18873 if (!args
) SWIG_fail
;
18874 swig_obj
[0] = args
;
18875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18876 if (!SWIG_IsOK(res1
)) {
18877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 (arg1
)->GetSize(arg2
,arg3
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_Py_Void();
18887 if (SWIG_IsTmpObj(res2
)) {
18888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18890 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18893 if (SWIG_IsTmpObj(res3
)) {
18894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18896 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18905 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18906 PyObject
*resultobj
= 0;
18907 wxDC
*arg1
= (wxDC
*) 0 ;
18911 PyObject
*swig_obj
[1] ;
18913 if (!args
) SWIG_fail
;
18914 swig_obj
[0] = args
;
18915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18916 if (!SWIG_IsOK(res1
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18933 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18934 PyObject
*resultobj
= 0;
18935 wxDC
*arg1
= (wxDC
*) 0 ;
18936 int *arg2
= (int *) 0 ;
18937 int *arg3
= (int *) 0 ;
18941 int res2
= SWIG_TMPOBJ
;
18943 int res3
= SWIG_TMPOBJ
;
18944 PyObject
*swig_obj
[1] ;
18948 if (!args
) SWIG_fail
;
18949 swig_obj
[0] = args
;
18950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18951 if (!SWIG_IsOK(res1
)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_Py_Void();
18962 if (SWIG_IsTmpObj(res2
)) {
18963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18965 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18968 if (SWIG_IsTmpObj(res3
)) {
18969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18971 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18980 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
= 0;
18982 wxDC
*arg1
= (wxDC
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char * kwnames
[] = {
18992 (char *) "self",(char *) "x", NULL
18995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18997 if (!SWIG_IsOK(res1
)) {
18998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
19000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19002 if (!SWIG_IsOK(ecode2
)) {
19003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
19005 arg2
= static_cast< int >(val2
);
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= SWIG_From_int(static_cast< int >(result
));
19019 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
= 0;
19021 wxDC
*arg1
= (wxDC
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 char * kwnames
[] = {
19031 (char *) "self",(char *) "y", NULL
19034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19036 if (!SWIG_IsOK(res1
)) {
19037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
19039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19041 if (!SWIG_IsOK(ecode2
)) {
19042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
19044 arg2
= static_cast< int >(val2
);
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_From_int(static_cast< int >(result
));
19058 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
= 0;
19060 wxDC
*arg1
= (wxDC
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 char * kwnames
[] = {
19070 (char *) "self",(char *) "x", NULL
19073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19075 if (!SWIG_IsOK(res1
)) {
19076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19080 if (!SWIG_IsOK(ecode2
)) {
19081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
19083 arg2
= static_cast< int >(val2
);
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= SWIG_From_int(static_cast< int >(result
));
19097 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
= 0;
19099 wxDC
*arg1
= (wxDC
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char * kwnames
[] = {
19109 (char *) "self",(char *) "y", NULL
19112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19114 if (!SWIG_IsOK(res1
)) {
19115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19119 if (!SWIG_IsOK(ecode2
)) {
19120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
19122 arg2
= static_cast< int >(val2
);
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_From_int(static_cast< int >(result
));
19136 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= 0;
19138 wxDC
*arg1
= (wxDC
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char * kwnames
[] = {
19148 (char *) "self",(char *) "x", NULL
19151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19153 if (!SWIG_IsOK(res1
)) {
19154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
19156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19158 if (!SWIG_IsOK(ecode2
)) {
19159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
19161 arg2
= static_cast< int >(val2
);
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_From_int(static_cast< int >(result
));
19175 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
= 0;
19177 wxDC
*arg1
= (wxDC
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char * kwnames
[] = {
19187 (char *) "self",(char *) "y", NULL
19190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19192 if (!SWIG_IsOK(res1
)) {
19193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
19195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19197 if (!SWIG_IsOK(ecode2
)) {
19198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
19200 arg2
= static_cast< int >(val2
);
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 resultobj
= SWIG_From_int(static_cast< int >(result
));
19214 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
= 0;
19216 wxDC
*arg1
= (wxDC
*) 0 ;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char * kwnames
[] = {
19226 (char *) "self",(char *) "x", NULL
19229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19231 if (!SWIG_IsOK(res1
)) {
19232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19234 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19236 if (!SWIG_IsOK(ecode2
)) {
19237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
19239 arg2
= static_cast< int >(val2
);
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= SWIG_From_int(static_cast< int >(result
));
19253 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
= 0;
19255 wxDC
*arg1
= (wxDC
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char * kwnames
[] = {
19265 (char *) "self",(char *) "y", NULL
19268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19270 if (!SWIG_IsOK(res1
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19275 if (!SWIG_IsOK(ecode2
)) {
19276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
19278 arg2
= static_cast< int >(val2
);
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_From_int(static_cast< int >(result
));
19292 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19293 PyObject
*resultobj
= 0;
19294 wxDC
*arg1
= (wxDC
*) 0 ;
19298 PyObject
*swig_obj
[1] ;
19300 if (!args
) SWIG_fail
;
19301 swig_obj
[0] = args
;
19302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19303 if (!SWIG_IsOK(res1
)) {
19304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19322 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19323 PyObject
*resultobj
= 0;
19324 wxDC
*arg1
= (wxDC
*) 0 ;
19328 PyObject
*swig_obj
[1] ;
19330 if (!args
) SWIG_fail
;
19331 swig_obj
[0] = args
;
19332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19333 if (!SWIG_IsOK(res1
)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
19336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19352 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19353 PyObject
*resultobj
= 0;
19354 wxDC
*arg1
= (wxDC
*) 0 ;
19358 PyObject
*swig_obj
[1] ;
19360 if (!args
) SWIG_fail
;
19361 swig_obj
[0] = args
;
19362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19363 if (!SWIG_IsOK(res1
)) {
19364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
19366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 result
= (int)((wxDC
const *)arg1
)->GetDepth();
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= SWIG_From_int(static_cast< int >(result
));
19380 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19381 PyObject
*resultobj
= 0;
19382 wxDC
*arg1
= (wxDC
*) 0 ;
19386 PyObject
*swig_obj
[1] ;
19388 if (!args
) SWIG_fail
;
19389 swig_obj
[0] = args
;
19390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19391 if (!SWIG_IsOK(res1
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
19394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 result
= ((wxDC
const *)arg1
)->GetPPI();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19408 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19409 PyObject
*resultobj
= 0;
19410 wxDC
*arg1
= (wxDC
*) 0 ;
19414 PyObject
*swig_obj
[1] ;
19416 if (!args
) SWIG_fail
;
19417 swig_obj
[0] = args
;
19418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19419 if (!SWIG_IsOK(res1
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
19422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (bool)((wxDC
const *)arg1
)->Ok();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19438 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19439 PyObject
*resultobj
= 0;
19440 wxDC
*arg1
= (wxDC
*) 0 ;
19444 PyObject
*swig_obj
[1] ;
19446 if (!args
) SWIG_fail
;
19447 swig_obj
[0] = args
;
19448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19449 if (!SWIG_IsOK(res1
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_From_int(static_cast< int >(result
));
19466 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19467 PyObject
*resultobj
= 0;
19468 wxDC
*arg1
= (wxDC
*) 0 ;
19469 wxBrush
*result
= 0 ;
19472 PyObject
*swig_obj
[1] ;
19474 if (!args
) SWIG_fail
;
19475 swig_obj
[0] = args
;
19476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19477 if (!SWIG_IsOK(res1
)) {
19478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
19485 result
= (wxBrush
*) &_result_ref
;
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 wxBrush
* resultptr
= new wxBrush(*result
);
19492 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19500 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19501 PyObject
*resultobj
= 0;
19502 wxDC
*arg1
= (wxDC
*) 0 ;
19503 wxBrush
*result
= 0 ;
19506 PyObject
*swig_obj
[1] ;
19508 if (!args
) SWIG_fail
;
19509 swig_obj
[0] = args
;
19510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19511 if (!SWIG_IsOK(res1
)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
19514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
19519 result
= (wxBrush
*) &_result_ref
;
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19525 wxBrush
* resultptr
= new wxBrush(*result
);
19526 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19534 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19535 PyObject
*resultobj
= 0;
19536 wxDC
*arg1
= (wxDC
*) 0 ;
19537 wxFont
*result
= 0 ;
19540 PyObject
*swig_obj
[1] ;
19542 if (!args
) SWIG_fail
;
19543 swig_obj
[0] = args
;
19544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19545 if (!SWIG_IsOK(res1
)) {
19546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
19548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
19553 result
= (wxFont
*) &_result_ref
;
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19559 wxFont
* resultptr
= new wxFont(*result
);
19560 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19568 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19569 PyObject
*resultobj
= 0;
19570 wxDC
*arg1
= (wxDC
*) 0 ;
19571 wxPen
*result
= 0 ;
19574 PyObject
*swig_obj
[1] ;
19576 if (!args
) SWIG_fail
;
19577 swig_obj
[0] = args
;
19578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19579 if (!SWIG_IsOK(res1
)) {
19580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
19582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
19587 result
= (wxPen
*) &_result_ref
;
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 wxPen
* resultptr
= new wxPen(*result
);
19594 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
19602 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19603 PyObject
*resultobj
= 0;
19604 wxDC
*arg1
= (wxDC
*) 0 ;
19605 wxColour
*result
= 0 ;
19608 PyObject
*swig_obj
[1] ;
19610 if (!args
) SWIG_fail
;
19611 swig_obj
[0] = args
;
19612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19613 if (!SWIG_IsOK(res1
)) {
19614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
19621 result
= (wxColour
*) &_result_ref
;
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19633 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19634 PyObject
*resultobj
= 0;
19635 wxDC
*arg1
= (wxDC
*) 0 ;
19636 wxColour
*result
= 0 ;
19639 PyObject
*swig_obj
[1] ;
19641 if (!args
) SWIG_fail
;
19642 swig_obj
[0] = args
;
19643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19644 if (!SWIG_IsOK(res1
)) {
19645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
19647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
19652 result
= (wxColour
*) &_result_ref
;
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19664 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
= 0;
19666 wxDC
*arg1
= (wxDC
*) 0 ;
19667 wxColour
*arg2
= 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "colour", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19685 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_Py_Void();
19700 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
= 0;
19702 wxDC
*arg1
= (wxDC
*) 0 ;
19703 wxColour
*arg2
= 0 ;
19707 PyObject
* obj0
= 0 ;
19708 PyObject
* obj1
= 0 ;
19709 char * kwnames
[] = {
19710 (char *) "self",(char *) "colour", NULL
19713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19715 if (!SWIG_IsOK(res1
)) {
19716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19721 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_Py_Void();
19736 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19737 PyObject
*resultobj
= 0;
19738 wxDC
*arg1
= (wxDC
*) 0 ;
19742 PyObject
*swig_obj
[1] ;
19744 if (!args
) SWIG_fail
;
19745 swig_obj
[0] = args
;
19746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19747 if (!SWIG_IsOK(res1
)) {
19748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= SWIG_From_int(static_cast< int >(result
));
19764 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
= 0;
19766 wxDC
*arg1
= (wxDC
*) 0 ;
19772 PyObject
* obj0
= 0 ;
19773 PyObject
* obj1
= 0 ;
19774 char * kwnames
[] = {
19775 (char *) "self",(char *) "mode", NULL
19778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19780 if (!SWIG_IsOK(res1
)) {
19781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19785 if (!SWIG_IsOK(ecode2
)) {
19786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19788 arg2
= static_cast< int >(val2
);
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 (arg1
)->SetMapMode(arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_Py_Void();
19802 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19803 PyObject
*resultobj
= 0;
19804 wxDC
*arg1
= (wxDC
*) 0 ;
19805 double *arg2
= (double *) 0 ;
19806 double *arg3
= (double *) 0 ;
19810 int res2
= SWIG_TMPOBJ
;
19812 int res3
= SWIG_TMPOBJ
;
19813 PyObject
*swig_obj
[1] ;
19817 if (!args
) SWIG_fail
;
19818 swig_obj
[0] = args
;
19819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19820 if (!SWIG_IsOK(res1
)) {
19821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= SWIG_Py_Void();
19831 if (SWIG_IsTmpObj(res2
)) {
19832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19834 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19837 if (SWIG_IsTmpObj(res3
)) {
19838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19840 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19849 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
= 0;
19851 wxDC
*arg1
= (wxDC
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 PyObject
* obj1
= 0 ;
19862 PyObject
* obj2
= 0 ;
19863 char * kwnames
[] = {
19864 (char *) "self",(char *) "x",(char *) "y", NULL
19867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19869 if (!SWIG_IsOK(res1
)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19873 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19874 if (!SWIG_IsOK(ecode2
)) {
19875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19877 arg2
= static_cast< double >(val2
);
19878 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19879 if (!SWIG_IsOK(ecode3
)) {
19880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19882 arg3
= static_cast< double >(val3
);
19884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19885 (arg1
)->SetUserScale(arg2
,arg3
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= SWIG_Py_Void();
19896 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19897 PyObject
*resultobj
= 0;
19898 wxDC
*arg1
= (wxDC
*) 0 ;
19899 double *arg2
= (double *) 0 ;
19900 double *arg3
= (double *) 0 ;
19904 int res2
= SWIG_TMPOBJ
;
19906 int res3
= SWIG_TMPOBJ
;
19907 PyObject
*swig_obj
[1] ;
19911 if (!args
) SWIG_fail
;
19912 swig_obj
[0] = args
;
19913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19914 if (!SWIG_IsOK(res1
)) {
19915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 (arg1
)->GetLogicalScale(arg2
,arg3
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= SWIG_Py_Void();
19925 if (SWIG_IsTmpObj(res2
)) {
19926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19928 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19931 if (SWIG_IsTmpObj(res3
)) {
19932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19934 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19943 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
= 0;
19945 wxDC
*arg1
= (wxDC
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 PyObject
* obj1
= 0 ;
19956 PyObject
* obj2
= 0 ;
19957 char * kwnames
[] = {
19958 (char *) "self",(char *) "x",(char *) "y", NULL
19961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19963 if (!SWIG_IsOK(res1
)) {
19964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19967 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19968 if (!SWIG_IsOK(ecode2
)) {
19969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19971 arg2
= static_cast< double >(val2
);
19972 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19973 if (!SWIG_IsOK(ecode3
)) {
19974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19976 arg3
= static_cast< double >(val3
);
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->SetLogicalScale(arg2
,arg3
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= SWIG_Py_Void();
19990 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19991 PyObject
*resultobj
= 0;
19992 wxDC
*arg1
= (wxDC
*) 0 ;
19996 PyObject
*swig_obj
[1] ;
19998 if (!args
) SWIG_fail
;
19999 swig_obj
[0] = args
;
20000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20001 if (!SWIG_IsOK(res1
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20018 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20019 PyObject
*resultobj
= 0;
20020 wxDC
*arg1
= (wxDC
*) 0 ;
20021 int *arg2
= (int *) 0 ;
20022 int *arg3
= (int *) 0 ;
20026 int res2
= SWIG_TMPOBJ
;
20028 int res3
= SWIG_TMPOBJ
;
20029 PyObject
*swig_obj
[1] ;
20033 if (!args
) SWIG_fail
;
20034 swig_obj
[0] = args
;
20035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20036 if (!SWIG_IsOK(res1
)) {
20037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_Py_Void();
20047 if (SWIG_IsTmpObj(res2
)) {
20048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20050 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20053 if (SWIG_IsTmpObj(res3
)) {
20054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20056 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20065 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= 0;
20067 wxDC
*arg1
= (wxDC
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 PyObject
* obj2
= 0 ;
20079 char * kwnames
[] = {
20080 (char *) "self",(char *) "x",(char *) "y", NULL
20083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20085 if (!SWIG_IsOK(res1
)) {
20086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20090 if (!SWIG_IsOK(ecode2
)) {
20091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
20093 arg2
= static_cast< int >(val2
);
20094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20095 if (!SWIG_IsOK(ecode3
)) {
20096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
20098 arg3
= static_cast< int >(val3
);
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= SWIG_Py_Void();
20112 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
= 0;
20114 wxDC
*arg1
= (wxDC
*) 0 ;
20115 wxPoint
*arg2
= 0 ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char * kwnames
[] = {
20122 (char *) "self",(char *) "point", NULL
20125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20127 if (!SWIG_IsOK(res1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_Py_Void();
20148 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20149 PyObject
*resultobj
= 0;
20150 wxDC
*arg1
= (wxDC
*) 0 ;
20154 PyObject
*swig_obj
[1] ;
20156 if (!args
) SWIG_fail
;
20157 swig_obj
[0] = args
;
20158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20159 if (!SWIG_IsOK(res1
)) {
20160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20176 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20177 PyObject
*resultobj
= 0;
20178 wxDC
*arg1
= (wxDC
*) 0 ;
20179 int *arg2
= (int *) 0 ;
20180 int *arg3
= (int *) 0 ;
20184 int res2
= SWIG_TMPOBJ
;
20186 int res3
= SWIG_TMPOBJ
;
20187 PyObject
*swig_obj
[1] ;
20191 if (!args
) SWIG_fail
;
20192 swig_obj
[0] = args
;
20193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20194 if (!SWIG_IsOK(res1
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_Py_Void();
20205 if (SWIG_IsTmpObj(res2
)) {
20206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20208 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20211 if (SWIG_IsTmpObj(res3
)) {
20212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20214 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20223 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
= 0;
20225 wxDC
*arg1
= (wxDC
*) 0 ;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 PyObject
* obj2
= 0 ;
20237 char * kwnames
[] = {
20238 (char *) "self",(char *) "x",(char *) "y", NULL
20241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20243 if (!SWIG_IsOK(res1
)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20248 if (!SWIG_IsOK(ecode2
)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
20251 arg2
= static_cast< int >(val2
);
20252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20253 if (!SWIG_IsOK(ecode3
)) {
20254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
20256 arg3
= static_cast< int >(val3
);
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_Py_Void();
20270 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
= 0;
20272 wxDC
*arg1
= (wxDC
*) 0 ;
20273 wxPoint
*arg2
= 0 ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char * kwnames
[] = {
20280 (char *) "self",(char *) "point", NULL
20283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20285 if (!SWIG_IsOK(res1
)) {
20286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20291 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_Py_Void();
20306 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
= 0;
20308 wxDC
*arg1
= (wxDC
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 PyObject
* obj2
= 0 ;
20320 char * kwnames
[] = {
20321 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
20324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20326 if (!SWIG_IsOK(res1
)) {
20327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
20329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20330 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20331 if (!SWIG_IsOK(ecode2
)) {
20332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
20334 arg2
= static_cast< bool >(val2
);
20335 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20336 if (!SWIG_IsOK(ecode3
)) {
20337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
20339 arg3
= static_cast< bool >(val3
);
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 (arg1
)->SetAxisOrientation(arg2
,arg3
);
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_Py_Void();
20353 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20354 PyObject
*resultobj
= 0;
20355 wxDC
*arg1
= (wxDC
*) 0 ;
20359 PyObject
*swig_obj
[1] ;
20361 if (!args
) SWIG_fail
;
20362 swig_obj
[0] = args
;
20363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20364 if (!SWIG_IsOK(res1
)) {
20365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
20367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_From_int(static_cast< int >(result
));
20381 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
= 0;
20383 wxDC
*arg1
= (wxDC
*) 0 ;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 char * kwnames
[] = {
20392 (char *) "self",(char *) "function", NULL
20395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20397 if (!SWIG_IsOK(res1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
20400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20402 if (!SWIG_IsOK(ecode2
)) {
20403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
20405 arg2
= static_cast< int >(val2
);
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 (arg1
)->SetLogicalFunction(arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_Py_Void();
20419 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20420 PyObject
*resultobj
= 0;
20421 wxDC
*arg1
= (wxDC
*) 0 ;
20424 PyObject
*swig_obj
[1] ;
20426 if (!args
) SWIG_fail
;
20427 swig_obj
[0] = args
;
20428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20429 if (!SWIG_IsOK(res1
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 (arg1
)->ComputeScaleAndOrigin();
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= SWIG_Py_Void();
20446 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
= 0;
20448 wxDC
*arg1
= (wxDC
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 char * kwnames
[] = {
20461 (char *) "self",(char *) "x",(char *) "y", NULL
20464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20466 if (!SWIG_IsOK(res1
)) {
20467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20471 if (!SWIG_IsOK(ecode2
)) {
20472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
20474 arg2
= static_cast< int >(val2
);
20475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20476 if (!SWIG_IsOK(ecode3
)) {
20477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
20479 arg3
= static_cast< int >(val3
);
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 (arg1
)->CalcBoundingBox(arg2
,arg3
);
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20486 resultobj
= SWIG_Py_Void();
20493 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
= 0;
20495 wxDC
*arg1
= (wxDC
*) 0 ;
20496 wxPoint
*arg2
= 0 ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 char * kwnames
[] = {
20503 (char *) "self",(char *) "point", NULL
20506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20508 if (!SWIG_IsOK(res1
)) {
20509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_Py_Void();
20529 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20530 PyObject
*resultobj
= 0;
20531 wxDC
*arg1
= (wxDC
*) 0 ;
20534 PyObject
*swig_obj
[1] ;
20536 if (!args
) SWIG_fail
;
20537 swig_obj
[0] = args
;
20538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20539 if (!SWIG_IsOK(res1
)) {
20540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 (arg1
)->ResetBoundingBox();
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_Py_Void();
20556 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20557 PyObject
*resultobj
= 0;
20558 wxDC
*arg1
= (wxDC
*) 0 ;
20562 PyObject
*swig_obj
[1] ;
20564 if (!args
) SWIG_fail
;
20565 swig_obj
[0] = args
;
20566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20567 if (!SWIG_IsOK(res1
)) {
20568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
20570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (int)((wxDC
const *)arg1
)->MinX();
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_From_int(static_cast< int >(result
));
20584 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20585 PyObject
*resultobj
= 0;
20586 wxDC
*arg1
= (wxDC
*) 0 ;
20590 PyObject
*swig_obj
[1] ;
20592 if (!args
) SWIG_fail
;
20593 swig_obj
[0] = args
;
20594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20595 if (!SWIG_IsOK(res1
)) {
20596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
20598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (int)((wxDC
const *)arg1
)->MaxX();
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= SWIG_From_int(static_cast< int >(result
));
20612 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20613 PyObject
*resultobj
= 0;
20614 wxDC
*arg1
= (wxDC
*) 0 ;
20618 PyObject
*swig_obj
[1] ;
20620 if (!args
) SWIG_fail
;
20621 swig_obj
[0] = args
;
20622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20623 if (!SWIG_IsOK(res1
)) {
20624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
20626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (int)((wxDC
const *)arg1
)->MinY();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_From_int(static_cast< int >(result
));
20640 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20641 PyObject
*resultobj
= 0;
20642 wxDC
*arg1
= (wxDC
*) 0 ;
20646 PyObject
*swig_obj
[1] ;
20648 if (!args
) SWIG_fail
;
20649 swig_obj
[0] = args
;
20650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20651 if (!SWIG_IsOK(res1
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
20654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (int)((wxDC
const *)arg1
)->MaxY();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_From_int(static_cast< int >(result
));
20668 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20669 PyObject
*resultobj
= 0;
20670 wxDC
*arg1
= (wxDC
*) 0 ;
20671 int *arg2
= (int *) 0 ;
20672 int *arg3
= (int *) 0 ;
20673 int *arg4
= (int *) 0 ;
20674 int *arg5
= (int *) 0 ;
20678 int res2
= SWIG_TMPOBJ
;
20680 int res3
= SWIG_TMPOBJ
;
20682 int res4
= SWIG_TMPOBJ
;
20684 int res5
= SWIG_TMPOBJ
;
20685 PyObject
*swig_obj
[1] ;
20691 if (!args
) SWIG_fail
;
20692 swig_obj
[0] = args
;
20693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20694 if (!SWIG_IsOK(res1
)) {
20695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20704 resultobj
= SWIG_Py_Void();
20705 if (SWIG_IsTmpObj(res2
)) {
20706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20708 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20711 if (SWIG_IsTmpObj(res3
)) {
20712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20714 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20717 if (SWIG_IsTmpObj(res4
)) {
20718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20720 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20723 if (SWIG_IsTmpObj(res5
)) {
20724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20726 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20735 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20736 PyObject
*resultobj
= 0;
20737 wxDC
*arg1
= (wxDC
*) 0 ;
20741 PyObject
*swig_obj
[1] ;
20743 if (!args
) SWIG_fail
;
20744 swig_obj
[0] = args
;
20745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20746 if (!SWIG_IsOK(res1
)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
20749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (long)(arg1
)->GetHDC();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_From_long(static_cast< long >(result
));
20763 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
= 0;
20765 wxDC
*arg1
= (wxDC
*) 0 ;
20766 PyObject
*arg2
= (PyObject
*) 0 ;
20767 PyObject
*arg3
= (PyObject
*) 0 ;
20768 PyObject
*arg4
= (PyObject
*) 0 ;
20769 PyObject
*result
= 0 ;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20774 PyObject
* obj2
= 0 ;
20775 PyObject
* obj3
= 0 ;
20776 char * kwnames
[] = {
20777 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20782 if (!SWIG_IsOK(res1
)) {
20783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= result
;
20802 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
= 0;
20804 wxDC
*arg1
= (wxDC
*) 0 ;
20805 PyObject
*arg2
= (PyObject
*) 0 ;
20806 PyObject
*arg3
= (PyObject
*) 0 ;
20807 PyObject
*arg4
= (PyObject
*) 0 ;
20808 PyObject
*result
= 0 ;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20813 PyObject
* obj2
= 0 ;
20814 PyObject
* obj3
= 0 ;
20815 char * kwnames
[] = {
20816 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20821 if (!SWIG_IsOK(res1
)) {
20822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= result
;
20841 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
= 0;
20843 wxDC
*arg1
= (wxDC
*) 0 ;
20844 PyObject
*arg2
= (PyObject
*) 0 ;
20845 PyObject
*arg3
= (PyObject
*) 0 ;
20846 PyObject
*arg4
= (PyObject
*) 0 ;
20847 PyObject
*result
= 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 PyObject
* obj2
= 0 ;
20853 PyObject
* obj3
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= result
;
20880 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
= 0;
20882 wxDC
*arg1
= (wxDC
*) 0 ;
20883 PyObject
*arg2
= (PyObject
*) 0 ;
20884 PyObject
*arg3
= (PyObject
*) 0 ;
20885 PyObject
*arg4
= (PyObject
*) 0 ;
20886 PyObject
*result
= 0 ;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 PyObject
* obj2
= 0 ;
20892 PyObject
* obj3
= 0 ;
20893 char * kwnames
[] = {
20894 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20899 if (!SWIG_IsOK(res1
)) {
20900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= result
;
20919 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
= 0;
20921 wxDC
*arg1
= (wxDC
*) 0 ;
20922 PyObject
*arg2
= (PyObject
*) 0 ;
20923 PyObject
*arg3
= (PyObject
*) 0 ;
20924 PyObject
*arg4
= (PyObject
*) 0 ;
20925 PyObject
*result
= 0 ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 PyObject
* obj2
= 0 ;
20931 PyObject
* obj3
= 0 ;
20932 char * kwnames
[] = {
20933 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20938 if (!SWIG_IsOK(res1
)) {
20939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= result
;
20958 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
= 0;
20960 wxDC
*arg1
= (wxDC
*) 0 ;
20961 PyObject
*arg2
= (PyObject
*) 0 ;
20962 PyObject
*arg3
= (PyObject
*) 0 ;
20963 PyObject
*arg4
= (PyObject
*) 0 ;
20964 PyObject
*arg5
= (PyObject
*) 0 ;
20965 PyObject
*result
= 0 ;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 PyObject
* obj2
= 0 ;
20971 PyObject
* obj3
= 0 ;
20972 PyObject
* obj4
= 0 ;
20973 char * kwnames
[] = {
20974 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20979 if (!SWIG_IsOK(res1
)) {
20980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= result
;
21000 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21003 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
21004 return SWIG_Py_Void();
21007 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21008 PyObject
*resultobj
= 0;
21009 wxMemoryDC
*result
= 0 ;
21011 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
21013 if (!wxPyCheckForApp()) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (wxMemoryDC
*)new wxMemoryDC();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
21026 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
= 0;
21028 wxDC
*arg1
= (wxDC
*) 0 ;
21029 wxMemoryDC
*result
= 0 ;
21032 PyObject
* obj0
= 0 ;
21033 char * kwnames
[] = {
21034 (char *) "oldDC", NULL
21037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
21038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21039 if (!SWIG_IsOK(res1
)) {
21040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
21042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21044 if (!wxPyCheckForApp()) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
21057 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
= 0;
21059 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
21060 wxBitmap
*arg2
= 0 ;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 char * kwnames
[] = {
21068 (char *) "self",(char *) "bitmap", NULL
21071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
21073 if (!SWIG_IsOK(res1
)) {
21074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
21076 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
21077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21078 if (!SWIG_IsOK(res2
)) {
21079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21084 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_Py_Void();
21098 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21101 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
21102 return SWIG_Py_Void();
21105 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21106 return SWIG_Python_InitShadowInstance(args
);
21109 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21110 PyObject
*resultobj
= 0;
21111 wxDC
*arg1
= (wxDC
*) 0 ;
21112 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21113 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21114 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21115 wxBufferedDC
*result
= 0 ;
21123 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
21124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21125 if (!SWIG_IsOK(res1
)) {
21126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21130 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21131 if (!SWIG_IsOK(res2
)) {
21132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21137 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21140 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21141 if (!SWIG_IsOK(ecode3
)) {
21142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21144 arg3
= static_cast< int >(val3
);
21147 if (!wxPyCheckForApp()) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21160 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21161 PyObject
*resultobj
= 0;
21162 wxDC
*arg1
= (wxDC
*) 0 ;
21164 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21165 wxBufferedDC
*result
= 0 ;
21172 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
21173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21174 if (!SWIG_IsOK(res1
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21180 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
21183 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21184 if (!SWIG_IsOK(ecode3
)) {
21185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21187 arg3
= static_cast< int >(val3
);
21190 if (!wxPyCheckForApp()) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21203 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
21207 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
21209 if ((argc
>= 1) && (argc
<= 3)) {
21213 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
21214 _v
= SWIG_CheckState(res
);
21216 if (!_v
) goto check_1
;
21218 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
21222 if ((argc
>= 2) && (argc
<= 3)) {
21223 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
21227 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
21232 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21233 PyObject
*resultobj
= 0;
21234 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21237 PyObject
*swig_obj
[1] ;
21239 if (!args
) SWIG_fail
;
21240 swig_obj
[0] = args
;
21241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
21242 if (!SWIG_IsOK(res1
)) {
21243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21245 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= SWIG_Py_Void();
21260 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21261 PyObject
*resultobj
= 0;
21262 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21265 PyObject
*swig_obj
[1] ;
21267 if (!args
) SWIG_fail
;
21268 swig_obj
[0] = args
;
21269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
21270 if (!SWIG_IsOK(res1
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21273 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_Py_Void();
21287 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21290 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
21291 return SWIG_Py_Void();
21294 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 return SWIG_Python_InitShadowInstance(args
);
21298 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
= 0;
21300 wxWindow
*arg1
= (wxWindow
*) 0 ;
21301 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21302 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21303 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21304 wxBufferedPaintDC
*result
= 0 ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 PyObject
* obj2
= 0 ;
21314 char * kwnames
[] = {
21315 (char *) "window",(char *) "buffer",(char *) "style", NULL
21318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21320 if (!SWIG_IsOK(res1
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21323 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21326 if (!SWIG_IsOK(res2
)) {
21327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21332 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21336 if (!SWIG_IsOK(ecode3
)) {
21337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
21339 arg3
= static_cast< int >(val3
);
21342 if (!wxPyCheckForApp()) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
21355 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21358 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
21359 return SWIG_Py_Void();
21362 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21363 return SWIG_Python_InitShadowInstance(args
);
21366 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21367 PyObject
*resultobj
= 0;
21368 wxScreenDC
*result
= 0 ;
21370 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
21372 if (!wxPyCheckForApp()) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 result
= (wxScreenDC
*)new wxScreenDC();
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
21385 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
= 0;
21387 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21388 wxWindow
*arg2
= (wxWindow
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21396 char * kwnames
[] = {
21397 (char *) "self",(char *) "window", NULL
21400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21402 if (!SWIG_IsOK(res1
)) {
21403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21405 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21407 if (!SWIG_IsOK(res2
)) {
21408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
21410 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21426 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
= 0;
21428 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21429 wxRect
*arg2
= (wxRect
*) NULL
;
21435 PyObject
* obj0
= 0 ;
21436 PyObject
* obj1
= 0 ;
21437 char * kwnames
[] = {
21438 (char *) "self",(char *) "rect", NULL
21441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21443 if (!SWIG_IsOK(res1
)) {
21444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21446 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21449 if (!SWIG_IsOK(res2
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
21452 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21469 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21470 PyObject
*resultobj
= 0;
21471 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21475 PyObject
*swig_obj
[1] ;
21477 if (!args
) SWIG_fail
;
21478 swig_obj
[0] = args
;
21479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21480 if (!SWIG_IsOK(res1
)) {
21481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21483 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (bool)(arg1
)->EndDrawingOnTop();
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21499 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21502 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
21503 return SWIG_Py_Void();
21506 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21507 return SWIG_Python_InitShadowInstance(args
);
21510 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
= 0;
21512 wxWindow
*arg1
= (wxWindow
*) 0 ;
21513 wxClientDC
*result
= 0 ;
21516 PyObject
* obj0
= 0 ;
21517 char * kwnames
[] = {
21518 (char *) "win", NULL
21521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
21522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21523 if (!SWIG_IsOK(res1
)) {
21524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21526 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21528 if (!wxPyCheckForApp()) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (wxClientDC
*)new wxClientDC(arg1
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
21541 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21544 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
21545 return SWIG_Py_Void();
21548 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21549 return SWIG_Python_InitShadowInstance(args
);
21552 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
= 0;
21554 wxWindow
*arg1
= (wxWindow
*) 0 ;
21555 wxPaintDC
*result
= 0 ;
21558 PyObject
* obj0
= 0 ;
21559 char * kwnames
[] = {
21560 (char *) "win", NULL
21563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
21564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21565 if (!SWIG_IsOK(res1
)) {
21566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21570 if (!wxPyCheckForApp()) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
21583 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
21587 return SWIG_Py_Void();
21590 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21591 return SWIG_Python_InitShadowInstance(args
);
21594 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
= 0;
21596 wxWindow
*arg1
= (wxWindow
*) 0 ;
21597 wxWindowDC
*result
= 0 ;
21600 PyObject
* obj0
= 0 ;
21601 char * kwnames
[] = {
21602 (char *) "win", NULL
21605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
21606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21607 if (!SWIG_IsOK(res1
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21610 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21612 if (!wxPyCheckForApp()) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
21625 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21628 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
21629 return SWIG_Py_Void();
21632 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21633 return SWIG_Python_InitShadowInstance(args
);
21636 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
= 0;
21640 wxMirrorDC
*result
= 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char * kwnames
[] = {
21648 (char *) "dc",(char *) "mirror", NULL
21651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21652 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21660 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21661 if (!SWIG_IsOK(ecode2
)) {
21662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
21664 arg2
= static_cast< bool >(val2
);
21666 if (!wxPyCheckForApp()) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
21679 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21682 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
21683 return SWIG_Py_Void();
21686 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21687 return SWIG_Python_InitShadowInstance(args
);
21690 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
= 0;
21692 wxPrintData
*arg1
= 0 ;
21693 wxPostScriptDC
*result
= 0 ;
21696 PyObject
* obj0
= 0 ;
21697 char * kwnames
[] = {
21698 (char *) "printData", NULL
21701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21702 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21703 if (!SWIG_IsOK(res1
)) {
21704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21709 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21711 if (!wxPyCheckForApp()) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21724 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21725 PyObject
*resultobj
= 0;
21726 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21727 wxPrintData
*result
= 0 ;
21730 PyObject
*swig_obj
[1] ;
21732 if (!args
) SWIG_fail
;
21733 swig_obj
[0] = args
;
21734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21735 if (!SWIG_IsOK(res1
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21738 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21743 result
= (wxPrintData
*) &_result_ref
;
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21755 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
= 0;
21757 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21758 wxPrintData
*arg2
= 0 ;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 char * kwnames
[] = {
21766 (char *) "self",(char *) "data", NULL
21769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21771 if (!SWIG_IsOK(res1
)) {
21772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21774 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21776 if (!SWIG_IsOK(res2
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21782 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= SWIG_Py_Void();
21796 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
= 0;
21801 PyObject
* obj0
= 0 ;
21802 char * kwnames
[] = {
21803 (char *) "ppi", NULL
21806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21808 if (!SWIG_IsOK(ecode1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21811 arg1
= static_cast< int >(val1
);
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 wxPostScriptDC::SetResolution(arg1
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= SWIG_Py_Void();
21825 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21826 PyObject
*resultobj
= 0;
21829 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (int)wxPostScriptDC::GetResolution();
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= SWIG_From_int(static_cast< int >(result
));
21843 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21846 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21847 return SWIG_Py_Void();
21850 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21851 return SWIG_Python_InitShadowInstance(args
);
21854 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
= 0;
21856 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21857 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21858 wxMetaFile
*result
= 0 ;
21859 bool temp1
= false ;
21860 PyObject
* obj0
= 0 ;
21861 char * kwnames
[] = {
21862 (char *) "filename", NULL
21865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21868 arg1
= wxString_in_helper(obj0
);
21869 if (arg1
== NULL
) SWIG_fail
;
21874 if (!wxPyCheckForApp()) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21895 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21896 PyObject
*resultobj
= 0;
21897 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21900 PyObject
*swig_obj
[1] ;
21902 if (!args
) SWIG_fail
;
21903 swig_obj
[0] = args
;
21904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21905 if (!SWIG_IsOK(res1
)) {
21906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21908 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21916 resultobj
= SWIG_Py_Void();
21923 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21924 PyObject
*resultobj
= 0;
21925 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21929 PyObject
*swig_obj
[1] ;
21931 if (!args
) SWIG_fail
;
21932 swig_obj
[0] = args
;
21933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21934 if (!SWIG_IsOK(res1
)) {
21935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21937 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (bool)(arg1
)->Ok();
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21953 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21954 PyObject
*resultobj
= 0;
21955 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21956 int arg2
= (int) 0 ;
21957 int arg3
= (int) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 PyObject
* obj1
= 0 ;
21967 PyObject
* obj2
= 0 ;
21968 char * kwnames
[] = {
21969 (char *) "self",(char *) "width",(char *) "height", NULL
21972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21974 if (!SWIG_IsOK(res1
)) {
21975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21977 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21980 if (!SWIG_IsOK(ecode2
)) {
21981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21983 arg2
= static_cast< int >(val2
);
21986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21987 if (!SWIG_IsOK(ecode3
)) {
21988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21990 arg3
= static_cast< int >(val3
);
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22007 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22008 PyObject
*resultobj
= 0;
22009 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22013 PyObject
*swig_obj
[1] ;
22015 if (!args
) SWIG_fail
;
22016 swig_obj
[0] = args
;
22017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22018 if (!SWIG_IsOK(res1
)) {
22019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22021 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= (arg1
)->GetSize();
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22035 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22036 PyObject
*resultobj
= 0;
22037 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22041 PyObject
*swig_obj
[1] ;
22043 if (!args
) SWIG_fail
;
22044 swig_obj
[0] = args
;
22045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22049 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (int)(arg1
)->GetWidth();
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= SWIG_From_int(static_cast< int >(result
));
22063 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22064 PyObject
*resultobj
= 0;
22065 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22069 PyObject
*swig_obj
[1] ;
22071 if (!args
) SWIG_fail
;
22072 swig_obj
[0] = args
;
22073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22074 if (!SWIG_IsOK(res1
)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22077 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (int)(arg1
)->GetHeight();
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= SWIG_From_int(static_cast< int >(result
));
22091 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22092 PyObject
*resultobj
= 0;
22093 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22094 wxString
*result
= 0 ;
22097 PyObject
*swig_obj
[1] ;
22099 if (!args
) SWIG_fail
;
22100 swig_obj
[0] = args
;
22101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22102 if (!SWIG_IsOK(res1
)) {
22103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
22105 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
22110 result
= (wxString
*) &_result_ref
;
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22128 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22131 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
22132 return SWIG_Py_Void();
22135 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22136 return SWIG_Python_InitShadowInstance(args
);
22139 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22142 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22143 int arg2
= (int) 0 ;
22144 int arg3
= (int) 0 ;
22145 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22146 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22147 wxMetaFileDC
*result
= 0 ;
22148 bool temp1
= false ;
22153 bool temp4
= false ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 PyObject
* obj3
= 0 ;
22158 char * kwnames
[] = {
22159 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
22162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22165 arg1
= wxString_in_helper(obj0
);
22166 if (arg1
== NULL
) SWIG_fail
;
22171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22172 if (!SWIG_IsOK(ecode2
)) {
22173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
22175 arg2
= static_cast< int >(val2
);
22178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22179 if (!SWIG_IsOK(ecode3
)) {
22180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
22182 arg3
= static_cast< int >(val3
);
22186 arg4
= wxString_in_helper(obj3
);
22187 if (arg4
== NULL
) SWIG_fail
;
22192 if (!wxPyCheckForApp()) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
22221 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22222 PyObject
*resultobj
= 0;
22223 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
22224 wxMetaFile
*result
= 0 ;
22227 PyObject
*swig_obj
[1] ;
22229 if (!args
) SWIG_fail
;
22230 swig_obj
[0] = args
;
22231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
22232 if (!SWIG_IsOK(res1
)) {
22233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
22235 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (wxMetaFile
*)(arg1
)->Close();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22249 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22252 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
22253 return SWIG_Py_Void();
22256 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22257 return SWIG_Python_InitShadowInstance(args
);
22260 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
= 0;
22262 wxPrintData
*arg1
= 0 ;
22263 wxPrinterDC
*result
= 0 ;
22266 PyObject
* obj0
= 0 ;
22267 char * kwnames
[] = {
22268 (char *) "printData", NULL
22271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
22272 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22273 if (!SWIG_IsOK(res1
)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22279 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22281 if (!wxPyCheckForApp()) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
22294 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22297 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
22298 return SWIG_Py_Void();
22301 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22302 return SWIG_Python_InitShadowInstance(args
);
22305 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
= 0;
22309 int arg3
= (int) true ;
22310 int arg4
= (int) 1 ;
22311 wxImageList
*result
= 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 PyObject
* obj2
= 0 ;
22323 PyObject
* obj3
= 0 ;
22324 char * kwnames
[] = {
22325 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
22328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22330 if (!SWIG_IsOK(ecode1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
22333 arg1
= static_cast< int >(val1
);
22334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22335 if (!SWIG_IsOK(ecode2
)) {
22336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
22338 arg2
= static_cast< int >(val2
);
22340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22341 if (!SWIG_IsOK(ecode3
)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
22344 arg3
= static_cast< int >(val3
);
22347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22348 if (!SWIG_IsOK(ecode4
)) {
22349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
22351 arg4
= static_cast< int >(val4
);
22354 if (!wxPyCheckForApp()) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
22369 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22370 PyObject
*resultobj
= 0;
22371 wxImageList
*arg1
= (wxImageList
*) 0 ;
22374 PyObject
*swig_obj
[1] ;
22376 if (!args
) SWIG_fail
;
22377 swig_obj
[0] = args
;
22378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
22379 if (!SWIG_IsOK(res1
)) {
22380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
22382 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_Py_Void();
22397 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
= 0;
22399 wxImageList
*arg1
= (wxImageList
*) 0 ;
22400 wxBitmap
*arg2
= 0 ;
22401 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
22402 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
22410 PyObject
* obj0
= 0 ;
22411 PyObject
* obj1
= 0 ;
22412 PyObject
* obj2
= 0 ;
22413 char * kwnames
[] = {
22414 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
22417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
22422 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22424 if (!SWIG_IsOK(res2
)) {
22425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22430 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22432 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22433 if (!SWIG_IsOK(res3
)) {
22434 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22439 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 resultobj
= SWIG_From_int(static_cast< int >(result
));
22454 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
= 0;
22456 wxImageList
*arg1
= (wxImageList
*) 0 ;
22457 wxBitmap
*arg2
= 0 ;
22458 wxColour
*arg3
= 0 ;
22465 PyObject
* obj0
= 0 ;
22466 PyObject
* obj1
= 0 ;
22467 PyObject
* obj2
= 0 ;
22468 char * kwnames
[] = {
22469 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
22472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22474 if (!SWIG_IsOK(res1
)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
22477 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22479 if (!SWIG_IsOK(res2
)) {
22480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22485 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22488 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_From_int(static_cast< int >(result
));
22503 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
= 0;
22505 wxImageList
*arg1
= (wxImageList
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 char * kwnames
[] = {
22515 (char *) "self",(char *) "icon", NULL
22518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
22523 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
22525 if (!SWIG_IsOK(res2
)) {
22526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22531 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= SWIG_From_int(static_cast< int >(result
));
22545 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22546 PyObject
*resultobj
= 0;
22547 wxImageList
*arg1
= (wxImageList
*) 0 ;
22549 SwigValueWrapper
<wxBitmap
> result
;
22554 PyObject
* obj0
= 0 ;
22555 PyObject
* obj1
= 0 ;
22556 char * kwnames
[] = {
22557 (char *) "self",(char *) "index", NULL
22560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22562 if (!SWIG_IsOK(res1
)) {
22563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
22565 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22567 if (!SWIG_IsOK(ecode2
)) {
22568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
22570 arg2
= static_cast< int >(val2
);
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22584 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
= 0;
22586 wxImageList
*arg1
= (wxImageList
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 PyObject
* obj1
= 0 ;
22595 char * kwnames
[] = {
22596 (char *) "self",(char *) "index", NULL
22599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22601 if (!SWIG_IsOK(res1
)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
22604 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22606 if (!SWIG_IsOK(ecode2
)) {
22607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
22609 arg2
= static_cast< int >(val2
);
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
22623 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
= 0;
22625 wxImageList
*arg1
= (wxImageList
*) 0 ;
22627 wxBitmap
*arg3
= 0 ;
22628 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
22629 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 PyObject
* obj2
= 0 ;
22642 PyObject
* obj3
= 0 ;
22643 char * kwnames
[] = {
22644 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
22647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22649 if (!SWIG_IsOK(res1
)) {
22650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
22652 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22654 if (!SWIG_IsOK(ecode2
)) {
22655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
22657 arg2
= static_cast< int >(val2
);
22658 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22659 if (!SWIG_IsOK(res3
)) {
22660 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22665 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22667 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22668 if (!SWIG_IsOK(res4
)) {
22669 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22674 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22691 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
= 0;
22693 wxImageList
*arg1
= (wxImageList
*) 0 ;
22698 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
22699 bool arg7
= (bool) (bool)false ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 PyObject
* obj2
= 0 ;
22718 PyObject
* obj3
= 0 ;
22719 PyObject
* obj4
= 0 ;
22720 PyObject
* obj5
= 0 ;
22721 PyObject
* obj6
= 0 ;
22722 char * kwnames
[] = {
22723 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
22726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22728 if (!SWIG_IsOK(res1
)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
22731 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22733 if (!SWIG_IsOK(ecode2
)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
22736 arg2
= static_cast< int >(val2
);
22737 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
22738 if (!SWIG_IsOK(res3
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22744 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22746 if (!SWIG_IsOK(ecode4
)) {
22747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22749 arg4
= static_cast< int >(val4
);
22750 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22751 if (!SWIG_IsOK(ecode5
)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22754 arg5
= static_cast< int >(val5
);
22756 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22757 if (!SWIG_IsOK(ecode6
)) {
22758 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22760 arg6
= static_cast< int >(val6
);
22763 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22764 if (!SWIG_IsOK(ecode7
)) {
22765 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22767 arg7
= static_cast< bool >(val7
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22784 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22785 PyObject
*resultobj
= 0;
22786 wxImageList
*arg1
= (wxImageList
*) 0 ;
22790 PyObject
*swig_obj
[1] ;
22792 if (!args
) SWIG_fail
;
22793 swig_obj
[0] = args
;
22794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22795 if (!SWIG_IsOK(res1
)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22798 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= (int)(arg1
)->GetImageCount();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_From_int(static_cast< int >(result
));
22812 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
= 0;
22814 wxImageList
*arg1
= (wxImageList
*) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 PyObject
* obj1
= 0 ;
22823 char * kwnames
[] = {
22824 (char *) "self",(char *) "index", NULL
22827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22829 if (!SWIG_IsOK(res1
)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22832 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22834 if (!SWIG_IsOK(ecode2
)) {
22835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22837 arg2
= static_cast< int >(val2
);
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (bool)(arg1
)->Remove(arg2
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22853 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22854 PyObject
*resultobj
= 0;
22855 wxImageList
*arg1
= (wxImageList
*) 0 ;
22859 PyObject
*swig_obj
[1] ;
22861 if (!args
) SWIG_fail
;
22862 swig_obj
[0] = args
;
22863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22864 if (!SWIG_IsOK(res1
)) {
22865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22867 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (bool)(arg1
)->RemoveAll();
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22883 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
= 0;
22885 wxImageList
*arg1
= (wxImageList
*) 0 ;
22894 int res3
= SWIG_TMPOBJ
;
22896 int res4
= SWIG_TMPOBJ
;
22897 PyObject
* obj0
= 0 ;
22898 PyObject
* obj1
= 0 ;
22899 char * kwnames
[] = {
22900 (char *) "self",(char *) "index", NULL
22905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22907 if (!SWIG_IsOK(res1
)) {
22908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22910 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22912 if (!SWIG_IsOK(ecode2
)) {
22913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22915 arg2
= static_cast< int >(val2
);
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= SWIG_Py_Void();
22923 if (SWIG_IsTmpObj(res3
)) {
22924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22926 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22929 if (SWIG_IsTmpObj(res4
)) {
22930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22932 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22941 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22944 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22945 return SWIG_Py_Void();
22948 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22949 return SWIG_Python_InitShadowInstance(args
);
22952 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 PyObject
*resultobj
= 0;
22954 wxStockGDI
*result
= 0 ;
22956 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (wxStockGDI
*)new wxStockGDI();
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22970 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22971 PyObject
*resultobj
= 0;
22972 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22975 PyObject
*swig_obj
[1] ;
22977 if (!args
) SWIG_fail
;
22978 swig_obj
[0] = args
;
22979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22980 if (!SWIG_IsOK(res1
)) {
22981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22983 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= SWIG_Py_Void();
22998 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22999 PyObject
*resultobj
= 0;
23001 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 wxStockGDI::DeleteAll();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_Py_Void();
23015 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23016 PyObject
*resultobj
= 0;
23017 wxStockGDI
*result
= 0 ;
23019 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 wxStockGDI
&_result_ref
= wxStockGDI::instance();
23024 result
= (wxStockGDI
*) &_result_ref
;
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23036 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
= 0;
23038 wxStockGDI::Item arg1
;
23039 wxBrush
*result
= 0 ;
23042 PyObject
* obj0
= 0 ;
23043 char * kwnames
[] = {
23044 (char *) "item", NULL
23047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
23048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23049 if (!SWIG_IsOK(ecode1
)) {
23050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23052 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23066 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
= 0;
23068 wxStockGDI::Item arg1
;
23069 wxColour
*result
= 0 ;
23072 PyObject
* obj0
= 0 ;
23073 char * kwnames
[] = {
23074 (char *) "item", NULL
23077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
23078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23079 if (!SWIG_IsOK(ecode1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23082 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23096 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
= 0;
23098 wxStockGDI::Item arg1
;
23099 wxCursor
*result
= 0 ;
23102 PyObject
* obj0
= 0 ;
23103 char * kwnames
[] = {
23104 (char *) "item", NULL
23107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
23108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23109 if (!SWIG_IsOK(ecode1
)) {
23110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23112 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
23126 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
= 0;
23128 wxStockGDI::Item arg1
;
23129 wxPen
*result
= 0 ;
23132 PyObject
* obj0
= 0 ;
23133 char * kwnames
[] = {
23134 (char *) "item", NULL
23137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
23138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23139 if (!SWIG_IsOK(ecode1
)) {
23140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23142 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23156 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
= 0;
23158 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
23159 wxStockGDI::Item arg2
;
23160 wxFont
*result
= 0 ;
23165 PyObject
* obj0
= 0 ;
23166 PyObject
* obj1
= 0 ;
23167 char * kwnames
[] = {
23168 (char *) "self",(char *) "item", NULL
23171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
23176 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
23177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23178 if (!SWIG_IsOK(ecode2
)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
23181 arg2
= static_cast< wxStockGDI::Item
>(val2
);
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23195 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23198 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
23199 return SWIG_Py_Void();
23202 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23203 return SWIG_Python_InitShadowInstance(args
);
23206 SWIGINTERN
int NullBitmap_set(PyObject
*) {
23207 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
23212 SWIGINTERN PyObject
*NullBitmap_get(void) {
23213 PyObject
*pyobj
= 0;
23215 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
23220 SWIGINTERN
int NullIcon_set(PyObject
*) {
23221 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
23226 SWIGINTERN PyObject
*NullIcon_get(void) {
23227 PyObject
*pyobj
= 0;
23229 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
23234 SWIGINTERN
int NullCursor_set(PyObject
*) {
23235 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
23240 SWIGINTERN PyObject
*NullCursor_get(void) {
23241 PyObject
*pyobj
= 0;
23243 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
23248 SWIGINTERN
int NullPen_set(PyObject
*) {
23249 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
23254 SWIGINTERN PyObject
*NullPen_get(void) {
23255 PyObject
*pyobj
= 0;
23257 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
23262 SWIGINTERN
int NullBrush_set(PyObject
*) {
23263 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
23268 SWIGINTERN PyObject
*NullBrush_get(void) {
23269 PyObject
*pyobj
= 0;
23271 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
23276 SWIGINTERN
int NullPalette_set(PyObject
*) {
23277 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
23282 SWIGINTERN PyObject
*NullPalette_get(void) {
23283 PyObject
*pyobj
= 0;
23285 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
23290 SWIGINTERN
int NullFont_set(PyObject
*) {
23291 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
23296 SWIGINTERN PyObject
*NullFont_get(void) {
23297 PyObject
*pyobj
= 0;
23299 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
23304 SWIGINTERN
int NullColour_set(PyObject
*) {
23305 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
23310 SWIGINTERN PyObject
*NullColour_get(void) {
23311 PyObject
*pyobj
= 0;
23313 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
23318 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23319 PyObject
*resultobj
= 0;
23320 wxGDIObjListBase
*result
= 0 ;
23322 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
23336 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23337 PyObject
*resultobj
= 0;
23338 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
23341 PyObject
*swig_obj
[1] ;
23343 if (!args
) SWIG_fail
;
23344 swig_obj
[0] = args
;
23345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
23346 if (!SWIG_IsOK(res1
)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
23349 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_Py_Void();
23364 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23367 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
23368 return SWIG_Py_Void();
23371 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23372 return SWIG_Python_InitShadowInstance(args
);
23375 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
= 0;
23377 wxPenList
*arg1
= (wxPenList
*) 0 ;
23378 wxColour
*arg2
= 0 ;
23381 wxPen
*result
= 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 PyObject
* obj3
= 0 ;
23393 char * kwnames
[] = {
23394 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
23397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23399 if (!SWIG_IsOK(res1
)) {
23400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23402 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23405 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23408 if (!SWIG_IsOK(ecode3
)) {
23409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
23411 arg3
= static_cast< int >(val3
);
23412 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23413 if (!SWIG_IsOK(ecode4
)) {
23414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
23416 arg4
= static_cast< int >(val4
);
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23430 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
= 0;
23432 wxPenList
*arg1
= (wxPenList
*) 0 ;
23433 wxPen
*arg2
= (wxPen
*) 0 ;
23438 PyObject
* obj0
= 0 ;
23439 PyObject
* obj1
= 0 ;
23440 char * kwnames
[] = {
23441 (char *) "self",(char *) "pen", NULL
23444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23446 if (!SWIG_IsOK(res1
)) {
23447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
23449 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23451 if (!SWIG_IsOK(res2
)) {
23452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
23454 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 (arg1
)->AddPen(arg2
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= SWIG_Py_Void();
23468 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
= 0;
23470 wxPenList
*arg1
= (wxPenList
*) 0 ;
23471 wxPen
*arg2
= (wxPen
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char * kwnames
[] = {
23479 (char *) "self",(char *) "pen", NULL
23482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23484 if (!SWIG_IsOK(res1
)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23487 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23489 if (!SWIG_IsOK(res2
)) {
23490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
23492 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 (arg1
)->RemovePen(arg2
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_Py_Void();
23506 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23509 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
23510 return SWIG_Py_Void();
23513 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
= 0;
23515 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23516 wxColour
*arg2
= 0 ;
23517 int arg3
= (int) wxSOLID
;
23518 wxBrush
*result
= 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 PyObject
* obj2
= 0 ;
23527 char * kwnames
[] = {
23528 (char *) "self",(char *) "colour",(char *) "style", NULL
23531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23533 if (!SWIG_IsOK(res1
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23536 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23543 if (!SWIG_IsOK(ecode3
)) {
23544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
23546 arg3
= static_cast< int >(val3
);
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23561 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
= 0;
23563 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23564 wxBrush
*arg2
= (wxBrush
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char * kwnames
[] = {
23572 (char *) "self",(char *) "brush", NULL
23575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23580 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23582 if (!SWIG_IsOK(res2
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23585 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 (arg1
)->AddBrush(arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_Py_Void();
23599 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
= 0;
23601 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23602 wxBrush
*arg2
= (wxBrush
*) 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char * kwnames
[] = {
23610 (char *) "self",(char *) "brush", NULL
23613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23615 if (!SWIG_IsOK(res1
)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23618 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23620 if (!SWIG_IsOK(res2
)) {
23621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23623 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 (arg1
)->RemoveBrush(arg2
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_Py_Void();
23637 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23640 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23641 return SWIG_Py_Void();
23644 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
= 0;
23646 wxFontList
*arg1
= (wxFontList
*) 0 ;
23651 bool arg6
= (bool) false ;
23652 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23654 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23655 wxFont
*result
= 0 ;
23668 bool temp7
= false ;
23671 PyObject
* obj0
= 0 ;
23672 PyObject
* obj1
= 0 ;
23673 PyObject
* obj2
= 0 ;
23674 PyObject
* obj3
= 0 ;
23675 PyObject
* obj4
= 0 ;
23676 PyObject
* obj5
= 0 ;
23677 PyObject
* obj6
= 0 ;
23678 PyObject
* obj7
= 0 ;
23679 char * kwnames
[] = {
23680 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23685 if (!SWIG_IsOK(res1
)) {
23686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23688 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23690 if (!SWIG_IsOK(ecode2
)) {
23691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23693 arg2
= static_cast< int >(val2
);
23694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23695 if (!SWIG_IsOK(ecode3
)) {
23696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23698 arg3
= static_cast< int >(val3
);
23699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23700 if (!SWIG_IsOK(ecode4
)) {
23701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23703 arg4
= static_cast< int >(val4
);
23704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23705 if (!SWIG_IsOK(ecode5
)) {
23706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23708 arg5
= static_cast< int >(val5
);
23710 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23711 if (!SWIG_IsOK(ecode6
)) {
23712 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23714 arg6
= static_cast< bool >(val6
);
23718 arg7
= wxString_in_helper(obj6
);
23719 if (arg7
== NULL
) SWIG_fail
;
23724 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23725 if (!SWIG_IsOK(ecode8
)) {
23726 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23728 arg8
= static_cast< wxFontEncoding
>(val8
);
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23751 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
= 0;
23753 wxFontList
*arg1
= (wxFontList
*) 0 ;
23754 wxFont
*arg2
= (wxFont
*) 0 ;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 char * kwnames
[] = {
23762 (char *) "self",(char *) "font", NULL
23765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23770 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23772 if (!SWIG_IsOK(res2
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23775 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 (arg1
)->AddFont(arg2
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_Py_Void();
23789 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
= 0;
23791 wxFontList
*arg1
= (wxFontList
*) 0 ;
23792 wxFont
*arg2
= (wxFont
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 PyObject
* obj1
= 0 ;
23799 char * kwnames
[] = {
23800 (char *) "self",(char *) "font", NULL
23803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23808 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23810 if (!SWIG_IsOK(res2
)) {
23811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23813 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 (arg1
)->RemoveFont(arg2
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_Py_Void();
23827 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23830 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23831 return SWIG_Py_Void();
23834 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23835 PyObject
*resultobj
= 0;
23836 wxColourDatabase
*result
= 0 ;
23838 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23840 if (!wxPyCheckForApp()) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (wxColourDatabase
*)new wxColourDatabase();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23853 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23854 PyObject
*resultobj
= 0;
23855 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23858 PyObject
*swig_obj
[1] ;
23860 if (!args
) SWIG_fail
;
23861 swig_obj
[0] = args
;
23862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23863 if (!SWIG_IsOK(res1
)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23866 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_Py_Void();
23881 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
= 0;
23883 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23884 wxString
*arg2
= 0 ;
23888 bool temp2
= false ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 char * kwnames
[] = {
23892 (char *) "self",(char *) "name", NULL
23895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23897 if (!SWIG_IsOK(res1
)) {
23898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23900 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23902 arg2
= wxString_in_helper(obj1
);
23903 if (arg2
== NULL
) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23927 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
= 0;
23929 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23930 wxColour
*arg2
= 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char * kwnames
[] = {
23938 (char *) "self",(char *) "colour", NULL
23941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23943 if (!SWIG_IsOK(res1
)) {
23944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23946 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23949 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23970 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
= 0;
23972 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23973 wxString
*arg2
= 0 ;
23974 wxColour
*arg3
= 0 ;
23977 bool temp2
= false ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 PyObject
* obj2
= 0 ;
23982 char * kwnames
[] = {
23983 (char *) "self",(char *) "name",(char *) "colour", NULL
23986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23991 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23993 arg2
= wxString_in_helper(obj1
);
23994 if (arg2
== NULL
) SWIG_fail
;
23999 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_Py_Void();
24022 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
= 0;
24024 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
24025 wxString
*arg2
= 0 ;
24031 bool temp2
= false ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 PyObject
* obj2
= 0 ;
24041 PyObject
* obj3
= 0 ;
24042 PyObject
* obj4
= 0 ;
24043 char * kwnames
[] = {
24044 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
24047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24049 if (!SWIG_IsOK(res1
)) {
24050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24052 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24054 arg2
= wxString_in_helper(obj1
);
24055 if (arg2
== NULL
) SWIG_fail
;
24058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24059 if (!SWIG_IsOK(ecode3
)) {
24060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
24062 arg3
= static_cast< int >(val3
);
24063 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24064 if (!SWIG_IsOK(ecode4
)) {
24065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
24067 arg4
= static_cast< int >(val4
);
24068 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24069 if (!SWIG_IsOK(ecode5
)) {
24070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
24072 arg5
= static_cast< int >(val5
);
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_Py_Void();
24094 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24097 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
24098 return SWIG_Py_Void();
24101 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24102 return SWIG_Python_InitShadowInstance(args
);
24105 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24106 PyObject
*resultobj
= 0;
24107 wxFontList
*result
= 0 ;
24109 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (wxFontList
*)_wxPyInitTheFontList();
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
24123 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24124 PyObject
*resultobj
= 0;
24125 wxPenList
*result
= 0 ;
24127 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= (wxPenList
*)_wxPyInitThePenList();
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
24141 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24142 PyObject
*resultobj
= 0;
24143 wxBrushList
*result
= 0 ;
24145 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (wxBrushList
*)_wxPyInitTheBrushList();
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
24159 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24160 PyObject
*resultobj
= 0;
24161 wxColourDatabase
*result
= 0 ;
24163 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24177 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 PyObject
*resultobj
= 0;
24179 wxEffects
*result
= 0 ;
24181 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (wxEffects
*)new wxEffects();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
24195 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24196 PyObject
*resultobj
= 0;
24197 wxEffects
*arg1
= (wxEffects
*) 0 ;
24201 PyObject
*swig_obj
[1] ;
24203 if (!args
) SWIG_fail
;
24204 swig_obj
[0] = args
;
24205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24206 if (!SWIG_IsOK(res1
)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24209 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24223 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24224 PyObject
*resultobj
= 0;
24225 wxEffects
*arg1
= (wxEffects
*) 0 ;
24229 PyObject
*swig_obj
[1] ;
24231 if (!args
) SWIG_fail
;
24232 swig_obj
[0] = args
;
24233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24237 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24251 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24252 PyObject
*resultobj
= 0;
24253 wxEffects
*arg1
= (wxEffects
*) 0 ;
24257 PyObject
*swig_obj
[1] ;
24259 if (!args
) SWIG_fail
;
24260 swig_obj
[0] = args
;
24261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24265 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24279 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24280 PyObject
*resultobj
= 0;
24281 wxEffects
*arg1
= (wxEffects
*) 0 ;
24285 PyObject
*swig_obj
[1] ;
24287 if (!args
) SWIG_fail
;
24288 swig_obj
[0] = args
;
24289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24290 if (!SWIG_IsOK(res1
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24293 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24307 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24308 PyObject
*resultobj
= 0;
24309 wxEffects
*arg1
= (wxEffects
*) 0 ;
24313 PyObject
*swig_obj
[1] ;
24315 if (!args
) SWIG_fail
;
24316 swig_obj
[0] = args
;
24317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24318 if (!SWIG_IsOK(res1
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24321 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24335 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxEffects
*arg1
= (wxEffects
*) 0 ;
24338 wxColour
*arg2
= 0 ;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24344 char * kwnames
[] = {
24345 (char *) "self",(char *) "c", NULL
24348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24350 if (!SWIG_IsOK(res1
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24353 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_Py_Void();
24371 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
= 0;
24373 wxEffects
*arg1
= (wxEffects
*) 0 ;
24374 wxColour
*arg2
= 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char * kwnames
[] = {
24381 (char *) "self",(char *) "c", NULL
24384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24389 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24392 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_Py_Void();
24407 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
= 0;
24409 wxEffects
*arg1
= (wxEffects
*) 0 ;
24410 wxColour
*arg2
= 0 ;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 char * kwnames
[] = {
24417 (char *) "self",(char *) "c", NULL
24420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24422 if (!SWIG_IsOK(res1
)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24425 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24428 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_Py_Void();
24443 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
= 0;
24445 wxEffects
*arg1
= (wxEffects
*) 0 ;
24446 wxColour
*arg2
= 0 ;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char * kwnames
[] = {
24453 (char *) "self",(char *) "c", NULL
24456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24458 if (!SWIG_IsOK(res1
)) {
24459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24461 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24468 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= SWIG_Py_Void();
24479 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
= 0;
24481 wxEffects
*arg1
= (wxEffects
*) 0 ;
24482 wxColour
*arg2
= 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 char * kwnames
[] = {
24489 (char *) "self",(char *) "c", NULL
24492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24497 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24500 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= SWIG_Py_Void();
24515 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
= 0;
24517 wxEffects
*arg1
= (wxEffects
*) 0 ;
24518 wxColour
*arg2
= 0 ;
24519 wxColour
*arg3
= 0 ;
24520 wxColour
*arg4
= 0 ;
24521 wxColour
*arg5
= 0 ;
24522 wxColour
*arg6
= 0 ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 PyObject
* obj2
= 0 ;
24533 PyObject
* obj3
= 0 ;
24534 PyObject
* obj4
= 0 ;
24535 PyObject
* obj5
= 0 ;
24536 char * kwnames
[] = {
24537 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
24540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24542 if (!SWIG_IsOK(res1
)) {
24543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
24545 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24552 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24556 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24560 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24564 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= SWIG_Py_Void();
24579 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24580 PyObject
*resultobj
= 0;
24581 wxEffects
*arg1
= (wxEffects
*) 0 ;
24584 int arg4
= (int) 1 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 PyObject
* obj2
= 0 ;
24595 PyObject
* obj3
= 0 ;
24596 char * kwnames
[] = {
24597 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24602 if (!SWIG_IsOK(res1
)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24605 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24607 if (!SWIG_IsOK(res2
)) {
24608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24613 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24616 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24620 if (!SWIG_IsOK(ecode4
)) {
24621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24623 arg4
= static_cast< int >(val4
);
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 resultobj
= SWIG_Py_Void();
24638 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
= 0;
24640 wxEffects
*arg1
= (wxEffects
*) 0 ;
24643 wxBitmap
*arg4
= 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 PyObject
* obj2
= 0 ;
24655 PyObject
* obj3
= 0 ;
24656 char * kwnames
[] = {
24657 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24662 if (!SWIG_IsOK(res1
)) {
24663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24665 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24668 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24670 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24671 if (!SWIG_IsOK(res3
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24677 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24678 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24679 if (!SWIG_IsOK(res4
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24685 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24701 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24704 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24705 return SWIG_Py_Void();
24708 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24709 return SWIG_Python_InitShadowInstance(args
);
24712 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
= 0;
24717 wxSplitterRenderParams
*result
= 0 ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 PyObject
* obj2
= 0 ;
24727 char * kwnames
[] = {
24728 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24732 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24733 if (!SWIG_IsOK(ecode1
)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24736 arg1
= static_cast< int >(val1
);
24737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24738 if (!SWIG_IsOK(ecode2
)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24741 arg2
= static_cast< int >(val2
);
24742 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24743 if (!SWIG_IsOK(ecode3
)) {
24744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24746 arg3
= static_cast< bool >(val3
);
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24760 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24761 PyObject
*resultobj
= 0;
24762 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24765 PyObject
*swig_obj
[1] ;
24767 if (!args
) SWIG_fail
;
24768 swig_obj
[0] = args
;
24769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24773 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= SWIG_Py_Void();
24788 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24789 PyObject
*resultobj
= 0;
24790 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24794 PyObject
*swig_obj
[1] ;
24796 if (!args
) SWIG_fail
;
24797 swig_obj
[0] = args
;
24798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24799 if (!SWIG_IsOK(res1
)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24802 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24803 result
= (int)(int) ((arg1
)->widthSash
);
24804 resultobj
= SWIG_From_int(static_cast< int >(result
));
24811 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24812 PyObject
*resultobj
= 0;
24813 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24817 PyObject
*swig_obj
[1] ;
24819 if (!args
) SWIG_fail
;
24820 swig_obj
[0] = args
;
24821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24822 if (!SWIG_IsOK(res1
)) {
24823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24825 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24826 result
= (int)(int) ((arg1
)->border
);
24827 resultobj
= SWIG_From_int(static_cast< int >(result
));
24834 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24835 PyObject
*resultobj
= 0;
24836 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24840 PyObject
*swig_obj
[1] ;
24842 if (!args
) SWIG_fail
;
24843 swig_obj
[0] = args
;
24844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24848 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24849 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24850 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24857 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24860 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24861 return SWIG_Py_Void();
24864 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24865 return SWIG_Python_InitShadowInstance(args
);
24868 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
= 0;
24872 wxRendererVersion
*result
= 0 ;
24877 PyObject
* obj0
= 0 ;
24878 PyObject
* obj1
= 0 ;
24879 char * kwnames
[] = {
24880 (char *) "version_",(char *) "age_", NULL
24883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24885 if (!SWIG_IsOK(ecode1
)) {
24886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24888 arg1
= static_cast< int >(val1
);
24889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24890 if (!SWIG_IsOK(ecode2
)) {
24891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24893 arg2
= static_cast< int >(val2
);
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24907 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24908 PyObject
*resultobj
= 0;
24909 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24912 PyObject
*swig_obj
[1] ;
24914 if (!args
) SWIG_fail
;
24915 swig_obj
[0] = args
;
24916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24917 if (!SWIG_IsOK(res1
)) {
24918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24920 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= SWIG_Py_Void();
24935 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
= 0;
24937 wxRendererVersion
*arg1
= 0 ;
24941 PyObject
* obj0
= 0 ;
24942 char * kwnames
[] = {
24943 (char *) "ver", NULL
24946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24947 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24948 if (!SWIG_IsOK(res1
)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24954 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24970 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24971 PyObject
*resultobj
= 0;
24972 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24976 PyObject
*swig_obj
[1] ;
24978 if (!args
) SWIG_fail
;
24979 swig_obj
[0] = args
;
24980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24981 if (!SWIG_IsOK(res1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24984 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24985 result
= (int)(int) ((arg1
)->version
);
24986 resultobj
= SWIG_From_int(static_cast< int >(result
));
24993 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24994 PyObject
*resultobj
= 0;
24995 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24999 PyObject
*swig_obj
[1] ;
25001 if (!args
) SWIG_fail
;
25002 swig_obj
[0] = args
;
25003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
25004 if (!SWIG_IsOK(res1
)) {
25005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25007 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25008 result
= (int)(int) ((arg1
)->age
);
25009 resultobj
= SWIG_From_int(static_cast< int >(result
));
25016 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25019 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
25020 return SWIG_Py_Void();
25023 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25024 return SWIG_Python_InitShadowInstance(args
);
25027 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
= 0;
25029 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25030 wxWindow
*arg2
= (wxWindow
*) 0 ;
25033 int arg5
= (int) 0 ;
25043 PyObject
* obj0
= 0 ;
25044 PyObject
* obj1
= 0 ;
25045 PyObject
* obj2
= 0 ;
25046 PyObject
* obj3
= 0 ;
25047 PyObject
* obj4
= 0 ;
25048 char * kwnames
[] = {
25049 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25054 if (!SWIG_IsOK(res1
)) {
25055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25057 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25059 if (!SWIG_IsOK(res2
)) {
25060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25062 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25063 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25064 if (!SWIG_IsOK(res3
)) {
25065 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25070 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25073 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25076 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25077 if (!SWIG_IsOK(ecode5
)) {
25078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
25080 arg5
= static_cast< int >(val5
);
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_Py_Void();
25095 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
= 0;
25097 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25098 wxWindow
*arg2
= (wxWindow
*) 0 ;
25101 int arg5
= (int) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 PyObject
* obj1
= 0 ;
25113 PyObject
* obj2
= 0 ;
25114 PyObject
* obj3
= 0 ;
25115 PyObject
* obj4
= 0 ;
25116 char * kwnames
[] = {
25117 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25122 if (!SWIG_IsOK(res1
)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25125 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25127 if (!SWIG_IsOK(res2
)) {
25128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25130 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25131 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25132 if (!SWIG_IsOK(res3
)) {
25133 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25138 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25141 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25144 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25145 if (!SWIG_IsOK(ecode5
)) {
25146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
25148 arg5
= static_cast< int >(val5
);
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= SWIG_Py_Void();
25163 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
= 0;
25165 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25166 wxWindow
*arg2
= (wxWindow
*) 0 ;
25169 int arg5
= (int) 0 ;
25179 PyObject
* obj0
= 0 ;
25180 PyObject
* obj1
= 0 ;
25181 PyObject
* obj2
= 0 ;
25182 PyObject
* obj3
= 0 ;
25183 PyObject
* obj4
= 0 ;
25184 char * kwnames
[] = {
25185 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25190 if (!SWIG_IsOK(res1
)) {
25191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25193 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25195 if (!SWIG_IsOK(res2
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
25198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25199 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25200 if (!SWIG_IsOK(res3
)) {
25201 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25206 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25209 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25212 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25213 if (!SWIG_IsOK(ecode5
)) {
25214 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
25216 arg5
= static_cast< int >(val5
);
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_Py_Void();
25231 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
= 0;
25233 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25234 wxWindow
*arg2
= (wxWindow
*) 0 ;
25238 wxOrientation arg6
;
25239 int arg7
= (int) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 PyObject
* obj2
= 0 ;
25256 PyObject
* obj3
= 0 ;
25257 PyObject
* obj4
= 0 ;
25258 PyObject
* obj5
= 0 ;
25259 PyObject
* obj6
= 0 ;
25260 char * kwnames
[] = {
25261 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
25264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25266 if (!SWIG_IsOK(res1
)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25269 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25271 if (!SWIG_IsOK(res2
)) {
25272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
25274 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25275 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25276 if (!SWIG_IsOK(res3
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25282 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25285 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25288 if (!SWIG_IsOK(ecode5
)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
25291 arg5
= static_cast< int >(val5
);
25292 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25293 if (!SWIG_IsOK(ecode6
)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
25296 arg6
= static_cast< wxOrientation
>(val6
);
25298 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25299 if (!SWIG_IsOK(ecode7
)) {
25300 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
25302 arg7
= static_cast< int >(val7
);
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= SWIG_Py_Void();
25317 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= 0;
25319 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25320 wxWindow
*arg2
= (wxWindow
*) 0 ;
25323 int arg5
= (int) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 PyObject
* obj1
= 0 ;
25335 PyObject
* obj2
= 0 ;
25336 PyObject
* obj3
= 0 ;
25337 PyObject
* obj4
= 0 ;
25338 char * kwnames
[] = {
25339 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25344 if (!SWIG_IsOK(res1
)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25347 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25349 if (!SWIG_IsOK(res2
)) {
25350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25353 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25354 if (!SWIG_IsOK(res3
)) {
25355 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25360 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25363 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25366 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25367 if (!SWIG_IsOK(ecode5
)) {
25368 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
25370 arg5
= static_cast< int >(val5
);
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_Py_Void();
25385 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
= 0;
25387 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25388 wxWindow
*arg2
= (wxWindow
*) 0 ;
25391 int arg5
= (int) 0 ;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 PyObject
* obj2
= 0 ;
25404 PyObject
* obj3
= 0 ;
25405 PyObject
* obj4
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25412 if (!SWIG_IsOK(res1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25415 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25417 if (!SWIG_IsOK(res2
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
25420 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25421 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25422 if (!SWIG_IsOK(res3
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25428 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25431 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25435 if (!SWIG_IsOK(ecode5
)) {
25436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
25438 arg5
= static_cast< int >(val5
);
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= SWIG_Py_Void();
25453 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25454 PyObject
*resultobj
= 0;
25455 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25456 wxWindow
*arg2
= (wxWindow
*) 0 ;
25459 int arg5
= (int) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 PyObject
* obj2
= 0 ;
25472 PyObject
* obj3
= 0 ;
25473 PyObject
* obj4
= 0 ;
25474 char * kwnames
[] = {
25475 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25480 if (!SWIG_IsOK(res1
)) {
25481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25483 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25485 if (!SWIG_IsOK(res2
)) {
25486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
25488 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25489 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25490 if (!SWIG_IsOK(res3
)) {
25491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25496 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25499 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25502 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25503 if (!SWIG_IsOK(ecode5
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
25506 arg5
= static_cast< int >(val5
);
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 resultobj
= SWIG_Py_Void();
25521 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
= 0;
25523 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25524 wxWindow
*arg2
= (wxWindow
*) 0 ;
25527 int arg5
= (int) 0 ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 PyObject
* obj2
= 0 ;
25540 PyObject
* obj3
= 0 ;
25541 PyObject
* obj4
= 0 ;
25542 char * kwnames
[] = {
25543 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25551 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25553 if (!SWIG_IsOK(res2
)) {
25554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25556 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25557 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25558 if (!SWIG_IsOK(res3
)) {
25559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25564 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25567 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25570 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25571 if (!SWIG_IsOK(ecode5
)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
25574 arg5
= static_cast< int >(val5
);
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_Py_Void();
25589 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
= 0;
25591 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25592 wxWindow
*arg2
= (wxWindow
*) 0 ;
25595 int arg5
= (int) 0 ;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 PyObject
* obj2
= 0 ;
25608 PyObject
* obj3
= 0 ;
25609 PyObject
* obj4
= 0 ;
25610 char * kwnames
[] = {
25611 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25616 if (!SWIG_IsOK(res1
)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25619 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25621 if (!SWIG_IsOK(res2
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
25624 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25625 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25626 if (!SWIG_IsOK(res3
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25632 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25635 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25638 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25639 if (!SWIG_IsOK(ecode5
)) {
25640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
25642 arg5
= static_cast< int >(val5
);
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 resultobj
= SWIG_Py_Void();
25657 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
= 0;
25659 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25660 wxWindow
*arg2
= (wxWindow
*) 0 ;
25661 SwigValueWrapper
<wxSplitterRenderParams
> result
;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 char * kwnames
[] = {
25669 (char *) "self",(char *) "win", NULL
25672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25674 if (!SWIG_IsOK(res1
)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25677 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25679 if (!SWIG_IsOK(res2
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
25682 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
25696 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25697 PyObject
*resultobj
= 0;
25698 wxRendererNative
*result
= 0 ;
25700 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
25702 if (!wxPyCheckForApp()) SWIG_fail
;
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 wxRendererNative
&_result_ref
= wxRendererNative::Get();
25706 result
= (wxRendererNative
*) &_result_ref
;
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25718 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25719 PyObject
*resultobj
= 0;
25720 wxRendererNative
*result
= 0 ;
25722 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
25724 if (!wxPyCheckForApp()) SWIG_fail
;
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
25728 result
= (wxRendererNative
*) &_result_ref
;
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25740 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25741 PyObject
*resultobj
= 0;
25742 wxRendererNative
*result
= 0 ;
25744 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25746 if (!wxPyCheckForApp()) SWIG_fail
;
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25750 result
= (wxRendererNative
*) &_result_ref
;
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25762 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
= 0;
25764 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25765 wxRendererNative
*result
= 0 ;
25768 PyObject
* obj0
= 0 ;
25769 char * kwnames
[] = {
25770 (char *) "renderer", NULL
25773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25778 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25780 if (!wxPyCheckForApp()) SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25793 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25794 PyObject
*resultobj
= 0;
25795 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25796 SwigValueWrapper
<wxRendererVersion
> result
;
25799 PyObject
*swig_obj
[1] ;
25801 if (!args
) SWIG_fail
;
25802 swig_obj
[0] = args
;
25803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25804 if (!SWIG_IsOK(res1
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25807 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25821 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25824 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25825 return SWIG_Py_Void();
25828 static PyMethodDef SwigMethods
[] = {
25829 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25830 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25831 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25832 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25833 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25834 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25838 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25839 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25840 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25841 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25842 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25847 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25850 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25851 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25852 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25853 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25855 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25858 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25859 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25860 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25861 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25863 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25864 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25865 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25866 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25867 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25868 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25869 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25876 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
25878 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
25879 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25883 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25884 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25887 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25891 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25892 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25893 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25894 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25895 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25896 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25897 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25899 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
25905 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25907 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25908 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25909 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25910 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25911 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25912 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25913 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25919 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25929 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25930 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25932 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25933 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25934 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25936 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25937 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
25942 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25944 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25945 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25946 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25947 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25953 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25954 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25956 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25957 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25959 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25961 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25962 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25963 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25964 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25967 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25971 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25972 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25974 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
25977 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25979 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
25980 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
25981 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
25982 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25983 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25987 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25988 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25993 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25994 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25996 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
26000 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
26004 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26009 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26010 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
26014 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
26017 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
26018 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
26020 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
26021 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
26022 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
26023 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
26024 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
26025 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
26026 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
26027 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
26028 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
26029 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
26030 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
26031 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
26032 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
26033 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
26034 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
26035 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
26036 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
26038 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
26039 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
26040 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
26041 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
26042 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
26043 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
26044 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
26045 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26050 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26051 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26052 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
26055 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
26056 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26057 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
26058 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
26059 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
26060 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
26061 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
26062 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
26063 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
26064 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
26065 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
26066 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
26068 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
26069 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
26070 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26071 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
26073 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
26074 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
26075 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26077 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
26078 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26079 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
26084 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26087 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
26089 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
26090 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
26092 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26093 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26096 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26097 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
26098 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26099 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26100 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
26101 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
26102 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
26103 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
26104 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
26105 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
26106 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
26107 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
26108 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
26109 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
26110 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
26111 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
26112 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
26113 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26114 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26115 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26116 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26117 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26118 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26120 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26121 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26122 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26123 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26124 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
26125 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
26126 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
26127 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26128 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
26129 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
26130 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26131 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
26132 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
26133 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
26134 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
26135 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26136 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26137 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26138 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
26139 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
26140 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26141 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
26142 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
26143 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
26144 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
26145 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
26146 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
26147 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
26148 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
26149 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
26150 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26151 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
26152 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26153 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26154 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
26155 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
26156 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
26157 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
26158 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
26159 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
26160 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
26161 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
26162 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26163 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26164 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26165 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26166 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26167 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26168 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26169 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26170 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
26171 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
26172 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
26173 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
26174 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
26175 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
26176 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
26177 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26178 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26179 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26180 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26181 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26182 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
26183 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
26184 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
26185 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26186 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26187 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26188 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26189 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26190 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26191 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26192 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26193 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26194 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26195 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26196 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26197 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26198 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26199 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26200 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26201 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26202 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26203 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26204 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26205 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26206 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26207 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26208 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26209 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26210 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26211 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26212 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26213 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26214 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26215 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26216 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26217 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26218 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26219 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26220 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26221 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26222 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26223 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26224 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26225 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26226 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26227 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26228 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26229 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26230 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26231 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26232 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26233 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
26234 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26235 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
26236 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
26237 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
26238 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26239 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26240 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26241 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26242 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26243 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26244 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
26245 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
26246 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
26247 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
26248 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
26249 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26250 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26251 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26252 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26253 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
26254 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
26255 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
26256 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
26257 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26258 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26259 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26260 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26261 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26262 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26263 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26264 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26265 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
26266 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
26267 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
26268 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
26269 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
26270 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
26271 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
26272 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
26273 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
26274 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
26275 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
26276 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
26277 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26278 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26279 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
26280 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26281 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
26282 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26283 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
26284 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26285 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
26286 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
26287 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26288 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26289 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
26290 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
26291 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26292 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26293 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26294 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
26295 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26296 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
26297 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26298 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26299 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
26300 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
26301 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
26302 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
26303 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
26304 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
26305 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
26306 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26307 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26308 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26309 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26310 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26311 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26312 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
26313 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
26314 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26315 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26316 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
26317 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
26318 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
26319 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
26320 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
26321 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
26322 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
26323 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26324 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
26325 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
26326 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
26327 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26328 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26329 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
26330 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
26331 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
26332 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26333 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
26334 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
26335 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26336 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
26337 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
26338 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26339 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
26340 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
26341 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26342 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
26343 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
26344 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26345 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
26346 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26347 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26348 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
26349 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
26350 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
26351 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26352 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
26353 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
26354 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26355 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
26356 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
26357 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
26358 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
26359 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
26360 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
26361 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26362 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
26363 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
26364 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
26365 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26366 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
26367 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
26368 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26369 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
26370 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26371 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26372 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26373 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26374 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26375 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26376 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26377 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
26378 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26379 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
26380 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26381 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
26382 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
26383 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
26384 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
26385 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
26386 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
26387 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26388 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26389 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26390 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26391 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26392 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
26393 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
26394 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
26395 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
26396 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
26397 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
26398 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26399 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26400 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26401 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
26402 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26403 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26404 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26405 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
26406 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26407 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26408 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26409 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
26410 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
26411 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
26412 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26413 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26414 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26415 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26416 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
26417 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
26418 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
26419 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
26420 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
26421 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
26422 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
26423 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
26424 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
26425 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
26426 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
26427 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
26428 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26429 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26430 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26431 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26432 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26433 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26434 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26435 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26436 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
26437 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
26438 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26439 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
26440 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
26441 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
26442 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
26443 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
26444 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
26445 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26446 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
26447 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26448 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
26449 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
26450 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
26451 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
26452 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26453 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26454 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26455 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26456 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26457 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26458 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26459 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26460 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26461 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26462 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
26463 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
26464 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
26465 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26466 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
26467 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
26468 { NULL
, NULL
, 0, NULL
}
26472 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26474 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
26475 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
26477 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
26478 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26480 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
26481 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
26483 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
26484 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
26486 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
26487 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
26489 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
26490 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
26492 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
26493 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
26495 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
26496 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
26498 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
26499 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
26501 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
26502 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
26504 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
26505 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
26507 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
26508 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
26510 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
26511 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
26513 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
26514 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
26516 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
26517 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
26519 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
26520 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
26522 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
26523 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26525 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
26526 return (void *)((wxDC
*) ((wxClientDC
*) x
));
26528 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
26529 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
26531 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
26532 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
26534 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
26535 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
26537 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
26538 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
26540 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
26541 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
26543 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
26544 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
26546 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
26547 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26549 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26550 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26552 static void *_p_wxPenTo_p_wxObject(void *x
) {
26553 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
26555 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
26556 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
26558 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26559 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26561 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26562 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26564 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26567 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26568 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26570 static void *_p_wxIconTo_p_wxObject(void *x
) {
26571 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
26573 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26574 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26576 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26577 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26579 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26580 return (void *)((wxObject
*) ((wxSizer
*) x
));
26582 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26583 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26585 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26588 static void *_p_wxEventTo_p_wxObject(void *x
) {
26589 return (void *)((wxObject
*) ((wxEvent
*) x
));
26591 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26592 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26594 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26595 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26597 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26598 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26600 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
26601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
26603 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26604 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26606 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26607 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26609 static void *_p_wxDCTo_p_wxObject(void *x
) {
26610 return (void *)((wxObject
*) ((wxDC
*) x
));
26612 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26613 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26615 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26616 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26618 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26619 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26621 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26622 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26624 static void *_p_wxControlTo_p_wxObject(void *x
) {
26625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26627 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26628 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26630 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
26631 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
26633 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26634 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26636 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
26637 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
26639 static void *_p_wxRegionTo_p_wxObject(void *x
) {
26640 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
26642 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26643 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26645 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
26646 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
26648 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
26649 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
26651 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
26652 return (void *)((wxObject
*) ((wxEffects
*) x
));
26654 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26655 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26657 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26660 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
26661 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
26663 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26664 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26666 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26667 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26669 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
26670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
26672 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26673 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26675 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26678 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26679 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26681 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26682 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26684 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26685 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26687 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26688 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26690 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26691 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26693 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26694 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26696 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26699 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26700 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26702 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26703 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26705 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26706 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26708 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26709 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26711 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26712 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26714 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26715 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26717 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26718 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26720 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26723 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
26724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
26726 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26727 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26729 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26732 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26735 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26736 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26738 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
26739 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26741 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
26742 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
26744 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
26745 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
26747 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
26748 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
26750 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
26751 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
26753 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26754 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26756 static void *_p_wxImageTo_p_wxObject(void *x
) {
26757 return (void *)((wxObject
*) ((wxImage
*) x
));
26759 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26760 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26762 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
26763 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
26765 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
26766 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
26768 static void *_p_wxImageListTo_p_wxObject(void *x
) {
26769 return (void *)((wxObject
*) ((wxImageList
*) x
));
26771 static void *_p_wxCursorTo_p_wxObject(void *x
) {
26772 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
26774 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
26775 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
26777 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
26778 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
26780 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26783 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26784 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26786 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26787 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26789 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26790 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26792 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26793 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26795 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26798 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
26799 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
26801 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26802 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26804 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
26805 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
26807 static void *_p_wxMaskTo_p_wxObject(void *x
) {
26808 return (void *)((wxObject
*) ((wxMask
*) x
));
26810 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26811 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26813 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26814 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26816 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26817 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26819 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26820 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26822 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26823 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26825 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26826 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26828 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26831 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26832 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26834 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26835 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26837 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26838 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26840 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26843 static void *_p_wxFontTo_p_wxObject(void *x
) {
26844 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26846 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26847 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26849 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26850 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26852 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26855 static void *_p_wxColourTo_p_wxObject(void *x
) {
26856 return (void *)((wxObject
*) ((wxColour
*) x
));
26858 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26861 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26862 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26864 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26865 return (void *)((wxWindow
*) ((wxControl
*) x
));
26867 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26868 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26870 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26871 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26873 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26874 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26875 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};
26876 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26877 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26878 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26879 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26880 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26881 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26882 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26883 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26884 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26885 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26886 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26887 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26888 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26889 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26890 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26891 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26892 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26893 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26894 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26895 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26896 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26897 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
26898 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26899 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26900 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26901 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26902 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26903 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26904 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26905 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26906 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26907 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26908 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26909 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26910 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26911 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26912 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26913 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26914 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26915 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26916 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26917 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26918 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26919 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26920 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26921 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26922 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26923 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26924 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26925 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26926 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26927 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26928 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26929 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
26930 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26931 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26932 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26933 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26934 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26935 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26936 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26937 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26938 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26939 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26940 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26941 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26942 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26943 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26944 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26945 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26946 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26947 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26948 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26949 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26950 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26951 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26952 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26953 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26954 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26955 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26956 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26957 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26958 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26959 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26960 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26961 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26962 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26963 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26964 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26965 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26966 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26967 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26968 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26969 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26970 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26971 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26972 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26973 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26974 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26975 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26976 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26977 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26978 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26979 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26980 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26981 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26982 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26983 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26984 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26985 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26986 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26987 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26988 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26989 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26990 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26991 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26992 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26993 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26994 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26995 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26996 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26997 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26998 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26999 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
27000 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
27001 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
27002 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
27003 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
27004 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
27005 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
27006 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
27007 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
27008 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
27009 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
27010 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
27012 static swig_type_info
*swig_type_initial
[] = {
27015 &_swigt__p_form_ops_t
,
27017 &_swigt__p_unsigned_char
,
27018 &_swigt__p_unsigned_int
,
27019 &_swigt__p_unsigned_long
,
27020 &_swigt__p_wxANIHandler
,
27021 &_swigt__p_wxAcceleratorTable
,
27022 &_swigt__p_wxActivateEvent
,
27023 &_swigt__p_wxBMPHandler
,
27024 &_swigt__p_wxBitmap
,
27025 &_swigt__p_wxBoxSizer
,
27026 &_swigt__p_wxBrush
,
27027 &_swigt__p_wxBrushList
,
27028 &_swigt__p_wxBufferedDC
,
27029 &_swigt__p_wxBufferedPaintDC
,
27030 &_swigt__p_wxCURHandler
,
27031 &_swigt__p_wxChildFocusEvent
,
27032 &_swigt__p_wxClientDC
,
27033 &_swigt__p_wxClipboardTextEvent
,
27034 &_swigt__p_wxCloseEvent
,
27035 &_swigt__p_wxColour
,
27036 &_swigt__p_wxColourDatabase
,
27037 &_swigt__p_wxCommandEvent
,
27038 &_swigt__p_wxContextMenuEvent
,
27039 &_swigt__p_wxControl
,
27040 &_swigt__p_wxControlWithItems
,
27041 &_swigt__p_wxCursor
,
27044 &_swigt__p_wxDateEvent
,
27045 &_swigt__p_wxDisplayChangedEvent
,
27046 &_swigt__p_wxDropFilesEvent
,
27047 &_swigt__p_wxDuplexMode
,
27048 &_swigt__p_wxEffects
,
27049 &_swigt__p_wxEncodingConverter
,
27050 &_swigt__p_wxEraseEvent
,
27051 &_swigt__p_wxEvent
,
27052 &_swigt__p_wxEvtHandler
,
27053 &_swigt__p_wxFSFile
,
27054 &_swigt__p_wxFileSystem
,
27055 &_swigt__p_wxFlexGridSizer
,
27056 &_swigt__p_wxFocusEvent
,
27058 &_swigt__p_wxFontList
,
27059 &_swigt__p_wxFontMapper
,
27060 &_swigt__p_wxGBSizerItem
,
27061 &_swigt__p_wxGDIObjListBase
,
27062 &_swigt__p_wxGDIObject
,
27063 &_swigt__p_wxGIFHandler
,
27064 &_swigt__p_wxGridBagSizer
,
27065 &_swigt__p_wxGridSizer
,
27066 &_swigt__p_wxICOHandler
,
27068 &_swigt__p_wxIconBundle
,
27069 &_swigt__p_wxIconLocation
,
27070 &_swigt__p_wxIconizeEvent
,
27071 &_swigt__p_wxIdleEvent
,
27072 &_swigt__p_wxImage
,
27073 &_swigt__p_wxImageHandler
,
27074 &_swigt__p_wxImageList
,
27075 &_swigt__p_wxIndividualLayoutConstraint
,
27076 &_swigt__p_wxInitDialogEvent
,
27077 &_swigt__p_wxJPEGHandler
,
27078 &_swigt__p_wxKeyEvent
,
27079 &_swigt__p_wxLanguageInfo
,
27080 &_swigt__p_wxLayoutConstraints
,
27081 &_swigt__p_wxLocale
,
27083 &_swigt__p_wxMaximizeEvent
,
27084 &_swigt__p_wxMemoryDC
,
27086 &_swigt__p_wxMenuBar
,
27087 &_swigt__p_wxMenuEvent
,
27088 &_swigt__p_wxMenuItem
,
27089 &_swigt__p_wxMetaFile
,
27090 &_swigt__p_wxMetaFileDC
,
27091 &_swigt__p_wxMirrorDC
,
27092 &_swigt__p_wxMouseCaptureChangedEvent
,
27093 &_swigt__p_wxMouseEvent
,
27094 &_swigt__p_wxMoveEvent
,
27095 &_swigt__p_wxNativeEncodingInfo
,
27096 &_swigt__p_wxNativeFontInfo
,
27097 &_swigt__p_wxNavigationKeyEvent
,
27098 &_swigt__p_wxNcPaintEvent
,
27099 &_swigt__p_wxNotifyEvent
,
27100 &_swigt__p_wxObject
,
27101 &_swigt__p_wxPCXHandler
,
27102 &_swigt__p_wxPNGHandler
,
27103 &_swigt__p_wxPNMHandler
,
27104 &_swigt__p_wxPaintDC
,
27105 &_swigt__p_wxPaintEvent
,
27106 &_swigt__p_wxPalette
,
27107 &_swigt__p_wxPaletteChangedEvent
,
27108 &_swigt__p_wxPaperSize
,
27110 &_swigt__p_wxPenList
,
27111 &_swigt__p_wxPoint
,
27112 &_swigt__p_wxPostScriptDC
,
27113 &_swigt__p_wxPrintData
,
27114 &_swigt__p_wxPrinterDC
,
27115 &_swigt__p_wxPyApp
,
27116 &_swigt__p_wxPyCommandEvent
,
27117 &_swigt__p_wxPyEvent
,
27118 &_swigt__p_wxPyFontEnumerator
,
27119 &_swigt__p_wxPyImageHandler
,
27120 &_swigt__p_wxPySizer
,
27121 &_swigt__p_wxPyValidator
,
27122 &_swigt__p_wxQueryNewPaletteEvent
,
27124 &_swigt__p_wxRegion
,
27125 &_swigt__p_wxRegionIterator
,
27126 &_swigt__p_wxRendererNative
,
27127 &_swigt__p_wxRendererVersion
,
27128 &_swigt__p_wxScreenDC
,
27129 &_swigt__p_wxScrollEvent
,
27130 &_swigt__p_wxScrollWinEvent
,
27131 &_swigt__p_wxSetCursorEvent
,
27132 &_swigt__p_wxShowEvent
,
27134 &_swigt__p_wxSizeEvent
,
27135 &_swigt__p_wxSizer
,
27136 &_swigt__p_wxSizerItem
,
27137 &_swigt__p_wxSplitterRenderParams
,
27138 &_swigt__p_wxStaticBoxSizer
,
27139 &_swigt__p_wxStdDialogButtonSizer
,
27140 &_swigt__p_wxStockGDI
,
27141 &_swigt__p_wxString
,
27142 &_swigt__p_wxSysColourChangedEvent
,
27143 &_swigt__p_wxTIFFHandler
,
27144 &_swigt__p_wxUpdateUIEvent
,
27145 &_swigt__p_wxValidator
,
27146 &_swigt__p_wxWindow
,
27147 &_swigt__p_wxWindowCreateEvent
,
27148 &_swigt__p_wxWindowDC
,
27149 &_swigt__p_wxWindowDestroyEvent
,
27150 &_swigt__p_wxXPMHandler
,
27153 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
27154 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
27155 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
27156 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
27157 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
27158 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
27159 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
27160 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
27161 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
27162 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
27163 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}};
27164 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27165 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
27166 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
27167 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
27168 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
27169 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}};
27170 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
27171 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
27172 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
27173 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
27174 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
27175 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
27176 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
27177 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}};
27178 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}};
27179 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
27180 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
27181 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
27182 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
27183 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
27184 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
27185 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
27186 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
27187 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}};
27188 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
27189 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
27190 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
27191 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
27192 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
27193 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
27194 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27195 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27196 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
27197 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
27198 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27199 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27200 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27201 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
27202 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
27203 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
27204 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
27205 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27206 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27207 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
27208 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
27209 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27210 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27211 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27212 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27213 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27214 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27215 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
27216 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
27217 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
27218 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
27219 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27220 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27221 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
27222 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
27223 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27224 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
27225 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27226 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
27227 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27228 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27229 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27230 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
27231 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27232 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27233 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
27234 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
27235 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
27236 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
27237 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27238 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27239 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27240 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27241 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
27242 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27243 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
27244 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27245 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27246 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
27247 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
27248 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
27249 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27250 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27251 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27252 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
27253 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
27254 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27255 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27256 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
27257 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27258 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27259 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27260 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27261 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27262 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
27263 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27264 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27265 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
27266 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
27267 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
27268 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}};
27269 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27270 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
27271 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
27272 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
27273 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
27274 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
27275 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
27276 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
27277 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
27278 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
27279 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
27280 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
27281 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
27282 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
27283 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
27284 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
27285 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
27286 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
27287 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
27288 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
27289 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}};
27290 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
27292 static swig_cast_info
*swig_cast_initial
[] = {
27295 _swigc__p_form_ops_t
,
27297 _swigc__p_unsigned_char
,
27298 _swigc__p_unsigned_int
,
27299 _swigc__p_unsigned_long
,
27300 _swigc__p_wxANIHandler
,
27301 _swigc__p_wxAcceleratorTable
,
27302 _swigc__p_wxActivateEvent
,
27303 _swigc__p_wxBMPHandler
,
27304 _swigc__p_wxBitmap
,
27305 _swigc__p_wxBoxSizer
,
27307 _swigc__p_wxBrushList
,
27308 _swigc__p_wxBufferedDC
,
27309 _swigc__p_wxBufferedPaintDC
,
27310 _swigc__p_wxCURHandler
,
27311 _swigc__p_wxChildFocusEvent
,
27312 _swigc__p_wxClientDC
,
27313 _swigc__p_wxClipboardTextEvent
,
27314 _swigc__p_wxCloseEvent
,
27315 _swigc__p_wxColour
,
27316 _swigc__p_wxColourDatabase
,
27317 _swigc__p_wxCommandEvent
,
27318 _swigc__p_wxContextMenuEvent
,
27319 _swigc__p_wxControl
,
27320 _swigc__p_wxControlWithItems
,
27321 _swigc__p_wxCursor
,
27324 _swigc__p_wxDateEvent
,
27325 _swigc__p_wxDisplayChangedEvent
,
27326 _swigc__p_wxDropFilesEvent
,
27327 _swigc__p_wxDuplexMode
,
27328 _swigc__p_wxEffects
,
27329 _swigc__p_wxEncodingConverter
,
27330 _swigc__p_wxEraseEvent
,
27332 _swigc__p_wxEvtHandler
,
27333 _swigc__p_wxFSFile
,
27334 _swigc__p_wxFileSystem
,
27335 _swigc__p_wxFlexGridSizer
,
27336 _swigc__p_wxFocusEvent
,
27338 _swigc__p_wxFontList
,
27339 _swigc__p_wxFontMapper
,
27340 _swigc__p_wxGBSizerItem
,
27341 _swigc__p_wxGDIObjListBase
,
27342 _swigc__p_wxGDIObject
,
27343 _swigc__p_wxGIFHandler
,
27344 _swigc__p_wxGridBagSizer
,
27345 _swigc__p_wxGridSizer
,
27346 _swigc__p_wxICOHandler
,
27348 _swigc__p_wxIconBundle
,
27349 _swigc__p_wxIconLocation
,
27350 _swigc__p_wxIconizeEvent
,
27351 _swigc__p_wxIdleEvent
,
27353 _swigc__p_wxImageHandler
,
27354 _swigc__p_wxImageList
,
27355 _swigc__p_wxIndividualLayoutConstraint
,
27356 _swigc__p_wxInitDialogEvent
,
27357 _swigc__p_wxJPEGHandler
,
27358 _swigc__p_wxKeyEvent
,
27359 _swigc__p_wxLanguageInfo
,
27360 _swigc__p_wxLayoutConstraints
,
27361 _swigc__p_wxLocale
,
27363 _swigc__p_wxMaximizeEvent
,
27364 _swigc__p_wxMemoryDC
,
27366 _swigc__p_wxMenuBar
,
27367 _swigc__p_wxMenuEvent
,
27368 _swigc__p_wxMenuItem
,
27369 _swigc__p_wxMetaFile
,
27370 _swigc__p_wxMetaFileDC
,
27371 _swigc__p_wxMirrorDC
,
27372 _swigc__p_wxMouseCaptureChangedEvent
,
27373 _swigc__p_wxMouseEvent
,
27374 _swigc__p_wxMoveEvent
,
27375 _swigc__p_wxNativeEncodingInfo
,
27376 _swigc__p_wxNativeFontInfo
,
27377 _swigc__p_wxNavigationKeyEvent
,
27378 _swigc__p_wxNcPaintEvent
,
27379 _swigc__p_wxNotifyEvent
,
27380 _swigc__p_wxObject
,
27381 _swigc__p_wxPCXHandler
,
27382 _swigc__p_wxPNGHandler
,
27383 _swigc__p_wxPNMHandler
,
27384 _swigc__p_wxPaintDC
,
27385 _swigc__p_wxPaintEvent
,
27386 _swigc__p_wxPalette
,
27387 _swigc__p_wxPaletteChangedEvent
,
27388 _swigc__p_wxPaperSize
,
27390 _swigc__p_wxPenList
,
27392 _swigc__p_wxPostScriptDC
,
27393 _swigc__p_wxPrintData
,
27394 _swigc__p_wxPrinterDC
,
27396 _swigc__p_wxPyCommandEvent
,
27397 _swigc__p_wxPyEvent
,
27398 _swigc__p_wxPyFontEnumerator
,
27399 _swigc__p_wxPyImageHandler
,
27400 _swigc__p_wxPySizer
,
27401 _swigc__p_wxPyValidator
,
27402 _swigc__p_wxQueryNewPaletteEvent
,
27404 _swigc__p_wxRegion
,
27405 _swigc__p_wxRegionIterator
,
27406 _swigc__p_wxRendererNative
,
27407 _swigc__p_wxRendererVersion
,
27408 _swigc__p_wxScreenDC
,
27409 _swigc__p_wxScrollEvent
,
27410 _swigc__p_wxScrollWinEvent
,
27411 _swigc__p_wxSetCursorEvent
,
27412 _swigc__p_wxShowEvent
,
27414 _swigc__p_wxSizeEvent
,
27416 _swigc__p_wxSizerItem
,
27417 _swigc__p_wxSplitterRenderParams
,
27418 _swigc__p_wxStaticBoxSizer
,
27419 _swigc__p_wxStdDialogButtonSizer
,
27420 _swigc__p_wxStockGDI
,
27421 _swigc__p_wxString
,
27422 _swigc__p_wxSysColourChangedEvent
,
27423 _swigc__p_wxTIFFHandler
,
27424 _swigc__p_wxUpdateUIEvent
,
27425 _swigc__p_wxValidator
,
27426 _swigc__p_wxWindow
,
27427 _swigc__p_wxWindowCreateEvent
,
27428 _swigc__p_wxWindowDC
,
27429 _swigc__p_wxWindowDestroyEvent
,
27430 _swigc__p_wxXPMHandler
,
27434 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27436 static swig_const_info swig_const_table
[] = {
27437 {0, 0, 0, 0.0, 0, 0}};
27442 /* -----------------------------------------------------------------------------
27443 * Type initialization:
27444 * This problem is tough by the requirement that no dynamic
27445 * memory is used. Also, since swig_type_info structures store pointers to
27446 * swig_cast_info structures and swig_cast_info structures store pointers back
27447 * to swig_type_info structures, we need some lookup code at initialization.
27448 * The idea is that swig generates all the structures that are needed.
27449 * The runtime then collects these partially filled structures.
27450 * The SWIG_InitializeModule function takes these initial arrays out of
27451 * swig_module, and does all the lookup, filling in the swig_module.types
27452 * array with the correct data and linking the correct swig_cast_info
27453 * structures together.
27455 * The generated swig_type_info structures are assigned staticly to an initial
27456 * array. We just loop though that array, and handle each type individually.
27457 * First we lookup if this type has been already loaded, and if so, use the
27458 * loaded structure instead of the generated one. Then we have to fill in the
27459 * cast linked list. The cast data is initially stored in something like a
27460 * two-dimensional array. Each row corresponds to a type (there are the same
27461 * number of rows as there are in the swig_type_initial array). Each entry in
27462 * a column is one of the swig_cast_info structures for that type.
27463 * The cast_initial array is actually an array of arrays, because each row has
27464 * a variable number of columns. So to actually build the cast linked list,
27465 * we find the array of casts associated with the type, and loop through it
27466 * adding the casts to the list. The one last trick we need to do is making
27467 * sure the type pointer in the swig_cast_info struct is correct.
27469 * First off, we lookup the cast->type name to see if it is already loaded.
27470 * There are three cases to handle:
27471 * 1) If the cast->type has already been loaded AND the type we are adding
27472 * casting info to has not been loaded (it is in this module), THEN we
27473 * replace the cast->type pointer with the type pointer that has already
27475 * 2) If BOTH types (the one we are adding casting info to, and the
27476 * cast->type) are loaded, THEN the cast info has already been loaded by
27477 * the previous module so we just ignore it.
27478 * 3) Finally, if cast->type has not already been loaded, then we add that
27479 * swig_cast_info to the linked list (because the cast->type) pointer will
27481 * ----------------------------------------------------------------------------- */
27491 #define SWIGRUNTIME_DEBUG
27495 SWIG_InitializeModule(void *clientdata
) {
27497 swig_module_info
*module_head
;
27498 static int init_run
= 0;
27500 clientdata
= clientdata
;
27502 if (init_run
) return;
27505 /* Initialize the swig_module */
27506 swig_module
.type_initial
= swig_type_initial
;
27507 swig_module
.cast_initial
= swig_cast_initial
;
27509 /* Try and load any already created modules */
27510 module_head
= SWIG_GetModule(clientdata
);
27512 swig_module
.next
= module_head
->next
;
27513 module_head
->next
= &swig_module
;
27515 /* This is the first module loaded */
27516 swig_module
.next
= &swig_module
;
27517 SWIG_SetModule(clientdata
, &swig_module
);
27520 /* Now work on filling in swig_module.types */
27521 #ifdef SWIGRUNTIME_DEBUG
27522 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
27524 for (i
= 0; i
< swig_module
.size
; ++i
) {
27525 swig_type_info
*type
= 0;
27526 swig_type_info
*ret
;
27527 swig_cast_info
*cast
;
27529 #ifdef SWIGRUNTIME_DEBUG
27530 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27533 /* if there is another module already loaded */
27534 if (swig_module
.next
!= &swig_module
) {
27535 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
27538 /* Overwrite clientdata field */
27539 #ifdef SWIGRUNTIME_DEBUG
27540 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
27542 if (swig_module
.type_initial
[i
]->clientdata
) {
27543 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
27544 #ifdef SWIGRUNTIME_DEBUG
27545 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
27549 type
= swig_module
.type_initial
[i
];
27552 /* Insert casting types */
27553 cast
= swig_module
.cast_initial
[i
];
27554 while (cast
->type
) {
27555 /* Don't need to add information already in the list */
27557 #ifdef SWIGRUNTIME_DEBUG
27558 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
27560 if (swig_module
.next
!= &swig_module
) {
27561 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
27562 #ifdef SWIGRUNTIME_DEBUG
27563 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
27567 if (type
== swig_module
.type_initial
[i
]) {
27568 #ifdef SWIGRUNTIME_DEBUG
27569 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
27574 /* Check for casting already in the list */
27575 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
27576 #ifdef SWIGRUNTIME_DEBUG
27577 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
27579 if (!ocast
) ret
= 0;
27584 #ifdef SWIGRUNTIME_DEBUG
27585 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
27588 type
->cast
->prev
= cast
;
27589 cast
->next
= type
->cast
;
27595 /* Set entry in modules->types array equal to the type */
27596 swig_module
.types
[i
] = type
;
27598 swig_module
.types
[i
] = 0;
27600 #ifdef SWIGRUNTIME_DEBUG
27601 printf("**** SWIG_InitializeModule: Cast List ******\n");
27602 for (i
= 0; i
< swig_module
.size
; ++i
) {
27604 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
27605 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27606 while (cast
->type
) {
27607 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
27611 printf("---- Total casts: %d\n",j
);
27613 printf("**** SWIG_InitializeModule: Cast List ******\n");
27617 /* This function will propagate the clientdata field of type to
27618 * any new swig_type_info structures that have been added into the list
27619 * of equivalent types. It is like calling
27620 * SWIG_TypeClientData(type, clientdata) a second time.
27623 SWIG_PropagateClientData(void) {
27625 swig_cast_info
*equiv
;
27626 static int init_run
= 0;
27628 if (init_run
) return;
27631 for (i
= 0; i
< swig_module
.size
; i
++) {
27632 if (swig_module
.types
[i
]->clientdata
) {
27633 equiv
= swig_module
.types
[i
]->cast
;
27635 if (!equiv
->converter
) {
27636 if (equiv
->type
&& !equiv
->type
->clientdata
)
27637 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
27639 equiv
= equiv
->next
;
27659 /* Python-specific SWIG API */
27660 #define SWIG_newvarlink() SWIG_Python_newvarlink()
27661 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
27662 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
27664 /* -----------------------------------------------------------------------------
27665 * global variable support code.
27666 * ----------------------------------------------------------------------------- */
27668 typedef struct swig_globalvar
{
27669 char *name
; /* Name of global variable */
27670 PyObject
*(*get_attr
)(void); /* Return the current value */
27671 int (*set_attr
)(PyObject
*); /* Set the value */
27672 struct swig_globalvar
*next
;
27675 typedef struct swig_varlinkobject
{
27677 swig_globalvar
*vars
;
27678 } swig_varlinkobject
;
27680 SWIGINTERN PyObject
*
27681 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
27682 return PyString_FromString("<Swig global variables>");
27685 SWIGINTERN PyObject
*
27686 swig_varlink_str(swig_varlinkobject
*v
) {
27687 PyObject
*str
= PyString_FromString("(");
27688 swig_globalvar
*var
;
27689 for (var
= v
->vars
; var
; var
=var
->next
) {
27690 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
27691 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
27693 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
27698 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
27699 PyObject
*str
= swig_varlink_str(v
);
27700 fprintf(fp
,"Swig global variables ");
27701 fprintf(fp
,"%s\n", PyString_AsString(str
));
27707 swig_varlink_dealloc(swig_varlinkobject
*v
) {
27708 swig_globalvar
*var
= v
->vars
;
27710 swig_globalvar
*n
= var
->next
;
27717 SWIGINTERN PyObject
*
27718 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
27719 PyObject
*res
= NULL
;
27720 swig_globalvar
*var
= v
->vars
;
27722 if (strcmp(var
->name
,n
) == 0) {
27723 res
= (*var
->get_attr
)();
27728 if (res
== NULL
&& !PyErr_Occurred()) {
27729 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27735 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
27737 swig_globalvar
*var
= v
->vars
;
27739 if (strcmp(var
->name
,n
) == 0) {
27740 res
= (*var
->set_attr
)(p
);
27745 if (res
== 1 && !PyErr_Occurred()) {
27746 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27751 SWIGINTERN PyTypeObject
*
27752 swig_varlink_type(void) {
27753 static char varlink__doc__
[] = "Swig var link object";
27754 static PyTypeObject varlink_type
;
27755 static int type_init
= 0;
27757 const PyTypeObject tmp
27759 PyObject_HEAD_INIT(NULL
)
27760 0, /* Number of items in variable part (ob_size) */
27761 (char *)"swigvarlink", /* Type name (tp_name) */
27762 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
27763 0, /* Itemsize (tp_itemsize) */
27764 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
27765 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
27766 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
27767 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
27768 0, /* tp_compare */
27769 (reprfunc
) swig_varlink_repr
, /* tp_repr */
27770 0, /* tp_as_number */
27771 0, /* tp_as_sequence */
27772 0, /* tp_as_mapping */
27775 (reprfunc
)swig_varlink_str
, /* tp_str */
27776 0, /* tp_getattro */
27777 0, /* tp_setattro */
27778 0, /* tp_as_buffer */
27780 varlink__doc__
, /* tp_doc */
27781 0, /* tp_traverse */
27783 0, /* tp_richcompare */
27784 0, /* tp_weaklistoffset */
27785 #if PY_VERSION_HEX >= 0x02020000
27786 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
27788 #if PY_VERSION_HEX >= 0x02030000
27791 #ifdef COUNT_ALLOCS
27792 0,0,0,0 /* tp_alloc -> tp_next */
27795 varlink_type
= tmp
;
27796 varlink_type
.ob_type
= &PyType_Type
;
27799 return &varlink_type
;
27802 /* Create a variable linking object for use later */
27803 SWIGINTERN PyObject
*
27804 SWIG_Python_newvarlink(void) {
27805 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
27809 return ((PyObject
*) result
);
27813 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
27814 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
27815 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
27817 size_t size
= strlen(name
)+1;
27818 gv
->name
= (char *)malloc(size
);
27820 strncpy(gv
->name
,name
,size
);
27821 gv
->get_attr
= get_attr
;
27822 gv
->set_attr
= set_attr
;
27823 gv
->next
= v
->vars
;
27829 SWIGINTERN PyObject
*
27831 static PyObject
*_SWIG_globals
= 0;
27832 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27833 return _SWIG_globals
;
27836 /* -----------------------------------------------------------------------------
27837 * constants/methods manipulation
27838 * ----------------------------------------------------------------------------- */
27840 /* Install Constants */
27842 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27845 for (i
= 0; constants
[i
].type
; ++i
) {
27846 switch(constants
[i
].type
) {
27847 case SWIG_PY_POINTER
:
27848 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27850 case SWIG_PY_BINARY
:
27851 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27858 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27864 /* -----------------------------------------------------------------------------*/
27865 /* Fix SwigMethods to carry the callback ptrs when needed */
27866 /* -----------------------------------------------------------------------------*/
27869 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27870 swig_const_info
*const_table
,
27871 swig_type_info
**types
,
27872 swig_type_info
**types_initial
) {
27874 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27875 const char *c
= methods
[i
].ml_doc
;
27876 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27878 swig_const_info
*ci
= 0;
27879 const char *name
= c
+ 10;
27880 for (j
= 0; const_table
[j
].type
; ++j
) {
27881 if (strncmp(const_table
[j
].name
, name
,
27882 strlen(const_table
[j
].name
)) == 0) {
27883 ci
= &(const_table
[j
]);
27888 size_t shift
= (ci
->ptype
) - types
;
27889 swig_type_info
*ty
= types_initial
[shift
];
27890 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27891 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27892 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27895 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27897 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27899 strncpy(buff
, "swig_ptr: ", 10);
27901 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27902 methods
[i
].ml_doc
= ndoc
;
27914 /* -----------------------------------------------------------------------------*
27915 * Partial Init method
27916 * -----------------------------------------------------------------------------*/
27921 SWIGEXPORT
void SWIG_init(void) {
27924 /* Fix SwigMethods to carry the callback ptrs when needed */
27925 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27927 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27928 d
= PyModule_GetDict(m
);
27930 SWIG_InitializeModule(0);
27931 SWIG_InstallConstants(d
,swig_const_table
);
27934 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
27935 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
27936 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
27937 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27938 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27939 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27940 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27941 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27942 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27943 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27944 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27945 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27946 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27947 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27948 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27949 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27950 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27951 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27952 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27953 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27954 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27955 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27956 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27957 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27958 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27959 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27960 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27961 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27962 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27963 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27964 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27965 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27966 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27967 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27968 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27969 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27970 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27971 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27972 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27973 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27974 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27975 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27976 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27977 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27978 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27979 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27980 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27981 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27982 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27983 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27984 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27985 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27986 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27987 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27988 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27989 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27990 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27991 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27992 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27993 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27994 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27995 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27996 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27997 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27998 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27999 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
28000 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
28001 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
28002 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
28003 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
28004 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
28005 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
28006 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
28007 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
28008 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
28009 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
28010 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
28011 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
28012 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
28013 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
28014 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
28015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
28016 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
28017 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
28018 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
28019 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
28020 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
28021 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
28022 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
28023 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
28024 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
28025 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
28026 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
28027 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
28028 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
28029 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
28030 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
28031 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
28032 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
28033 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
28034 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
28035 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
28036 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
28037 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
28038 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
28039 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
28040 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
28041 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
28042 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
28043 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
28044 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
28045 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
28046 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
28047 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
28048 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
28049 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
28050 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
28051 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
28052 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
28053 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
28054 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
28055 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
28056 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
28057 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
28058 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
28059 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
28060 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
28061 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
28062 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
28063 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
28065 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
28067 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
28068 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
28069 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
28070 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
28071 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
28072 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
28073 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
28074 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
28075 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
28076 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
28077 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
28078 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
28079 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
28080 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
28081 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
28082 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
28083 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
28084 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
28085 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
28086 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
28087 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
28088 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
28089 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
28090 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
28091 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
28092 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
28093 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
28094 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
28095 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
28096 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
28097 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
28098 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
28099 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
28100 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
28101 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
28102 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
28103 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
28104 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
28105 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
28106 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
28107 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
28108 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
28109 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
28110 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
28111 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
28112 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
28113 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
28114 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
28115 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
28116 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
28117 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
28118 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
28119 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
28120 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
28121 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
28122 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
28123 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
28124 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
28125 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
28126 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
28127 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
28128 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
28129 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
28130 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
28131 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
28132 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
28133 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
28134 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
28135 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
28136 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
28137 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
28138 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
28139 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
28140 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
28141 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
28142 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
28143 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
28144 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
28145 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
28146 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
28147 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
28148 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
28149 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
28150 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
28151 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
28152 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
28153 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
28154 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
28155 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
28156 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
28157 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
28158 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
28159 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
28160 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
28161 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
28162 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
28163 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
28164 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
28165 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
28166 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
28167 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
28168 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
28169 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
28170 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
28171 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
28172 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
28173 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
28174 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
28175 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
28176 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
28177 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
28178 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
28179 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
28180 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
28181 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
28182 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
28183 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
28184 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
28185 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
28186 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
28187 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
28188 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
28189 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
28190 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
28191 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
28192 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
28193 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
28194 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
28195 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
28196 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
28197 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
28198 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
28199 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
28200 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
28201 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
28202 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
28203 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
28204 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
28205 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
28206 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
28207 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
28208 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
28209 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
28210 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
28211 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
28212 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
28213 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
28214 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
28215 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
28216 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
28217 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
28218 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
28219 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
28220 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
28221 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
28222 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
28223 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
28224 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
28225 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
28226 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
28227 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
28228 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
28229 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
28230 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
28231 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
28232 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
28233 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
28234 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
28235 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
28236 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
28237 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
28238 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
28239 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
28240 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
28241 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
28242 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
28243 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
28244 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
28245 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
28246 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
28247 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
28248 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
28249 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
28250 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
28251 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
28252 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
28253 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
28254 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
28255 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
28256 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
28257 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
28258 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
28259 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
28260 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
28261 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
28262 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
28263 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
28264 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
28265 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
28266 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
28267 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
28268 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
28269 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
28270 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
28271 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
28272 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
28273 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
28274 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
28275 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
28276 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
28277 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
28278 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
28279 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
28280 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
28281 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
28282 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
28283 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
28284 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
28285 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
28286 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
28287 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
28288 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
28289 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
28290 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
28291 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
28292 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
28293 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
28294 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
28295 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
28296 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
28297 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
28298 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
28299 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
28300 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
28301 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
28302 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
28303 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
28304 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
28305 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
28306 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
28307 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
28308 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
28309 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
28310 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
28311 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
28312 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
28313 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
28314 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
28315 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
28316 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
28317 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
28318 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
28319 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
28320 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
28321 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
28322 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
28323 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
28324 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
28325 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
28326 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
28327 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
28328 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
28329 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
28330 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
28331 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
28332 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
28333 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
28334 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
28335 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
28336 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
28337 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
28338 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
28339 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
28340 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
28341 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
28342 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
28343 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
28344 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
28345 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
28346 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
28347 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
28348 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
28349 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
28350 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
28351 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
28352 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
28353 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
28354 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
28355 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
28356 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
28357 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
28358 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
28359 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
28360 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
28361 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
28362 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
28363 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
28364 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
28365 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
28366 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
28367 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
28368 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
28369 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
28370 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
28371 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
28372 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
28373 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
28374 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
28375 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
28376 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
28377 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
28378 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
28379 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
28380 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
28382 // Work around a chicken/egg problem in drawlist.cpp
28383 wxPyDrawList_SetAPIPtr();