1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_double swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxBrush swig_types[13]
2476 #define SWIGTYPE_p_wxBrushList swig_types[14]
2477 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2478 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2481 #define SWIGTYPE_p_wxClientDC swig_types[19]
2482 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[20]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2484 #define SWIGTYPE_p_wxColour swig_types[22]
2485 #define SWIGTYPE_p_wxColourDatabase swig_types[23]
2486 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2487 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2488 #define SWIGTYPE_p_wxControl swig_types[26]
2489 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2490 #define SWIGTYPE_p_wxCursor swig_types[28]
2491 #define SWIGTYPE_p_wxDC swig_types[29]
2492 #define SWIGTYPE_p_wxDash swig_types[30]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2496 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2497 #define SWIGTYPE_p_wxEffects swig_types[35]
2498 #define SWIGTYPE_p_wxEncodingConverter swig_types[36]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvent swig_types[38]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2502 #define SWIGTYPE_p_wxFSFile swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontList swig_types[45]
2508 #define SWIGTYPE_p_wxFontMapper swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGDIObjListBase swig_types[48]
2511 #define SWIGTYPE_p_wxGDIObject swig_types[49]
2512 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2513 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2514 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconLocation swig_types[56]
2519 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2520 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2521 #define SWIGTYPE_p_wxImage swig_types[59]
2522 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2523 #define SWIGTYPE_p_wxImageList swig_types[61]
2524 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2525 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2526 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2527 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2528 #define SWIGTYPE_p_wxLanguageInfo swig_types[66]
2529 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2530 #define SWIGTYPE_p_wxLocale swig_types[68]
2531 #define SWIGTYPE_p_wxMask swig_types[69]
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2533 #define SWIGTYPE_p_wxMemoryDC swig_types[71]
2534 #define SWIGTYPE_p_wxMenu swig_types[72]
2535 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2536 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2538 #define SWIGTYPE_p_wxMetaFile swig_types[76]
2539 #define SWIGTYPE_p_wxMetaFileDC swig_types[77]
2540 #define SWIGTYPE_p_wxMirrorDC swig_types[78]
2541 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2542 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2543 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[82]
2545 #define SWIGTYPE_p_wxNativeFontInfo swig_types[83]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2549 #define SWIGTYPE_p_wxObject swig_types[87]
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2553 #define SWIGTYPE_p_wxPaintDC swig_types[91]
2554 #define SWIGTYPE_p_wxPaintEvent swig_types[92]
2555 #define SWIGTYPE_p_wxPalette swig_types[93]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2557 #define SWIGTYPE_p_wxPaperSize swig_types[95]
2558 #define SWIGTYPE_p_wxPen swig_types[96]
2559 #define SWIGTYPE_p_wxPenList swig_types[97]
2560 #define SWIGTYPE_p_wxPoint swig_types[98]
2561 #define SWIGTYPE_p_wxPostScriptDC swig_types[99]
2562 #define SWIGTYPE_p_wxPrintData swig_types[100]
2563 #define SWIGTYPE_p_wxPrinterDC swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPySizer swig_types[107]
2570 #define SWIGTYPE_p_wxPyValidator swig_types[108]
2571 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[109]
2572 #define SWIGTYPE_p_wxRect swig_types[110]
2573 #define SWIGTYPE_p_wxRegion swig_types[111]
2574 #define SWIGTYPE_p_wxRegionIterator swig_types[112]
2575 #define SWIGTYPE_p_wxRendererNative swig_types[113]
2576 #define SWIGTYPE_p_wxRendererVersion swig_types[114]
2577 #define SWIGTYPE_p_wxScreenDC swig_types[115]
2578 #define SWIGTYPE_p_wxScrollEvent swig_types[116]
2579 #define SWIGTYPE_p_wxScrollWinEvent swig_types[117]
2580 #define SWIGTYPE_p_wxSetCursorEvent swig_types[118]
2581 #define SWIGTYPE_p_wxShowEvent swig_types[119]
2582 #define SWIGTYPE_p_wxSize swig_types[120]
2583 #define SWIGTYPE_p_wxSizeEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSizer swig_types[122]
2585 #define SWIGTYPE_p_wxSizerItem swig_types[123]
2586 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[124]
2587 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[125]
2588 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[126]
2589 #define SWIGTYPE_p_wxStockGDI swig_types[127]
2590 #define SWIGTYPE_p_wxString swig_types[128]
2591 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[129]
2592 #define SWIGTYPE_p_wxTIFFHandler swig_types[130]
2593 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[131]
2594 #define SWIGTYPE_p_wxValidator swig_types[132]
2595 #define SWIGTYPE_p_wxWindow swig_types[133]
2596 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[134]
2597 #define SWIGTYPE_p_wxWindowDC swig_types[135]
2598 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[136]
2599 #define SWIGTYPE_p_wxXPMHandler swig_types[137]
2600 static swig_type_info
*swig_types
[139];
2601 static swig_module_info swig_module
= {swig_types
, 138, 0, 0, 0, 0};
2602 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2603 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2605 /* -------- TYPES TABLE (END) -------- */
2607 #if (PY_VERSION_HEX <= 0x02000000)
2608 # if !defined(SWIG_PYTHON_CLASSIC)
2609 # error "This python version requires to use swig with the '-classic' option"
2612 #if (PY_VERSION_HEX <= 0x02020000)
2613 # error "This python version requires to use swig with the '-nomodern' option"
2615 #if (PY_VERSION_HEX <= 0x02020000)
2616 # error "This python version requires to use swig with the '-nomodernargs' option"
2619 # error "This python version requires to use swig with the '-nofastunpack' option"
2622 /*-----------------------------------------------
2623 @(target):= _gdi_.so
2624 ------------------------------------------------*/
2625 #define SWIG_init init_gdi_
2627 #define SWIG_name "_gdi_"
2629 #define SWIGVERSION 0x010329
2632 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2633 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2636 #include <stdexcept>
2640 class PyObject_ptr
{
2645 PyObject_ptr() :_obj(0)
2649 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2654 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2656 if (initial_ref
) Py_XINCREF(_obj
);
2659 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2661 Py_XINCREF(item
._obj
);
2672 operator PyObject
*() const
2677 PyObject
*operator->() const
2686 struct PyObject_var
: PyObject_ptr
{
2687 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2689 PyObject_var
& operator = (PyObject
* obj
)
2699 #include "wx/wxPython/wxPython.h"
2700 #include "wx/wxPython/pyclasses.h"
2703 static const wxString
wxPyEmptyString(wxEmptyString
);
2705 #define SWIG_From_long PyInt_FromLong
2708 SWIGINTERNINLINE PyObject
*
2709 SWIG_From_int (int value
)
2711 return SWIG_From_long (value
);
2717 # define LLONG_MIN LONG_LONG_MIN
2720 # define LLONG_MAX LONG_LONG_MAX
2723 # define ULLONG_MAX ULONG_LONG_MAX
2728 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2730 if (PyNumber_Check(obj
)) {
2731 if (val
) *val
= PyInt_AsLong(obj
);
2734 return SWIG_TypeError
;
2739 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2742 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2743 return SWIG_TypeError
;
2746 *val
= (unsigned long)v
;
2752 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2755 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2756 if (SWIG_IsOK(res
)) {
2757 if ((v
> UCHAR_MAX
)) {
2758 return SWIG_OverflowError
;
2760 if (val
) *val
= static_cast< unsigned char >(v
);
2767 SWIGINTERNINLINE PyObject
*
2768 SWIG_From_unsigned_SS_long (unsigned long value
)
2770 return (value
> LONG_MAX
) ?
2771 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2775 SWIGINTERNINLINE PyObject
*
2776 SWIG_From_unsigned_SS_char (unsigned char value
)
2778 return SWIG_From_unsigned_SS_long (value
);
2781 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2782 wxColour temp
, *obj
= &temp
;
2783 if ( other
== Py_None
) return false;
2784 if ( ! wxColour_helper(other
, &obj
) ) {
2788 return self
->operator==(*obj
);
2790 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2791 wxColour temp
, *obj
= &temp
;
2792 if ( other
== Py_None
) return true;
2793 if ( ! wxColour_helper(other
, &obj
)) {
2797 return self
->operator!=(*obj
);
2799 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2800 PyObject
* rv
= PyTuple_New(3);
2806 green
= self
->Green();
2807 blue
= self
->Blue();
2809 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2810 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2811 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2814 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2815 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2819 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2822 int res
= SWIG_AsVal_long (obj
, &v
);
2823 if (SWIG_IsOK(res
)) {
2824 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2825 return SWIG_OverflowError
;
2827 if (val
) *val
= static_cast< int >(v
);
2833 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2835 int count
= self
->GetDashes(&dashes
);
2836 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2837 PyObject
* retval
= PyList_New(0);
2838 for (int x
=0; x
<count
; x
++) {
2839 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2840 PyList_Append(retval
, pyint
);
2843 wxPyEndBlockThreads(blocked
);
2846 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2848 int size
= PyList_Size(pyDashes
);
2849 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2851 // black magic warning! The array of wxDashes needs to exist as
2852 // long as the pen does because wxPen does not copy the array. So
2853 // stick a copy in a Python string object and attach it to _self,
2854 // and then call SetDashes with a pointer to that array. Then
2855 // when the Python pen object is destroyed the array will be
2857 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2858 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2860 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2862 Py_DECREF(strDashes
);
2863 wxPyEndBlockThreads(blocked
);
2865 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2866 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2868 #include <wx/image.h>
2870 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2871 char** cArray
= NULL
;
2874 if (!PyList_Check(listOfStrings
)) {
2875 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2878 count
= PyList_Size(listOfStrings
);
2879 cArray
= new char*[count
];
2881 for(int x
=0; x
<count
; x
++) {
2882 // TODO: Need some validation and error checking here
2883 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2889 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2890 char** cArray
= NULL
;
2893 cArray
= ConvertListOfStrings(listOfStrings
);
2896 bmp
= new wxBitmap(cArray
);
2900 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2903 PyString_AsStringAndSize(bits
, &buf
, &length
);
2904 return new wxBitmap(buf
, width
, height
, depth
);
2906 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2907 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2908 wxSize
size(self
->GetWidth(), self
->GetHeight());
2911 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2912 wxMask
*mask
= new wxMask(*self
, colour
);
2913 self
->SetMask(mask
);
2915 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2916 self
->SetWidth(size
.x
);
2917 self
->SetHeight(size
.y
);
2919 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2920 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2921 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2923 return new wxMask(bitmap
, *wxBLACK
);
2925 return new wxMask(bitmap
, colour
);
2928 #include <wx/iconbndl.h>
2930 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2931 wxIcon
* icon
= new wxIcon();
2932 icon
->CopyFromBitmap(bmp
);
2935 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2936 char** cArray
= NULL
;
2939 cArray
= ConvertListOfStrings(listOfStrings
);
2942 icon
= new wxIcon(cArray
);
2946 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2947 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2949 return new wxIconLocation(*filename
, num
);
2954 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2956 self
->SetIndex(num
);
2961 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2963 return self
->GetIndex();
2968 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2970 wxImage
img(cursorName
, type
);
2971 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2972 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2973 return new wxCursor(img
);
2975 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2978 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2981 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2984 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2985 return self
->operator bool();
2988 #include <wx/fontutil.h>
2989 #include <wx/fontmap.h>
2990 #include <wx/fontenum.h>
2994 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2996 if (obj
== Py_True
) {
2997 if (val
) *val
= true;
2999 } else if (obj
== Py_False
) {
3000 if (val
) *val
= false;
3004 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3005 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3010 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3011 return self
->ToString();
3014 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3015 { wxPyRaiseNotImplemented(); return NULL
; }
3017 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3018 { wxPyRaiseNotImplemented(); return false; }
3021 SWIGINTERNINLINE PyObject
*
3022 SWIG_From_size_t (size_t value
)
3024 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3028 SWIGINTERNINLINE
int
3029 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3032 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3033 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3037 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3038 wxFontEncoding alt_enc
;
3039 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3040 return PyInt_FromLong(alt_enc
);
3046 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3047 wxNativeFontInfo nfi
;
3048 nfi
.FromString(info
);
3049 return new wxFont(nfi
);
3051 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3052 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3054 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3055 return wxFontBase::New(pixelSize
, family
,
3056 style
, weight
, underlined
,
3059 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3060 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3062 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3063 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3065 class wxPyFontEnumerator
: public wxFontEnumerator
{
3067 wxPyFontEnumerator() {}
3068 ~wxPyFontEnumerator() {}
3070 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3071 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3076 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3077 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3080 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3082 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3084 ret
= wxArrayString2PyList_helper(arr
);
3085 wxPyEndBlockThreads(blocked
);
3088 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3090 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3091 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3092 ret
= wxArrayString2PyList_helper(arr
);
3093 wxPyEndBlockThreads(blocked
);
3099 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3102 loc
= new wxLocale();
3104 loc
= new wxLocale(language
, flags
);
3105 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3106 // for the floating point conversions and such to work right.
3107 #if PY_VERSION_HEX < 0x02040000
3108 setlocale(LC_NUMERIC
, "C");
3112 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3113 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3114 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3115 // for the floating point conversions and such to work right.
3116 #if PY_VERSION_HEX < 0x02040000
3117 setlocale(LC_NUMERIC
, "C");
3121 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3122 bool rc
= self
->Init(language
, flags
);
3123 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3124 // for the floating point conversions and such to work right.
3125 #if PY_VERSION_HEX < 0x02040000
3126 setlocale(LC_NUMERIC
, "C");
3131 #include "wx/wxPython/pydrawxxx.h"
3133 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3135 self
->GetPixel(x
, y
, &col
);
3138 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3140 self
->GetPixel(pt
, &col
);
3145 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3147 if (PyNumber_Check(obj
)) {
3148 if (val
) *val
= PyFloat_AsDouble(obj
);
3151 return SWIG_TypeError
;
3154 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3156 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3159 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3161 self
->GetClippingBox(rect
);
3164 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3166 self
->GetPartialTextExtents(text
, widths
);
3170 #define SWIG_From_double PyFloat_FromDouble
3172 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3173 self
->SetLogicalOrigin(point
.x
, point
.y
);
3175 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3176 self
->SetDeviceOrigin(point
.x
, point
.y
);
3178 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3179 self
->CalcBoundingBox(point
.x
, point
.y
);
3181 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3182 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3184 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3185 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3187 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3188 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3190 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3191 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3193 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3194 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3196 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3197 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3200 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3208 #include <wx/dcbuffer.h>
3211 #include <wx/dcps.h>
3214 #include <wx/metafile.h>
3218 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3219 self
->AddColour(name
, wxColour(red
, green
, blue
));
3222 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3223 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3224 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3225 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3228 #include <wx/effects.h>
3231 #include "wx/renderer.h"
3234 SWIGINTERNINLINE PyObject
*
3235 SWIG_From_bool (bool value
)
3237 return PyBool_FromLong(value
? 1 : 0);
3243 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3244 PyObject
*resultobj
= 0;
3245 wxGDIObject
*result
= 0 ;
3247 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3249 if (!wxPyCheckForApp()) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= (wxGDIObject
*)new wxGDIObject();
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3262 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3263 PyObject
*resultobj
= 0;
3264 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3267 PyObject
*swig_obj
[1] ;
3269 if (!args
) SWIG_fail
;
3271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3272 if (!SWIG_IsOK(res1
)) {
3273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3275 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3283 resultobj
= SWIG_Py_Void();
3290 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3291 PyObject
*resultobj
= 0;
3292 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3296 PyObject
*swig_obj
[1] ;
3298 if (!args
) SWIG_fail
;
3300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3301 if (!SWIG_IsOK(res1
)) {
3302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3304 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 result
= (bool)(arg1
)->IsNull();
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3320 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3323 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3324 return SWIG_Py_Void();
3327 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3328 return SWIG_Python_InitShadowInstance(args
);
3331 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
= 0;
3333 byte arg1
= (byte
) 0 ;
3334 byte arg2
= (byte
) 0 ;
3335 byte arg3
= (byte
) 0 ;
3336 wxColour
*result
= 0 ;
3337 unsigned char val1
;
3339 unsigned char val2
;
3341 unsigned char val3
;
3343 PyObject
* obj0
= 0 ;
3344 PyObject
* obj1
= 0 ;
3345 PyObject
* obj2
= 0 ;
3346 char * kwnames
[] = {
3347 (char *) "red",(char *) "green",(char *) "blue", NULL
3350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3352 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3353 if (!SWIG_IsOK(ecode1
)) {
3354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3356 arg1
= static_cast< byte
>(val1
);
3359 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3360 if (!SWIG_IsOK(ecode2
)) {
3361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3363 arg2
= static_cast< byte
>(val2
);
3366 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3367 if (!SWIG_IsOK(ecode3
)) {
3368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3370 arg3
= static_cast< byte
>(val3
);
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3385 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
= 0;
3387 wxString
*arg1
= 0 ;
3388 wxColour
*result
= 0 ;
3389 bool temp1
= false ;
3390 PyObject
* obj0
= 0 ;
3391 char * kwnames
[] = {
3392 (char *) "colorName", NULL
3395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3397 arg1
= wxString_in_helper(obj0
);
3398 if (arg1
== NULL
) SWIG_fail
;
3402 if (!wxPyCheckForApp()) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3423 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
= 0;
3425 unsigned long arg1
;
3426 wxColour
*result
= 0 ;
3427 unsigned long val1
;
3429 PyObject
* obj0
= 0 ;
3430 char * kwnames
[] = {
3431 (char *) "colRGB", NULL
3434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3435 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3436 if (!SWIG_IsOK(ecode1
)) {
3437 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3439 arg1
= static_cast< unsigned long >(val1
);
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (wxColour
*)new wxColour(arg1
);
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3453 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3454 PyObject
*resultobj
= 0;
3455 wxColour
*arg1
= (wxColour
*) 0 ;
3458 PyObject
*swig_obj
[1] ;
3460 if (!args
) SWIG_fail
;
3462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3463 if (!SWIG_IsOK(res1
)) {
3464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3466 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_Py_Void();
3481 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3482 PyObject
*resultobj
= 0;
3483 wxColour
*arg1
= (wxColour
*) 0 ;
3487 PyObject
*swig_obj
[1] ;
3489 if (!args
) SWIG_fail
;
3491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3492 if (!SWIG_IsOK(res1
)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3495 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 result
= (byte
)(arg1
)->Red();
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3509 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3510 PyObject
*resultobj
= 0;
3511 wxColour
*arg1
= (wxColour
*) 0 ;
3515 PyObject
*swig_obj
[1] ;
3517 if (!args
) SWIG_fail
;
3519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3520 if (!SWIG_IsOK(res1
)) {
3521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3523 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (byte
)(arg1
)->Green();
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3530 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3537 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3538 PyObject
*resultobj
= 0;
3539 wxColour
*arg1
= (wxColour
*) 0 ;
3543 PyObject
*swig_obj
[1] ;
3545 if (!args
) SWIG_fail
;
3547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3548 if (!SWIG_IsOK(res1
)) {
3549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3551 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (byte
)(arg1
)->Blue();
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3565 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3566 PyObject
*resultobj
= 0;
3567 wxColour
*arg1
= (wxColour
*) 0 ;
3571 PyObject
*swig_obj
[1] ;
3573 if (!args
) SWIG_fail
;
3575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3576 if (!SWIG_IsOK(res1
)) {
3577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3579 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (bool)(arg1
)->Ok();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3595 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
= 0;
3597 wxColour
*arg1
= (wxColour
*) 0 ;
3603 unsigned char val2
;
3605 unsigned char val3
;
3607 unsigned char val4
;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3611 PyObject
* obj2
= 0 ;
3612 PyObject
* obj3
= 0 ;
3613 char * kwnames
[] = {
3614 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3619 if (!SWIG_IsOK(res1
)) {
3620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3622 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3623 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3624 if (!SWIG_IsOK(ecode2
)) {
3625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3627 arg2
= static_cast< byte
>(val2
);
3628 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3629 if (!SWIG_IsOK(ecode3
)) {
3630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3632 arg3
= static_cast< byte
>(val3
);
3633 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3634 if (!SWIG_IsOK(ecode4
)) {
3635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3637 arg4
= static_cast< byte
>(val4
);
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->Set(arg2
,arg3
,arg4
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 resultobj
= SWIG_Py_Void();
3651 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
= 0;
3653 wxColour
*arg1
= (wxColour
*) 0 ;
3654 unsigned long arg2
;
3657 unsigned long val2
;
3659 PyObject
* obj0
= 0 ;
3660 PyObject
* obj1
= 0 ;
3661 char * kwnames
[] = {
3662 (char *) "self",(char *) "colRGB", NULL
3665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3667 if (!SWIG_IsOK(res1
)) {
3668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3670 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3671 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3672 if (!SWIG_IsOK(ecode2
)) {
3673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3675 arg2
= static_cast< unsigned long >(val2
);
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) SWIG_fail
;
3682 resultobj
= SWIG_Py_Void();
3689 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
= 0;
3691 wxColour
*arg1
= (wxColour
*) 0 ;
3692 wxString
*arg2
= 0 ;
3695 bool temp2
= false ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 char * kwnames
[] = {
3699 (char *) "self",(char *) "colourName", NULL
3702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3704 if (!SWIG_IsOK(res1
)) {
3705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3707 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3709 arg2
= wxString_in_helper(obj1
);
3710 if (arg2
== NULL
) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 (arg1
)->InitFromName((wxString
const &)*arg2
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_Py_Void();
3734 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
= 0;
3736 wxColour
*arg1
= (wxColour
*) 0 ;
3737 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3743 PyObject
* obj0
= 0 ;
3744 PyObject
* obj1
= 0 ;
3745 char * kwnames
[] = {
3746 (char *) "self",(char *) "flags", NULL
3749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3751 if (!SWIG_IsOK(res1
)) {
3752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3754 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3756 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3757 if (!SWIG_IsOK(ecode2
)) {
3758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3760 arg2
= static_cast< long >(val2
);
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3781 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3782 PyObject
*resultobj
= 0;
3783 wxColour
*arg1
= (wxColour
*) 0 ;
3787 PyObject
*swig_obj
[1] ;
3789 if (!args
) SWIG_fail
;
3791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3792 if (!SWIG_IsOK(res1
)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3795 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 resultobj
= SWIG_From_long(static_cast< long >(result
));
3809 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
= 0;
3811 wxColour
*arg1
= (wxColour
*) 0 ;
3812 PyObject
*arg2
= (PyObject
*) 0 ;
3816 PyObject
* obj0
= 0 ;
3817 PyObject
* obj1
= 0 ;
3818 char * kwnames
[] = {
3819 (char *) "self",(char *) "other", NULL
3822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3824 if (!SWIG_IsOK(res1
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3827 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3830 result
= (bool)wxColour___eq__(arg1
,arg2
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3842 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
= 0;
3844 wxColour
*arg1
= (wxColour
*) 0 ;
3845 PyObject
*arg2
= (PyObject
*) 0 ;
3849 PyObject
* obj0
= 0 ;
3850 PyObject
* obj1
= 0 ;
3851 char * kwnames
[] = {
3852 (char *) "self",(char *) "other", NULL
3855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3857 if (!SWIG_IsOK(res1
)) {
3858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3860 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3863 result
= (bool)wxColour___ne__(arg1
,arg2
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3875 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3876 PyObject
*resultobj
= 0;
3877 wxColour
*arg1
= (wxColour
*) 0 ;
3878 PyObject
*result
= 0 ;
3881 PyObject
*swig_obj
[1] ;
3883 if (!args
) SWIG_fail
;
3885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3886 if (!SWIG_IsOK(res1
)) {
3887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3889 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 result
= (PyObject
*)wxColour_Get(arg1
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3903 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3904 PyObject
*resultobj
= 0;
3905 wxColour
*arg1
= (wxColour
*) 0 ;
3906 unsigned long result
;
3909 PyObject
*swig_obj
[1] ;
3911 if (!args
) SWIG_fail
;
3913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3914 if (!SWIG_IsOK(res1
)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3917 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 result
= (unsigned long)wxColour_GetRGB(arg1
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3931 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3934 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3935 return SWIG_Py_Void();
3938 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3939 return SWIG_Python_InitShadowInstance(args
);
3942 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
= 0;
3945 unsigned char *arg2
= (unsigned char *) 0 ;
3946 unsigned char *arg3
= (unsigned char *) 0 ;
3947 unsigned char *arg4
= (unsigned char *) 0 ;
3948 wxPalette
*result
= 0 ;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3959 PyObject
* obj2
= 0 ;
3960 PyObject
* obj3
= 0 ;
3961 char * kwnames
[] = {
3962 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3966 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3967 if (!SWIG_IsOK(ecode1
)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3970 arg1
= static_cast< int >(val1
);
3971 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3972 if (!SWIG_IsOK(res2
)) {
3973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3975 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3976 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3977 if (!SWIG_IsOK(res3
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3980 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3981 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3982 if (!SWIG_IsOK(res4
)) {
3983 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
3985 arg4
= reinterpret_cast< unsigned char * >(argp4
);
3987 if (!wxPyCheckForApp()) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4000 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4001 PyObject
*resultobj
= 0;
4002 wxPalette
*arg1
= (wxPalette
*) 0 ;
4005 PyObject
*swig_obj
[1] ;
4007 if (!args
) SWIG_fail
;
4009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4010 if (!SWIG_IsOK(res1
)) {
4011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4013 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= SWIG_Py_Void();
4028 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
= 0;
4030 wxPalette
*arg1
= (wxPalette
*) 0 ;
4037 unsigned char val2
;
4039 unsigned char val3
;
4041 unsigned char val4
;
4043 PyObject
* obj0
= 0 ;
4044 PyObject
* obj1
= 0 ;
4045 PyObject
* obj2
= 0 ;
4046 PyObject
* obj3
= 0 ;
4047 char * kwnames
[] = {
4048 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4053 if (!SWIG_IsOK(res1
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4056 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4057 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4058 if (!SWIG_IsOK(ecode2
)) {
4059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4061 arg2
= static_cast< byte
>(val2
);
4062 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4063 if (!SWIG_IsOK(ecode3
)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4066 arg3
= static_cast< byte
>(val3
);
4067 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4068 if (!SWIG_IsOK(ecode4
)) {
4069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4071 arg4
= static_cast< byte
>(val4
);
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= SWIG_From_int(static_cast< int >(result
));
4085 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
= 0;
4087 wxPalette
*arg1
= (wxPalette
*) 0 ;
4089 byte
*arg3
= (byte
*) 0 ;
4090 byte
*arg4
= (byte
*) 0 ;
4091 byte
*arg5
= (byte
*) 0 ;
4098 int res3
= SWIG_TMPOBJ
;
4100 int res4
= SWIG_TMPOBJ
;
4102 int res5
= SWIG_TMPOBJ
;
4103 PyObject
* obj0
= 0 ;
4104 PyObject
* obj1
= 0 ;
4105 char * kwnames
[] = {
4106 (char *) "self",(char *) "pixel", NULL
4112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4114 if (!SWIG_IsOK(res1
)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4117 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4119 if (!SWIG_IsOK(ecode2
)) {
4120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4122 arg2
= static_cast< int >(val2
);
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4132 if (SWIG_IsTmpObj(res3
)) {
4133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4135 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4138 if (SWIG_IsTmpObj(res4
)) {
4139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4141 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4144 if (SWIG_IsTmpObj(res5
)) {
4145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4147 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4156 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4157 PyObject
*resultobj
= 0;
4158 wxPalette
*arg1
= (wxPalette
*) 0 ;
4162 PyObject
*swig_obj
[1] ;
4164 if (!args
) SWIG_fail
;
4166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4167 if (!SWIG_IsOK(res1
)) {
4168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4170 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_From_int(static_cast< int >(result
));
4184 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4185 PyObject
*resultobj
= 0;
4186 wxPalette
*arg1
= (wxPalette
*) 0 ;
4190 PyObject
*swig_obj
[1] ;
4192 if (!args
) SWIG_fail
;
4194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4195 if (!SWIG_IsOK(res1
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4198 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (bool)(arg1
)->Ok();
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4214 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4217 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4218 return SWIG_Py_Void();
4221 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4222 return SWIG_Python_InitShadowInstance(args
);
4225 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= 0;
4227 wxColour
*arg1
= 0 ;
4228 int arg2
= (int) 1 ;
4229 int arg3
= (int) wxSOLID
;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4238 PyObject
* obj2
= 0 ;
4239 char * kwnames
[] = {
4240 (char *) "colour",(char *) "width",(char *) "style", NULL
4243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4246 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4250 if (!SWIG_IsOK(ecode2
)) {
4251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4253 arg2
= static_cast< int >(val2
);
4256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4257 if (!SWIG_IsOK(ecode3
)) {
4258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4260 arg3
= static_cast< int >(val3
);
4263 if (!wxPyCheckForApp()) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4276 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4277 PyObject
*resultobj
= 0;
4278 wxPen
*arg1
= (wxPen
*) 0 ;
4281 PyObject
*swig_obj
[1] ;
4283 if (!args
) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4289 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_Py_Void();
4304 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4305 PyObject
*resultobj
= 0;
4306 wxPen
*arg1
= (wxPen
*) 0 ;
4310 PyObject
*swig_obj
[1] ;
4312 if (!args
) SWIG_fail
;
4314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4315 if (!SWIG_IsOK(res1
)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4318 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (int)(arg1
)->GetCap();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_From_int(static_cast< int >(result
));
4332 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4333 PyObject
*resultobj
= 0;
4334 wxPen
*arg1
= (wxPen
*) 0 ;
4338 PyObject
*swig_obj
[1] ;
4340 if (!args
) SWIG_fail
;
4342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4343 if (!SWIG_IsOK(res1
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4346 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (arg1
)->GetColour();
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4360 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4361 PyObject
*resultobj
= 0;
4362 wxPen
*arg1
= (wxPen
*) 0 ;
4366 PyObject
*swig_obj
[1] ;
4368 if (!args
) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4374 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (int)(arg1
)->GetJoin();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_From_int(static_cast< int >(result
));
4388 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4389 PyObject
*resultobj
= 0;
4390 wxPen
*arg1
= (wxPen
*) 0 ;
4394 PyObject
*swig_obj
[1] ;
4396 if (!args
) SWIG_fail
;
4398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4399 if (!SWIG_IsOK(res1
)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4402 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (int)(arg1
)->GetStyle();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= SWIG_From_int(static_cast< int >(result
));
4416 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4417 PyObject
*resultobj
= 0;
4418 wxPen
*arg1
= (wxPen
*) 0 ;
4422 PyObject
*swig_obj
[1] ;
4424 if (!args
) SWIG_fail
;
4426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4427 if (!SWIG_IsOK(res1
)) {
4428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4430 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 result
= (int)(arg1
)->GetWidth();
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= SWIG_From_int(static_cast< int >(result
));
4444 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4445 PyObject
*resultobj
= 0;
4446 wxPen
*arg1
= (wxPen
*) 0 ;
4450 PyObject
*swig_obj
[1] ;
4452 if (!args
) SWIG_fail
;
4454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4455 if (!SWIG_IsOK(res1
)) {
4456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4458 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (bool)(arg1
)->Ok();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4474 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
= 0;
4476 wxPen
*arg1
= (wxPen
*) 0 ;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4484 char * kwnames
[] = {
4485 (char *) "self",(char *) "cap_style", NULL
4488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4490 if (!SWIG_IsOK(res1
)) {
4491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4493 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4495 if (!SWIG_IsOK(ecode2
)) {
4496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4498 arg2
= static_cast< int >(val2
);
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 (arg1
)->SetCap(arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= SWIG_Py_Void();
4512 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
= 0;
4514 wxPen
*arg1
= (wxPen
*) 0 ;
4515 wxColour
*arg2
= 0 ;
4519 PyObject
* obj0
= 0 ;
4520 PyObject
* obj1
= 0 ;
4521 char * kwnames
[] = {
4522 (char *) "self",(char *) "colour", NULL
4525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4527 if (!SWIG_IsOK(res1
)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4530 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 (arg1
)->SetColour(*arg2
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= SWIG_Py_Void();
4548 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
= 0;
4550 wxPen
*arg1
= (wxPen
*) 0 ;
4556 PyObject
* obj0
= 0 ;
4557 PyObject
* obj1
= 0 ;
4558 char * kwnames
[] = {
4559 (char *) "self",(char *) "join_style", NULL
4562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4564 if (!SWIG_IsOK(res1
)) {
4565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4567 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4569 if (!SWIG_IsOK(ecode2
)) {
4570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4572 arg2
= static_cast< int >(val2
);
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 (arg1
)->SetJoin(arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 resultobj
= SWIG_Py_Void();
4586 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
= 0;
4588 wxPen
*arg1
= (wxPen
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4596 char * kwnames
[] = {
4597 (char *) "self",(char *) "style", NULL
4600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4602 if (!SWIG_IsOK(res1
)) {
4603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4605 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4607 if (!SWIG_IsOK(ecode2
)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4610 arg2
= static_cast< int >(val2
);
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 (arg1
)->SetStyle(arg2
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= SWIG_Py_Void();
4624 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
= 0;
4626 wxPen
*arg1
= (wxPen
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 char * kwnames
[] = {
4635 (char *) "self",(char *) "width", NULL
4638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4640 if (!SWIG_IsOK(res1
)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4643 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4645 if (!SWIG_IsOK(ecode2
)) {
4646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4648 arg2
= static_cast< int >(val2
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 (arg1
)->SetWidth(arg2
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_Py_Void();
4662 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
= 0;
4664 wxPen
*arg1
= (wxPen
*) 0 ;
4666 wxDash
*arg3
= (wxDash
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 char * kwnames
[] = {
4672 (char *) "self",(char *) "dashes", NULL
4675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4677 if (!SWIG_IsOK(res1
)) {
4678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4680 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4682 arg2
= PyList_Size(obj1
);
4683 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4684 if (arg3
== NULL
) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 (arg1
)->SetDashes(arg2
,arg3
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_Py_Void();
4694 if (arg3
) delete [] arg3
;
4699 if (arg3
) delete [] arg3
;
4705 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 PyObject
*resultobj
= 0;
4707 wxPen
*arg1
= (wxPen
*) 0 ;
4708 PyObject
*result
= 0 ;
4711 PyObject
*swig_obj
[1] ;
4713 if (!args
) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4719 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4733 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
= 0;
4735 wxPen
*arg1
= (wxPen
*) 0 ;
4736 PyObject
*arg2
= (PyObject
*) 0 ;
4737 PyObject
*arg3
= (PyObject
*) 0 ;
4740 PyObject
* obj0
= 0 ;
4741 PyObject
* obj1
= 0 ;
4742 PyObject
* obj2
= 0 ;
4743 char * kwnames
[] = {
4744 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4749 if (!SWIG_IsOK(res1
)) {
4750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4752 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 wxPen__SetDashes(arg1
,arg2
,arg3
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_Py_Void();
4768 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4769 PyObject
*resultobj
= 0;
4770 wxPen
*arg1
= (wxPen
*) 0 ;
4774 PyObject
*swig_obj
[1] ;
4776 if (!args
) SWIG_fail
;
4778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4779 if (!SWIG_IsOK(res1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4782 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_From_int(static_cast< int >(result
));
4796 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4797 PyObject
*resultobj
= 0;
4798 wxPen
*arg1
= (wxPen
*) 0 ;
4799 wxBitmap
*result
= 0 ;
4802 PyObject
*swig_obj
[1] ;
4804 if (!args
) SWIG_fail
;
4806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4807 if (!SWIG_IsOK(res1
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4810 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (wxBitmap
*)(arg1
)->GetStipple();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
4824 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
= 0;
4826 wxPen
*arg1
= (wxPen
*) 0 ;
4827 wxBitmap
*arg2
= 0 ;
4832 PyObject
* obj0
= 0 ;
4833 PyObject
* obj1
= 0 ;
4834 char * kwnames
[] = {
4835 (char *) "self",(char *) "stipple", NULL
4838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4840 if (!SWIG_IsOK(res1
)) {
4841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4843 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
4845 if (!SWIG_IsOK(res2
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4851 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 (arg1
)->SetStipple(*arg2
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4865 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 wxPen
*arg1
= (wxPen
*) 0 ;
4868 wxPen
*arg2
= (wxPen
*) 0 ;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4876 char * kwnames
[] = {
4877 (char *) "self",(char *) "other", NULL
4880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4882 if (!SWIG_IsOK(res1
)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4885 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4887 if (!SWIG_IsOK(res2
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4890 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4906 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
= 0;
4908 wxPen
*arg1
= (wxPen
*) 0 ;
4909 wxPen
*arg2
= (wxPen
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 char * kwnames
[] = {
4918 (char *) "self",(char *) "other", NULL
4921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4923 if (!SWIG_IsOK(res1
)) {
4924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4926 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4928 if (!SWIG_IsOK(res2
)) {
4929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4931 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4947 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4950 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4951 return SWIG_Py_Void();
4954 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4955 return SWIG_Python_InitShadowInstance(args
);
4958 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
= 0;
4960 wxColour
*arg1
= 0 ;
4961 int arg2
= (int) wxSOLID
;
4962 wxBrush
*result
= 0 ;
4966 PyObject
* obj0
= 0 ;
4967 PyObject
* obj1
= 0 ;
4968 char * kwnames
[] = {
4969 (char *) "colour",(char *) "style", NULL
4972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4975 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4979 if (!SWIG_IsOK(ecode2
)) {
4980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4982 arg2
= static_cast< int >(val2
);
4985 if (!wxPyCheckForApp()) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4998 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
= 0;
5000 wxBitmap
*arg1
= 0 ;
5001 wxBrush
*result
= 0 ;
5004 PyObject
* obj0
= 0 ;
5005 char * kwnames
[] = {
5006 (char *) "stippleBitmap", NULL
5009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5010 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5011 if (!SWIG_IsOK(res1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5017 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5019 if (!wxPyCheckForApp()) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5032 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5033 PyObject
*resultobj
= 0;
5034 wxBrush
*arg1
= (wxBrush
*) 0 ;
5037 PyObject
*swig_obj
[1] ;
5039 if (!args
) SWIG_fail
;
5041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5042 if (!SWIG_IsOK(res1
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5045 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_Py_Void();
5060 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
= 0;
5062 wxBrush
*arg1
= (wxBrush
*) 0 ;
5063 wxColour
*arg2
= 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 char * kwnames
[] = {
5070 (char *) "self",(char *) "col", NULL
5073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5075 if (!SWIG_IsOK(res1
)) {
5076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5078 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5081 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 (arg1
)->SetColour((wxColour
const &)*arg2
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_Py_Void();
5096 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
= 0;
5098 wxBrush
*arg1
= (wxBrush
*) 0 ;
5104 PyObject
* obj0
= 0 ;
5105 PyObject
* obj1
= 0 ;
5106 char * kwnames
[] = {
5107 (char *) "self",(char *) "style", NULL
5110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5112 if (!SWIG_IsOK(res1
)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5115 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5117 if (!SWIG_IsOK(ecode2
)) {
5118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5120 arg2
= static_cast< int >(val2
);
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 (arg1
)->SetStyle(arg2
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_Py_Void();
5134 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
= 0;
5136 wxBrush
*arg1
= (wxBrush
*) 0 ;
5137 wxBitmap
*arg2
= 0 ;
5142 PyObject
* obj0
= 0 ;
5143 PyObject
* obj1
= 0 ;
5144 char * kwnames
[] = {
5145 (char *) "self",(char *) "stipple", NULL
5148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5150 if (!SWIG_IsOK(res1
)) {
5151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5153 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5155 if (!SWIG_IsOK(res2
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5161 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_Py_Void();
5175 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5176 PyObject
*resultobj
= 0;
5177 wxBrush
*arg1
= (wxBrush
*) 0 ;
5181 PyObject
*swig_obj
[1] ;
5183 if (!args
) SWIG_fail
;
5185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5186 if (!SWIG_IsOK(res1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5189 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= ((wxBrush
const *)arg1
)->GetColour();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5203 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5204 PyObject
*resultobj
= 0;
5205 wxBrush
*arg1
= (wxBrush
*) 0 ;
5209 PyObject
*swig_obj
[1] ;
5211 if (!args
) SWIG_fail
;
5213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5214 if (!SWIG_IsOK(res1
)) {
5215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5217 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_From_int(static_cast< int >(result
));
5231 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5232 PyObject
*resultobj
= 0;
5233 wxBrush
*arg1
= (wxBrush
*) 0 ;
5234 wxBitmap
*result
= 0 ;
5237 PyObject
*swig_obj
[1] ;
5239 if (!args
) SWIG_fail
;
5241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5242 if (!SWIG_IsOK(res1
)) {
5243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5245 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5259 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5260 PyObject
*resultobj
= 0;
5261 wxBrush
*arg1
= (wxBrush
*) 0 ;
5265 PyObject
*swig_obj
[1] ;
5267 if (!args
) SWIG_fail
;
5269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5270 if (!SWIG_IsOK(res1
)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5273 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5289 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5290 PyObject
*resultobj
= 0;
5291 wxBrush
*arg1
= (wxBrush
*) 0 ;
5295 PyObject
*swig_obj
[1] ;
5297 if (!args
) SWIG_fail
;
5299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5300 if (!SWIG_IsOK(res1
)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5303 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 result
= (bool)(arg1
)->Ok();
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5319 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5322 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5323 return SWIG_Py_Void();
5326 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5327 return SWIG_Python_InitShadowInstance(args
);
5330 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
= 0;
5332 wxString
*arg1
= 0 ;
5333 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5334 wxBitmap
*result
= 0 ;
5335 bool temp1
= false ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5340 char * kwnames
[] = {
5341 (char *) "name",(char *) "type", NULL
5344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5346 arg1
= wxString_in_helper(obj0
);
5347 if (arg1
== NULL
) SWIG_fail
;
5351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5352 if (!SWIG_IsOK(ecode2
)) {
5353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5355 arg2
= static_cast< wxBitmapType
>(val2
);
5358 if (!wxPyCheckForApp()) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5379 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5380 PyObject
*resultobj
= 0;
5381 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5384 PyObject
*swig_obj
[1] ;
5386 if (!args
) SWIG_fail
;
5388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5389 if (!SWIG_IsOK(res1
)) {
5390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5392 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= SWIG_Py_Void();
5407 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
= 0;
5411 int arg3
= (int) -1 ;
5412 wxBitmap
*result
= 0 ;
5419 PyObject
* obj0
= 0 ;
5420 PyObject
* obj1
= 0 ;
5421 PyObject
* obj2
= 0 ;
5422 char * kwnames
[] = {
5423 (char *) "width",(char *) "height",(char *) "depth", NULL
5426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5428 if (!SWIG_IsOK(ecode1
)) {
5429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5431 arg1
= static_cast< int >(val1
);
5432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5433 if (!SWIG_IsOK(ecode2
)) {
5434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5436 arg2
= static_cast< int >(val2
);
5438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5439 if (!SWIG_IsOK(ecode3
)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5442 arg3
= static_cast< int >(val3
);
5445 if (!wxPyCheckForApp()) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5458 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
= 0;
5461 wxBitmap
*result
= 0 ;
5464 PyObject
* obj0
= 0 ;
5465 char * kwnames
[] = {
5466 (char *) "icon", NULL
5469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5470 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5471 if (!SWIG_IsOK(res1
)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5477 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5479 if (!wxPyCheckForApp()) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5492 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
= 0;
5495 int arg2
= (int) -1 ;
5496 wxBitmap
*result
= 0 ;
5501 PyObject
* obj0
= 0 ;
5502 PyObject
* obj1
= 0 ;
5503 char * kwnames
[] = {
5504 (char *) "image",(char *) "depth", NULL
5507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5508 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5509 if (!SWIG_IsOK(res1
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5515 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5518 if (!SWIG_IsOK(ecode2
)) {
5519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5521 arg2
= static_cast< int >(val2
);
5524 if (!wxPyCheckForApp()) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5537 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
= 0;
5539 PyObject
*arg1
= (PyObject
*) 0 ;
5540 wxBitmap
*result
= 0 ;
5541 PyObject
* obj0
= 0 ;
5542 char * kwnames
[] = {
5543 (char *) "listOfStrings", NULL
5546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5549 if (!wxPyCheckForApp()) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5562 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 PyObject
*arg1
= (PyObject
*) 0 ;
5567 int arg4
= (int) 1 ;
5568 wxBitmap
*result
= 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5577 PyObject
* obj2
= 0 ;
5578 PyObject
* obj3
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5586 if (!SWIG_IsOK(ecode2
)) {
5587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5589 arg2
= static_cast< int >(val2
);
5590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5591 if (!SWIG_IsOK(ecode3
)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5594 arg3
= static_cast< int >(val3
);
5596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5597 if (!SWIG_IsOK(ecode4
)) {
5598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5600 arg4
= static_cast< int >(val4
);
5603 if (!wxPyCheckForApp()) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5616 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5617 PyObject
*resultobj
= 0;
5618 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5622 PyObject
*swig_obj
[1] ;
5624 if (!args
) SWIG_fail
;
5626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5627 if (!SWIG_IsOK(res1
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5630 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (long)(arg1
)->GetHandle();
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= SWIG_From_long(static_cast< long >(result
));
5644 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
*resultobj
= 0;
5646 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5652 PyObject
* obj0
= 0 ;
5653 PyObject
* obj1
= 0 ;
5654 char * kwnames
[] = {
5655 (char *) "self",(char *) "handle", NULL
5658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5660 if (!SWIG_IsOK(res1
)) {
5661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5664 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5665 if (!SWIG_IsOK(ecode2
)) {
5666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
5668 arg2
= static_cast< long >(val2
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 wxBitmap_SetHandle(arg1
,arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_Py_Void();
5682 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5683 PyObject
*resultobj
= 0;
5684 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5688 PyObject
*swig_obj
[1] ;
5690 if (!args
) SWIG_fail
;
5692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5693 if (!SWIG_IsOK(res1
)) {
5694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5696 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (bool)(arg1
)->Ok();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5712 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5713 PyObject
*resultobj
= 0;
5714 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5718 PyObject
*swig_obj
[1] ;
5720 if (!args
) SWIG_fail
;
5722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5723 if (!SWIG_IsOK(res1
)) {
5724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5726 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (int)(arg1
)->GetWidth();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= SWIG_From_int(static_cast< int >(result
));
5740 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5741 PyObject
*resultobj
= 0;
5742 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5746 PyObject
*swig_obj
[1] ;
5748 if (!args
) SWIG_fail
;
5750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5751 if (!SWIG_IsOK(res1
)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5754 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (int)(arg1
)->GetHeight();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= SWIG_From_int(static_cast< int >(result
));
5768 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5769 PyObject
*resultobj
= 0;
5770 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5774 PyObject
*swig_obj
[1] ;
5776 if (!args
) SWIG_fail
;
5778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5779 if (!SWIG_IsOK(res1
)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5782 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= (int)(arg1
)->GetDepth();
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_From_int(static_cast< int >(result
));
5796 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5797 PyObject
*resultobj
= 0;
5798 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5802 PyObject
*swig_obj
[1] ;
5804 if (!args
) SWIG_fail
;
5806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5807 if (!SWIG_IsOK(res1
)) {
5808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5810 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= wxBitmap_GetSize(arg1
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5824 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5825 PyObject
*resultobj
= 0;
5826 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5827 SwigValueWrapper
<wxImage
> result
;
5830 PyObject
*swig_obj
[1] ;
5832 if (!args
) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5838 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5852 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5853 PyObject
*resultobj
= 0;
5854 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5855 wxMask
*result
= 0 ;
5858 PyObject
*swig_obj
[1] ;
5860 if (!args
) SWIG_fail
;
5862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5863 if (!SWIG_IsOK(res1
)) {
5864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5866 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5880 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
= 0;
5882 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5883 wxMask
*arg2
= (wxMask
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 char * kwnames
[] = {
5890 (char *) "self",(char *) "mask", NULL
5893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5895 if (!SWIG_IsOK(res1
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5898 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5899 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5900 if (!SWIG_IsOK(res2
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 (arg1
)->SetMask(arg2
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= SWIG_Py_Void();
5916 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
= 0;
5918 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5919 wxColour
*arg2
= 0 ;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5925 char * kwnames
[] = {
5926 (char *) "self",(char *) "colour", NULL
5929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5931 if (!SWIG_IsOK(res1
)) {
5932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5934 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5937 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 resultobj
= SWIG_Py_Void();
5952 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
*resultobj
= 0;
5954 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5956 SwigValueWrapper
<wxBitmap
> result
;
5960 PyObject
* obj0
= 0 ;
5961 PyObject
* obj1
= 0 ;
5962 char * kwnames
[] = {
5963 (char *) "self",(char *) "rect", NULL
5966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5968 if (!SWIG_IsOK(res1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5971 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5989 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
= 0;
5991 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5992 wxString
*arg2
= 0 ;
5994 wxPalette
*arg4
= (wxPalette
*) NULL
;
5998 bool temp2
= false ;
6003 PyObject
* obj0
= 0 ;
6004 PyObject
* obj1
= 0 ;
6005 PyObject
* obj2
= 0 ;
6006 PyObject
* obj3
= 0 ;
6007 char * kwnames
[] = {
6008 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6013 if (!SWIG_IsOK(res1
)) {
6014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6018 arg2
= wxString_in_helper(obj1
);
6019 if (arg2
== NULL
) SWIG_fail
;
6022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6023 if (!SWIG_IsOK(ecode3
)) {
6024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6026 arg3
= static_cast< wxBitmapType
>(val3
);
6028 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6029 if (!SWIG_IsOK(res4
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6032 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6057 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
= 0;
6059 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6060 wxString
*arg2
= 0 ;
6065 bool temp2
= false ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 PyObject
* obj2
= 0 ;
6071 char * kwnames
[] = {
6072 (char *) "self",(char *) "name",(char *) "type", NULL
6075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6077 if (!SWIG_IsOK(res1
)) {
6078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6080 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6082 arg2
= wxString_in_helper(obj1
);
6083 if (arg2
== NULL
) SWIG_fail
;
6086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6087 if (!SWIG_IsOK(ecode3
)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6090 arg3
= static_cast< wxBitmapType
>(val3
);
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6114 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6115 PyObject
*resultobj
= 0;
6116 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6117 wxPalette
*result
= 0 ;
6120 PyObject
*swig_obj
[1] ;
6122 if (!args
) SWIG_fail
;
6124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6125 if (!SWIG_IsOK(res1
)) {
6126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6128 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6142 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
= 0;
6144 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6145 wxPalette
*arg2
= 0 ;
6150 PyObject
* obj0
= 0 ;
6151 PyObject
* obj1
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "self",(char *) "palette", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6158 if (!SWIG_IsOK(res1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6161 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6163 if (!SWIG_IsOK(res2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6169 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_Py_Void();
6183 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
= 0;
6185 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6193 PyObject
* obj1
= 0 ;
6194 char * kwnames
[] = {
6195 (char *) "self",(char *) "icon", NULL
6198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6200 if (!SWIG_IsOK(res1
)) {
6201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6203 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6205 if (!SWIG_IsOK(res2
)) {
6206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6211 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6227 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
= 0;
6229 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6237 char * kwnames
[] = {
6238 (char *) "self",(char *) "height", NULL
6241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6246 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6248 if (!SWIG_IsOK(ecode2
)) {
6249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6251 arg2
= static_cast< int >(val2
);
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 (arg1
)->SetHeight(arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_Py_Void();
6265 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
= 0;
6267 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "self",(char *) "width", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6284 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6286 if (!SWIG_IsOK(ecode2
)) {
6287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6289 arg2
= static_cast< int >(val2
);
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 (arg1
)->SetWidth(arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_Py_Void();
6303 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= 0;
6305 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6312 PyObject
* obj1
= 0 ;
6313 char * kwnames
[] = {
6314 (char *) "self",(char *) "depth", NULL
6317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6319 if (!SWIG_IsOK(res1
)) {
6320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6322 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6324 if (!SWIG_IsOK(ecode2
)) {
6325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6327 arg2
= static_cast< int >(val2
);
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 (arg1
)->SetDepth(arg2
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= SWIG_Py_Void();
6341 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
= 0;
6343 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6349 PyObject
* obj1
= 0 ;
6350 char * kwnames
[] = {
6351 (char *) "self",(char *) "size", NULL
6354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6356 if (!SWIG_IsOK(res1
)) {
6357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6359 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6362 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_Py_Void();
6377 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6380 wxCursor
*arg2
= 0 ;
6386 PyObject
* obj0
= 0 ;
6387 PyObject
* obj1
= 0 ;
6388 char * kwnames
[] = {
6389 (char *) "self",(char *) "cursor", NULL
6392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6394 if (!SWIG_IsOK(res1
)) {
6395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6397 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6399 if (!SWIG_IsOK(res2
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6405 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6421 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
= 0;
6423 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6424 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6432 char * kwnames
[] = {
6433 (char *) "self",(char *) "other", NULL
6436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6441 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6442 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6443 if (!SWIG_IsOK(res2
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6446 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6462 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
*resultobj
= 0;
6464 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6465 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6473 char * kwnames
[] = {
6474 (char *) "self",(char *) "other", NULL
6477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6479 if (!SWIG_IsOK(res1
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6482 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6483 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6484 if (!SWIG_IsOK(res2
)) {
6485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6487 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6503 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6506 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6507 return SWIG_Py_Void();
6510 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 return SWIG_Python_InitShadowInstance(args
);
6514 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
= 0;
6516 wxBitmap
*arg1
= 0 ;
6517 wxColour
const &arg2_defvalue
= wxNullColour
;
6518 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6519 wxMask
*result
= 0 ;
6523 PyObject
* obj0
= 0 ;
6524 PyObject
* obj1
= 0 ;
6525 char * kwnames
[] = {
6526 (char *) "bitmap",(char *) "colour", NULL
6529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6530 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6531 if (!SWIG_IsOK(res1
)) {
6532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6537 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6541 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6545 if (!wxPyCheckForApp()) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6558 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxMask
*arg1
= (wxMask
*) 0 ;
6563 PyObject
*swig_obj
[1] ;
6565 if (!args
) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6571 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_Py_Void();
6586 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6589 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6590 return SWIG_Py_Void();
6593 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6594 return SWIG_Python_InitShadowInstance(args
);
6597 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
= 0;
6599 wxString
*arg1
= 0 ;
6601 int arg3
= (int) -1 ;
6602 int arg4
= (int) -1 ;
6603 wxIcon
*result
= 0 ;
6604 bool temp1
= false ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6613 PyObject
* obj2
= 0 ;
6614 PyObject
* obj3
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6621 arg1
= wxString_in_helper(obj0
);
6622 if (arg1
== NULL
) SWIG_fail
;
6625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6626 if (!SWIG_IsOK(ecode2
)) {
6627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6629 arg2
= static_cast< wxBitmapType
>(val2
);
6631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6632 if (!SWIG_IsOK(ecode3
)) {
6633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6635 arg3
= static_cast< int >(val3
);
6638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6639 if (!SWIG_IsOK(ecode4
)) {
6640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6642 arg4
= static_cast< int >(val4
);
6645 if (!wxPyCheckForApp()) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6666 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6667 PyObject
*resultobj
= 0;
6668 wxIcon
*arg1
= (wxIcon
*) 0 ;
6671 PyObject
*swig_obj
[1] ;
6673 if (!args
) SWIG_fail
;
6675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6676 if (!SWIG_IsOK(res1
)) {
6677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6679 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_Py_Void();
6694 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6695 PyObject
*resultobj
= 0;
6696 wxIcon
*result
= 0 ;
6698 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6700 if (!wxPyCheckForApp()) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (wxIcon
*)new wxIcon();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6713 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
= 0;
6715 wxIconLocation
*arg1
= 0 ;
6716 wxIcon
*result
= 0 ;
6719 PyObject
* obj0
= 0 ;
6720 char * kwnames
[] = {
6721 (char *) "loc", NULL
6724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6725 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6726 if (!SWIG_IsOK(res1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6732 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6734 if (!wxPyCheckForApp()) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6747 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
= 0;
6749 wxBitmap
*arg1
= 0 ;
6750 wxIcon
*result
= 0 ;
6753 PyObject
* obj0
= 0 ;
6754 char * kwnames
[] = {
6755 (char *) "bmp", NULL
6758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6759 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6760 if (!SWIG_IsOK(res1
)) {
6761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6766 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6768 if (!wxPyCheckForApp()) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6781 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
= 0;
6783 PyObject
*arg1
= (PyObject
*) 0 ;
6784 wxIcon
*result
= 0 ;
6785 PyObject
* obj0
= 0 ;
6786 char * kwnames
[] = {
6787 (char *) "listOfStrings", NULL
6790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6793 if (!wxPyCheckForApp()) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (wxIcon
*)new_wxIcon(arg1
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6806 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
= 0;
6808 wxIcon
*arg1
= (wxIcon
*) 0 ;
6809 wxString
*arg2
= 0 ;
6814 bool temp2
= false ;
6817 PyObject
* obj0
= 0 ;
6818 PyObject
* obj1
= 0 ;
6819 PyObject
* obj2
= 0 ;
6820 char * kwnames
[] = {
6821 (char *) "self",(char *) "name",(char *) "type", NULL
6824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6826 if (!SWIG_IsOK(res1
)) {
6827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6829 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6831 arg2
= wxString_in_helper(obj1
);
6832 if (arg2
== NULL
) SWIG_fail
;
6835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6836 if (!SWIG_IsOK(ecode3
)) {
6837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6839 arg3
= static_cast< wxBitmapType
>(val3
);
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6863 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6864 PyObject
*resultobj
= 0;
6865 wxIcon
*arg1
= (wxIcon
*) 0 ;
6869 PyObject
*swig_obj
[1] ;
6871 if (!args
) SWIG_fail
;
6873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6874 if (!SWIG_IsOK(res1
)) {
6875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6877 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (long)(arg1
)->GetHandle();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_From_long(static_cast< long >(result
));
6891 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= 0;
6893 wxIcon
*arg1
= (wxIcon
*) 0 ;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6901 char * kwnames
[] = {
6902 (char *) "self",(char *) "handle", NULL
6905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6907 if (!SWIG_IsOK(res1
)) {
6908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6910 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6911 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6912 if (!SWIG_IsOK(ecode2
)) {
6913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
6915 arg2
= static_cast< long >(val2
);
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 wxIcon_SetHandle(arg1
,arg2
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_Py_Void();
6929 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6930 PyObject
*resultobj
= 0;
6931 wxIcon
*arg1
= (wxIcon
*) 0 ;
6935 PyObject
*swig_obj
[1] ;
6937 if (!args
) SWIG_fail
;
6939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6940 if (!SWIG_IsOK(res1
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6943 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (bool)(arg1
)->Ok();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6959 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6960 PyObject
*resultobj
= 0;
6961 wxIcon
*arg1
= (wxIcon
*) 0 ;
6965 PyObject
*swig_obj
[1] ;
6967 if (!args
) SWIG_fail
;
6969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6970 if (!SWIG_IsOK(res1
)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6973 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (int)(arg1
)->GetWidth();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_From_int(static_cast< int >(result
));
6987 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6988 PyObject
*resultobj
= 0;
6989 wxIcon
*arg1
= (wxIcon
*) 0 ;
6993 PyObject
*swig_obj
[1] ;
6995 if (!args
) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7001 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 result
= (int)(arg1
)->GetHeight();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_From_int(static_cast< int >(result
));
7015 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7016 PyObject
*resultobj
= 0;
7017 wxIcon
*arg1
= (wxIcon
*) 0 ;
7021 PyObject
*swig_obj
[1] ;
7023 if (!args
) SWIG_fail
;
7025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7026 if (!SWIG_IsOK(res1
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7029 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (int)(arg1
)->GetDepth();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= SWIG_From_int(static_cast< int >(result
));
7043 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
= 0;
7045 wxIcon
*arg1
= (wxIcon
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7053 char * kwnames
[] = {
7054 (char *) "self",(char *) "w", NULL
7057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7059 if (!SWIG_IsOK(res1
)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
7062 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7064 if (!SWIG_IsOK(ecode2
)) {
7065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
7067 arg2
= static_cast< int >(val2
);
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 (arg1
)->SetWidth(arg2
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_Py_Void();
7081 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
= 0;
7083 wxIcon
*arg1
= (wxIcon
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7091 char * kwnames
[] = {
7092 (char *) "self",(char *) "h", NULL
7095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7100 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7102 if (!SWIG_IsOK(ecode2
)) {
7103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
7105 arg2
= static_cast< int >(val2
);
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 (arg1
)->SetHeight(arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_Py_Void();
7119 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
= 0;
7121 wxIcon
*arg1
= (wxIcon
*) 0 ;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7129 char * kwnames
[] = {
7130 (char *) "self",(char *) "d", NULL
7133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7135 if (!SWIG_IsOK(res1
)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7138 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7140 if (!SWIG_IsOK(ecode2
)) {
7141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
7143 arg2
= static_cast< int >(val2
);
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 (arg1
)->SetDepth(arg2
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_Py_Void();
7157 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
= 0;
7159 wxIcon
*arg1
= (wxIcon
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7166 char * kwnames
[] = {
7167 (char *) "self",(char *) "size", NULL
7170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7172 if (!SWIG_IsOK(res1
)) {
7173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
7175 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7178 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 (arg1
)->SetSize((wxSize
const &)*arg2
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_Py_Void();
7193 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
= 0;
7195 wxIcon
*arg1
= (wxIcon
*) 0 ;
7196 wxBitmap
*arg2
= 0 ;
7201 PyObject
* obj0
= 0 ;
7202 PyObject
* obj1
= 0 ;
7203 char * kwnames
[] = {
7204 (char *) "self",(char *) "bmp", NULL
7207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
7212 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7214 if (!SWIG_IsOK(res2
)) {
7215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7220 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 resultobj
= SWIG_Py_Void();
7234 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7237 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
7238 return SWIG_Py_Void();
7241 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 return SWIG_Python_InitShadowInstance(args
);
7245 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
= 0;
7247 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
7248 int arg2
= (int) 0 ;
7249 wxIconLocation
*result
= 0 ;
7250 bool temp1
= false ;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7255 char * kwnames
[] = {
7256 (char *) "filename",(char *) "num", NULL
7259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7262 arg1
= wxString_in_helper(obj0
);
7263 if (arg1
== NULL
) SWIG_fail
;
7268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7269 if (!SWIG_IsOK(ecode2
)) {
7270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
7272 arg2
= static_cast< int >(val2
);
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7295 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7296 PyObject
*resultobj
= 0;
7297 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7300 PyObject
*swig_obj
[1] ;
7302 if (!args
) SWIG_fail
;
7304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7305 if (!SWIG_IsOK(res1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7308 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= SWIG_Py_Void();
7323 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7324 PyObject
*resultobj
= 0;
7325 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7329 PyObject
*swig_obj
[1] ;
7331 if (!args
) SWIG_fail
;
7333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7334 if (!SWIG_IsOK(res1
)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7337 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7353 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
= 0;
7355 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7356 wxString
*arg2
= 0 ;
7359 bool temp2
= false ;
7360 PyObject
* obj0
= 0 ;
7361 PyObject
* obj1
= 0 ;
7362 char * kwnames
[] = {
7363 (char *) "self",(char *) "filename", NULL
7366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7371 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7373 arg2
= wxString_in_helper(obj1
);
7374 if (arg2
== NULL
) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 (arg1
)->SetFileName((wxString
const &)*arg2
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_Py_Void();
7398 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7399 PyObject
*resultobj
= 0;
7400 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7401 wxString
*result
= 0 ;
7404 PyObject
*swig_obj
[1] ;
7406 if (!args
) SWIG_fail
;
7408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7409 if (!SWIG_IsOK(res1
)) {
7410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7412 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7417 result
= (wxString
*) &_result_ref
;
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7426 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7435 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
= 0;
7437 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7443 PyObject
* obj0
= 0 ;
7444 PyObject
* obj1
= 0 ;
7445 char * kwnames
[] = {
7446 (char *) "self",(char *) "num", NULL
7449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7451 if (!SWIG_IsOK(res1
)) {
7452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7454 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7456 if (!SWIG_IsOK(ecode2
)) {
7457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7459 arg2
= static_cast< int >(val2
);
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 wxIconLocation_SetIndex(arg1
,arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= SWIG_Py_Void();
7473 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7474 PyObject
*resultobj
= 0;
7475 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7479 PyObject
*swig_obj
[1] ;
7481 if (!args
) SWIG_fail
;
7483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7484 if (!SWIG_IsOK(res1
)) {
7485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7487 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (int)wxIconLocation_GetIndex(arg1
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= SWIG_From_int(static_cast< int >(result
));
7501 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7504 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7505 return SWIG_Py_Void();
7508 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7509 return SWIG_Python_InitShadowInstance(args
);
7512 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 PyObject
*resultobj
= 0;
7514 wxIconBundle
*result
= 0 ;
7516 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (wxIconBundle
*)new wxIconBundle();
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7530 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
= 0;
7532 wxString
*arg1
= 0 ;
7534 wxIconBundle
*result
= 0 ;
7535 bool temp1
= false ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7540 char * kwnames
[] = {
7541 (char *) "file",(char *) "type", NULL
7544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7546 arg1
= wxString_in_helper(obj0
);
7547 if (arg1
== NULL
) SWIG_fail
;
7550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7551 if (!SWIG_IsOK(ecode2
)) {
7552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7554 arg2
= static_cast< long >(val2
);
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7576 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
= 0;
7579 wxIconBundle
*result
= 0 ;
7582 PyObject
* obj0
= 0 ;
7583 char * kwnames
[] = {
7584 (char *) "icon", NULL
7587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7588 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7589 if (!SWIG_IsOK(res1
)) {
7590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7595 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7609 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7610 PyObject
*resultobj
= 0;
7611 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7622 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_Py_Void();
7637 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
= 0;
7639 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7647 char * kwnames
[] = {
7648 (char *) "self",(char *) "icon", NULL
7651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7653 if (!SWIG_IsOK(res1
)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7656 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7658 if (!SWIG_IsOK(res2
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7664 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_Py_Void();
7678 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
= 0;
7680 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7681 wxString
*arg2
= 0 ;
7685 bool temp2
= false ;
7688 PyObject
* obj0
= 0 ;
7689 PyObject
* obj1
= 0 ;
7690 PyObject
* obj2
= 0 ;
7691 char * kwnames
[] = {
7692 (char *) "self",(char *) "file",(char *) "type", NULL
7695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7697 if (!SWIG_IsOK(res1
)) {
7698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7700 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7702 arg2
= wxString_in_helper(obj1
);
7703 if (arg2
== NULL
) SWIG_fail
;
7706 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7707 if (!SWIG_IsOK(ecode3
)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7710 arg3
= static_cast< long >(val3
);
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_Py_Void();
7732 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
= 0;
7734 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7736 wxIcon
*result
= 0 ;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7742 char * kwnames
[] = {
7743 (char *) "self",(char *) "size", NULL
7746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7748 if (!SWIG_IsOK(res1
)) {
7749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7751 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7754 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7760 result
= (wxIcon
*) &_result_ref
;
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7766 wxIcon
* resultptr
= new wxIcon(*result
);
7767 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7775 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7778 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7779 return SWIG_Py_Void();
7782 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7783 return SWIG_Python_InitShadowInstance(args
);
7786 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxString
*arg1
= 0 ;
7790 int arg3
= (int) 0 ;
7791 int arg4
= (int) 0 ;
7792 wxCursor
*result
= 0 ;
7793 bool temp1
= false ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7802 PyObject
* obj2
= 0 ;
7803 PyObject
* obj3
= 0 ;
7804 char * kwnames
[] = {
7805 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7810 arg1
= wxString_in_helper(obj0
);
7811 if (arg1
== NULL
) SWIG_fail
;
7814 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7815 if (!SWIG_IsOK(ecode2
)) {
7816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7818 arg2
= static_cast< long >(val2
);
7820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7821 if (!SWIG_IsOK(ecode3
)) {
7822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7824 arg3
= static_cast< int >(val3
);
7827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7828 if (!SWIG_IsOK(ecode4
)) {
7829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7831 arg4
= static_cast< int >(val4
);
7834 if (!wxPyCheckForApp()) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7855 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7856 PyObject
*resultobj
= 0;
7857 wxCursor
*arg1
= (wxCursor
*) 0 ;
7860 PyObject
*swig_obj
[1] ;
7862 if (!args
) SWIG_fail
;
7864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7865 if (!SWIG_IsOK(res1
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7868 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_Py_Void();
7883 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
= 0;
7886 wxCursor
*result
= 0 ;
7889 PyObject
* obj0
= 0 ;
7890 char * kwnames
[] = {
7894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7895 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7896 if (!SWIG_IsOK(ecode1
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7899 arg1
= static_cast< int >(val1
);
7901 if (!wxPyCheckForApp()) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (wxCursor
*)new wxCursor(arg1
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7914 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
= 0;
7917 wxCursor
*result
= 0 ;
7920 PyObject
* obj0
= 0 ;
7921 char * kwnames
[] = {
7922 (char *) "image", NULL
7925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7933 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7935 if (!wxPyCheckForApp()) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7948 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7949 PyObject
*resultobj
= 0;
7950 wxCursor
*arg1
= (wxCursor
*) 0 ;
7954 PyObject
*swig_obj
[1] ;
7956 if (!args
) SWIG_fail
;
7958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7959 if (!SWIG_IsOK(res1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7962 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (long)(arg1
)->GetHandle();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_From_long(static_cast< long >(result
));
7976 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
= 0;
7978 wxCursor
*arg1
= (wxCursor
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7985 PyObject
* obj1
= 0 ;
7986 char * kwnames
[] = {
7987 (char *) "self",(char *) "handle", NULL
7990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7992 if (!SWIG_IsOK(res1
)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7995 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7996 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7997 if (!SWIG_IsOK(ecode2
)) {
7998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
8000 arg2
= static_cast< long >(val2
);
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 wxCursor_SetHandle(arg1
,arg2
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_Py_Void();
8014 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8015 PyObject
*resultobj
= 0;
8016 wxCursor
*arg1
= (wxCursor
*) 0 ;
8020 PyObject
*swig_obj
[1] ;
8022 if (!args
) SWIG_fail
;
8024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8025 if (!SWIG_IsOK(res1
)) {
8026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
8028 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (bool)(arg1
)->Ok();
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8044 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8045 PyObject
*resultobj
= 0;
8046 wxCursor
*arg1
= (wxCursor
*) 0 ;
8050 PyObject
*swig_obj
[1] ;
8052 if (!args
) SWIG_fail
;
8054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8055 if (!SWIG_IsOK(res1
)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8058 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (int)(arg1
)->GetWidth();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_From_int(static_cast< int >(result
));
8072 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8073 PyObject
*resultobj
= 0;
8074 wxCursor
*arg1
= (wxCursor
*) 0 ;
8078 PyObject
*swig_obj
[1] ;
8080 if (!args
) SWIG_fail
;
8082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8083 if (!SWIG_IsOK(res1
)) {
8084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8086 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= (int)(arg1
)->GetHeight();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_From_int(static_cast< int >(result
));
8100 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8101 PyObject
*resultobj
= 0;
8102 wxCursor
*arg1
= (wxCursor
*) 0 ;
8106 PyObject
*swig_obj
[1] ;
8108 if (!args
) SWIG_fail
;
8110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8111 if (!SWIG_IsOK(res1
)) {
8112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8114 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= (int)(arg1
)->GetDepth();
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= SWIG_From_int(static_cast< int >(result
));
8128 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
= 0;
8130 wxCursor
*arg1
= (wxCursor
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8138 char * kwnames
[] = {
8139 (char *) "self",(char *) "w", NULL
8142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8144 if (!SWIG_IsOK(res1
)) {
8145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8147 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8149 if (!SWIG_IsOK(ecode2
)) {
8150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
8152 arg2
= static_cast< int >(val2
);
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 (arg1
)->SetWidth(arg2
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_Py_Void();
8166 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
= 0;
8168 wxCursor
*arg1
= (wxCursor
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8176 char * kwnames
[] = {
8177 (char *) "self",(char *) "h", NULL
8180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8182 if (!SWIG_IsOK(res1
)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8185 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8187 if (!SWIG_IsOK(ecode2
)) {
8188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
8190 arg2
= static_cast< int >(val2
);
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 (arg1
)->SetHeight(arg2
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_Py_Void();
8204 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
= 0;
8206 wxCursor
*arg1
= (wxCursor
*) 0 ;
8212 PyObject
* obj0
= 0 ;
8213 PyObject
* obj1
= 0 ;
8214 char * kwnames
[] = {
8215 (char *) "self",(char *) "d", NULL
8218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8220 if (!SWIG_IsOK(res1
)) {
8221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8223 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8225 if (!SWIG_IsOK(ecode2
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
8228 arg2
= static_cast< int >(val2
);
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 (arg1
)->SetDepth(arg2
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_Py_Void();
8242 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
= 0;
8244 wxCursor
*arg1
= (wxCursor
*) 0 ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8251 char * kwnames
[] = {
8252 (char *) "self",(char *) "size", NULL
8255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8257 if (!SWIG_IsOK(res1
)) {
8258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
8260 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8263 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 (arg1
)->SetSize((wxSize
const &)*arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= SWIG_Py_Void();
8278 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8281 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
8282 return SWIG_Py_Void();
8285 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8286 return SWIG_Python_InitShadowInstance(args
);
8289 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
= 0;
8291 int arg1
= (int) 0 ;
8292 int arg2
= (int) 0 ;
8293 int arg3
= (int) 0 ;
8294 int arg4
= (int) 0 ;
8295 wxRegion
*result
= 0 ;
8304 PyObject
* obj0
= 0 ;
8305 PyObject
* obj1
= 0 ;
8306 PyObject
* obj2
= 0 ;
8307 PyObject
* obj3
= 0 ;
8308 char * kwnames
[] = {
8309 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8314 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8315 if (!SWIG_IsOK(ecode1
)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
8318 arg1
= static_cast< int >(val1
);
8321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8322 if (!SWIG_IsOK(ecode2
)) {
8323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
8325 arg2
= static_cast< int >(val2
);
8328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8329 if (!SWIG_IsOK(ecode3
)) {
8330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
8332 arg3
= static_cast< int >(val3
);
8335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8336 if (!SWIG_IsOK(ecode4
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
8339 arg4
= static_cast< int >(val4
);
8342 if (!wxPyCheckForApp()) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
8355 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
= 0;
8357 wxBitmap
*arg1
= 0 ;
8358 wxRegion
*result
= 0 ;
8361 PyObject
* obj0
= 0 ;
8362 char * kwnames
[] = {
8363 (char *) "bmp", NULL
8366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8374 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8376 if (!wxPyCheckForApp()) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8389 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
= 0;
8391 wxBitmap
*arg1
= 0 ;
8392 wxColour
*arg2
= 0 ;
8393 int arg3
= (int) 0 ;
8394 wxRegion
*result
= 0 ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8403 char * kwnames
[] = {
8404 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8415 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8418 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8422 if (!SWIG_IsOK(ecode3
)) {
8423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
8425 arg3
= static_cast< int >(val3
);
8428 if (!wxPyCheckForApp()) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8441 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
= 0;
8444 wxPoint
*arg2
= (wxPoint
*) 0 ;
8445 int arg3
= (int) wxWINDING_RULE
;
8446 wxRegion
*result
= 0 ;
8449 PyObject
* obj0
= 0 ;
8450 PyObject
* obj1
= 0 ;
8451 char * kwnames
[] = {
8452 (char *) "points",(char *) "fillStyle", NULL
8455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8457 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
8458 if (arg2
== NULL
) SWIG_fail
;
8461 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
8462 if (!SWIG_IsOK(ecode3
)) {
8463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
8465 arg3
= static_cast< int >(val3
);
8468 if (!wxPyCheckForApp()) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8476 if (arg2
) delete [] arg2
;
8481 if (arg2
) delete [] arg2
;
8487 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8488 PyObject
*resultobj
= 0;
8489 wxRegion
*arg1
= (wxRegion
*) 0 ;
8492 PyObject
*swig_obj
[1] ;
8494 if (!args
) SWIG_fail
;
8496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
8497 if (!SWIG_IsOK(res1
)) {
8498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
8500 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_Py_Void();
8515 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8516 PyObject
*resultobj
= 0;
8517 wxRegion
*arg1
= (wxRegion
*) 0 ;
8520 PyObject
*swig_obj
[1] ;
8522 if (!args
) SWIG_fail
;
8524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8525 if (!SWIG_IsOK(res1
)) {
8526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
8528 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= SWIG_Py_Void();
8542 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
= 0;
8544 wxRegion
*arg1
= (wxRegion
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "x",(char *) "y", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
8566 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8568 if (!SWIG_IsOK(ecode2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
8571 arg2
= static_cast< int >(val2
);
8572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8573 if (!SWIG_IsOK(ecode3
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
8576 arg3
= static_cast< int >(val3
);
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8592 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
= 0;
8594 wxRegion
*arg1
= (wxRegion
*) 0 ;
8597 wxRegionContain result
;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 PyObject
* obj2
= 0 ;
8607 char * kwnames
[] = {
8608 (char *) "self",(char *) "x",(char *) "y", NULL
8611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8616 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8618 if (!SWIG_IsOK(ecode2
)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8621 arg2
= static_cast< int >(val2
);
8622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8623 if (!SWIG_IsOK(ecode3
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8626 arg3
= static_cast< int >(val3
);
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_From_int(static_cast< int >(result
));
8640 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
= 0;
8642 wxRegion
*arg1
= (wxRegion
*) 0 ;
8644 wxRegionContain result
;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8650 char * kwnames
[] = {
8651 (char *) "self",(char *) "pt", NULL
8654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8659 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_From_int(static_cast< int >(result
));
8677 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
= 0;
8679 wxRegion
*arg1
= (wxRegion
*) 0 ;
8681 wxRegionContain result
;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8687 char * kwnames
[] = {
8688 (char *) "self",(char *) "rect", NULL
8691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8693 if (!SWIG_IsOK(res1
)) {
8694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8696 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8699 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_From_int(static_cast< int >(result
));
8714 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
= 0;
8716 wxRegion
*arg1
= (wxRegion
*) 0 ;
8721 wxRegionContain result
;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8734 PyObject
* obj2
= 0 ;
8735 PyObject
* obj3
= 0 ;
8736 PyObject
* obj4
= 0 ;
8737 char * kwnames
[] = {
8738 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8746 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8748 if (!SWIG_IsOK(ecode2
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8751 arg2
= static_cast< int >(val2
);
8752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8753 if (!SWIG_IsOK(ecode3
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8756 arg3
= static_cast< int >(val3
);
8757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8758 if (!SWIG_IsOK(ecode4
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8761 arg4
= static_cast< int >(val4
);
8762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8763 if (!SWIG_IsOK(ecode5
)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8766 arg5
= static_cast< int >(val5
);
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= SWIG_From_int(static_cast< int >(result
));
8780 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8781 PyObject
*resultobj
= 0;
8782 wxRegion
*arg1
= (wxRegion
*) 0 ;
8786 PyObject
*swig_obj
[1] ;
8788 if (!args
) SWIG_fail
;
8790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8791 if (!SWIG_IsOK(res1
)) {
8792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8794 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8797 result
= (arg1
)->GetBox();
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8808 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
= 0;
8810 wxRegion
*arg1
= (wxRegion
*) 0 ;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8828 PyObject
* obj2
= 0 ;
8829 PyObject
* obj3
= 0 ;
8830 PyObject
* obj4
= 0 ;
8831 char * kwnames
[] = {
8832 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8837 if (!SWIG_IsOK(res1
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8840 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8842 if (!SWIG_IsOK(ecode2
)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8845 arg2
= static_cast< int >(val2
);
8846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8847 if (!SWIG_IsOK(ecode3
)) {
8848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8850 arg3
= static_cast< int >(val3
);
8851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8852 if (!SWIG_IsOK(ecode4
)) {
8853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8855 arg4
= static_cast< int >(val4
);
8856 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8857 if (!SWIG_IsOK(ecode5
)) {
8858 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8860 arg5
= static_cast< int >(val5
);
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8876 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
= 0;
8878 wxRegion
*arg1
= (wxRegion
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "rect", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8895 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8898 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8915 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
= 0;
8917 wxRegion
*arg1
= (wxRegion
*) 0 ;
8918 wxRegion
*arg2
= 0 ;
8924 PyObject
* obj0
= 0 ;
8925 PyObject
* obj1
= 0 ;
8926 char * kwnames
[] = {
8927 (char *) "self",(char *) "region", NULL
8930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8935 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8937 if (!SWIG_IsOK(res2
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8943 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8959 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8960 PyObject
*resultobj
= 0;
8961 wxRegion
*arg1
= (wxRegion
*) 0 ;
8965 PyObject
*swig_obj
[1] ;
8967 if (!args
) SWIG_fail
;
8969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8970 if (!SWIG_IsOK(res1
)) {
8971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8973 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= (bool)(arg1
)->IsEmpty();
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8989 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
= 0;
8991 wxRegion
*arg1
= (wxRegion
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9009 PyObject
* obj2
= 0 ;
9010 PyObject
* obj3
= 0 ;
9011 PyObject
* obj4
= 0 ;
9012 char * kwnames
[] = {
9013 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
9021 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9023 if (!SWIG_IsOK(ecode2
)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
9026 arg2
= static_cast< int >(val2
);
9027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9028 if (!SWIG_IsOK(ecode3
)) {
9029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
9031 arg3
= static_cast< int >(val3
);
9032 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9033 if (!SWIG_IsOK(ecode4
)) {
9034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
9036 arg4
= static_cast< int >(val4
);
9037 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9038 if (!SWIG_IsOK(ecode5
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
9041 arg5
= static_cast< int >(val5
);
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9057 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
= 0;
9059 wxRegion
*arg1
= (wxRegion
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9067 char * kwnames
[] = {
9068 (char *) "self",(char *) "rect", NULL
9071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9073 if (!SWIG_IsOK(res1
)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9076 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9079 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
= 0;
9098 wxRegion
*arg1
= (wxRegion
*) 0 ;
9099 wxRegion
*arg2
= 0 ;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9107 char * kwnames
[] = {
9108 (char *) "self",(char *) "region", NULL
9111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9113 if (!SWIG_IsOK(res1
)) {
9114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9116 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9118 if (!SWIG_IsOK(res2
)) {
9119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9124 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9140 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= 0;
9142 wxRegion
*arg1
= (wxRegion
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 PyObject
* obj2
= 0 ;
9161 PyObject
* obj3
= 0 ;
9162 PyObject
* obj4
= 0 ;
9163 char * kwnames
[] = {
9164 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9169 if (!SWIG_IsOK(res1
)) {
9170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
9172 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9174 if (!SWIG_IsOK(ecode2
)) {
9175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
9177 arg2
= static_cast< int >(val2
);
9178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9179 if (!SWIG_IsOK(ecode3
)) {
9180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
9182 arg3
= static_cast< int >(val3
);
9183 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9184 if (!SWIG_IsOK(ecode4
)) {
9185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
9187 arg4
= static_cast< int >(val4
);
9188 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9189 if (!SWIG_IsOK(ecode5
)) {
9190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
9192 arg5
= static_cast< int >(val5
);
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9208 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
= 0;
9210 wxRegion
*arg1
= (wxRegion
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 char * kwnames
[] = {
9219 (char *) "self",(char *) "rect", NULL
9222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9224 if (!SWIG_IsOK(res1
)) {
9225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9227 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9230 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9247 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
= 0;
9249 wxRegion
*arg1
= (wxRegion
*) 0 ;
9250 wxRegion
*arg2
= 0 ;
9256 PyObject
* obj0
= 0 ;
9257 PyObject
* obj1
= 0 ;
9258 char * kwnames
[] = {
9259 (char *) "self",(char *) "region", NULL
9262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9264 if (!SWIG_IsOK(res1
)) {
9265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9267 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9268 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9269 if (!SWIG_IsOK(res2
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9275 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9291 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= 0;
9293 wxRegion
*arg1
= (wxRegion
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9310 PyObject
* obj1
= 0 ;
9311 PyObject
* obj2
= 0 ;
9312 PyObject
* obj3
= 0 ;
9313 PyObject
* obj4
= 0 ;
9314 char * kwnames
[] = {
9315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9320 if (!SWIG_IsOK(res1
)) {
9321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
9323 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9325 if (!SWIG_IsOK(ecode2
)) {
9326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
9328 arg2
= static_cast< int >(val2
);
9329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9330 if (!SWIG_IsOK(ecode3
)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
9333 arg3
= static_cast< int >(val3
);
9334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9335 if (!SWIG_IsOK(ecode4
)) {
9336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
9338 arg4
= static_cast< int >(val4
);
9339 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9340 if (!SWIG_IsOK(ecode5
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
9343 arg5
= static_cast< int >(val5
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxRegion
*arg1
= (wxRegion
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9368 PyObject
* obj1
= 0 ;
9369 char * kwnames
[] = {
9370 (char *) "self",(char *) "rect", NULL
9373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9375 if (!SWIG_IsOK(res1
)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9378 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9381 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9398 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
= 0;
9400 wxRegion
*arg1
= (wxRegion
*) 0 ;
9401 wxRegion
*arg2
= 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "region", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9418 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9420 if (!SWIG_IsOK(res2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9426 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9442 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9443 PyObject
*resultobj
= 0;
9444 wxRegion
*arg1
= (wxRegion
*) 0 ;
9445 SwigValueWrapper
<wxBitmap
> result
;
9448 PyObject
*swig_obj
[1] ;
9450 if (!args
) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9456 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (arg1
)->ConvertToBitmap();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
9470 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
= 0;
9472 wxRegion
*arg1
= (wxRegion
*) 0 ;
9473 wxBitmap
*arg2
= 0 ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9481 char * kwnames
[] = {
9482 (char *) "self",(char *) "bmp", NULL
9485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9487 if (!SWIG_IsOK(res1
)) {
9488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9490 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9492 if (!SWIG_IsOK(res2
)) {
9493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9498 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9514 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
= 0;
9516 wxRegion
*arg1
= (wxRegion
*) 0 ;
9517 wxBitmap
*arg2
= 0 ;
9518 wxColour
*arg3
= 0 ;
9519 int arg4
= (int) 0 ;
9528 PyObject
* obj0
= 0 ;
9529 PyObject
* obj1
= 0 ;
9530 PyObject
* obj2
= 0 ;
9531 PyObject
* obj3
= 0 ;
9532 char * kwnames
[] = {
9533 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
9541 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9543 if (!SWIG_IsOK(res2
)) {
9544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9549 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9552 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9555 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9556 if (!SWIG_IsOK(ecode4
)) {
9557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
9559 arg4
= static_cast< int >(val4
);
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9576 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9579 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
9580 return SWIG_Py_Void();
9583 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 return SWIG_Python_InitShadowInstance(args
);
9587 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
= 0;
9589 wxRegion
*arg1
= 0 ;
9590 wxRegionIterator
*result
= 0 ;
9593 PyObject
* obj0
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "region", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9606 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9608 if (!wxPyCheckForApp()) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9621 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9622 PyObject
*resultobj
= 0;
9623 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9626 PyObject
*swig_obj
[1] ;
9628 if (!args
) SWIG_fail
;
9630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9631 if (!SWIG_IsOK(res1
)) {
9632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9634 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 resultobj
= SWIG_Py_Void();
9649 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9650 PyObject
*resultobj
= 0;
9651 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9655 PyObject
*swig_obj
[1] ;
9657 if (!args
) SWIG_fail
;
9659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9660 if (!SWIG_IsOK(res1
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9663 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (int)(arg1
)->GetX();
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= SWIG_From_int(static_cast< int >(result
));
9677 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9678 PyObject
*resultobj
= 0;
9679 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9683 PyObject
*swig_obj
[1] ;
9685 if (!args
) SWIG_fail
;
9687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9688 if (!SWIG_IsOK(res1
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9691 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (int)(arg1
)->GetY();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_From_int(static_cast< int >(result
));
9705 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9706 PyObject
*resultobj
= 0;
9707 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9711 PyObject
*swig_obj
[1] ;
9713 if (!args
) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9719 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (int)(arg1
)->GetW();
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_From_int(static_cast< int >(result
));
9733 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9734 PyObject
*resultobj
= 0;
9735 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9739 PyObject
*swig_obj
[1] ;
9741 if (!args
) SWIG_fail
;
9743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9744 if (!SWIG_IsOK(res1
)) {
9745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9747 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (int)(arg1
)->GetWidth();
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_From_int(static_cast< int >(result
));
9761 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9762 PyObject
*resultobj
= 0;
9763 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9767 PyObject
*swig_obj
[1] ;
9769 if (!args
) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9775 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (int)(arg1
)->GetH();
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_From_int(static_cast< int >(result
));
9789 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9790 PyObject
*resultobj
= 0;
9791 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9795 PyObject
*swig_obj
[1] ;
9797 if (!args
) SWIG_fail
;
9799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9800 if (!SWIG_IsOK(res1
)) {
9801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9803 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)(arg1
)->GetHeight();
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_From_int(static_cast< int >(result
));
9817 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9818 PyObject
*resultobj
= 0;
9819 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9823 PyObject
*swig_obj
[1] ;
9825 if (!args
) SWIG_fail
;
9827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9828 if (!SWIG_IsOK(res1
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9831 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (arg1
)->GetRect();
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9845 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9846 PyObject
*resultobj
= 0;
9847 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9851 PyObject
*swig_obj
[1] ;
9853 if (!args
) SWIG_fail
;
9855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9856 if (!SWIG_IsOK(res1
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9859 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (bool)(arg1
)->HaveRects();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9875 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9876 PyObject
*resultobj
= 0;
9877 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9880 PyObject
*swig_obj
[1] ;
9882 if (!args
) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9888 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_Py_Void();
9902 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9903 PyObject
*resultobj
= 0;
9904 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9907 PyObject
*swig_obj
[1] ;
9909 if (!args
) SWIG_fail
;
9911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9912 if (!SWIG_IsOK(res1
)) {
9913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9915 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 wxRegionIterator_Next(arg1
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9922 resultobj
= SWIG_Py_Void();
9929 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9930 PyObject
*resultobj
= 0;
9931 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9935 PyObject
*swig_obj
[1] ;
9937 if (!args
) SWIG_fail
;
9939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9940 if (!SWIG_IsOK(res1
)) {
9941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9943 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9959 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9962 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9963 return SWIG_Py_Void();
9966 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9967 return SWIG_Python_InitShadowInstance(args
);
9970 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 PyObject
*resultobj
= 0;
9972 wxNativeFontInfo
*result
= 0 ;
9974 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9988 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9989 PyObject
*resultobj
= 0;
9990 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9993 PyObject
*swig_obj
[1] ;
9995 if (!args
) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10001 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_Py_Void();
10016 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10017 PyObject
*resultobj
= 0;
10018 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10021 PyObject
*swig_obj
[1] ;
10023 if (!args
) SWIG_fail
;
10024 swig_obj
[0] = args
;
10025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10029 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_Py_Void();
10043 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
= 0;
10045 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10051 PyObject
* obj0
= 0 ;
10052 PyObject
* obj1
= 0 ;
10053 char * kwnames
[] = {
10054 (char *) "self",(char *) "font", NULL
10057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10062 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10064 if (!SWIG_IsOK(res2
)) {
10065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10070 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_Py_Void();
10084 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10085 PyObject
*resultobj
= 0;
10086 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10090 PyObject
*swig_obj
[1] ;
10092 if (!args
) SWIG_fail
;
10093 swig_obj
[0] = args
;
10094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10095 if (!SWIG_IsOK(res1
)) {
10096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10098 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_From_int(static_cast< int >(result
));
10112 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 PyObject
*resultobj
= 0;
10114 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10118 PyObject
*swig_obj
[1] ;
10120 if (!args
) SWIG_fail
;
10121 swig_obj
[0] = args
;
10122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10123 if (!SWIG_IsOK(res1
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10126 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
10140 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10141 PyObject
*resultobj
= 0;
10142 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10143 wxFontStyle result
;
10146 PyObject
*swig_obj
[1] ;
10148 if (!args
) SWIG_fail
;
10149 swig_obj
[0] = args
;
10150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10151 if (!SWIG_IsOK(res1
)) {
10152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10154 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_From_int(static_cast< int >(result
));
10168 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10169 PyObject
*resultobj
= 0;
10170 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10171 wxFontWeight result
;
10174 PyObject
*swig_obj
[1] ;
10176 if (!args
) SWIG_fail
;
10177 swig_obj
[0] = args
;
10178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10179 if (!SWIG_IsOK(res1
)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10182 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= SWIG_From_int(static_cast< int >(result
));
10196 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10197 PyObject
*resultobj
= 0;
10198 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10202 PyObject
*swig_obj
[1] ;
10204 if (!args
) SWIG_fail
;
10205 swig_obj
[0] = args
;
10206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10207 if (!SWIG_IsOK(res1
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10210 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10226 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10227 PyObject
*resultobj
= 0;
10228 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10232 PyObject
*swig_obj
[1] ;
10234 if (!args
) SWIG_fail
;
10235 swig_obj
[0] = args
;
10236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10237 if (!SWIG_IsOK(res1
)) {
10238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10240 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10260 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10261 PyObject
*resultobj
= 0;
10262 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10263 wxFontFamily result
;
10266 PyObject
*swig_obj
[1] ;
10268 if (!args
) SWIG_fail
;
10269 swig_obj
[0] = args
;
10270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10271 if (!SWIG_IsOK(res1
)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10274 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_From_int(static_cast< int >(result
));
10288 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10289 PyObject
*resultobj
= 0;
10290 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10291 wxFontEncoding result
;
10294 PyObject
*swig_obj
[1] ;
10296 if (!args
) SWIG_fail
;
10297 swig_obj
[0] = args
;
10298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10302 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_From_int(static_cast< int >(result
));
10316 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10318 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 char * kwnames
[] = {
10327 (char *) "self",(char *) "pointsize", NULL
10330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10332 if (!SWIG_IsOK(res1
)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10335 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10337 if (!SWIG_IsOK(ecode2
)) {
10338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
10340 arg2
= static_cast< int >(val2
);
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 (arg1
)->SetPointSize(arg2
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_Py_Void();
10354 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= 0;
10356 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char * kwnames
[] = {
10364 (char *) "self",(char *) "pixelSize", NULL
10367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10369 if (!SWIG_IsOK(res1
)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10372 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10375 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= SWIG_Py_Void();
10390 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
= 0;
10392 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 char * kwnames
[] = {
10401 (char *) "self",(char *) "style", NULL
10404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10406 if (!SWIG_IsOK(res1
)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10409 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10411 if (!SWIG_IsOK(ecode2
)) {
10412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
10414 arg2
= static_cast< wxFontStyle
>(val2
);
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 (arg1
)->SetStyle(arg2
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= SWIG_Py_Void();
10428 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10431 wxFontWeight arg2
;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char * kwnames
[] = {
10439 (char *) "self",(char *) "weight", NULL
10442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10444 if (!SWIG_IsOK(res1
)) {
10445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10447 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10449 if (!SWIG_IsOK(ecode2
)) {
10450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
10452 arg2
= static_cast< wxFontWeight
>(val2
);
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 (arg1
)->SetWeight(arg2
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_Py_Void();
10466 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
= 0;
10468 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 char * kwnames
[] = {
10477 (char *) "self",(char *) "underlined", NULL
10480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10482 if (!SWIG_IsOK(res1
)) {
10483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10485 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10486 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10487 if (!SWIG_IsOK(ecode2
)) {
10488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
10490 arg2
= static_cast< bool >(val2
);
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 (arg1
)->SetUnderlined(arg2
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= SWIG_Py_Void();
10504 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
= 0;
10506 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char * kwnames
[] = {
10514 (char *) "self",(char *) "facename", NULL
10517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10519 if (!SWIG_IsOK(res1
)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10522 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10524 wxString
* sptr
= wxString_in_helper(obj1
);
10525 if (sptr
== NULL
) SWIG_fail
;
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (bool)(arg1
)->SetFaceName(arg2
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10544 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= 0;
10546 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10547 wxFontFamily arg2
;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char * kwnames
[] = {
10555 (char *) "self",(char *) "family", NULL
10558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10563 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10565 if (!SWIG_IsOK(ecode2
)) {
10566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
10568 arg2
= static_cast< wxFontFamily
>(val2
);
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 (arg1
)->SetFamily(arg2
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_Py_Void();
10582 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10585 wxFontEncoding arg2
;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 char * kwnames
[] = {
10593 (char *) "self",(char *) "encoding", NULL
10596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10598 if (!SWIG_IsOK(res1
)) {
10599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10601 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10603 if (!SWIG_IsOK(ecode2
)) {
10604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10606 arg2
= static_cast< wxFontEncoding
>(val2
);
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 (arg1
)->SetEncoding(arg2
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_Py_Void();
10620 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
= 0;
10622 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10623 wxString
*arg2
= 0 ;
10627 bool temp2
= false ;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 char * kwnames
[] = {
10631 (char *) "self",(char *) "s", NULL
10634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10636 if (!SWIG_IsOK(res1
)) {
10637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10639 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10641 arg2
= wxString_in_helper(obj1
);
10642 if (arg2
== NULL
) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10668 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10669 PyObject
*resultobj
= 0;
10670 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10674 PyObject
*swig_obj
[1] ;
10676 if (!args
) SWIG_fail
;
10677 swig_obj
[0] = args
;
10678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10679 if (!SWIG_IsOK(res1
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10682 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10702 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10703 PyObject
*resultobj
= 0;
10704 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10708 PyObject
*swig_obj
[1] ;
10710 if (!args
) SWIG_fail
;
10711 swig_obj
[0] = args
;
10712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10713 if (!SWIG_IsOK(res1
)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10716 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= wxNativeFontInfo___str__(arg1
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10736 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10739 wxString
*arg2
= 0 ;
10743 bool temp2
= false ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 char * kwnames
[] = {
10747 (char *) "self",(char *) "s", NULL
10750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10752 if (!SWIG_IsOK(res1
)) {
10753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10755 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10757 arg2
= wxString_in_helper(obj1
);
10758 if (arg2
== NULL
) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10784 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10785 PyObject
*resultobj
= 0;
10786 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10790 PyObject
*swig_obj
[1] ;
10792 if (!args
) SWIG_fail
;
10793 swig_obj
[0] = args
;
10794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10798 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10818 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10821 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10822 return SWIG_Py_Void();
10825 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 return SWIG_Python_InitShadowInstance(args
);
10829 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10830 PyObject
*resultobj
= 0;
10831 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10832 wxString
*arg2
= (wxString
*) 0 ;
10835 bool temp2
= false ;
10836 PyObject
*swig_obj
[2] ;
10838 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10840 if (!SWIG_IsOK(res1
)) {
10841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10843 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10845 arg2
= wxString_in_helper(swig_obj
[1]);
10846 if (arg2
== NULL
) SWIG_fail
;
10849 if (arg1
) (arg1
)->facename
= *arg2
;
10851 resultobj
= SWIG_Py_Void();
10866 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10867 PyObject
*resultobj
= 0;
10868 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10869 wxString
*result
= 0 ;
10872 PyObject
*swig_obj
[1] ;
10874 if (!args
) SWIG_fail
;
10875 swig_obj
[0] = args
;
10876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10877 if (!SWIG_IsOK(res1
)) {
10878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10880 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10881 result
= (wxString
*)& ((arg1
)->facename
);
10884 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10886 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10895 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10896 PyObject
*resultobj
= 0;
10897 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10898 wxFontEncoding arg2
;
10903 PyObject
*swig_obj
[2] ;
10905 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10907 if (!SWIG_IsOK(res1
)) {
10908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10910 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10911 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10912 if (!SWIG_IsOK(ecode2
)) {
10913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10915 arg2
= static_cast< wxFontEncoding
>(val2
);
10916 if (arg1
) (arg1
)->encoding
= arg2
;
10918 resultobj
= SWIG_Py_Void();
10925 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10926 PyObject
*resultobj
= 0;
10927 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10928 wxFontEncoding result
;
10931 PyObject
*swig_obj
[1] ;
10933 if (!args
) SWIG_fail
;
10934 swig_obj
[0] = args
;
10935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10939 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10940 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10941 resultobj
= SWIG_From_int(static_cast< int >(result
));
10948 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10949 PyObject
*resultobj
= 0;
10950 wxNativeEncodingInfo
*result
= 0 ;
10952 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10966 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10967 PyObject
*resultobj
= 0;
10968 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10971 PyObject
*swig_obj
[1] ;
10973 if (!args
) SWIG_fail
;
10974 swig_obj
[0] = args
;
10975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10976 if (!SWIG_IsOK(res1
)) {
10977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10979 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_Py_Void();
10994 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10997 wxString
*arg2
= 0 ;
11001 bool temp2
= false ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 char * kwnames
[] = {
11005 (char *) "self",(char *) "s", NULL
11008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
11013 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11015 arg2
= wxString_in_helper(obj1
);
11016 if (arg2
== NULL
) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11042 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11043 PyObject
*resultobj
= 0;
11044 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11048 PyObject
*swig_obj
[1] ;
11050 if (!args
) SWIG_fail
;
11051 swig_obj
[0] = args
;
11052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11053 if (!SWIG_IsOK(res1
)) {
11054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
11056 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11076 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11079 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
11080 return SWIG_Py_Void();
11083 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 return SWIG_Python_InitShadowInstance(args
);
11087 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11088 PyObject
*resultobj
= 0;
11089 wxFontEncoding arg1
;
11090 wxNativeEncodingInfo
*result
= 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char * kwnames
[] = {
11095 (char *) "encoding", NULL
11098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11100 if (!SWIG_IsOK(ecode1
)) {
11101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11103 arg1
= static_cast< wxFontEncoding
>(val1
);
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11117 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
= 0;
11119 wxNativeEncodingInfo
*arg1
= 0 ;
11123 PyObject
* obj0
= 0 ;
11124 char * kwnames
[] = {
11125 (char *) "info", NULL
11128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11129 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
11130 if (!SWIG_IsOK(res1
)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11136 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11152 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11153 PyObject
*resultobj
= 0;
11154 wxFontMapper
*result
= 0 ;
11156 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (wxFontMapper
*)new wxFontMapper();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
11170 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11171 PyObject
*resultobj
= 0;
11172 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11175 PyObject
*swig_obj
[1] ;
11177 if (!args
) SWIG_fail
;
11178 swig_obj
[0] = args
;
11179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11183 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= SWIG_Py_Void();
11198 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11199 PyObject
*resultobj
= 0;
11200 wxFontMapper
*result
= 0 ;
11202 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (wxFontMapper
*)wxFontMapper::Get();
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11216 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
= 0;
11218 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11219 wxFontMapper
*result
= 0 ;
11222 PyObject
* obj0
= 0 ;
11223 char * kwnames
[] = {
11224 (char *) "mapper", NULL
11227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
11228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11229 if (!SWIG_IsOK(res1
)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11232 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11246 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
= 0;
11248 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11249 wxString
*arg2
= 0 ;
11250 bool arg3
= (bool) true ;
11251 wxFontEncoding result
;
11254 bool temp2
= false ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 char * kwnames
[] = {
11261 (char *) "self",(char *) "charset",(char *) "interactive", NULL
11264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11266 if (!SWIG_IsOK(res1
)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11269 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11271 arg2
= wxString_in_helper(obj1
);
11272 if (arg2
== NULL
) SWIG_fail
;
11276 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11277 if (!SWIG_IsOK(ecode3
)) {
11278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
11280 arg3
= static_cast< bool >(val3
);
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= SWIG_From_int(static_cast< int >(result
));
11303 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11304 PyObject
*resultobj
= 0;
11307 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11321 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
= 0;
11324 wxFontEncoding result
;
11327 PyObject
* obj0
= 0 ;
11328 char * kwnames
[] = {
11332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
11333 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11334 if (!SWIG_IsOK(ecode1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
11337 arg1
= static_cast< size_t >(val1
);
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= SWIG_From_int(static_cast< int >(result
));
11351 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
= 0;
11353 wxFontEncoding arg1
;
11357 PyObject
* obj0
= 0 ;
11358 char * kwnames
[] = {
11359 (char *) "encoding", NULL
11362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
11363 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11364 if (!SWIG_IsOK(ecode1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11367 arg1
= static_cast< wxFontEncoding
>(val1
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= wxFontMapper::GetEncodingName(arg1
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11387 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
= 0;
11389 wxFontEncoding arg1
;
11393 PyObject
* obj0
= 0 ;
11394 char * kwnames
[] = {
11395 (char *) "encoding", NULL
11398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
11399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11400 if (!SWIG_IsOK(ecode1
)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11403 arg1
= static_cast< wxFontEncoding
>(val1
);
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= wxFontMapper::GetEncodingDescription(arg1
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11423 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
= 0;
11425 wxString
*arg1
= 0 ;
11426 wxFontEncoding result
;
11427 bool temp1
= false ;
11428 PyObject
* obj0
= 0 ;
11429 char * kwnames
[] = {
11430 (char *) "name", NULL
11433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
11435 arg1
= wxString_in_helper(obj0
);
11436 if (arg1
== NULL
) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= SWIG_From_int(static_cast< int >(result
));
11460 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
= 0;
11462 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11463 wxString
*arg2
= 0 ;
11466 bool temp2
= false ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char * kwnames
[] = {
11470 (char *) "self",(char *) "prefix", NULL
11473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11478 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11480 arg2
= wxString_in_helper(obj1
);
11481 if (arg2
== NULL
) SWIG_fail
;
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_Py_Void();
11505 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11506 PyObject
*resultobj
= 0;
11509 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= wxFontMapper::GetDefaultConfigPath();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11529 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
= 0;
11531 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11532 wxFontEncoding arg2
;
11533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11535 bool arg4
= (bool) true ;
11536 PyObject
*result
= 0 ;
11541 bool temp3
= false ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 PyObject
* obj2
= 0 ;
11547 PyObject
* obj3
= 0 ;
11548 char * kwnames
[] = {
11549 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
11552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11554 if (!SWIG_IsOK(res1
)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11557 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11559 if (!SWIG_IsOK(ecode2
)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11562 arg2
= static_cast< wxFontEncoding
>(val2
);
11565 arg3
= wxString_in_helper(obj2
);
11566 if (arg3
== NULL
) SWIG_fail
;
11571 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11572 if (!SWIG_IsOK(ecode4
)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
11575 arg4
= static_cast< bool >(val4
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= result
;
11598 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
= 0;
11600 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11601 wxFontEncoding arg2
;
11602 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11603 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11609 bool temp3
= false ;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 PyObject
* obj2
= 0 ;
11613 char * kwnames
[] = {
11614 (char *) "self",(char *) "encoding",(char *) "facename", NULL
11617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11619 if (!SWIG_IsOK(res1
)) {
11620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11622 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11624 if (!SWIG_IsOK(ecode2
)) {
11625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11627 arg2
= static_cast< wxFontEncoding
>(val2
);
11630 arg3
= wxString_in_helper(obj2
);
11631 if (arg3
== NULL
) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11658 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
= 0;
11660 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11661 wxWindow
*arg2
= (wxWindow
*) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 PyObject
* obj1
= 0 ;
11668 char * kwnames
[] = {
11669 (char *) "self",(char *) "parent", NULL
11672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11677 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11679 if (!SWIG_IsOK(res2
)) {
11680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11682 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 (arg1
)->SetDialogParent(arg2
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_Py_Void();
11696 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
= 0;
11698 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11699 wxString
*arg2
= 0 ;
11702 bool temp2
= false ;
11703 PyObject
* obj0
= 0 ;
11704 PyObject
* obj1
= 0 ;
11705 char * kwnames
[] = {
11706 (char *) "self",(char *) "title", NULL
11709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11711 if (!SWIG_IsOK(res1
)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11714 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11716 arg2
= wxString_in_helper(obj1
);
11717 if (arg2
== NULL
) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_Py_Void();
11741 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11744 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11745 return SWIG_Py_Void();
11748 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 return SWIG_Python_InitShadowInstance(args
);
11752 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
= 0;
11758 bool arg5
= (bool) false ;
11759 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11761 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11762 wxFont
*result
= 0 ;
11773 bool temp6
= false ;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 PyObject
* obj2
= 0 ;
11779 PyObject
* obj3
= 0 ;
11780 PyObject
* obj4
= 0 ;
11781 PyObject
* obj5
= 0 ;
11782 PyObject
* obj6
= 0 ;
11783 char * kwnames
[] = {
11784 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11788 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11789 if (!SWIG_IsOK(ecode1
)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11792 arg1
= static_cast< int >(val1
);
11793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11794 if (!SWIG_IsOK(ecode2
)) {
11795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11797 arg2
= static_cast< int >(val2
);
11798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11799 if (!SWIG_IsOK(ecode3
)) {
11800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11802 arg3
= static_cast< int >(val3
);
11803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11804 if (!SWIG_IsOK(ecode4
)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11807 arg4
= static_cast< int >(val4
);
11809 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11810 if (!SWIG_IsOK(ecode5
)) {
11811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11813 arg5
= static_cast< bool >(val5
);
11817 arg6
= wxString_in_helper(obj5
);
11818 if (arg6
== NULL
) SWIG_fail
;
11823 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11824 if (!SWIG_IsOK(ecode7
)) {
11825 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11827 arg7
= static_cast< wxFontEncoding
>(val7
);
11830 if (!wxPyCheckForApp()) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11851 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11852 PyObject
*resultobj
= 0;
11853 wxFont
*arg1
= (wxFont
*) 0 ;
11856 PyObject
*swig_obj
[1] ;
11858 if (!args
) SWIG_fail
;
11859 swig_obj
[0] = args
;
11860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11861 if (!SWIG_IsOK(res1
)) {
11862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11864 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_Py_Void();
11879 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
= 0;
11881 wxNativeFontInfo
*arg1
= 0 ;
11882 wxFont
*result
= 0 ;
11885 PyObject
* obj0
= 0 ;
11886 char * kwnames
[] = {
11887 (char *) "info", NULL
11890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11891 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11892 if (!SWIG_IsOK(res1
)) {
11893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11898 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11900 if (!wxPyCheckForApp()) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11913 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
= 0;
11915 wxString
*arg1
= 0 ;
11916 wxFont
*result
= 0 ;
11917 bool temp1
= false ;
11918 PyObject
* obj0
= 0 ;
11919 char * kwnames
[] = {
11920 (char *) "info", NULL
11923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11925 arg1
= wxString_in_helper(obj0
);
11926 if (arg1
== NULL
) SWIG_fail
;
11930 if (!wxPyCheckForApp()) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11951 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
= 0;
11954 wxFontFamily arg2
;
11955 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11956 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11957 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11958 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11959 wxFont
*result
= 0 ;
11966 bool temp4
= false ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 PyObject
* obj2
= 0 ;
11972 PyObject
* obj3
= 0 ;
11973 PyObject
* obj4
= 0 ;
11974 char * kwnames
[] = {
11975 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11980 if (!SWIG_IsOK(ecode1
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11983 arg1
= static_cast< int >(val1
);
11984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11985 if (!SWIG_IsOK(ecode2
)) {
11986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11988 arg2
= static_cast< wxFontFamily
>(val2
);
11990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11991 if (!SWIG_IsOK(ecode3
)) {
11992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11994 arg3
= static_cast< int >(val3
);
11998 arg4
= wxString_in_helper(obj3
);
11999 if (arg4
== NULL
) SWIG_fail
;
12004 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12005 if (!SWIG_IsOK(ecode5
)) {
12006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12008 arg5
= static_cast< wxFontEncoding
>(val5
);
12011 if (!wxPyCheckForApp()) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12032 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
= 0;
12038 bool arg5
= (bool) false ;
12039 wxString
const &arg6_defvalue
= wxEmptyString
;
12040 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12041 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12042 wxFont
*result
= 0 ;
12052 bool temp6
= false ;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 PyObject
* obj2
= 0 ;
12058 PyObject
* obj3
= 0 ;
12059 PyObject
* obj4
= 0 ;
12060 PyObject
* obj5
= 0 ;
12061 PyObject
* obj6
= 0 ;
12062 char * kwnames
[] = {
12063 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
12066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12069 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12072 if (!SWIG_IsOK(ecode2
)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
12075 arg2
= static_cast< int >(val2
);
12076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12077 if (!SWIG_IsOK(ecode3
)) {
12078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12080 arg3
= static_cast< int >(val3
);
12081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12082 if (!SWIG_IsOK(ecode4
)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
12085 arg4
= static_cast< int >(val4
);
12087 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
12088 if (!SWIG_IsOK(ecode5
)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
12091 arg5
= static_cast< bool >(val5
);
12095 arg6
= wxString_in_helper(obj5
);
12096 if (arg6
== NULL
) SWIG_fail
;
12101 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
12102 if (!SWIG_IsOK(ecode7
)) {
12103 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
12105 arg7
= static_cast< wxFontEncoding
>(val7
);
12108 if (!wxPyCheckForApp()) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12129 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12132 wxFontFamily arg2
;
12133 int arg3
= (int) wxFONTFLAG_DEFAULT
;
12134 wxString
const &arg4_defvalue
= wxEmptyString
;
12135 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12136 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12137 wxFont
*result
= 0 ;
12143 bool temp4
= false ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 PyObject
* obj2
= 0 ;
12149 PyObject
* obj3
= 0 ;
12150 PyObject
* obj4
= 0 ;
12151 char * kwnames
[] = {
12152 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
12155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12158 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12161 if (!SWIG_IsOK(ecode2
)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
12164 arg2
= static_cast< wxFontFamily
>(val2
);
12166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12167 if (!SWIG_IsOK(ecode3
)) {
12168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12170 arg3
= static_cast< int >(val3
);
12174 arg4
= wxString_in_helper(obj3
);
12175 if (arg4
== NULL
) SWIG_fail
;
12180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12181 if (!SWIG_IsOK(ecode5
)) {
12182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12184 arg5
= static_cast< wxFontEncoding
>(val5
);
12187 if (!wxPyCheckForApp()) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12208 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12209 PyObject
*resultobj
= 0;
12210 wxFont
*arg1
= (wxFont
*) 0 ;
12214 PyObject
*swig_obj
[1] ;
12216 if (!args
) SWIG_fail
;
12217 swig_obj
[0] = args
;
12218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12219 if (!SWIG_IsOK(res1
)) {
12220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
12222 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 result
= (bool)((wxFont
const *)arg1
)->Ok();
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12238 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
= 0;
12240 wxFont
*arg1
= (wxFont
*) 0 ;
12241 wxFont
*arg2
= (wxFont
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 char * kwnames
[] = {
12250 (char *) "self",(char *) "other", NULL
12253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12255 if (!SWIG_IsOK(res1
)) {
12256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
12258 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12259 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12260 if (!SWIG_IsOK(res2
)) {
12261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
12263 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12279 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
= 0;
12281 wxFont
*arg1
= (wxFont
*) 0 ;
12282 wxFont
*arg2
= (wxFont
*) 0 ;
12288 PyObject
* obj0
= 0 ;
12289 PyObject
* obj1
= 0 ;
12290 char * kwnames
[] = {
12291 (char *) "self",(char *) "other", NULL
12294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12296 if (!SWIG_IsOK(res1
)) {
12297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
12299 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12301 if (!SWIG_IsOK(res2
)) {
12302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
12304 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12320 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12321 PyObject
*resultobj
= 0;
12322 wxFont
*arg1
= (wxFont
*) 0 ;
12326 PyObject
*swig_obj
[1] ;
12328 if (!args
) SWIG_fail
;
12329 swig_obj
[0] = args
;
12330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12331 if (!SWIG_IsOK(res1
)) {
12332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12334 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_From_int(static_cast< int >(result
));
12348 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12349 PyObject
*resultobj
= 0;
12350 wxFont
*arg1
= (wxFont
*) 0 ;
12354 PyObject
*swig_obj
[1] ;
12356 if (!args
) SWIG_fail
;
12357 swig_obj
[0] = args
;
12358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12359 if (!SWIG_IsOK(res1
)) {
12360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12362 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= ((wxFont
const *)arg1
)->GetPixelSize();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12376 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12377 PyObject
*resultobj
= 0;
12378 wxFont
*arg1
= (wxFont
*) 0 ;
12382 PyObject
*swig_obj
[1] ;
12384 if (!args
) SWIG_fail
;
12385 swig_obj
[0] = args
;
12386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12387 if (!SWIG_IsOK(res1
)) {
12388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
12390 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12406 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12407 PyObject
*resultobj
= 0;
12408 wxFont
*arg1
= (wxFont
*) 0 ;
12412 PyObject
*swig_obj
[1] ;
12414 if (!args
) SWIG_fail
;
12415 swig_obj
[0] = args
;
12416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
12420 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (int)((wxFont
const *)arg1
)->GetFamily();
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_From_int(static_cast< int >(result
));
12434 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12435 PyObject
*resultobj
= 0;
12436 wxFont
*arg1
= (wxFont
*) 0 ;
12440 PyObject
*swig_obj
[1] ;
12442 if (!args
) SWIG_fail
;
12443 swig_obj
[0] = args
;
12444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12445 if (!SWIG_IsOK(res1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
12448 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (int)((wxFont
const *)arg1
)->GetStyle();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_From_int(static_cast< int >(result
));
12462 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12463 PyObject
*resultobj
= 0;
12464 wxFont
*arg1
= (wxFont
*) 0 ;
12468 PyObject
*swig_obj
[1] ;
12470 if (!args
) SWIG_fail
;
12471 swig_obj
[0] = args
;
12472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12473 if (!SWIG_IsOK(res1
)) {
12474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
12476 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= (int)((wxFont
const *)arg1
)->GetWeight();
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_From_int(static_cast< int >(result
));
12490 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12491 PyObject
*resultobj
= 0;
12492 wxFont
*arg1
= (wxFont
*) 0 ;
12496 PyObject
*swig_obj
[1] ;
12498 if (!args
) SWIG_fail
;
12499 swig_obj
[0] = args
;
12500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
12504 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12520 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12521 PyObject
*resultobj
= 0;
12522 wxFont
*arg1
= (wxFont
*) 0 ;
12526 PyObject
*swig_obj
[1] ;
12528 if (!args
) SWIG_fail
;
12529 swig_obj
[0] = args
;
12530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12531 if (!SWIG_IsOK(res1
)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
12534 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= ((wxFont
const *)arg1
)->GetFaceName();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12554 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12555 PyObject
*resultobj
= 0;
12556 wxFont
*arg1
= (wxFont
*) 0 ;
12557 wxFontEncoding result
;
12560 PyObject
*swig_obj
[1] ;
12562 if (!args
) SWIG_fail
;
12563 swig_obj
[0] = args
;
12564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12565 if (!SWIG_IsOK(res1
)) {
12566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
12568 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= SWIG_From_int(static_cast< int >(result
));
12582 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12583 PyObject
*resultobj
= 0;
12584 wxFont
*arg1
= (wxFont
*) 0 ;
12585 wxNativeFontInfo
*result
= 0 ;
12588 PyObject
*swig_obj
[1] ;
12590 if (!args
) SWIG_fail
;
12591 swig_obj
[0] = args
;
12592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12593 if (!SWIG_IsOK(res1
)) {
12594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
12596 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12610 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12611 PyObject
*resultobj
= 0;
12612 wxFont
*arg1
= (wxFont
*) 0 ;
12616 PyObject
*swig_obj
[1] ;
12618 if (!args
) SWIG_fail
;
12619 swig_obj
[0] = args
;
12620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12621 if (!SWIG_IsOK(res1
)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
12624 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12640 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12641 PyObject
*resultobj
= 0;
12642 wxFont
*arg1
= (wxFont
*) 0 ;
12646 PyObject
*swig_obj
[1] ;
12648 if (!args
) SWIG_fail
;
12649 swig_obj
[0] = args
;
12650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12651 if (!SWIG_IsOK(res1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12654 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12674 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12675 PyObject
*resultobj
= 0;
12676 wxFont
*arg1
= (wxFont
*) 0 ;
12680 PyObject
*swig_obj
[1] ;
12682 if (!args
) SWIG_fail
;
12683 swig_obj
[0] = args
;
12684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12685 if (!SWIG_IsOK(res1
)) {
12686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12688 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12708 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
= 0;
12710 wxFont
*arg1
= (wxFont
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 PyObject
* obj1
= 0 ;
12718 char * kwnames
[] = {
12719 (char *) "self",(char *) "pointSize", NULL
12722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12724 if (!SWIG_IsOK(res1
)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12727 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12729 if (!SWIG_IsOK(ecode2
)) {
12730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12732 arg2
= static_cast< int >(val2
);
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 (arg1
)->SetPointSize(arg2
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_Py_Void();
12746 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
= 0;
12748 wxFont
*arg1
= (wxFont
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 char * kwnames
[] = {
12756 (char *) "self",(char *) "pixelSize", NULL
12759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12761 if (!SWIG_IsOK(res1
)) {
12762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12764 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_Py_Void();
12782 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxFont
*arg1
= (wxFont
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "self",(char *) "family", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12801 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12803 if (!SWIG_IsOK(ecode2
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12806 arg2
= static_cast< int >(val2
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->SetFamily(arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_Py_Void();
12820 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
= 0;
12822 wxFont
*arg1
= (wxFont
*) 0 ;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 char * kwnames
[] = {
12831 (char *) "self",(char *) "style", NULL
12834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12836 if (!SWIG_IsOK(res1
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12839 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12841 if (!SWIG_IsOK(ecode2
)) {
12842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12844 arg2
= static_cast< int >(val2
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->SetStyle(arg2
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxFont
*arg1
= (wxFont
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "weight", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12877 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12879 if (!SWIG_IsOK(ecode2
)) {
12880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12882 arg2
= static_cast< int >(val2
);
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetWeight(arg2
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_Py_Void();
12896 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
= 0;
12898 wxFont
*arg1
= (wxFont
*) 0 ;
12899 wxString
*arg2
= 0 ;
12903 bool temp2
= false ;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 char * kwnames
[] = {
12907 (char *) "self",(char *) "faceName", NULL
12910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12912 if (!SWIG_IsOK(res1
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12915 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12917 arg2
= wxString_in_helper(obj1
);
12918 if (arg2
== NULL
) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12944 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
= 0;
12946 wxFont
*arg1
= (wxFont
*) 0 ;
12952 PyObject
* obj0
= 0 ;
12953 PyObject
* obj1
= 0 ;
12954 char * kwnames
[] = {
12955 (char *) "self",(char *) "underlined", NULL
12958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12963 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12965 if (!SWIG_IsOK(ecode2
)) {
12966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12968 arg2
= static_cast< bool >(val2
);
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 (arg1
)->SetUnderlined(arg2
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_Py_Void();
12982 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
= 0;
12984 wxFont
*arg1
= (wxFont
*) 0 ;
12985 wxFontEncoding arg2
;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char * kwnames
[] = {
12993 (char *) "self",(char *) "encoding", NULL
12996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12998 if (!SWIG_IsOK(res1
)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
13001 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13003 if (!SWIG_IsOK(ecode2
)) {
13004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13006 arg2
= static_cast< wxFontEncoding
>(val2
);
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 (arg1
)->SetEncoding(arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
= 0;
13022 wxFont
*arg1
= (wxFont
*) 0 ;
13023 wxNativeFontInfo
*arg2
= 0 ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char * kwnames
[] = {
13031 (char *) "self",(char *) "info", NULL
13034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
13039 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13041 if (!SWIG_IsOK(res2
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13047 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= SWIG_Py_Void();
13061 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
= 0;
13063 wxFont
*arg1
= (wxFont
*) 0 ;
13064 wxString
*arg2
= 0 ;
13068 bool temp2
= false ;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 char * kwnames
[] = {
13072 (char *) "self",(char *) "info", NULL
13075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13077 if (!SWIG_IsOK(res1
)) {
13078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
13080 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13082 arg2
= wxString_in_helper(obj1
);
13083 if (arg2
== NULL
) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13109 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
= 0;
13111 wxFont
*arg1
= (wxFont
*) 0 ;
13112 wxString
*arg2
= 0 ;
13116 bool temp2
= false ;
13117 PyObject
* obj0
= 0 ;
13118 PyObject
* obj1
= 0 ;
13119 char * kwnames
[] = {
13120 (char *) "self",(char *) "info", NULL
13123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13125 if (!SWIG_IsOK(res1
)) {
13126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
13128 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13130 arg2
= wxString_in_helper(obj1
);
13131 if (arg2
== NULL
) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13157 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13158 PyObject
*resultobj
= 0;
13159 wxFont
*arg1
= (wxFont
*) 0 ;
13163 PyObject
*swig_obj
[1] ;
13165 if (!args
) SWIG_fail
;
13166 swig_obj
[0] = args
;
13167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
13171 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= ((wxFont
const *)arg1
)->GetFamilyString();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13191 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13192 PyObject
*resultobj
= 0;
13193 wxFont
*arg1
= (wxFont
*) 0 ;
13197 PyObject
*swig_obj
[1] ;
13199 if (!args
) SWIG_fail
;
13200 swig_obj
[0] = args
;
13201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
13205 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= ((wxFont
const *)arg1
)->GetStyleString();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13225 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13226 PyObject
*resultobj
= 0;
13227 wxFont
*arg1
= (wxFont
*) 0 ;
13231 PyObject
*swig_obj
[1] ;
13233 if (!args
) SWIG_fail
;
13234 swig_obj
[0] = args
;
13235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13236 if (!SWIG_IsOK(res1
)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
13239 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 result
= ((wxFont
const *)arg1
)->GetWeightString();
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13259 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= 0;
13261 wxFont
*arg1
= (wxFont
*) 0 ;
13262 bool arg2
= (bool) true ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 char * kwnames
[] = {
13270 (char *) "self",(char *) "no", NULL
13273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13275 if (!SWIG_IsOK(res1
)) {
13276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
13278 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13280 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13281 if (!SWIG_IsOK(ecode2
)) {
13282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
13284 arg2
= static_cast< bool >(val2
);
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 (arg1
)->SetNoAntiAliasing(arg2
);
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= SWIG_Py_Void();
13299 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13300 PyObject
*resultobj
= 0;
13301 wxFont
*arg1
= (wxFont
*) 0 ;
13305 PyObject
*swig_obj
[1] ;
13307 if (!args
) SWIG_fail
;
13308 swig_obj
[0] = args
;
13309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13310 if (!SWIG_IsOK(res1
)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
13313 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13329 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13330 PyObject
*resultobj
= 0;
13331 wxFontEncoding result
;
13333 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
13335 if (!wxPyCheckForApp()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= SWIG_From_int(static_cast< int >(result
));
13348 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
= 0;
13350 wxFontEncoding arg1
;
13353 PyObject
* obj0
= 0 ;
13354 char * kwnames
[] = {
13355 (char *) "encoding", NULL
13358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
13359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13360 if (!SWIG_IsOK(ecode1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13363 arg1
= static_cast< wxFontEncoding
>(val1
);
13365 if (!wxPyCheckForApp()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 wxFont::SetDefaultEncoding(arg1
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_Py_Void();
13378 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13381 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
13382 return SWIG_Py_Void();
13385 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13386 return SWIG_Python_InitShadowInstance(args
);
13389 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13390 PyObject
*resultobj
= 0;
13391 wxPyFontEnumerator
*result
= 0 ;
13393 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
13395 if (!wxPyCheckForApp()) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
13408 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13409 PyObject
*resultobj
= 0;
13410 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13413 PyObject
*swig_obj
[1] ;
13415 if (!args
) SWIG_fail
;
13416 swig_obj
[0] = args
;
13417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
13418 if (!SWIG_IsOK(res1
)) {
13419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13421 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_Py_Void();
13436 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
= 0;
13438 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13439 PyObject
*arg2
= (PyObject
*) 0 ;
13440 PyObject
*arg3
= (PyObject
*) 0 ;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 PyObject
* obj2
= 0 ;
13449 PyObject
* obj3
= 0 ;
13450 char * kwnames
[] = {
13451 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13456 if (!SWIG_IsOK(res1
)) {
13457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13459 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13462 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13463 if (!SWIG_IsOK(ecode4
)) {
13464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
13466 arg4
= static_cast< bool >(val4
);
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_Py_Void();
13480 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
= 0;
13482 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13483 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
13484 bool arg3
= (bool) false ;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 PyObject
* obj2
= 0 ;
13495 char * kwnames
[] = {
13496 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
13499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13501 if (!SWIG_IsOK(res1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13504 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13507 if (!SWIG_IsOK(ecode2
)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13510 arg2
= static_cast< wxFontEncoding
>(val2
);
13513 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13514 if (!SWIG_IsOK(ecode3
)) {
13515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
13517 arg3
= static_cast< bool >(val3
);
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13534 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
= 0;
13536 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13537 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13538 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13542 bool temp2
= false ;
13543 PyObject
* obj0
= 0 ;
13544 PyObject
* obj1
= 0 ;
13545 char * kwnames
[] = {
13546 (char *) "self",(char *) "facename", NULL
13549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13551 if (!SWIG_IsOK(res1
)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13554 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13557 arg2
= wxString_in_helper(obj1
);
13558 if (arg2
== NULL
) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13585 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13586 PyObject
*resultobj
= 0;
13587 PyObject
*result
= 0 ;
13589 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= result
;
13603 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13604 PyObject
*resultobj
= 0;
13605 PyObject
*result
= 0 ;
13607 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= result
;
13621 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= 0;
13623 wxString
*arg1
= 0 ;
13625 bool temp1
= false ;
13626 PyObject
* obj0
= 0 ;
13627 char * kwnames
[] = {
13628 (char *) "str", NULL
13631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
13633 arg1
= wxString_in_helper(obj0
);
13634 if (arg1
== NULL
) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13660 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13663 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13664 return SWIG_Py_Void();
13667 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13668 return SWIG_Python_InitShadowInstance(args
);
13671 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13672 PyObject
*resultobj
= 0;
13673 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13679 PyObject
*swig_obj
[2] ;
13681 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13683 if (!SWIG_IsOK(res1
)) {
13684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13686 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13687 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13688 if (!SWIG_IsOK(ecode2
)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13691 arg2
= static_cast< int >(val2
);
13692 if (arg1
) (arg1
)->Language
= arg2
;
13694 resultobj
= SWIG_Py_Void();
13701 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13702 PyObject
*resultobj
= 0;
13703 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13707 PyObject
*swig_obj
[1] ;
13709 if (!args
) SWIG_fail
;
13710 swig_obj
[0] = args
;
13711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13712 if (!SWIG_IsOK(res1
)) {
13713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13715 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13716 result
= (int) ((arg1
)->Language
);
13717 resultobj
= SWIG_From_int(static_cast< int >(result
));
13724 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13725 PyObject
*resultobj
= 0;
13726 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13727 wxString
*arg2
= (wxString
*) 0 ;
13730 bool temp2
= false ;
13731 PyObject
*swig_obj
[2] ;
13733 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13735 if (!SWIG_IsOK(res1
)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13738 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13740 arg2
= wxString_in_helper(swig_obj
[1]);
13741 if (arg2
== NULL
) SWIG_fail
;
13744 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13746 resultobj
= SWIG_Py_Void();
13761 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13762 PyObject
*resultobj
= 0;
13763 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13764 wxString
*result
= 0 ;
13767 PyObject
*swig_obj
[1] ;
13769 if (!args
) SWIG_fail
;
13770 swig_obj
[0] = args
;
13771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13772 if (!SWIG_IsOK(res1
)) {
13773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13775 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13776 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13779 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13781 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13790 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13791 PyObject
*resultobj
= 0;
13792 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13793 wxString
*arg2
= (wxString
*) 0 ;
13796 bool temp2
= false ;
13797 PyObject
*swig_obj
[2] ;
13799 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13801 if (!SWIG_IsOK(res1
)) {
13802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13804 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13806 arg2
= wxString_in_helper(swig_obj
[1]);
13807 if (arg2
== NULL
) SWIG_fail
;
13810 if (arg1
) (arg1
)->Description
= *arg2
;
13812 resultobj
= SWIG_Py_Void();
13827 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13828 PyObject
*resultobj
= 0;
13829 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13830 wxString
*result
= 0 ;
13833 PyObject
*swig_obj
[1] ;
13835 if (!args
) SWIG_fail
;
13836 swig_obj
[0] = args
;
13837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13838 if (!SWIG_IsOK(res1
)) {
13839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13841 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13842 result
= (wxString
*)& ((arg1
)->Description
);
13845 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13847 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13856 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13859 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13860 return SWIG_Py_Void();
13863 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
= 0;
13865 int arg1
= (int) -1 ;
13866 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13867 wxLocale
*result
= 0 ;
13872 PyObject
* obj0
= 0 ;
13873 PyObject
* obj1
= 0 ;
13874 char * kwnames
[] = {
13875 (char *) "language",(char *) "flags", NULL
13878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13880 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13881 if (!SWIG_IsOK(ecode1
)) {
13882 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13884 arg1
= static_cast< int >(val1
);
13887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13888 if (!SWIG_IsOK(ecode2
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13891 arg2
= static_cast< int >(val2
);
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13906 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13907 PyObject
*resultobj
= 0;
13908 wxLocale
*arg1
= (wxLocale
*) 0 ;
13911 PyObject
*swig_obj
[1] ;
13913 if (!args
) SWIG_fail
;
13914 swig_obj
[0] = args
;
13915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13916 if (!SWIG_IsOK(res1
)) {
13917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13919 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_Py_Void();
13934 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= 0;
13936 wxLocale
*arg1
= (wxLocale
*) 0 ;
13937 wxString
*arg2
= 0 ;
13938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13940 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13941 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13942 bool arg5
= (bool) true ;
13943 bool arg6
= (bool) false ;
13947 bool temp2
= false ;
13948 bool temp3
= false ;
13949 bool temp4
= false ;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 PyObject
* obj2
= 0 ;
13957 PyObject
* obj3
= 0 ;
13958 PyObject
* obj4
= 0 ;
13959 PyObject
* obj5
= 0 ;
13960 char * kwnames
[] = {
13961 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13966 if (!SWIG_IsOK(res1
)) {
13967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13969 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13971 arg2
= wxString_in_helper(obj1
);
13972 if (arg2
== NULL
) SWIG_fail
;
13977 arg3
= wxString_in_helper(obj2
);
13978 if (arg3
== NULL
) SWIG_fail
;
13984 arg4
= wxString_in_helper(obj3
);
13985 if (arg4
== NULL
) SWIG_fail
;
13990 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13991 if (!SWIG_IsOK(ecode5
)) {
13992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13994 arg5
= static_cast< bool >(val5
);
13997 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13998 if (!SWIG_IsOK(ecode6
)) {
13999 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
14001 arg6
= static_cast< bool >(val6
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14042 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
= 0;
14044 wxLocale
*arg1
= (wxLocale
*) 0 ;
14045 int arg2
= (int) wxLANGUAGE_DEFAULT
;
14046 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
14054 PyObject
* obj0
= 0 ;
14055 PyObject
* obj1
= 0 ;
14056 PyObject
* obj2
= 0 ;
14057 char * kwnames
[] = {
14058 (char *) "self",(char *) "language",(char *) "flags", NULL
14061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14063 if (!SWIG_IsOK(res1
)) {
14064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
14066 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14069 if (!SWIG_IsOK(ecode2
)) {
14070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
14072 arg2
= static_cast< int >(val2
);
14075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14076 if (!SWIG_IsOK(ecode3
)) {
14077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
14079 arg3
= static_cast< int >(val3
);
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14096 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14097 PyObject
*resultobj
= 0;
14100 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= (int)wxLocale::GetSystemLanguage();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= SWIG_From_int(static_cast< int >(result
));
14114 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14115 PyObject
*resultobj
= 0;
14116 wxFontEncoding result
;
14118 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= SWIG_From_int(static_cast< int >(result
));
14132 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14133 PyObject
*resultobj
= 0;
14136 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= wxLocale::GetSystemEncodingName();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14156 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14157 PyObject
*resultobj
= 0;
14158 wxLocale
*arg1
= (wxLocale
*) 0 ;
14162 PyObject
*swig_obj
[1] ;
14164 if (!args
) SWIG_fail
;
14165 swig_obj
[0] = args
;
14166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14167 if (!SWIG_IsOK(res1
)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
14170 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14186 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14187 PyObject
*resultobj
= 0;
14188 wxLocale
*arg1
= (wxLocale
*) 0 ;
14192 PyObject
*swig_obj
[1] ;
14194 if (!args
) SWIG_fail
;
14195 swig_obj
[0] = args
;
14196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14197 if (!SWIG_IsOK(res1
)) {
14198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
14200 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= ((wxLocale
const *)arg1
)->GetLocale();
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14220 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14221 PyObject
*resultobj
= 0;
14222 wxLocale
*arg1
= (wxLocale
*) 0 ;
14226 PyObject
*swig_obj
[1] ;
14228 if (!args
) SWIG_fail
;
14229 swig_obj
[0] = args
;
14230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14231 if (!SWIG_IsOK(res1
)) {
14232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
14234 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= SWIG_From_int(static_cast< int >(result
));
14248 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14249 PyObject
*resultobj
= 0;
14250 wxLocale
*arg1
= (wxLocale
*) 0 ;
14254 PyObject
*swig_obj
[1] ;
14256 if (!args
) SWIG_fail
;
14257 swig_obj
[0] = args
;
14258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14259 if (!SWIG_IsOK(res1
)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14262 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 result
= ((wxLocale
const *)arg1
)->GetSysName();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14282 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14283 PyObject
*resultobj
= 0;
14284 wxLocale
*arg1
= (wxLocale
*) 0 ;
14288 PyObject
*swig_obj
[1] ;
14290 if (!args
) SWIG_fail
;
14291 swig_obj
[0] = args
;
14292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14293 if (!SWIG_IsOK(res1
)) {
14294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14296 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14316 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
= 0;
14318 wxString
*arg1
= 0 ;
14319 bool temp1
= false ;
14320 PyObject
* obj0
= 0 ;
14321 char * kwnames
[] = {
14322 (char *) "prefix", NULL
14325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
14327 arg1
= wxString_in_helper(obj0
);
14328 if (arg1
== NULL
) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_Py_Void();
14352 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
= 0;
14354 wxLocale
*arg1
= (wxLocale
*) 0 ;
14355 wxString
*arg2
= 0 ;
14359 bool temp2
= false ;
14360 PyObject
* obj0
= 0 ;
14361 PyObject
* obj1
= 0 ;
14362 char * kwnames
[] = {
14363 (char *) "self",(char *) "szDomain", NULL
14366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14368 if (!SWIG_IsOK(res1
)) {
14369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
14371 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14373 arg2
= wxString_in_helper(obj1
);
14374 if (arg2
== NULL
) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14400 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
= 0;
14402 wxLocale
*arg1
= (wxLocale
*) 0 ;
14403 wxString
*arg2
= 0 ;
14407 bool temp2
= false ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 char * kwnames
[] = {
14411 (char *) "self",(char *) "szDomain", NULL
14414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14416 if (!SWIG_IsOK(res1
)) {
14417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
14419 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14421 arg2
= wxString_in_helper(obj1
);
14422 if (arg2
== NULL
) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14448 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
= 0;
14451 wxLanguageInfo
*result
= 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char * kwnames
[] = {
14456 (char *) "lang", NULL
14459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14460 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14461 if (!SWIG_IsOK(ecode1
)) {
14462 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
14464 arg1
= static_cast< int >(val1
);
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14478 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
= 0;
14484 PyObject
* obj0
= 0 ;
14485 char * kwnames
[] = {
14486 (char *) "lang", NULL
14489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
14490 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14491 if (!SWIG_IsOK(ecode1
)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
14494 arg1
= static_cast< int >(val1
);
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= wxLocale::GetLanguageName(arg1
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14514 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
= 0;
14516 wxString
*arg1
= 0 ;
14517 wxLanguageInfo
*result
= 0 ;
14518 bool temp1
= false ;
14519 PyObject
* obj0
= 0 ;
14520 char * kwnames
[] = {
14521 (char *) "locale", NULL
14524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14526 arg1
= wxString_in_helper(obj0
);
14527 if (arg1
== NULL
) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14551 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
= 0;
14553 wxLanguageInfo
*arg1
= 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char * kwnames
[] = {
14558 (char *) "info", NULL
14561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
14562 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
14563 if (!SWIG_IsOK(res1
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14569 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= SWIG_Py_Void();
14583 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
= 0;
14585 wxLocale
*arg1
= (wxLocale
*) 0 ;
14586 wxString
*arg2
= 0 ;
14587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14592 bool temp2
= false ;
14593 bool temp3
= false ;
14594 PyObject
* obj0
= 0 ;
14595 PyObject
* obj1
= 0 ;
14596 PyObject
* obj2
= 0 ;
14597 char * kwnames
[] = {
14598 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
14601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
14606 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14608 arg2
= wxString_in_helper(obj1
);
14609 if (arg2
== NULL
) SWIG_fail
;
14614 arg3
= wxString_in_helper(obj2
);
14615 if (arg3
== NULL
) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14654 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14655 PyObject
*resultobj
= 0;
14656 wxLocale
*arg1
= (wxLocale
*) 0 ;
14657 wxString
*result
= 0 ;
14660 PyObject
*swig_obj
[1] ;
14662 if (!args
) SWIG_fail
;
14663 swig_obj
[0] = args
;
14664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14665 if (!SWIG_IsOK(res1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14668 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14673 result
= (wxString
*) &_result_ref
;
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14682 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14691 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14694 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14695 return SWIG_Py_Void();
14698 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14699 return SWIG_Python_InitShadowInstance(args
);
14702 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14703 PyObject
*resultobj
= 0;
14704 wxLocale
*result
= 0 ;
14706 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (wxLocale
*)wxGetLocale();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14720 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14721 PyObject
*resultobj
= 0;
14722 wxString
*arg1
= 0 ;
14724 bool temp1
= false ;
14726 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14728 arg1
= wxString_in_helper(swig_obj
[0]);
14729 if (arg1
== NULL
) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= wxGetTranslation((wxString
const &)*arg1
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14759 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14760 PyObject
*resultobj
= 0;
14761 wxString
*arg1
= 0 ;
14762 wxString
*arg2
= 0 ;
14765 bool temp1
= false ;
14766 bool temp2
= false ;
14770 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14772 arg1
= wxString_in_helper(swig_obj
[0]);
14773 if (arg1
== NULL
) SWIG_fail
;
14777 arg2
= wxString_in_helper(swig_obj
[1]);
14778 if (arg2
== NULL
) SWIG_fail
;
14781 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14782 if (!SWIG_IsOK(ecode3
)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14785 arg3
= static_cast< size_t >(val3
);
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14821 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14825 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14828 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14831 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14835 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14840 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14841 PyObject
*resultobj
= 0;
14842 wxEncodingConverter
*result
= 0 ;
14844 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14858 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14859 PyObject
*resultobj
= 0;
14860 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14863 PyObject
*swig_obj
[1] ;
14865 if (!args
) SWIG_fail
;
14866 swig_obj
[0] = args
;
14867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14868 if (!SWIG_IsOK(res1
)) {
14869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14871 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_Py_Void();
14886 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
= 0;
14888 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14889 wxFontEncoding arg2
;
14890 wxFontEncoding arg3
;
14891 int arg4
= (int) wxCONVERT_STRICT
;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 PyObject
* obj2
= 0 ;
14904 PyObject
* obj3
= 0 ;
14905 char * kwnames
[] = {
14906 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14911 if (!SWIG_IsOK(res1
)) {
14912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14914 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14916 if (!SWIG_IsOK(ecode2
)) {
14917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14919 arg2
= static_cast< wxFontEncoding
>(val2
);
14920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14921 if (!SWIG_IsOK(ecode3
)) {
14922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14924 arg3
= static_cast< wxFontEncoding
>(val3
);
14926 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14927 if (!SWIG_IsOK(ecode4
)) {
14928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14930 arg4
= static_cast< int >(val4
);
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14947 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
= 0;
14949 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14950 wxString
*arg2
= 0 ;
14954 bool temp2
= false ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 char * kwnames
[] = {
14958 (char *) "self",(char *) "input", NULL
14961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14963 if (!SWIG_IsOK(res1
)) {
14964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14966 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14968 arg2
= wxString_in_helper(obj1
);
14969 if (arg2
== NULL
) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14999 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
= 0;
15001 wxFontEncoding arg1
;
15002 int arg2
= (int) wxPLATFORM_CURRENT
;
15003 wxFontEncodingArray result
;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 char * kwnames
[] = {
15011 (char *) "enc",(char *) "platform", NULL
15014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15016 if (!SWIG_IsOK(ecode1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15019 arg1
= static_cast< wxFontEncoding
>(val1
);
15021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15022 if (!SWIG_IsOK(ecode2
)) {
15023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
15025 arg2
= static_cast< int >(val2
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= PyList_New(0);
15035 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15036 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15037 PyList_Append(resultobj
, number
);
15047 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
= 0;
15049 wxFontEncoding arg1
;
15050 wxFontEncodingArray result
;
15053 PyObject
* obj0
= 0 ;
15054 char * kwnames
[] = {
15055 (char *) "enc", NULL
15058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
15059 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15060 if (!SWIG_IsOK(ecode1
)) {
15061 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15063 arg1
= static_cast< wxFontEncoding
>(val1
);
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= PyList_New(0);
15072 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15073 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15074 PyList_Append(resultobj
, number
);
15084 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
= 0;
15086 wxFontEncoding arg1
;
15087 wxFontEncoding arg2
;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char * kwnames
[] = {
15096 (char *) "encIn",(char *) "encOut", NULL
15099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15101 if (!SWIG_IsOK(ecode1
)) {
15102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15104 arg1
= static_cast< wxFontEncoding
>(val1
);
15105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15106 if (!SWIG_IsOK(ecode2
)) {
15107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15109 arg2
= static_cast< wxFontEncoding
>(val2
);
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15125 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15128 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
15129 return SWIG_Py_Void();
15132 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15133 return SWIG_Python_InitShadowInstance(args
);
15136 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15137 PyObject
*resultobj
= 0;
15138 wxDC
*arg1
= (wxDC
*) 0 ;
15141 PyObject
*swig_obj
[1] ;
15143 if (!args
) SWIG_fail
;
15144 swig_obj
[0] = args
;
15145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
15146 if (!SWIG_IsOK(res1
)) {
15147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
15149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= SWIG_Py_Void();
15164 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15165 PyObject
*resultobj
= 0;
15166 wxDC
*arg1
= (wxDC
*) 0 ;
15169 wxColour
*arg4
= 0 ;
15170 int arg5
= (int) wxFLOOD_SURFACE
;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 PyObject
* obj2
= 0 ;
15184 PyObject
* obj3
= 0 ;
15185 PyObject
* obj4
= 0 ;
15186 char * kwnames
[] = {
15187 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
15190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15192 if (!SWIG_IsOK(res1
)) {
15193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
15195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15197 if (!SWIG_IsOK(ecode2
)) {
15198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
15200 arg2
= static_cast< int >(val2
);
15201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15202 if (!SWIG_IsOK(ecode3
)) {
15203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
15205 arg3
= static_cast< int >(val3
);
15208 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15211 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15212 if (!SWIG_IsOK(ecode5
)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
15215 arg5
= static_cast< int >(val5
);
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15232 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
= 0;
15234 wxDC
*arg1
= (wxDC
*) 0 ;
15235 wxPoint
*arg2
= 0 ;
15236 wxColour
*arg3
= 0 ;
15237 int arg4
= (int) wxFLOOD_SURFACE
;
15245 PyObject
* obj0
= 0 ;
15246 PyObject
* obj1
= 0 ;
15247 PyObject
* obj2
= 0 ;
15248 PyObject
* obj3
= 0 ;
15249 char * kwnames
[] = {
15250 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
15253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15255 if (!SWIG_IsOK(res1
)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15261 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15265 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15268 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15269 if (!SWIG_IsOK(ecode4
)) {
15270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
15272 arg4
= static_cast< int >(val4
);
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15289 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
= 0;
15291 wxDC
*arg1
= (wxDC
*) 0 ;
15293 wxColour
*arg3
= 0 ;
15294 wxColour
*arg4
= 0 ;
15295 wxPoint
*arg5
= 0 ;
15302 PyObject
* obj0
= 0 ;
15303 PyObject
* obj1
= 0 ;
15304 PyObject
* obj2
= 0 ;
15305 PyObject
* obj3
= 0 ;
15306 PyObject
* obj4
= 0 ;
15307 char * kwnames
[] = {
15308 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
15311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
15316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15323 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15327 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15331 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_Py_Void();
15346 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
= 0;
15348 wxDC
*arg1
= (wxDC
*) 0 ;
15350 wxColour
*arg3
= 0 ;
15351 wxColour
*arg4
= 0 ;
15352 wxDirection arg5
= (wxDirection
) wxEAST
;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 PyObject
* obj2
= 0 ;
15363 PyObject
* obj3
= 0 ;
15364 PyObject
* obj4
= 0 ;
15365 char * kwnames
[] = {
15366 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
15369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15371 if (!SWIG_IsOK(res1
)) {
15372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
15374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15381 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15385 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15389 if (!SWIG_IsOK(ecode5
)) {
15390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
15392 arg5
= static_cast< wxDirection
>(val5
);
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= SWIG_Py_Void();
15407 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
= 0;
15409 wxDC
*arg1
= (wxDC
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 PyObject
* obj2
= 0 ;
15422 char * kwnames
[] = {
15423 (char *) "self",(char *) "x",(char *) "y", NULL
15426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
15431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15433 if (!SWIG_IsOK(ecode2
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
15436 arg2
= static_cast< int >(val2
);
15437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15438 if (!SWIG_IsOK(ecode3
)) {
15439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
15441 arg3
= static_cast< int >(val3
);
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15455 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
= 0;
15457 wxDC
*arg1
= (wxDC
*) 0 ;
15458 wxPoint
*arg2
= 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "self",(char *) "pt", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15477 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15492 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= 0;
15494 wxDC
*arg1
= (wxDC
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 PyObject
* obj2
= 0 ;
15512 PyObject
* obj3
= 0 ;
15513 PyObject
* obj4
= 0 ;
15514 char * kwnames
[] = {
15515 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
15518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15520 if (!SWIG_IsOK(res1
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
15523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15525 if (!SWIG_IsOK(ecode2
)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
15528 arg2
= static_cast< int >(val2
);
15529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15530 if (!SWIG_IsOK(ecode3
)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
15533 arg3
= static_cast< int >(val3
);
15534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15535 if (!SWIG_IsOK(ecode4
)) {
15536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
15538 arg4
= static_cast< int >(val4
);
15539 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15540 if (!SWIG_IsOK(ecode5
)) {
15541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
15543 arg5
= static_cast< int >(val5
);
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_Py_Void();
15557 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
= 0;
15559 wxDC
*arg1
= (wxDC
*) 0 ;
15560 wxPoint
*arg2
= 0 ;
15561 wxPoint
*arg3
= 0 ;
15566 PyObject
* obj0
= 0 ;
15567 PyObject
* obj1
= 0 ;
15568 PyObject
* obj2
= 0 ;
15569 char * kwnames
[] = {
15570 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
15573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15575 if (!SWIG_IsOK(res1
)) {
15576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15585 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_Py_Void();
15600 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
= 0;
15602 wxDC
*arg1
= (wxDC
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 PyObject
* obj2
= 0 ;
15614 char * kwnames
[] = {
15615 (char *) "self",(char *) "x",(char *) "y", NULL
15618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15620 if (!SWIG_IsOK(res1
)) {
15621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
15623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15625 if (!SWIG_IsOK(ecode2
)) {
15626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
15628 arg2
= static_cast< int >(val2
);
15629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15630 if (!SWIG_IsOK(ecode3
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
15633 arg3
= static_cast< int >(val3
);
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 (arg1
)->CrossHair(arg2
,arg3
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_Py_Void();
15647 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
= 0;
15649 wxDC
*arg1
= (wxDC
*) 0 ;
15650 wxPoint
*arg2
= 0 ;
15654 PyObject
* obj0
= 0 ;
15655 PyObject
* obj1
= 0 ;
15656 char * kwnames
[] = {
15657 (char *) "self",(char *) "pt", NULL
15660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15662 if (!SWIG_IsOK(res1
)) {
15663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_Py_Void();
15683 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15684 PyObject
*resultobj
= 0;
15685 wxDC
*arg1
= (wxDC
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 PyObject
* obj3
= 0 ;
15710 PyObject
* obj4
= 0 ;
15711 PyObject
* obj5
= 0 ;
15712 PyObject
* obj6
= 0 ;
15713 char * kwnames
[] = {
15714 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15724 if (!SWIG_IsOK(ecode2
)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15727 arg2
= static_cast< int >(val2
);
15728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15729 if (!SWIG_IsOK(ecode3
)) {
15730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15732 arg3
= static_cast< int >(val3
);
15733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15734 if (!SWIG_IsOK(ecode4
)) {
15735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15737 arg4
= static_cast< int >(val4
);
15738 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15739 if (!SWIG_IsOK(ecode5
)) {
15740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15742 arg5
= static_cast< int >(val5
);
15743 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15744 if (!SWIG_IsOK(ecode6
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15747 arg6
= static_cast< int >(val6
);
15748 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15749 if (!SWIG_IsOK(ecode7
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15752 arg7
= static_cast< int >(val7
);
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= SWIG_Py_Void();
15766 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
= 0;
15768 wxDC
*arg1
= (wxDC
*) 0 ;
15769 wxPoint
*arg2
= 0 ;
15770 wxPoint
*arg3
= 0 ;
15771 wxPoint
*arg4
= 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 PyObject
* obj2
= 0 ;
15780 PyObject
* obj3
= 0 ;
15781 char * kwnames
[] = {
15782 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15787 if (!SWIG_IsOK(res1
)) {
15788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15793 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= SWIG_Py_Void();
15816 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
= 0;
15818 wxDC
*arg1
= (wxDC
*) 0 ;
15833 PyObject
* obj0
= 0 ;
15834 PyObject
* obj1
= 0 ;
15835 PyObject
* obj2
= 0 ;
15836 PyObject
* obj3
= 0 ;
15837 PyObject
* obj4
= 0 ;
15838 char * kwnames
[] = {
15839 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15844 if (!SWIG_IsOK(res1
)) {
15845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15849 if (!SWIG_IsOK(ecode2
)) {
15850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15852 arg2
= static_cast< int >(val2
);
15853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15854 if (!SWIG_IsOK(ecode3
)) {
15855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15857 arg3
= static_cast< int >(val3
);
15858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15859 if (!SWIG_IsOK(ecode4
)) {
15860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15862 arg4
= static_cast< int >(val4
);
15863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15864 if (!SWIG_IsOK(ecode5
)) {
15865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15867 arg5
= static_cast< int >(val5
);
15869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15870 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= SWIG_Py_Void();
15881 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
= 0;
15883 wxDC
*arg1
= (wxDC
*) 0 ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 char * kwnames
[] = {
15891 (char *) "self",(char *) "rect", NULL
15894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_Py_Void();
15917 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
= 0;
15919 wxDC
*arg1
= (wxDC
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 PyObject
* obj2
= 0 ;
15943 PyObject
* obj3
= 0 ;
15944 PyObject
* obj4
= 0 ;
15945 PyObject
* obj5
= 0 ;
15946 PyObject
* obj6
= 0 ;
15947 char * kwnames
[] = {
15948 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15953 if (!SWIG_IsOK(res1
)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15958 if (!SWIG_IsOK(ecode2
)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15961 arg2
= static_cast< int >(val2
);
15962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15963 if (!SWIG_IsOK(ecode3
)) {
15964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15966 arg3
= static_cast< int >(val3
);
15967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15968 if (!SWIG_IsOK(ecode4
)) {
15969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15971 arg4
= static_cast< int >(val4
);
15972 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15973 if (!SWIG_IsOK(ecode5
)) {
15974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15976 arg5
= static_cast< int >(val5
);
15977 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15978 if (!SWIG_IsOK(ecode6
)) {
15979 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15981 arg6
= static_cast< double >(val6
);
15982 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15983 if (!SWIG_IsOK(ecode7
)) {
15984 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15986 arg7
= static_cast< double >(val7
);
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= SWIG_Py_Void();
16000 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
= 0;
16002 wxDC
*arg1
= (wxDC
*) 0 ;
16003 wxPoint
*arg2
= 0 ;
16015 PyObject
* obj0
= 0 ;
16016 PyObject
* obj1
= 0 ;
16017 PyObject
* obj2
= 0 ;
16018 PyObject
* obj3
= 0 ;
16019 PyObject
* obj4
= 0 ;
16020 char * kwnames
[] = {
16021 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
16024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16026 if (!SWIG_IsOK(res1
)) {
16027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16036 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16038 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16039 if (!SWIG_IsOK(ecode4
)) {
16040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
16042 arg4
= static_cast< double >(val4
);
16043 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16044 if (!SWIG_IsOK(ecode5
)) {
16045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
16047 arg5
= static_cast< double >(val5
);
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= SWIG_Py_Void();
16061 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
= 0;
16063 wxDC
*arg1
= (wxDC
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 PyObject
* obj2
= 0 ;
16075 char * kwnames
[] = {
16076 (char *) "self",(char *) "x",(char *) "y", NULL
16079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16081 if (!SWIG_IsOK(res1
)) {
16082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16086 if (!SWIG_IsOK(ecode2
)) {
16087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
16089 arg2
= static_cast< int >(val2
);
16090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16091 if (!SWIG_IsOK(ecode3
)) {
16092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
16094 arg3
= static_cast< int >(val3
);
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 (arg1
)->DrawPoint(arg2
,arg3
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_Py_Void();
16108 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
= 0;
16110 wxDC
*arg1
= (wxDC
*) 0 ;
16111 wxPoint
*arg2
= 0 ;
16115 PyObject
* obj0
= 0 ;
16116 PyObject
* obj1
= 0 ;
16117 char * kwnames
[] = {
16118 (char *) "self",(char *) "pt", NULL
16121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16123 if (!SWIG_IsOK(res1
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_Py_Void();
16144 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
= 0;
16146 wxDC
*arg1
= (wxDC
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 PyObject
* obj2
= 0 ;
16164 PyObject
* obj3
= 0 ;
16165 PyObject
* obj4
= 0 ;
16166 char * kwnames
[] = {
16167 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16172 if (!SWIG_IsOK(res1
)) {
16173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16177 if (!SWIG_IsOK(ecode2
)) {
16178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
16180 arg2
= static_cast< int >(val2
);
16181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16182 if (!SWIG_IsOK(ecode3
)) {
16183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
16185 arg3
= static_cast< int >(val3
);
16186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16187 if (!SWIG_IsOK(ecode4
)) {
16188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
16190 arg4
= static_cast< int >(val4
);
16191 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16192 if (!SWIG_IsOK(ecode5
)) {
16193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
16195 arg5
= static_cast< int >(val5
);
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= SWIG_Py_Void();
16209 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
= 0;
16211 wxDC
*arg1
= (wxDC
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 PyObject
* obj1
= 0 ;
16218 char * kwnames
[] = {
16219 (char *) "self",(char *) "rect", NULL
16222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16224 if (!SWIG_IsOK(res1
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16230 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= SWIG_Py_Void();
16245 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
= 0;
16247 wxDC
*arg1
= (wxDC
*) 0 ;
16248 wxPoint
*arg2
= 0 ;
16254 PyObject
* obj0
= 0 ;
16255 PyObject
* obj1
= 0 ;
16256 PyObject
* obj2
= 0 ;
16257 char * kwnames
[] = {
16258 (char *) "self",(char *) "pt",(char *) "sz", NULL
16261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16263 if (!SWIG_IsOK(res1
)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16273 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= SWIG_Py_Void();
16288 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
= 0;
16290 wxDC
*arg1
= (wxDC
*) 0 ;
16308 PyObject
* obj0
= 0 ;
16309 PyObject
* obj1
= 0 ;
16310 PyObject
* obj2
= 0 ;
16311 PyObject
* obj3
= 0 ;
16312 PyObject
* obj4
= 0 ;
16313 PyObject
* obj5
= 0 ;
16314 char * kwnames
[] = {
16315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
16318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16320 if (!SWIG_IsOK(res1
)) {
16321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16325 if (!SWIG_IsOK(ecode2
)) {
16326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
16328 arg2
= static_cast< int >(val2
);
16329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16330 if (!SWIG_IsOK(ecode3
)) {
16331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
16333 arg3
= static_cast< int >(val3
);
16334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16335 if (!SWIG_IsOK(ecode4
)) {
16336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
16338 arg4
= static_cast< int >(val4
);
16339 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16340 if (!SWIG_IsOK(ecode5
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
16343 arg5
= static_cast< int >(val5
);
16344 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
16345 if (!SWIG_IsOK(ecode6
)) {
16346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
16348 arg6
= static_cast< double >(val6
);
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= SWIG_Py_Void();
16362 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
= 0;
16364 wxDC
*arg1
= (wxDC
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 PyObject
* obj2
= 0 ;
16375 char * kwnames
[] = {
16376 (char *) "self",(char *) "r",(char *) "radius", NULL
16379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16381 if (!SWIG_IsOK(res1
)) {
16382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16389 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16390 if (!SWIG_IsOK(ecode3
)) {
16391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
16393 arg3
= static_cast< double >(val3
);
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= SWIG_Py_Void();
16407 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
= 0;
16409 wxDC
*arg1
= (wxDC
*) 0 ;
16410 wxPoint
*arg2
= 0 ;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 PyObject
* obj2
= 0 ;
16422 PyObject
* obj3
= 0 ;
16423 char * kwnames
[] = {
16424 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
16427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16429 if (!SWIG_IsOK(res1
)) {
16430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16435 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16439 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16441 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16442 if (!SWIG_IsOK(ecode4
)) {
16443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
16445 arg4
= static_cast< double >(val4
);
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= SWIG_Py_Void();
16459 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
= 0;
16461 wxDC
*arg1
= (wxDC
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 PyObject
* obj2
= 0 ;
16476 PyObject
* obj3
= 0 ;
16477 char * kwnames
[] = {
16478 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
16481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16483 if (!SWIG_IsOK(res1
)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
16486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16488 if (!SWIG_IsOK(ecode2
)) {
16489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
16491 arg2
= static_cast< int >(val2
);
16492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16493 if (!SWIG_IsOK(ecode3
)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
16496 arg3
= static_cast< int >(val3
);
16497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16498 if (!SWIG_IsOK(ecode4
)) {
16499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
16501 arg4
= static_cast< int >(val4
);
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_Py_Void();
16515 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
= 0;
16517 wxDC
*arg1
= (wxDC
*) 0 ;
16518 wxPoint
*arg2
= 0 ;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 PyObject
* obj2
= 0 ;
16528 char * kwnames
[] = {
16529 (char *) "self",(char *) "pt",(char *) "radius", NULL
16532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16534 if (!SWIG_IsOK(res1
)) {
16535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
16537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16543 if (!SWIG_IsOK(ecode3
)) {
16544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
16546 arg3
= static_cast< int >(val3
);
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_Py_Void();
16560 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
= 0;
16562 wxDC
*arg1
= (wxDC
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 PyObject
* obj2
= 0 ;
16580 PyObject
* obj3
= 0 ;
16581 PyObject
* obj4
= 0 ;
16582 char * kwnames
[] = {
16583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
16591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16593 if (!SWIG_IsOK(ecode2
)) {
16594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
16596 arg2
= static_cast< int >(val2
);
16597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16598 if (!SWIG_IsOK(ecode3
)) {
16599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
16601 arg3
= static_cast< int >(val3
);
16602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16603 if (!SWIG_IsOK(ecode4
)) {
16604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
16606 arg4
= static_cast< int >(val4
);
16607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16608 if (!SWIG_IsOK(ecode5
)) {
16609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
16611 arg5
= static_cast< int >(val5
);
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= SWIG_Py_Void();
16625 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
= 0;
16627 wxDC
*arg1
= (wxDC
*) 0 ;
16632 PyObject
* obj0
= 0 ;
16633 PyObject
* obj1
= 0 ;
16634 char * kwnames
[] = {
16635 (char *) "self",(char *) "rect", NULL
16638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16640 if (!SWIG_IsOK(res1
)) {
16641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
16643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16646 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= SWIG_Py_Void();
16661 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
= 0;
16663 wxDC
*arg1
= (wxDC
*) 0 ;
16664 wxPoint
*arg2
= 0 ;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 PyObject
* obj2
= 0 ;
16673 char * kwnames
[] = {
16674 (char *) "self",(char *) "pt",(char *) "sz", NULL
16677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16679 if (!SWIG_IsOK(res1
)) {
16680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16689 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= SWIG_Py_Void();
16704 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
= 0;
16706 wxDC
*arg1
= (wxDC
*) 0 ;
16718 PyObject
* obj0
= 0 ;
16719 PyObject
* obj1
= 0 ;
16720 PyObject
* obj2
= 0 ;
16721 PyObject
* obj3
= 0 ;
16722 char * kwnames
[] = {
16723 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16728 if (!SWIG_IsOK(res1
)) {
16729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16733 if (!SWIG_IsOK(res2
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16739 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16741 if (!SWIG_IsOK(ecode3
)) {
16742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16744 arg3
= static_cast< int >(val3
);
16745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16746 if (!SWIG_IsOK(ecode4
)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16749 arg4
= static_cast< int >(val4
);
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= SWIG_Py_Void();
16763 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
= 0;
16765 wxDC
*arg1
= (wxDC
*) 0 ;
16767 wxPoint
*arg3
= 0 ;
16773 PyObject
* obj0
= 0 ;
16774 PyObject
* obj1
= 0 ;
16775 PyObject
* obj2
= 0 ;
16776 char * kwnames
[] = {
16777 (char *) "self",(char *) "icon",(char *) "pt", NULL
16780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16782 if (!SWIG_IsOK(res1
)) {
16783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16787 if (!SWIG_IsOK(res2
)) {
16788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16793 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_Py_Void();
16811 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
= 0;
16813 wxDC
*arg1
= (wxDC
*) 0 ;
16814 wxBitmap
*arg2
= 0 ;
16817 bool arg5
= (bool) false ;
16828 PyObject
* obj0
= 0 ;
16829 PyObject
* obj1
= 0 ;
16830 PyObject
* obj2
= 0 ;
16831 PyObject
* obj3
= 0 ;
16832 PyObject
* obj4
= 0 ;
16833 char * kwnames
[] = {
16834 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16839 if (!SWIG_IsOK(res1
)) {
16840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16844 if (!SWIG_IsOK(res2
)) {
16845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16850 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16852 if (!SWIG_IsOK(ecode3
)) {
16853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16855 arg3
= static_cast< int >(val3
);
16856 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16857 if (!SWIG_IsOK(ecode4
)) {
16858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16860 arg4
= static_cast< int >(val4
);
16862 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16863 if (!SWIG_IsOK(ecode5
)) {
16864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16866 arg5
= static_cast< bool >(val5
);
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= SWIG_Py_Void();
16881 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
= 0;
16883 wxDC
*arg1
= (wxDC
*) 0 ;
16884 wxBitmap
*arg2
= 0 ;
16885 wxPoint
*arg3
= 0 ;
16886 bool arg4
= (bool) false ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 PyObject
* obj2
= 0 ;
16897 PyObject
* obj3
= 0 ;
16898 char * kwnames
[] = {
16899 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16904 if (!SWIG_IsOK(res1
)) {
16905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16907 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16909 if (!SWIG_IsOK(res2
)) {
16910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16915 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16921 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16922 if (!SWIG_IsOK(ecode4
)) {
16923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16925 arg4
= static_cast< bool >(val4
);
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= SWIG_Py_Void();
16940 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
= 0;
16942 wxDC
*arg1
= (wxDC
*) 0 ;
16943 wxString
*arg2
= 0 ;
16948 bool temp2
= false ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 PyObject
* obj2
= 0 ;
16956 PyObject
* obj3
= 0 ;
16957 char * kwnames
[] = {
16958 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16963 if (!SWIG_IsOK(res1
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16968 arg2
= wxString_in_helper(obj1
);
16969 if (arg2
== NULL
) SWIG_fail
;
16972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16973 if (!SWIG_IsOK(ecode3
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16976 arg3
= static_cast< int >(val3
);
16977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16978 if (!SWIG_IsOK(ecode4
)) {
16979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16981 arg4
= static_cast< int >(val4
);
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_Py_Void();
17003 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
= 0;
17005 wxDC
*arg1
= (wxDC
*) 0 ;
17006 wxString
*arg2
= 0 ;
17007 wxPoint
*arg3
= 0 ;
17010 bool temp2
= false ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 PyObject
* obj2
= 0 ;
17015 char * kwnames
[] = {
17016 (char *) "self",(char *) "text",(char *) "pt", NULL
17019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17021 if (!SWIG_IsOK(res1
)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17026 arg2
= wxString_in_helper(obj1
);
17027 if (arg2
== NULL
) SWIG_fail
;
17032 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= SWIG_Py_Void();
17055 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
= 0;
17057 wxDC
*arg1
= (wxDC
*) 0 ;
17058 wxString
*arg2
= 0 ;
17064 bool temp2
= false ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 PyObject
* obj2
= 0 ;
17074 PyObject
* obj3
= 0 ;
17075 PyObject
* obj4
= 0 ;
17076 char * kwnames
[] = {
17077 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
17080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17082 if (!SWIG_IsOK(res1
)) {
17083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
17085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17087 arg2
= wxString_in_helper(obj1
);
17088 if (arg2
== NULL
) SWIG_fail
;
17091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17092 if (!SWIG_IsOK(ecode3
)) {
17093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
17095 arg3
= static_cast< int >(val3
);
17096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17097 if (!SWIG_IsOK(ecode4
)) {
17098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
17100 arg4
= static_cast< int >(val4
);
17101 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17102 if (!SWIG_IsOK(ecode5
)) {
17103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
17105 arg5
= static_cast< double >(val5
);
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= SWIG_Py_Void();
17127 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
= 0;
17129 wxDC
*arg1
= (wxDC
*) 0 ;
17130 wxString
*arg2
= 0 ;
17131 wxPoint
*arg3
= 0 ;
17135 bool temp2
= false ;
17139 PyObject
* obj0
= 0 ;
17140 PyObject
* obj1
= 0 ;
17141 PyObject
* obj2
= 0 ;
17142 PyObject
* obj3
= 0 ;
17143 char * kwnames
[] = {
17144 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
17147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17149 if (!SWIG_IsOK(res1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17154 arg2
= wxString_in_helper(obj1
);
17155 if (arg2
== NULL
) SWIG_fail
;
17160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17162 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17163 if (!SWIG_IsOK(ecode4
)) {
17164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
17166 arg4
= static_cast< double >(val4
);
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_Py_Void();
17188 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
= 0;
17190 wxDC
*arg1
= (wxDC
*) 0 ;
17195 wxDC
*arg6
= (wxDC
*) 0 ;
17198 int arg9
= (int) wxCOPY
;
17199 bool arg10
= (bool) false ;
17200 int arg11
= (int) -1 ;
17201 int arg12
= (int) -1 ;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 PyObject
* obj2
= 0 ;
17230 PyObject
* obj3
= 0 ;
17231 PyObject
* obj4
= 0 ;
17232 PyObject
* obj5
= 0 ;
17233 PyObject
* obj6
= 0 ;
17234 PyObject
* obj7
= 0 ;
17235 PyObject
* obj8
= 0 ;
17236 PyObject
* obj9
= 0 ;
17237 PyObject
* obj10
= 0 ;
17238 PyObject
* obj11
= 0 ;
17239 char * kwnames
[] = {
17240 (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
17243 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
;
17244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17245 if (!SWIG_IsOK(res1
)) {
17246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
17248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17250 if (!SWIG_IsOK(ecode2
)) {
17251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
17253 arg2
= static_cast< int >(val2
);
17254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17255 if (!SWIG_IsOK(ecode3
)) {
17256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
17258 arg3
= static_cast< int >(val3
);
17259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17260 if (!SWIG_IsOK(ecode4
)) {
17261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
17263 arg4
= static_cast< int >(val4
);
17264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17265 if (!SWIG_IsOK(ecode5
)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
17268 arg5
= static_cast< int >(val5
);
17269 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
17270 if (!SWIG_IsOK(res6
)) {
17271 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
17273 arg6
= reinterpret_cast< wxDC
* >(argp6
);
17274 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17275 if (!SWIG_IsOK(ecode7
)) {
17276 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
17278 arg7
= static_cast< int >(val7
);
17279 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
17280 if (!SWIG_IsOK(ecode8
)) {
17281 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
17283 arg8
= static_cast< int >(val8
);
17285 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
17286 if (!SWIG_IsOK(ecode9
)) {
17287 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
17289 arg9
= static_cast< int >(val9
);
17292 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
17293 if (!SWIG_IsOK(ecode10
)) {
17294 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
17296 arg10
= static_cast< bool >(val10
);
17299 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
17300 if (!SWIG_IsOK(ecode11
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
17303 arg11
= static_cast< int >(val11
);
17306 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
17307 if (!SWIG_IsOK(ecode12
)) {
17308 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
17310 arg12
= static_cast< int >(val12
);
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17327 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
= 0;
17329 wxDC
*arg1
= (wxDC
*) 0 ;
17330 wxPoint
*arg2
= 0 ;
17332 wxDC
*arg4
= (wxDC
*) 0 ;
17333 wxPoint
*arg5
= 0 ;
17334 int arg6
= (int) wxCOPY
;
17335 bool arg7
= (bool) false ;
17336 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
17337 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
17351 PyObject
* obj0
= 0 ;
17352 PyObject
* obj1
= 0 ;
17353 PyObject
* obj2
= 0 ;
17354 PyObject
* obj3
= 0 ;
17355 PyObject
* obj4
= 0 ;
17356 PyObject
* obj5
= 0 ;
17357 PyObject
* obj6
= 0 ;
17358 PyObject
* obj7
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17375 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17377 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
17378 if (!SWIG_IsOK(res4
)) {
17379 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
17381 arg4
= reinterpret_cast< wxDC
* >(argp4
);
17384 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17387 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17388 if (!SWIG_IsOK(ecode6
)) {
17389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
17391 arg6
= static_cast< int >(val6
);
17394 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
17395 if (!SWIG_IsOK(ecode7
)) {
17396 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
17398 arg7
= static_cast< bool >(val7
);
17403 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17421 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
= 0;
17423 wxDC
*arg1
= (wxDC
*) 0 ;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 PyObject
* obj2
= 0 ;
17441 PyObject
* obj3
= 0 ;
17442 PyObject
* obj4
= 0 ;
17443 char * kwnames
[] = {
17444 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17449 if (!SWIG_IsOK(res1
)) {
17450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17454 if (!SWIG_IsOK(ecode2
)) {
17455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
17457 arg2
= static_cast< int >(val2
);
17458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17459 if (!SWIG_IsOK(ecode3
)) {
17460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
17462 arg3
= static_cast< int >(val3
);
17463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17464 if (!SWIG_IsOK(ecode4
)) {
17465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
17467 arg4
= static_cast< int >(val4
);
17468 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17469 if (!SWIG_IsOK(ecode5
)) {
17470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
17472 arg5
= static_cast< int >(val5
);
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= SWIG_Py_Void();
17486 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
= 0;
17488 wxDC
*arg1
= (wxDC
*) 0 ;
17489 wxPoint
*arg2
= 0 ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 char * kwnames
[] = {
17499 (char *) "self",(char *) "pt",(char *) "sz", NULL
17502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17504 if (!SWIG_IsOK(res1
)) {
17505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17514 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= SWIG_Py_Void();
17529 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
= 0;
17531 wxDC
*arg1
= (wxDC
*) 0 ;
17532 wxRegion
*arg2
= 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 char * kwnames
[] = {
17540 (char *) "self",(char *) "region", NULL
17543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17545 if (!SWIG_IsOK(res1
)) {
17546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
17550 if (!SWIG_IsOK(res2
)) {
17551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17556 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= SWIG_Py_Void();
17570 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
= 0;
17572 wxDC
*arg1
= (wxDC
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 char * kwnames
[] = {
17580 (char *) "self",(char *) "rect", NULL
17583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17585 if (!SWIG_IsOK(res1
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17591 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= SWIG_Py_Void();
17606 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
= 0;
17608 wxDC
*arg1
= (wxDC
*) 0 ;
17610 wxPoint
*arg3
= (wxPoint
*) 0 ;
17611 int arg4
= (int) 0 ;
17612 int arg5
= (int) 0 ;
17619 PyObject
* obj0
= 0 ;
17620 PyObject
* obj1
= 0 ;
17621 PyObject
* obj2
= 0 ;
17622 PyObject
* obj3
= 0 ;
17623 char * kwnames
[] = {
17624 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
17627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
17632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17634 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17635 if (arg3
== NULL
) SWIG_fail
;
17638 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17639 if (!SWIG_IsOK(ecode4
)) {
17640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
17642 arg4
= static_cast< int >(val4
);
17645 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17646 if (!SWIG_IsOK(ecode5
)) {
17647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
17649 arg5
= static_cast< int >(val5
);
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= SWIG_Py_Void();
17659 if (arg3
) delete [] arg3
;
17664 if (arg3
) delete [] arg3
;
17670 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
= 0;
17672 wxDC
*arg1
= (wxDC
*) 0 ;
17674 wxPoint
*arg3
= (wxPoint
*) 0 ;
17675 int arg4
= (int) 0 ;
17676 int arg5
= (int) 0 ;
17677 int arg6
= (int) wxODDEVEN_RULE
;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 PyObject
* obj2
= 0 ;
17689 PyObject
* obj3
= 0 ;
17690 PyObject
* obj4
= 0 ;
17691 char * kwnames
[] = {
17692 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17697 if (!SWIG_IsOK(res1
)) {
17698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17702 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17703 if (arg3
== NULL
) SWIG_fail
;
17706 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17707 if (!SWIG_IsOK(ecode4
)) {
17708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17710 arg4
= static_cast< int >(val4
);
17713 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17714 if (!SWIG_IsOK(ecode5
)) {
17715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17717 arg5
= static_cast< int >(val5
);
17720 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17721 if (!SWIG_IsOK(ecode6
)) {
17722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17724 arg6
= static_cast< int >(val6
);
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= SWIG_Py_Void();
17734 if (arg3
) delete [] arg3
;
17739 if (arg3
) delete [] arg3
;
17745 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
= 0;
17747 wxDC
*arg1
= (wxDC
*) 0 ;
17748 wxString
*arg2
= 0 ;
17750 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17751 int arg5
= (int) -1 ;
17754 bool temp2
= false ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 PyObject
* obj2
= 0 ;
17763 PyObject
* obj3
= 0 ;
17764 PyObject
* obj4
= 0 ;
17765 char * kwnames
[] = {
17766 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17771 if (!SWIG_IsOK(res1
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17776 arg2
= wxString_in_helper(obj1
);
17777 if (arg2
== NULL
) SWIG_fail
;
17782 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17786 if (!SWIG_IsOK(ecode4
)) {
17787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17789 arg4
= static_cast< int >(val4
);
17792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17793 if (!SWIG_IsOK(ecode5
)) {
17794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17796 arg5
= static_cast< int >(val5
);
17799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17800 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= SWIG_Py_Void();
17819 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
= 0;
17821 wxDC
*arg1
= (wxDC
*) 0 ;
17822 wxString
*arg2
= 0 ;
17823 wxBitmap
*arg3
= 0 ;
17825 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17826 int arg6
= (int) -1 ;
17830 bool temp2
= false ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 PyObject
* obj2
= 0 ;
17841 PyObject
* obj3
= 0 ;
17842 PyObject
* obj4
= 0 ;
17843 PyObject
* obj5
= 0 ;
17844 char * kwnames
[] = {
17845 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17850 if (!SWIG_IsOK(res1
)) {
17851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17855 arg2
= wxString_in_helper(obj1
);
17856 if (arg2
== NULL
) SWIG_fail
;
17859 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17860 if (!SWIG_IsOK(res3
)) {
17861 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17866 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17869 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17872 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17873 if (!SWIG_IsOK(ecode5
)) {
17874 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17876 arg5
= static_cast< int >(val5
);
17879 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17880 if (!SWIG_IsOK(ecode6
)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17883 arg6
= static_cast< int >(val6
);
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17906 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17907 PyObject
*resultobj
= 0;
17908 wxDC
*arg1
= (wxDC
*) 0 ;
17910 wxPoint
*arg3
= (wxPoint
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 char * kwnames
[] = {
17916 (char *) "self",(char *) "points", NULL
17919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17921 if (!SWIG_IsOK(res1
)) {
17922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17926 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17927 if (arg3
== NULL
) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 (arg1
)->DrawSpline(arg2
,arg3
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_Py_Void();
17937 if (arg3
) delete [] arg3
;
17942 if (arg3
) delete [] arg3
;
17948 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17949 PyObject
*resultobj
= 0;
17950 wxDC
*arg1
= (wxDC
*) 0 ;
17953 PyObject
*swig_obj
[1] ;
17955 if (!args
) SWIG_fail
;
17956 swig_obj
[0] = args
;
17957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_Py_Void();
17975 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
= 0;
17977 wxDC
*arg1
= (wxDC
*) 0 ;
17978 wxString
*arg2
= 0 ;
17982 bool temp2
= false ;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 char * kwnames
[] = {
17986 (char *) "self",(char *) "message", NULL
17989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17991 if (!SWIG_IsOK(res1
)) {
17992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17996 arg2
= wxString_in_helper(obj1
);
17997 if (arg2
== NULL
) SWIG_fail
;
18001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18023 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18024 PyObject
*resultobj
= 0;
18025 wxDC
*arg1
= (wxDC
*) 0 ;
18028 PyObject
*swig_obj
[1] ;
18030 if (!args
) SWIG_fail
;
18031 swig_obj
[0] = args
;
18032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18033 if (!SWIG_IsOK(res1
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= SWIG_Py_Void();
18050 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18051 PyObject
*resultobj
= 0;
18052 wxDC
*arg1
= (wxDC
*) 0 ;
18055 PyObject
*swig_obj
[1] ;
18057 if (!args
) SWIG_fail
;
18058 swig_obj
[0] = args
;
18059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
18063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->StartPage();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_Py_Void();
18077 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18078 PyObject
*resultobj
= 0;
18079 wxDC
*arg1
= (wxDC
*) 0 ;
18082 PyObject
*swig_obj
[1] ;
18084 if (!args
) SWIG_fail
;
18085 swig_obj
[0] = args
;
18086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18087 if (!SWIG_IsOK(res1
)) {
18088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
18090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= SWIG_Py_Void();
18104 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
= 0;
18106 wxDC
*arg1
= (wxDC
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 char * kwnames
[] = {
18115 (char *) "self",(char *) "font", NULL
18118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18120 if (!SWIG_IsOK(res1
)) {
18121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
18123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18125 if (!SWIG_IsOK(res2
)) {
18126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18131 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 (arg1
)->SetFont((wxFont
const &)*arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_Py_Void();
18145 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
= 0;
18147 wxDC
*arg1
= (wxDC
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 char * kwnames
[] = {
18156 (char *) "self",(char *) "pen", NULL
18159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
18164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
18166 if (!SWIG_IsOK(res2
)) {
18167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18172 arg2
= reinterpret_cast< wxPen
* >(argp2
);
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 (arg1
)->SetPen((wxPen
const &)*arg2
);
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_Py_Void();
18186 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
= 0;
18188 wxDC
*arg1
= (wxDC
*) 0 ;
18189 wxBrush
*arg2
= 0 ;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 char * kwnames
[] = {
18197 (char *) "self",(char *) "brush", NULL
18200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
18205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18207 if (!SWIG_IsOK(res2
)) {
18208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18213 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= SWIG_Py_Void();
18227 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
= 0;
18229 wxDC
*arg1
= (wxDC
*) 0 ;
18230 wxBrush
*arg2
= 0 ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 char * kwnames
[] = {
18238 (char *) "self",(char *) "brush", NULL
18241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18243 if (!SWIG_IsOK(res1
)) {
18244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18248 if (!SWIG_IsOK(res2
)) {
18249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18254 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
18258 wxPyEndAllowThreads(__tstate
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= SWIG_Py_Void();
18268 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
= 0;
18270 wxDC
*arg1
= (wxDC
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 char * kwnames
[] = {
18279 (char *) "self",(char *) "mode", NULL
18282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18284 if (!SWIG_IsOK(res1
)) {
18285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
18287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18289 if (!SWIG_IsOK(ecode2
)) {
18290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
18292 arg2
= static_cast< int >(val2
);
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 (arg1
)->SetBackgroundMode(arg2
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= SWIG_Py_Void();
18306 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
= 0;
18308 wxDC
*arg1
= (wxDC
*) 0 ;
18309 wxPalette
*arg2
= 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 char * kwnames
[] = {
18317 (char *) "self",(char *) "palette", NULL
18320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18322 if (!SWIG_IsOK(res1
)) {
18323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
18325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
18327 if (!SWIG_IsOK(res2
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18333 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_Py_Void();
18347 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18348 PyObject
*resultobj
= 0;
18349 wxDC
*arg1
= (wxDC
*) 0 ;
18352 PyObject
*swig_obj
[1] ;
18354 if (!args
) SWIG_fail
;
18355 swig_obj
[0] = args
;
18356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18357 if (!SWIG_IsOK(res1
)) {
18358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
18360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->DestroyClippingRegion();
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_Py_Void();
18374 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18375 PyObject
*resultobj
= 0;
18376 wxDC
*arg1
= (wxDC
*) 0 ;
18377 int *arg2
= (int *) 0 ;
18378 int *arg3
= (int *) 0 ;
18379 int *arg4
= (int *) 0 ;
18380 int *arg5
= (int *) 0 ;
18384 int res2
= SWIG_TMPOBJ
;
18386 int res3
= SWIG_TMPOBJ
;
18388 int res4
= SWIG_TMPOBJ
;
18390 int res5
= SWIG_TMPOBJ
;
18391 PyObject
*swig_obj
[1] ;
18397 if (!args
) SWIG_fail
;
18398 swig_obj
[0] = args
;
18399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18400 if (!SWIG_IsOK(res1
)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
18403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_Py_Void();
18411 if (SWIG_IsTmpObj(res2
)) {
18412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18414 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18415 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18417 if (SWIG_IsTmpObj(res3
)) {
18418 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18420 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18421 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18423 if (SWIG_IsTmpObj(res4
)) {
18424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18426 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18429 if (SWIG_IsTmpObj(res5
)) {
18430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18432 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18441 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18442 PyObject
*resultobj
= 0;
18443 wxDC
*arg1
= (wxDC
*) 0 ;
18447 PyObject
*swig_obj
[1] ;
18449 if (!args
) SWIG_fail
;
18450 swig_obj
[0] = args
;
18451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18452 if (!SWIG_IsOK(res1
)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
18455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= wxDC_GetClippingRect(arg1
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18469 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18470 PyObject
*resultobj
= 0;
18471 wxDC
*arg1
= (wxDC
*) 0 ;
18475 PyObject
*swig_obj
[1] ;
18477 if (!args
) SWIG_fail
;
18478 swig_obj
[0] = args
;
18479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18480 if (!SWIG_IsOK(res1
)) {
18481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
18483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_From_int(static_cast< int >(result
));
18497 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18498 PyObject
*resultobj
= 0;
18499 wxDC
*arg1
= (wxDC
*) 0 ;
18503 PyObject
*swig_obj
[1] ;
18505 if (!args
) SWIG_fail
;
18506 swig_obj
[0] = args
;
18507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18508 if (!SWIG_IsOK(res1
)) {
18509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
18511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_From_int(static_cast< int >(result
));
18525 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
= 0;
18527 wxDC
*arg1
= (wxDC
*) 0 ;
18528 wxString
*arg2
= 0 ;
18529 int *arg3
= (int *) 0 ;
18530 int *arg4
= (int *) 0 ;
18533 bool temp2
= false ;
18535 int res3
= SWIG_TMPOBJ
;
18537 int res4
= SWIG_TMPOBJ
;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 char * kwnames
[] = {
18541 (char *) "self",(char *) "string", NULL
18546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18548 if (!SWIG_IsOK(res1
)) {
18549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18553 arg2
= wxString_in_helper(obj1
);
18554 if (arg2
== NULL
) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_Py_Void();
18564 if (SWIG_IsTmpObj(res3
)) {
18565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18567 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18570 if (SWIG_IsTmpObj(res4
)) {
18571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18573 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18590 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
= 0;
18592 wxDC
*arg1
= (wxDC
*) 0 ;
18593 wxString
*arg2
= 0 ;
18594 int *arg3
= (int *) 0 ;
18595 int *arg4
= (int *) 0 ;
18596 int *arg5
= (int *) 0 ;
18597 int *arg6
= (int *) 0 ;
18598 wxFont
*arg7
= (wxFont
*) NULL
;
18601 bool temp2
= false ;
18603 int res3
= SWIG_TMPOBJ
;
18605 int res4
= SWIG_TMPOBJ
;
18607 int res5
= SWIG_TMPOBJ
;
18609 int res6
= SWIG_TMPOBJ
;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 PyObject
* obj2
= 0 ;
18615 char * kwnames
[] = {
18616 (char *) "self",(char *) "string",(char *) "font", NULL
18623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18625 if (!SWIG_IsOK(res1
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18630 arg2
= wxString_in_helper(obj1
);
18631 if (arg2
== NULL
) SWIG_fail
;
18635 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
18636 if (!SWIG_IsOK(res7
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
18639 arg7
= reinterpret_cast< wxFont
* >(argp7
);
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= SWIG_Py_Void();
18648 if (SWIG_IsTmpObj(res3
)) {
18649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18651 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18654 if (SWIG_IsTmpObj(res4
)) {
18655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18657 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18660 if (SWIG_IsTmpObj(res5
)) {
18661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18663 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18666 if (SWIG_IsTmpObj(res6
)) {
18667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18669 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18686 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
= 0;
18688 wxDC
*arg1
= (wxDC
*) 0 ;
18689 wxString
*arg2
= 0 ;
18690 int *arg3
= (int *) 0 ;
18691 int *arg4
= (int *) 0 ;
18692 int *arg5
= (int *) 0 ;
18693 wxFont
*arg6
= (wxFont
*) NULL
;
18696 bool temp2
= false ;
18698 int res3
= SWIG_TMPOBJ
;
18700 int res4
= SWIG_TMPOBJ
;
18702 int res5
= SWIG_TMPOBJ
;
18705 PyObject
* obj0
= 0 ;
18706 PyObject
* obj1
= 0 ;
18707 PyObject
* obj2
= 0 ;
18708 char * kwnames
[] = {
18709 (char *) "self",(char *) "text",(char *) "font", NULL
18715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18717 if (!SWIG_IsOK(res1
)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18722 arg2
= wxString_in_helper(obj1
);
18723 if (arg2
== NULL
) SWIG_fail
;
18727 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18728 if (!SWIG_IsOK(res6
)) {
18729 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18731 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_Py_Void();
18740 if (SWIG_IsTmpObj(res3
)) {
18741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18743 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18746 if (SWIG_IsTmpObj(res4
)) {
18747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18749 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18752 if (SWIG_IsTmpObj(res5
)) {
18753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18755 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18772 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
= 0;
18774 wxDC
*arg1
= (wxDC
*) 0 ;
18775 wxString
*arg2
= 0 ;
18779 bool temp2
= false ;
18780 PyObject
* obj0
= 0 ;
18781 PyObject
* obj1
= 0 ;
18782 char * kwnames
[] = {
18783 (char *) "self",(char *) "text", NULL
18786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18788 if (!SWIG_IsOK(res1
)) {
18789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18793 arg2
= wxString_in_helper(obj1
);
18794 if (arg2
== NULL
) SWIG_fail
;
18798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18799 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= PyList_New(0);
18806 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18807 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18808 PyList_Append(resultobj
, val
);
18826 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18827 PyObject
*resultobj
= 0;
18828 wxDC
*arg1
= (wxDC
*) 0 ;
18832 PyObject
*swig_obj
[1] ;
18834 if (!args
) SWIG_fail
;
18835 swig_obj
[0] = args
;
18836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18837 if (!SWIG_IsOK(res1
)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 result
= (arg1
)->GetSize();
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18854 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18855 PyObject
*resultobj
= 0;
18856 wxDC
*arg1
= (wxDC
*) 0 ;
18857 int *arg2
= (int *) 0 ;
18858 int *arg3
= (int *) 0 ;
18862 int res2
= SWIG_TMPOBJ
;
18864 int res3
= SWIG_TMPOBJ
;
18865 PyObject
*swig_obj
[1] ;
18869 if (!args
) SWIG_fail
;
18870 swig_obj
[0] = args
;
18871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18872 if (!SWIG_IsOK(res1
)) {
18873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->GetSize(arg2
,arg3
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_Py_Void();
18883 if (SWIG_IsTmpObj(res2
)) {
18884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18886 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18889 if (SWIG_IsTmpObj(res3
)) {
18890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18892 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18901 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18902 PyObject
*resultobj
= 0;
18903 wxDC
*arg1
= (wxDC
*) 0 ;
18907 PyObject
*swig_obj
[1] ;
18909 if (!args
) SWIG_fail
;
18910 swig_obj
[0] = args
;
18911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18912 if (!SWIG_IsOK(res1
)) {
18913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18929 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18930 PyObject
*resultobj
= 0;
18931 wxDC
*arg1
= (wxDC
*) 0 ;
18932 int *arg2
= (int *) 0 ;
18933 int *arg3
= (int *) 0 ;
18937 int res2
= SWIG_TMPOBJ
;
18939 int res3
= SWIG_TMPOBJ
;
18940 PyObject
*swig_obj
[1] ;
18944 if (!args
) SWIG_fail
;
18945 swig_obj
[0] = args
;
18946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18947 if (!SWIG_IsOK(res1
)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_Py_Void();
18958 if (SWIG_IsTmpObj(res2
)) {
18959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18961 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18964 if (SWIG_IsTmpObj(res3
)) {
18965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18967 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18976 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
= 0;
18978 wxDC
*arg1
= (wxDC
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 PyObject
* obj1
= 0 ;
18987 char * kwnames
[] = {
18988 (char *) "self",(char *) "x", NULL
18991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18993 if (!SWIG_IsOK(res1
)) {
18994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18998 if (!SWIG_IsOK(ecode2
)) {
18999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
19001 arg2
= static_cast< int >(val2
);
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_From_int(static_cast< int >(result
));
19015 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
= 0;
19017 wxDC
*arg1
= (wxDC
*) 0 ;
19024 PyObject
* obj0
= 0 ;
19025 PyObject
* obj1
= 0 ;
19026 char * kwnames
[] = {
19027 (char *) "self",(char *) "y", NULL
19030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19032 if (!SWIG_IsOK(res1
)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
19035 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19037 if (!SWIG_IsOK(ecode2
)) {
19038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
19040 arg2
= static_cast< int >(val2
);
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= SWIG_From_int(static_cast< int >(result
));
19054 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
= 0;
19056 wxDC
*arg1
= (wxDC
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char * kwnames
[] = {
19066 (char *) "self",(char *) "x", NULL
19069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19071 if (!SWIG_IsOK(res1
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19076 if (!SWIG_IsOK(ecode2
)) {
19077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
19079 arg2
= static_cast< int >(val2
);
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_From_int(static_cast< int >(result
));
19093 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
= 0;
19095 wxDC
*arg1
= (wxDC
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char * kwnames
[] = {
19105 (char *) "self",(char *) "y", NULL
19108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19110 if (!SWIG_IsOK(res1
)) {
19111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19115 if (!SWIG_IsOK(ecode2
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
19118 arg2
= static_cast< int >(val2
);
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= SWIG_From_int(static_cast< int >(result
));
19132 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
= 0;
19134 wxDC
*arg1
= (wxDC
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "self",(char *) "x", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
19152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19154 if (!SWIG_IsOK(ecode2
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
19157 arg2
= static_cast< int >(val2
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_From_int(static_cast< int >(result
));
19171 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
= 0;
19173 wxDC
*arg1
= (wxDC
*) 0 ;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 char * kwnames
[] = {
19183 (char *) "self",(char *) "y", NULL
19186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19188 if (!SWIG_IsOK(res1
)) {
19189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
19191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19193 if (!SWIG_IsOK(ecode2
)) {
19194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
19196 arg2
= static_cast< int >(val2
);
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= SWIG_From_int(static_cast< int >(result
));
19210 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
= 0;
19212 wxDC
*arg1
= (wxDC
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char * kwnames
[] = {
19222 (char *) "self",(char *) "x", NULL
19225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19227 if (!SWIG_IsOK(res1
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19232 if (!SWIG_IsOK(ecode2
)) {
19233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
19235 arg2
= static_cast< int >(val2
);
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= SWIG_From_int(static_cast< int >(result
));
19249 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
= 0;
19251 wxDC
*arg1
= (wxDC
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 char * kwnames
[] = {
19261 (char *) "self",(char *) "y", NULL
19264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19266 if (!SWIG_IsOK(res1
)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19271 if (!SWIG_IsOK(ecode2
)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
19274 arg2
= static_cast< int >(val2
);
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 resultobj
= SWIG_From_int(static_cast< int >(result
));
19288 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19289 PyObject
*resultobj
= 0;
19290 wxDC
*arg1
= (wxDC
*) 0 ;
19294 PyObject
*swig_obj
[1] ;
19296 if (!args
) SWIG_fail
;
19297 swig_obj
[0] = args
;
19298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19299 if (!SWIG_IsOK(res1
)) {
19300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19318 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19319 PyObject
*resultobj
= 0;
19320 wxDC
*arg1
= (wxDC
*) 0 ;
19324 PyObject
*swig_obj
[1] ;
19326 if (!args
) SWIG_fail
;
19327 swig_obj
[0] = args
;
19328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19329 if (!SWIG_IsOK(res1
)) {
19330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
19332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19348 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19349 PyObject
*resultobj
= 0;
19350 wxDC
*arg1
= (wxDC
*) 0 ;
19354 PyObject
*swig_obj
[1] ;
19356 if (!args
) SWIG_fail
;
19357 swig_obj
[0] = args
;
19358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19359 if (!SWIG_IsOK(res1
)) {
19360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
19362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (int)((wxDC
const *)arg1
)->GetDepth();
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= SWIG_From_int(static_cast< int >(result
));
19376 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19377 PyObject
*resultobj
= 0;
19378 wxDC
*arg1
= (wxDC
*) 0 ;
19382 PyObject
*swig_obj
[1] ;
19384 if (!args
) SWIG_fail
;
19385 swig_obj
[0] = args
;
19386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19387 if (!SWIG_IsOK(res1
)) {
19388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
19390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= ((wxDC
const *)arg1
)->GetPPI();
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19404 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19405 PyObject
*resultobj
= 0;
19406 wxDC
*arg1
= (wxDC
*) 0 ;
19410 PyObject
*swig_obj
[1] ;
19412 if (!args
) SWIG_fail
;
19413 swig_obj
[0] = args
;
19414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19415 if (!SWIG_IsOK(res1
)) {
19416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
19418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= (bool)((wxDC
const *)arg1
)->Ok();
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19434 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19435 PyObject
*resultobj
= 0;
19436 wxDC
*arg1
= (wxDC
*) 0 ;
19440 PyObject
*swig_obj
[1] ;
19442 if (!args
) SWIG_fail
;
19443 swig_obj
[0] = args
;
19444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19445 if (!SWIG_IsOK(res1
)) {
19446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_From_int(static_cast< int >(result
));
19462 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19463 PyObject
*resultobj
= 0;
19464 wxDC
*arg1
= (wxDC
*) 0 ;
19465 wxBrush
*result
= 0 ;
19468 PyObject
*swig_obj
[1] ;
19470 if (!args
) SWIG_fail
;
19471 swig_obj
[0] = args
;
19472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19476 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
19481 result
= (wxBrush
*) &_result_ref
;
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19487 wxBrush
* resultptr
= new wxBrush(*result
);
19488 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19496 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19497 PyObject
*resultobj
= 0;
19498 wxDC
*arg1
= (wxDC
*) 0 ;
19499 wxBrush
*result
= 0 ;
19502 PyObject
*swig_obj
[1] ;
19504 if (!args
) SWIG_fail
;
19505 swig_obj
[0] = args
;
19506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19507 if (!SWIG_IsOK(res1
)) {
19508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
19510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
19515 result
= (wxBrush
*) &_result_ref
;
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19521 wxBrush
* resultptr
= new wxBrush(*result
);
19522 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19530 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19531 PyObject
*resultobj
= 0;
19532 wxDC
*arg1
= (wxDC
*) 0 ;
19533 wxFont
*result
= 0 ;
19536 PyObject
*swig_obj
[1] ;
19538 if (!args
) SWIG_fail
;
19539 swig_obj
[0] = args
;
19540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19541 if (!SWIG_IsOK(res1
)) {
19542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
19544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
19549 result
= (wxFont
*) &_result_ref
;
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19555 wxFont
* resultptr
= new wxFont(*result
);
19556 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19564 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19565 PyObject
*resultobj
= 0;
19566 wxDC
*arg1
= (wxDC
*) 0 ;
19567 wxPen
*result
= 0 ;
19570 PyObject
*swig_obj
[1] ;
19572 if (!args
) SWIG_fail
;
19573 swig_obj
[0] = args
;
19574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19575 if (!SWIG_IsOK(res1
)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
19578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
19583 result
= (wxPen
*) &_result_ref
;
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 wxPen
* resultptr
= new wxPen(*result
);
19590 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
19598 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19599 PyObject
*resultobj
= 0;
19600 wxDC
*arg1
= (wxDC
*) 0 ;
19601 wxColour
*result
= 0 ;
19604 PyObject
*swig_obj
[1] ;
19606 if (!args
) SWIG_fail
;
19607 swig_obj
[0] = args
;
19608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19609 if (!SWIG_IsOK(res1
)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
19617 result
= (wxColour
*) &_result_ref
;
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19629 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19630 PyObject
*resultobj
= 0;
19631 wxDC
*arg1
= (wxDC
*) 0 ;
19632 wxColour
*result
= 0 ;
19635 PyObject
*swig_obj
[1] ;
19637 if (!args
) SWIG_fail
;
19638 swig_obj
[0] = args
;
19639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19640 if (!SWIG_IsOK(res1
)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
19643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
19648 result
= (wxColour
*) &_result_ref
;
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19660 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
= 0;
19662 wxDC
*arg1
= (wxDC
*) 0 ;
19663 wxColour
*arg2
= 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char * kwnames
[] = {
19670 (char *) "self",(char *) "colour", NULL
19673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19681 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= SWIG_Py_Void();
19696 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
= 0;
19698 wxDC
*arg1
= (wxDC
*) 0 ;
19699 wxColour
*arg2
= 0 ;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char * kwnames
[] = {
19706 (char *) "self",(char *) "colour", NULL
19709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19711 if (!SWIG_IsOK(res1
)) {
19712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19717 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_Py_Void();
19732 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19733 PyObject
*resultobj
= 0;
19734 wxDC
*arg1
= (wxDC
*) 0 ;
19738 PyObject
*swig_obj
[1] ;
19740 if (!args
) SWIG_fail
;
19741 swig_obj
[0] = args
;
19742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19743 if (!SWIG_IsOK(res1
)) {
19744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19746 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19749 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= SWIG_From_int(static_cast< int >(result
));
19760 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
= 0;
19762 wxDC
*arg1
= (wxDC
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 char * kwnames
[] = {
19771 (char *) "self",(char *) "mode", NULL
19774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19776 if (!SWIG_IsOK(res1
)) {
19777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19781 if (!SWIG_IsOK(ecode2
)) {
19782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19784 arg2
= static_cast< int >(val2
);
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 (arg1
)->SetMapMode(arg2
);
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= SWIG_Py_Void();
19798 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19799 PyObject
*resultobj
= 0;
19800 wxDC
*arg1
= (wxDC
*) 0 ;
19801 double *arg2
= (double *) 0 ;
19802 double *arg3
= (double *) 0 ;
19806 int res2
= SWIG_TMPOBJ
;
19808 int res3
= SWIG_TMPOBJ
;
19809 PyObject
*swig_obj
[1] ;
19813 if (!args
) SWIG_fail
;
19814 swig_obj
[0] = args
;
19815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19816 if (!SWIG_IsOK(res1
)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= SWIG_Py_Void();
19827 if (SWIG_IsTmpObj(res2
)) {
19828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19830 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19833 if (SWIG_IsTmpObj(res3
)) {
19834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19836 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19845 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
= 0;
19847 wxDC
*arg1
= (wxDC
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 PyObject
* obj2
= 0 ;
19859 char * kwnames
[] = {
19860 (char *) "self",(char *) "x",(char *) "y", NULL
19863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19869 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19870 if (!SWIG_IsOK(ecode2
)) {
19871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19873 arg2
= static_cast< double >(val2
);
19874 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19875 if (!SWIG_IsOK(ecode3
)) {
19876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19878 arg3
= static_cast< double >(val3
);
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 (arg1
)->SetUserScale(arg2
,arg3
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= SWIG_Py_Void();
19892 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19893 PyObject
*resultobj
= 0;
19894 wxDC
*arg1
= (wxDC
*) 0 ;
19895 double *arg2
= (double *) 0 ;
19896 double *arg3
= (double *) 0 ;
19900 int res2
= SWIG_TMPOBJ
;
19902 int res3
= SWIG_TMPOBJ
;
19903 PyObject
*swig_obj
[1] ;
19907 if (!args
) SWIG_fail
;
19908 swig_obj
[0] = args
;
19909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19910 if (!SWIG_IsOK(res1
)) {
19911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 (arg1
)->GetLogicalScale(arg2
,arg3
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= SWIG_Py_Void();
19921 if (SWIG_IsTmpObj(res2
)) {
19922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19924 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19927 if (SWIG_IsTmpObj(res3
)) {
19928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19930 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19939 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
= 0;
19941 wxDC
*arg1
= (wxDC
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 PyObject
* obj2
= 0 ;
19953 char * kwnames
[] = {
19954 (char *) "self",(char *) "x",(char *) "y", NULL
19957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19959 if (!SWIG_IsOK(res1
)) {
19960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19963 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19964 if (!SWIG_IsOK(ecode2
)) {
19965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19967 arg2
= static_cast< double >(val2
);
19968 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19969 if (!SWIG_IsOK(ecode3
)) {
19970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19972 arg3
= static_cast< double >(val3
);
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 (arg1
)->SetLogicalScale(arg2
,arg3
);
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_Py_Void();
19986 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19987 PyObject
*resultobj
= 0;
19988 wxDC
*arg1
= (wxDC
*) 0 ;
19992 PyObject
*swig_obj
[1] ;
19994 if (!args
) SWIG_fail
;
19995 swig_obj
[0] = args
;
19996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19997 if (!SWIG_IsOK(res1
)) {
19998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20014 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20015 PyObject
*resultobj
= 0;
20016 wxDC
*arg1
= (wxDC
*) 0 ;
20017 int *arg2
= (int *) 0 ;
20018 int *arg3
= (int *) 0 ;
20022 int res2
= SWIG_TMPOBJ
;
20024 int res3
= SWIG_TMPOBJ
;
20025 PyObject
*swig_obj
[1] ;
20029 if (!args
) SWIG_fail
;
20030 swig_obj
[0] = args
;
20031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20032 if (!SWIG_IsOK(res1
)) {
20033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20035 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= SWIG_Py_Void();
20043 if (SWIG_IsTmpObj(res2
)) {
20044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20046 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20049 if (SWIG_IsTmpObj(res3
)) {
20050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20052 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20061 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxDC
*arg1
= (wxDC
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 PyObject
* obj2
= 0 ;
20075 char * kwnames
[] = {
20076 (char *) "self",(char *) "x",(char *) "y", NULL
20079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20086 if (!SWIG_IsOK(ecode2
)) {
20087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
20089 arg2
= static_cast< int >(val2
);
20090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20091 if (!SWIG_IsOK(ecode3
)) {
20092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
20094 arg3
= static_cast< int >(val3
);
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_Py_Void();
20108 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
= 0;
20110 wxDC
*arg1
= (wxDC
*) 0 ;
20111 wxPoint
*arg2
= 0 ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 char * kwnames
[] = {
20118 (char *) "self",(char *) "point", NULL
20121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20123 if (!SWIG_IsOK(res1
)) {
20124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= SWIG_Py_Void();
20144 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20145 PyObject
*resultobj
= 0;
20146 wxDC
*arg1
= (wxDC
*) 0 ;
20150 PyObject
*swig_obj
[1] ;
20152 if (!args
) SWIG_fail
;
20153 swig_obj
[0] = args
;
20154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20155 if (!SWIG_IsOK(res1
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20172 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20173 PyObject
*resultobj
= 0;
20174 wxDC
*arg1
= (wxDC
*) 0 ;
20175 int *arg2
= (int *) 0 ;
20176 int *arg3
= (int *) 0 ;
20180 int res2
= SWIG_TMPOBJ
;
20182 int res3
= SWIG_TMPOBJ
;
20183 PyObject
*swig_obj
[1] ;
20187 if (!args
) SWIG_fail
;
20188 swig_obj
[0] = args
;
20189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20190 if (!SWIG_IsOK(res1
)) {
20191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20193 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_Py_Void();
20201 if (SWIG_IsTmpObj(res2
)) {
20202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20204 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20207 if (SWIG_IsTmpObj(res3
)) {
20208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20210 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20219 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
= 0;
20221 wxDC
*arg1
= (wxDC
*) 0 ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 PyObject
* obj2
= 0 ;
20233 char * kwnames
[] = {
20234 (char *) "self",(char *) "x",(char *) "y", NULL
20237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20239 if (!SWIG_IsOK(res1
)) {
20240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20244 if (!SWIG_IsOK(ecode2
)) {
20245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
20247 arg2
= static_cast< int >(val2
);
20248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20249 if (!SWIG_IsOK(ecode3
)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
20252 arg3
= static_cast< int >(val3
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_Py_Void();
20266 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
= 0;
20268 wxDC
*arg1
= (wxDC
*) 0 ;
20269 wxPoint
*arg2
= 0 ;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20275 char * kwnames
[] = {
20276 (char *) "self",(char *) "point", NULL
20279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20281 if (!SWIG_IsOK(res1
)) {
20282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_Py_Void();
20302 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
= 0;
20304 wxDC
*arg1
= (wxDC
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 PyObject
* obj2
= 0 ;
20316 char * kwnames
[] = {
20317 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
20320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20322 if (!SWIG_IsOK(res1
)) {
20323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
20325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20326 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20327 if (!SWIG_IsOK(ecode2
)) {
20328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
20330 arg2
= static_cast< bool >(val2
);
20331 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20332 if (!SWIG_IsOK(ecode3
)) {
20333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
20335 arg3
= static_cast< bool >(val3
);
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 (arg1
)->SetAxisOrientation(arg2
,arg3
);
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 resultobj
= SWIG_Py_Void();
20349 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20350 PyObject
*resultobj
= 0;
20351 wxDC
*arg1
= (wxDC
*) 0 ;
20355 PyObject
*swig_obj
[1] ;
20357 if (!args
) SWIG_fail
;
20358 swig_obj
[0] = args
;
20359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20360 if (!SWIG_IsOK(res1
)) {
20361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
20363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= SWIG_From_int(static_cast< int >(result
));
20377 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
= 0;
20379 wxDC
*arg1
= (wxDC
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char * kwnames
[] = {
20388 (char *) "self",(char *) "function", NULL
20391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20393 if (!SWIG_IsOK(res1
)) {
20394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
20396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20398 if (!SWIG_IsOK(ecode2
)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
20401 arg2
= static_cast< int >(val2
);
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 (arg1
)->SetLogicalFunction(arg2
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20408 resultobj
= SWIG_Py_Void();
20415 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20416 PyObject
*resultobj
= 0;
20417 wxDC
*arg1
= (wxDC
*) 0 ;
20420 PyObject
*swig_obj
[1] ;
20422 if (!args
) SWIG_fail
;
20423 swig_obj
[0] = args
;
20424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20425 if (!SWIG_IsOK(res1
)) {
20426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->ComputeScaleAndOrigin();
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= SWIG_Py_Void();
20442 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
= 0;
20444 wxDC
*arg1
= (wxDC
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 PyObject
* obj2
= 0 ;
20456 char * kwnames
[] = {
20457 (char *) "self",(char *) "x",(char *) "y", NULL
20460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20462 if (!SWIG_IsOK(res1
)) {
20463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20467 if (!SWIG_IsOK(ecode2
)) {
20468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
20470 arg2
= static_cast< int >(val2
);
20471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20472 if (!SWIG_IsOK(ecode3
)) {
20473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
20475 arg3
= static_cast< int >(val3
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->CalcBoundingBox(arg2
,arg3
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_Py_Void();
20489 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
= 0;
20491 wxDC
*arg1
= (wxDC
*) 0 ;
20492 wxPoint
*arg2
= 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 char * kwnames
[] = {
20499 (char *) "self",(char *) "point", NULL
20502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20504 if (!SWIG_IsOK(res1
)) {
20505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_Py_Void();
20525 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20526 PyObject
*resultobj
= 0;
20527 wxDC
*arg1
= (wxDC
*) 0 ;
20530 PyObject
*swig_obj
[1] ;
20532 if (!args
) SWIG_fail
;
20533 swig_obj
[0] = args
;
20534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20535 if (!SWIG_IsOK(res1
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 (arg1
)->ResetBoundingBox();
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_Py_Void();
20552 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20553 PyObject
*resultobj
= 0;
20554 wxDC
*arg1
= (wxDC
*) 0 ;
20558 PyObject
*swig_obj
[1] ;
20560 if (!args
) SWIG_fail
;
20561 swig_obj
[0] = args
;
20562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20563 if (!SWIG_IsOK(res1
)) {
20564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
20566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (int)((wxDC
const *)arg1
)->MinX();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_From_int(static_cast< int >(result
));
20580 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20581 PyObject
*resultobj
= 0;
20582 wxDC
*arg1
= (wxDC
*) 0 ;
20586 PyObject
*swig_obj
[1] ;
20588 if (!args
) SWIG_fail
;
20589 swig_obj
[0] = args
;
20590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
20594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (int)((wxDC
const *)arg1
)->MaxX();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= SWIG_From_int(static_cast< int >(result
));
20608 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20609 PyObject
*resultobj
= 0;
20610 wxDC
*arg1
= (wxDC
*) 0 ;
20614 PyObject
*swig_obj
[1] ;
20616 if (!args
) SWIG_fail
;
20617 swig_obj
[0] = args
;
20618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20619 if (!SWIG_IsOK(res1
)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
20622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (int)((wxDC
const *)arg1
)->MinY();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= SWIG_From_int(static_cast< int >(result
));
20636 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20637 PyObject
*resultobj
= 0;
20638 wxDC
*arg1
= (wxDC
*) 0 ;
20642 PyObject
*swig_obj
[1] ;
20644 if (!args
) SWIG_fail
;
20645 swig_obj
[0] = args
;
20646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20647 if (!SWIG_IsOK(res1
)) {
20648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
20650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (int)((wxDC
const *)arg1
)->MaxY();
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= SWIG_From_int(static_cast< int >(result
));
20664 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20665 PyObject
*resultobj
= 0;
20666 wxDC
*arg1
= (wxDC
*) 0 ;
20667 int *arg2
= (int *) 0 ;
20668 int *arg3
= (int *) 0 ;
20669 int *arg4
= (int *) 0 ;
20670 int *arg5
= (int *) 0 ;
20674 int res2
= SWIG_TMPOBJ
;
20676 int res3
= SWIG_TMPOBJ
;
20678 int res4
= SWIG_TMPOBJ
;
20680 int res5
= SWIG_TMPOBJ
;
20681 PyObject
*swig_obj
[1] ;
20687 if (!args
) SWIG_fail
;
20688 swig_obj
[0] = args
;
20689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20690 if (!SWIG_IsOK(res1
)) {
20691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_Py_Void();
20701 if (SWIG_IsTmpObj(res2
)) {
20702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20704 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20707 if (SWIG_IsTmpObj(res3
)) {
20708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20710 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20713 if (SWIG_IsTmpObj(res4
)) {
20714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20716 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20719 if (SWIG_IsTmpObj(res5
)) {
20720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20722 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20731 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20732 PyObject
*resultobj
= 0;
20733 wxDC
*arg1
= (wxDC
*) 0 ;
20737 PyObject
*swig_obj
[1] ;
20739 if (!args
) SWIG_fail
;
20740 swig_obj
[0] = args
;
20741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20742 if (!SWIG_IsOK(res1
)) {
20743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
20745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 result
= (long)(arg1
)->GetHDC();
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 resultobj
= SWIG_From_long(static_cast< long >(result
));
20759 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
= 0;
20761 wxDC
*arg1
= (wxDC
*) 0 ;
20762 PyObject
*arg2
= (PyObject
*) 0 ;
20763 PyObject
*arg3
= (PyObject
*) 0 ;
20764 PyObject
*arg4
= (PyObject
*) 0 ;
20765 PyObject
*result
= 0 ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 PyObject
* obj2
= 0 ;
20771 PyObject
* obj3
= 0 ;
20772 char * kwnames
[] = {
20773 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20778 if (!SWIG_IsOK(res1
)) {
20779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= result
;
20798 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
= 0;
20800 wxDC
*arg1
= (wxDC
*) 0 ;
20801 PyObject
*arg2
= (PyObject
*) 0 ;
20802 PyObject
*arg3
= (PyObject
*) 0 ;
20803 PyObject
*arg4
= (PyObject
*) 0 ;
20804 PyObject
*result
= 0 ;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20809 PyObject
* obj2
= 0 ;
20810 PyObject
* obj3
= 0 ;
20811 char * kwnames
[] = {
20812 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20817 if (!SWIG_IsOK(res1
)) {
20818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= result
;
20837 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
= 0;
20839 wxDC
*arg1
= (wxDC
*) 0 ;
20840 PyObject
*arg2
= (PyObject
*) 0 ;
20841 PyObject
*arg3
= (PyObject
*) 0 ;
20842 PyObject
*arg4
= (PyObject
*) 0 ;
20843 PyObject
*result
= 0 ;
20846 PyObject
* obj0
= 0 ;
20847 PyObject
* obj1
= 0 ;
20848 PyObject
* obj2
= 0 ;
20849 PyObject
* obj3
= 0 ;
20850 char * kwnames
[] = {
20851 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= result
;
20876 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
= 0;
20878 wxDC
*arg1
= (wxDC
*) 0 ;
20879 PyObject
*arg2
= (PyObject
*) 0 ;
20880 PyObject
*arg3
= (PyObject
*) 0 ;
20881 PyObject
*arg4
= (PyObject
*) 0 ;
20882 PyObject
*result
= 0 ;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 PyObject
* obj2
= 0 ;
20888 PyObject
* obj3
= 0 ;
20889 char * kwnames
[] = {
20890 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= result
;
20915 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
= 0;
20917 wxDC
*arg1
= (wxDC
*) 0 ;
20918 PyObject
*arg2
= (PyObject
*) 0 ;
20919 PyObject
*arg3
= (PyObject
*) 0 ;
20920 PyObject
*arg4
= (PyObject
*) 0 ;
20921 PyObject
*result
= 0 ;
20924 PyObject
* obj0
= 0 ;
20925 PyObject
* obj1
= 0 ;
20926 PyObject
* obj2
= 0 ;
20927 PyObject
* obj3
= 0 ;
20928 char * kwnames
[] = {
20929 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20934 if (!SWIG_IsOK(res1
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= result
;
20954 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
= 0;
20956 wxDC
*arg1
= (wxDC
*) 0 ;
20957 PyObject
*arg2
= (PyObject
*) 0 ;
20958 PyObject
*arg3
= (PyObject
*) 0 ;
20959 PyObject
*arg4
= (PyObject
*) 0 ;
20960 PyObject
*arg5
= (PyObject
*) 0 ;
20961 PyObject
*result
= 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 PyObject
* obj2
= 0 ;
20967 PyObject
* obj3
= 0 ;
20968 PyObject
* obj4
= 0 ;
20969 char * kwnames
[] = {
20970 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= result
;
20996 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20999 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
21000 return SWIG_Py_Void();
21003 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21004 PyObject
*resultobj
= 0;
21005 wxMemoryDC
*result
= 0 ;
21007 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
21009 if (!wxPyCheckForApp()) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (wxMemoryDC
*)new wxMemoryDC();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
21022 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
= 0;
21024 wxDC
*arg1
= (wxDC
*) 0 ;
21025 wxMemoryDC
*result
= 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char * kwnames
[] = {
21030 (char *) "oldDC", NULL
21033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
21034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21035 if (!SWIG_IsOK(res1
)) {
21036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
21038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21040 if (!wxPyCheckForApp()) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
21053 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
= 0;
21055 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
21056 wxBitmap
*arg2
= 0 ;
21061 PyObject
* obj0
= 0 ;
21062 PyObject
* obj1
= 0 ;
21063 char * kwnames
[] = {
21064 (char *) "self",(char *) "bitmap", NULL
21067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
21069 if (!SWIG_IsOK(res1
)) {
21070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
21072 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
21073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21074 if (!SWIG_IsOK(res2
)) {
21075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21080 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= SWIG_Py_Void();
21094 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21097 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
21098 return SWIG_Py_Void();
21101 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21102 return SWIG_Python_InitShadowInstance(args
);
21105 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21106 PyObject
*resultobj
= 0;
21107 wxDC
*arg1
= (wxDC
*) 0 ;
21108 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21109 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21110 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21111 wxBufferedDC
*result
= 0 ;
21119 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
21120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21126 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21127 if (!SWIG_IsOK(res2
)) {
21128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21133 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21136 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21137 if (!SWIG_IsOK(ecode3
)) {
21138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21140 arg3
= static_cast< int >(val3
);
21143 if (!wxPyCheckForApp()) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21156 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21157 PyObject
*resultobj
= 0;
21158 wxDC
*arg1
= (wxDC
*) 0 ;
21160 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21161 wxBufferedDC
*result
= 0 ;
21168 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
21169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21170 if (!SWIG_IsOK(res1
)) {
21171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21176 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
21179 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21180 if (!SWIG_IsOK(ecode3
)) {
21181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21183 arg3
= static_cast< int >(val3
);
21186 if (!wxPyCheckForApp()) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21199 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
21203 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
21205 if ((argc
>= 1) && (argc
<= 3)) {
21209 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
21210 _v
= SWIG_CheckState(res
);
21212 if (!_v
) goto check_1
;
21214 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
21218 if ((argc
>= 2) && (argc
<= 3)) {
21219 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
21223 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
21228 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21229 PyObject
*resultobj
= 0;
21230 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21233 PyObject
*swig_obj
[1] ;
21235 if (!args
) SWIG_fail
;
21236 swig_obj
[0] = args
;
21237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
21238 if (!SWIG_IsOK(res1
)) {
21239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21241 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_Py_Void();
21256 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21257 PyObject
*resultobj
= 0;
21258 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21261 PyObject
*swig_obj
[1] ;
21263 if (!args
) SWIG_fail
;
21264 swig_obj
[0] = args
;
21265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
21266 if (!SWIG_IsOK(res1
)) {
21267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21269 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_Py_Void();
21283 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21286 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
21287 return SWIG_Py_Void();
21290 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21291 return SWIG_Python_InitShadowInstance(args
);
21294 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
= 0;
21296 wxWindow
*arg1
= (wxWindow
*) 0 ;
21297 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21298 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21299 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21300 wxBufferedPaintDC
*result
= 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 PyObject
* obj2
= 0 ;
21310 char * kwnames
[] = {
21311 (char *) "window",(char *) "buffer",(char *) "style", NULL
21314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21316 if (!SWIG_IsOK(res1
)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21319 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21322 if (!SWIG_IsOK(res2
)) {
21323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21328 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21332 if (!SWIG_IsOK(ecode3
)) {
21333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
21335 arg3
= static_cast< int >(val3
);
21338 if (!wxPyCheckForApp()) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
21351 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21354 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
21355 return SWIG_Py_Void();
21358 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21359 return SWIG_Python_InitShadowInstance(args
);
21362 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21363 PyObject
*resultobj
= 0;
21364 wxScreenDC
*result
= 0 ;
21366 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
21368 if (!wxPyCheckForApp()) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (wxScreenDC
*)new wxScreenDC();
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
21381 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
= 0;
21383 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21384 wxWindow
*arg2
= (wxWindow
*) 0 ;
21390 PyObject
* obj0
= 0 ;
21391 PyObject
* obj1
= 0 ;
21392 char * kwnames
[] = {
21393 (char *) "self",(char *) "window", NULL
21396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21398 if (!SWIG_IsOK(res1
)) {
21399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21401 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21403 if (!SWIG_IsOK(res2
)) {
21404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
21406 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21422 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
= 0;
21424 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21425 wxRect
*arg2
= (wxRect
*) NULL
;
21431 PyObject
* obj0
= 0 ;
21432 PyObject
* obj1
= 0 ;
21433 char * kwnames
[] = {
21434 (char *) "self",(char *) "rect", NULL
21437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21439 if (!SWIG_IsOK(res1
)) {
21440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21442 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21445 if (!SWIG_IsOK(res2
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
21448 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21465 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21466 PyObject
*resultobj
= 0;
21467 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21471 PyObject
*swig_obj
[1] ;
21473 if (!args
) SWIG_fail
;
21474 swig_obj
[0] = args
;
21475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21476 if (!SWIG_IsOK(res1
)) {
21477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21479 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (bool)(arg1
)->EndDrawingOnTop();
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21495 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21498 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
21499 return SWIG_Py_Void();
21502 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21503 return SWIG_Python_InitShadowInstance(args
);
21506 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
= 0;
21508 wxWindow
*arg1
= (wxWindow
*) 0 ;
21509 wxClientDC
*result
= 0 ;
21512 PyObject
* obj0
= 0 ;
21513 char * kwnames
[] = {
21514 (char *) "win", NULL
21517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
21518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21522 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21524 if (!wxPyCheckForApp()) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= (wxClientDC
*)new wxClientDC(arg1
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
21537 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21540 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
21541 return SWIG_Py_Void();
21544 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21545 return SWIG_Python_InitShadowInstance(args
);
21548 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
= 0;
21550 wxWindow
*arg1
= (wxWindow
*) 0 ;
21551 wxPaintDC
*result
= 0 ;
21554 PyObject
* obj0
= 0 ;
21555 char * kwnames
[] = {
21556 (char *) "win", NULL
21559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
21560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21561 if (!SWIG_IsOK(res1
)) {
21562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21566 if (!wxPyCheckForApp()) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
21579 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21582 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
21583 return SWIG_Py_Void();
21586 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21587 return SWIG_Python_InitShadowInstance(args
);
21590 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
= 0;
21592 wxWindow
*arg1
= (wxWindow
*) 0 ;
21593 wxWindowDC
*result
= 0 ;
21596 PyObject
* obj0
= 0 ;
21597 char * kwnames
[] = {
21598 (char *) "win", NULL
21601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
21602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21603 if (!SWIG_IsOK(res1
)) {
21604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21606 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21608 if (!wxPyCheckForApp()) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
21621 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21624 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
21625 return SWIG_Py_Void();
21628 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21629 return SWIG_Python_InitShadowInstance(args
);
21632 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
= 0;
21636 wxMirrorDC
*result
= 0 ;
21641 PyObject
* obj0
= 0 ;
21642 PyObject
* obj1
= 0 ;
21643 char * kwnames
[] = {
21644 (char *) "dc",(char *) "mirror", NULL
21647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21648 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
21649 if (!SWIG_IsOK(res1
)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21656 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21657 if (!SWIG_IsOK(ecode2
)) {
21658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
21660 arg2
= static_cast< bool >(val2
);
21662 if (!wxPyCheckForApp()) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
21675 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21678 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
21679 return SWIG_Py_Void();
21682 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21683 return SWIG_Python_InitShadowInstance(args
);
21686 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
= 0;
21688 wxPrintData
*arg1
= 0 ;
21689 wxPostScriptDC
*result
= 0 ;
21692 PyObject
* obj0
= 0 ;
21693 char * kwnames
[] = {
21694 (char *) "printData", NULL
21697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21698 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21699 if (!SWIG_IsOK(res1
)) {
21700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21705 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21707 if (!wxPyCheckForApp()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21720 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21721 PyObject
*resultobj
= 0;
21722 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21723 wxPrintData
*result
= 0 ;
21726 PyObject
*swig_obj
[1] ;
21728 if (!args
) SWIG_fail
;
21729 swig_obj
[0] = args
;
21730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21731 if (!SWIG_IsOK(res1
)) {
21732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21734 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21739 result
= (wxPrintData
*) &_result_ref
;
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21751 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
= 0;
21753 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21754 wxPrintData
*arg2
= 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char * kwnames
[] = {
21762 (char *) "self",(char *) "data", NULL
21765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21767 if (!SWIG_IsOK(res1
)) {
21768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21770 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21772 if (!SWIG_IsOK(res2
)) {
21773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21778 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= SWIG_Py_Void();
21792 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
= 0;
21797 PyObject
* obj0
= 0 ;
21798 char * kwnames
[] = {
21799 (char *) "ppi", NULL
21802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21804 if (!SWIG_IsOK(ecode1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21807 arg1
= static_cast< int >(val1
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 wxPostScriptDC::SetResolution(arg1
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_Py_Void();
21821 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21822 PyObject
*resultobj
= 0;
21825 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (int)wxPostScriptDC::GetResolution();
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= SWIG_From_int(static_cast< int >(result
));
21839 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21842 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21843 return SWIG_Py_Void();
21846 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21847 return SWIG_Python_InitShadowInstance(args
);
21850 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21851 PyObject
*resultobj
= 0;
21852 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21853 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21854 wxMetaFile
*result
= 0 ;
21855 bool temp1
= false ;
21856 PyObject
* obj0
= 0 ;
21857 char * kwnames
[] = {
21858 (char *) "filename", NULL
21861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21864 arg1
= wxString_in_helper(obj0
);
21865 if (arg1
== NULL
) SWIG_fail
;
21870 if (!wxPyCheckForApp()) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21891 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21892 PyObject
*resultobj
= 0;
21893 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21896 PyObject
*swig_obj
[1] ;
21898 if (!args
) SWIG_fail
;
21899 swig_obj
[0] = args
;
21900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21901 if (!SWIG_IsOK(res1
)) {
21902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21904 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_Py_Void();
21919 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21920 PyObject
*resultobj
= 0;
21921 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21925 PyObject
*swig_obj
[1] ;
21927 if (!args
) SWIG_fail
;
21928 swig_obj
[0] = args
;
21929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21930 if (!SWIG_IsOK(res1
)) {
21931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21933 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (bool)(arg1
)->Ok();
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21949 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
= 0;
21951 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21952 int arg2
= (int) 0 ;
21953 int arg3
= (int) 0 ;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 PyObject
* obj2
= 0 ;
21964 char * kwnames
[] = {
21965 (char *) "self",(char *) "width",(char *) "height", NULL
21968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21970 if (!SWIG_IsOK(res1
)) {
21971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21973 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21976 if (!SWIG_IsOK(ecode2
)) {
21977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21979 arg2
= static_cast< int >(val2
);
21982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21983 if (!SWIG_IsOK(ecode3
)) {
21984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21986 arg3
= static_cast< int >(val3
);
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22003 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22004 PyObject
*resultobj
= 0;
22005 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22009 PyObject
*swig_obj
[1] ;
22011 if (!args
) SWIG_fail
;
22012 swig_obj
[0] = args
;
22013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22014 if (!SWIG_IsOK(res1
)) {
22015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22017 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= (arg1
)->GetSize();
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22031 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22037 PyObject
*swig_obj
[1] ;
22039 if (!args
) SWIG_fail
;
22040 swig_obj
[0] = args
;
22041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22045 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (int)(arg1
)->GetWidth();
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= SWIG_From_int(static_cast< int >(result
));
22059 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22060 PyObject
*resultobj
= 0;
22061 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22065 PyObject
*swig_obj
[1] ;
22067 if (!args
) SWIG_fail
;
22068 swig_obj
[0] = args
;
22069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22070 if (!SWIG_IsOK(res1
)) {
22071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22073 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (int)(arg1
)->GetHeight();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= SWIG_From_int(static_cast< int >(result
));
22087 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22088 PyObject
*resultobj
= 0;
22089 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22090 wxString
*result
= 0 ;
22093 PyObject
*swig_obj
[1] ;
22095 if (!args
) SWIG_fail
;
22096 swig_obj
[0] = args
;
22097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22098 if (!SWIG_IsOK(res1
)) {
22099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
22101 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
22106 result
= (wxString
*) &_result_ref
;
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22115 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22124 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22127 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
22128 return SWIG_Py_Void();
22131 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22132 return SWIG_Python_InitShadowInstance(args
);
22135 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= 0;
22137 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22138 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22139 int arg2
= (int) 0 ;
22140 int arg3
= (int) 0 ;
22141 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22142 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22143 wxMetaFileDC
*result
= 0 ;
22144 bool temp1
= false ;
22149 bool temp4
= false ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 PyObject
* obj2
= 0 ;
22153 PyObject
* obj3
= 0 ;
22154 char * kwnames
[] = {
22155 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
22158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22161 arg1
= wxString_in_helper(obj0
);
22162 if (arg1
== NULL
) SWIG_fail
;
22167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22168 if (!SWIG_IsOK(ecode2
)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
22171 arg2
= static_cast< int >(val2
);
22174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22175 if (!SWIG_IsOK(ecode3
)) {
22176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
22178 arg3
= static_cast< int >(val3
);
22182 arg4
= wxString_in_helper(obj3
);
22183 if (arg4
== NULL
) SWIG_fail
;
22188 if (!wxPyCheckForApp()) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
22217 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22218 PyObject
*resultobj
= 0;
22219 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
22220 wxMetaFile
*result
= 0 ;
22223 PyObject
*swig_obj
[1] ;
22225 if (!args
) SWIG_fail
;
22226 swig_obj
[0] = args
;
22227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
22228 if (!SWIG_IsOK(res1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
22231 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (wxMetaFile
*)(arg1
)->Close();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22245 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22248 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
22249 return SWIG_Py_Void();
22252 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22253 return SWIG_Python_InitShadowInstance(args
);
22256 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
= 0;
22258 wxPrintData
*arg1
= 0 ;
22259 wxPrinterDC
*result
= 0 ;
22262 PyObject
* obj0
= 0 ;
22263 char * kwnames
[] = {
22264 (char *) "printData", NULL
22267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
22268 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22269 if (!SWIG_IsOK(res1
)) {
22270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22275 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22277 if (!wxPyCheckForApp()) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
22290 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22293 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
22294 return SWIG_Py_Void();
22297 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22298 return SWIG_Python_InitShadowInstance(args
);
22301 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
= 0;
22305 int arg3
= (int) true ;
22306 int arg4
= (int) 1 ;
22307 wxImageList
*result
= 0 ;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 PyObject
* obj2
= 0 ;
22319 PyObject
* obj3
= 0 ;
22320 char * kwnames
[] = {
22321 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
22324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22326 if (!SWIG_IsOK(ecode1
)) {
22327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
22329 arg1
= static_cast< int >(val1
);
22330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22331 if (!SWIG_IsOK(ecode2
)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
22334 arg2
= static_cast< int >(val2
);
22336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22337 if (!SWIG_IsOK(ecode3
)) {
22338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
22340 arg3
= static_cast< int >(val3
);
22343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22344 if (!SWIG_IsOK(ecode4
)) {
22345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
22347 arg4
= static_cast< int >(val4
);
22350 if (!wxPyCheckForApp()) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
22365 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22366 PyObject
*resultobj
= 0;
22367 wxImageList
*arg1
= (wxImageList
*) 0 ;
22370 PyObject
*swig_obj
[1] ;
22372 if (!args
) SWIG_fail
;
22373 swig_obj
[0] = args
;
22374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
22375 if (!SWIG_IsOK(res1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
22378 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_Py_Void();
22393 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
= 0;
22395 wxImageList
*arg1
= (wxImageList
*) 0 ;
22396 wxBitmap
*arg2
= 0 ;
22397 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
22398 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
22406 PyObject
* obj0
= 0 ;
22407 PyObject
* obj1
= 0 ;
22408 PyObject
* obj2
= 0 ;
22409 char * kwnames
[] = {
22410 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
22413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22415 if (!SWIG_IsOK(res1
)) {
22416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
22418 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22420 if (!SWIG_IsOK(res2
)) {
22421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22426 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22428 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22429 if (!SWIG_IsOK(res3
)) {
22430 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22435 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= SWIG_From_int(static_cast< int >(result
));
22450 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
= 0;
22452 wxImageList
*arg1
= (wxImageList
*) 0 ;
22453 wxBitmap
*arg2
= 0 ;
22454 wxColour
*arg3
= 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 PyObject
* obj2
= 0 ;
22464 char * kwnames
[] = {
22465 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
22468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22470 if (!SWIG_IsOK(res1
)) {
22471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
22473 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22475 if (!SWIG_IsOK(res2
)) {
22476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22481 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22484 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_From_int(static_cast< int >(result
));
22499 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
= 0;
22501 wxImageList
*arg1
= (wxImageList
*) 0 ;
22508 PyObject
* obj0
= 0 ;
22509 PyObject
* obj1
= 0 ;
22510 char * kwnames
[] = {
22511 (char *) "self",(char *) "icon", NULL
22514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22516 if (!SWIG_IsOK(res1
)) {
22517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
22519 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
22521 if (!SWIG_IsOK(res2
)) {
22522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22527 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_From_int(static_cast< int >(result
));
22541 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
= 0;
22543 wxImageList
*arg1
= (wxImageList
*) 0 ;
22545 SwigValueWrapper
<wxBitmap
> result
;
22550 PyObject
* obj0
= 0 ;
22551 PyObject
* obj1
= 0 ;
22552 char * kwnames
[] = {
22553 (char *) "self",(char *) "index", NULL
22556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22558 if (!SWIG_IsOK(res1
)) {
22559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
22561 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22563 if (!SWIG_IsOK(ecode2
)) {
22564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
22566 arg2
= static_cast< int >(val2
);
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22580 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
= 0;
22582 wxImageList
*arg1
= (wxImageList
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 char * kwnames
[] = {
22592 (char *) "self",(char *) "index", NULL
22595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22597 if (!SWIG_IsOK(res1
)) {
22598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
22600 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22602 if (!SWIG_IsOK(ecode2
)) {
22603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
22605 arg2
= static_cast< int >(val2
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
22619 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
= 0;
22621 wxImageList
*arg1
= (wxImageList
*) 0 ;
22623 wxBitmap
*arg3
= 0 ;
22624 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
22625 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
22635 PyObject
* obj0
= 0 ;
22636 PyObject
* obj1
= 0 ;
22637 PyObject
* obj2
= 0 ;
22638 PyObject
* obj3
= 0 ;
22639 char * kwnames
[] = {
22640 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
22643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22645 if (!SWIG_IsOK(res1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
22648 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22650 if (!SWIG_IsOK(ecode2
)) {
22651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
22653 arg2
= static_cast< int >(val2
);
22654 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22655 if (!SWIG_IsOK(res3
)) {
22656 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22661 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22663 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22664 if (!SWIG_IsOK(res4
)) {
22665 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22670 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22687 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
= 0;
22689 wxImageList
*arg1
= (wxImageList
*) 0 ;
22694 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
22695 bool arg7
= (bool) (bool)false ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 PyObject
* obj2
= 0 ;
22714 PyObject
* obj3
= 0 ;
22715 PyObject
* obj4
= 0 ;
22716 PyObject
* obj5
= 0 ;
22717 PyObject
* obj6
= 0 ;
22718 char * kwnames
[] = {
22719 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
22722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22724 if (!SWIG_IsOK(res1
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
22727 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22729 if (!SWIG_IsOK(ecode2
)) {
22730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
22732 arg2
= static_cast< int >(val2
);
22733 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
22734 if (!SWIG_IsOK(res3
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22740 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22741 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22742 if (!SWIG_IsOK(ecode4
)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22745 arg4
= static_cast< int >(val4
);
22746 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22747 if (!SWIG_IsOK(ecode5
)) {
22748 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22750 arg5
= static_cast< int >(val5
);
22752 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22753 if (!SWIG_IsOK(ecode6
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22756 arg6
= static_cast< int >(val6
);
22759 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22760 if (!SWIG_IsOK(ecode7
)) {
22761 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22763 arg7
= static_cast< bool >(val7
);
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22780 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22781 PyObject
*resultobj
= 0;
22782 wxImageList
*arg1
= (wxImageList
*) 0 ;
22786 PyObject
*swig_obj
[1] ;
22788 if (!args
) SWIG_fail
;
22789 swig_obj
[0] = args
;
22790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22791 if (!SWIG_IsOK(res1
)) {
22792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22794 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (int)(arg1
)->GetImageCount();
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= SWIG_From_int(static_cast< int >(result
));
22808 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
= 0;
22810 wxImageList
*arg1
= (wxImageList
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22819 char * kwnames
[] = {
22820 (char *) "self",(char *) "index", NULL
22823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22825 if (!SWIG_IsOK(res1
)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22828 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22830 if (!SWIG_IsOK(ecode2
)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22833 arg2
= static_cast< int >(val2
);
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (bool)(arg1
)->Remove(arg2
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22849 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22850 PyObject
*resultobj
= 0;
22851 wxImageList
*arg1
= (wxImageList
*) 0 ;
22855 PyObject
*swig_obj
[1] ;
22857 if (!args
) SWIG_fail
;
22858 swig_obj
[0] = args
;
22859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22860 if (!SWIG_IsOK(res1
)) {
22861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22863 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22866 result
= (bool)(arg1
)->RemoveAll();
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22879 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
= 0;
22881 wxImageList
*arg1
= (wxImageList
*) 0 ;
22890 int res3
= SWIG_TMPOBJ
;
22892 int res4
= SWIG_TMPOBJ
;
22893 PyObject
* obj0
= 0 ;
22894 PyObject
* obj1
= 0 ;
22895 char * kwnames
[] = {
22896 (char *) "self",(char *) "index", NULL
22901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22906 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22908 if (!SWIG_IsOK(ecode2
)) {
22909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22911 arg2
= static_cast< int >(val2
);
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= SWIG_Py_Void();
22919 if (SWIG_IsTmpObj(res3
)) {
22920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22922 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22925 if (SWIG_IsTmpObj(res4
)) {
22926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22928 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22937 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22940 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22941 return SWIG_Py_Void();
22944 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22945 return SWIG_Python_InitShadowInstance(args
);
22948 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22949 PyObject
*resultobj
= 0;
22950 wxStockGDI
*result
= 0 ;
22952 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (wxStockGDI
*)new wxStockGDI();
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22966 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22967 PyObject
*resultobj
= 0;
22968 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22971 PyObject
*swig_obj
[1] ;
22973 if (!args
) SWIG_fail
;
22974 swig_obj
[0] = args
;
22975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22976 if (!SWIG_IsOK(res1
)) {
22977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22979 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= SWIG_Py_Void();
22994 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22995 PyObject
*resultobj
= 0;
22997 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 wxStockGDI::DeleteAll();
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_Py_Void();
23011 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23012 PyObject
*resultobj
= 0;
23013 wxStockGDI
*result
= 0 ;
23015 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 wxStockGDI
&_result_ref
= wxStockGDI::instance();
23020 result
= (wxStockGDI
*) &_result_ref
;
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23032 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
= 0;
23034 wxStockGDI::Item arg1
;
23035 wxBrush
*result
= 0 ;
23038 PyObject
* obj0
= 0 ;
23039 char * kwnames
[] = {
23040 (char *) "item", NULL
23043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
23044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23045 if (!SWIG_IsOK(ecode1
)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23048 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23062 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
= 0;
23064 wxStockGDI::Item arg1
;
23065 wxColour
*result
= 0 ;
23068 PyObject
* obj0
= 0 ;
23069 char * kwnames
[] = {
23070 (char *) "item", NULL
23073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
23074 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23075 if (!SWIG_IsOK(ecode1
)) {
23076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23078 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23092 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
= 0;
23094 wxStockGDI::Item arg1
;
23095 wxCursor
*result
= 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char * kwnames
[] = {
23100 (char *) "item", NULL
23103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
23104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23105 if (!SWIG_IsOK(ecode1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23108 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
23122 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
= 0;
23124 wxStockGDI::Item arg1
;
23125 wxPen
*result
= 0 ;
23128 PyObject
* obj0
= 0 ;
23129 char * kwnames
[] = {
23130 (char *) "item", NULL
23133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
23134 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23135 if (!SWIG_IsOK(ecode1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23138 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23152 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
= 0;
23154 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
23155 wxStockGDI::Item arg2
;
23156 wxFont
*result
= 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 char * kwnames
[] = {
23164 (char *) "self",(char *) "item", NULL
23167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23169 if (!SWIG_IsOK(res1
)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
23172 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
23173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23174 if (!SWIG_IsOK(ecode2
)) {
23175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
23177 arg2
= static_cast< wxStockGDI::Item
>(val2
);
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23191 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23194 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
23195 return SWIG_Py_Void();
23198 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23199 return SWIG_Python_InitShadowInstance(args
);
23202 SWIGINTERN
int NullBitmap_set(PyObject
*) {
23203 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
23208 SWIGINTERN PyObject
*NullBitmap_get(void) {
23209 PyObject
*pyobj
= 0;
23211 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
23216 SWIGINTERN
int NullIcon_set(PyObject
*) {
23217 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
23222 SWIGINTERN PyObject
*NullIcon_get(void) {
23223 PyObject
*pyobj
= 0;
23225 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
23230 SWIGINTERN
int NullCursor_set(PyObject
*) {
23231 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
23236 SWIGINTERN PyObject
*NullCursor_get(void) {
23237 PyObject
*pyobj
= 0;
23239 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
23244 SWIGINTERN
int NullPen_set(PyObject
*) {
23245 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
23250 SWIGINTERN PyObject
*NullPen_get(void) {
23251 PyObject
*pyobj
= 0;
23253 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
23258 SWIGINTERN
int NullBrush_set(PyObject
*) {
23259 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
23264 SWIGINTERN PyObject
*NullBrush_get(void) {
23265 PyObject
*pyobj
= 0;
23267 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
23272 SWIGINTERN
int NullPalette_set(PyObject
*) {
23273 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
23278 SWIGINTERN PyObject
*NullPalette_get(void) {
23279 PyObject
*pyobj
= 0;
23281 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
23286 SWIGINTERN
int NullFont_set(PyObject
*) {
23287 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
23292 SWIGINTERN PyObject
*NullFont_get(void) {
23293 PyObject
*pyobj
= 0;
23295 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
23300 SWIGINTERN
int NullColour_set(PyObject
*) {
23301 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
23306 SWIGINTERN PyObject
*NullColour_get(void) {
23307 PyObject
*pyobj
= 0;
23309 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
23314 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23315 PyObject
*resultobj
= 0;
23316 wxGDIObjListBase
*result
= 0 ;
23318 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
23332 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23333 PyObject
*resultobj
= 0;
23334 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
23337 PyObject
*swig_obj
[1] ;
23339 if (!args
) SWIG_fail
;
23340 swig_obj
[0] = args
;
23341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
23345 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_Py_Void();
23360 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23363 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
23364 return SWIG_Py_Void();
23367 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23368 return SWIG_Python_InitShadowInstance(args
);
23371 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
= 0;
23373 wxPenList
*arg1
= (wxPenList
*) 0 ;
23374 wxColour
*arg2
= 0 ;
23377 wxPen
*result
= 0 ;
23385 PyObject
* obj0
= 0 ;
23386 PyObject
* obj1
= 0 ;
23387 PyObject
* obj2
= 0 ;
23388 PyObject
* obj3
= 0 ;
23389 char * kwnames
[] = {
23390 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
23393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23395 if (!SWIG_IsOK(res1
)) {
23396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23398 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23404 if (!SWIG_IsOK(ecode3
)) {
23405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
23407 arg3
= static_cast< int >(val3
);
23408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23409 if (!SWIG_IsOK(ecode4
)) {
23410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
23412 arg4
= static_cast< int >(val4
);
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23426 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
= 0;
23428 wxPenList
*arg1
= (wxPenList
*) 0 ;
23429 wxPen
*arg2
= (wxPen
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 PyObject
* obj1
= 0 ;
23436 char * kwnames
[] = {
23437 (char *) "self",(char *) "pen", NULL
23440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23442 if (!SWIG_IsOK(res1
)) {
23443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
23445 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23447 if (!SWIG_IsOK(res2
)) {
23448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
23450 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 (arg1
)->AddPen(arg2
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= SWIG_Py_Void();
23464 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
= 0;
23466 wxPenList
*arg1
= (wxPenList
*) 0 ;
23467 wxPen
*arg2
= (wxPen
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 PyObject
* obj1
= 0 ;
23474 char * kwnames
[] = {
23475 (char *) "self",(char *) "pen", NULL
23478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23480 if (!SWIG_IsOK(res1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23483 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23485 if (!SWIG_IsOK(res2
)) {
23486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
23488 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 (arg1
)->RemovePen(arg2
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_Py_Void();
23502 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23505 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
23506 return SWIG_Py_Void();
23509 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
= 0;
23511 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23512 wxColour
*arg2
= 0 ;
23513 int arg3
= (int) wxSOLID
;
23514 wxBrush
*result
= 0 ;
23520 PyObject
* obj0
= 0 ;
23521 PyObject
* obj1
= 0 ;
23522 PyObject
* obj2
= 0 ;
23523 char * kwnames
[] = {
23524 (char *) "self",(char *) "colour",(char *) "style", NULL
23527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23529 if (!SWIG_IsOK(res1
)) {
23530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23532 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23535 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23539 if (!SWIG_IsOK(ecode3
)) {
23540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
23542 arg3
= static_cast< int >(val3
);
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23557 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
= 0;
23559 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23560 wxBrush
*arg2
= (wxBrush
*) 0 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char * kwnames
[] = {
23568 (char *) "self",(char *) "brush", NULL
23571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23573 if (!SWIG_IsOK(res1
)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23576 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23578 if (!SWIG_IsOK(res2
)) {
23579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23581 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 (arg1
)->AddBrush(arg2
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= SWIG_Py_Void();
23595 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
= 0;
23597 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23598 wxBrush
*arg2
= (wxBrush
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char * kwnames
[] = {
23606 (char *) "self",(char *) "brush", NULL
23609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23611 if (!SWIG_IsOK(res1
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23614 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23616 if (!SWIG_IsOK(res2
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23619 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 (arg1
)->RemoveBrush(arg2
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_Py_Void();
23633 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23636 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23637 return SWIG_Py_Void();
23640 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
= 0;
23642 wxFontList
*arg1
= (wxFontList
*) 0 ;
23647 bool arg6
= (bool) false ;
23648 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23650 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23651 wxFont
*result
= 0 ;
23664 bool temp7
= false ;
23667 PyObject
* obj0
= 0 ;
23668 PyObject
* obj1
= 0 ;
23669 PyObject
* obj2
= 0 ;
23670 PyObject
* obj3
= 0 ;
23671 PyObject
* obj4
= 0 ;
23672 PyObject
* obj5
= 0 ;
23673 PyObject
* obj6
= 0 ;
23674 PyObject
* obj7
= 0 ;
23675 char * kwnames
[] = {
23676 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23681 if (!SWIG_IsOK(res1
)) {
23682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23684 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23686 if (!SWIG_IsOK(ecode2
)) {
23687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23689 arg2
= static_cast< int >(val2
);
23690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23691 if (!SWIG_IsOK(ecode3
)) {
23692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23694 arg3
= static_cast< int >(val3
);
23695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23696 if (!SWIG_IsOK(ecode4
)) {
23697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23699 arg4
= static_cast< int >(val4
);
23700 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23701 if (!SWIG_IsOK(ecode5
)) {
23702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23704 arg5
= static_cast< int >(val5
);
23706 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23707 if (!SWIG_IsOK(ecode6
)) {
23708 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23710 arg6
= static_cast< bool >(val6
);
23714 arg7
= wxString_in_helper(obj6
);
23715 if (arg7
== NULL
) SWIG_fail
;
23720 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23721 if (!SWIG_IsOK(ecode8
)) {
23722 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23724 arg8
= static_cast< wxFontEncoding
>(val8
);
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23747 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
= 0;
23749 wxFontList
*arg1
= (wxFontList
*) 0 ;
23750 wxFont
*arg2
= (wxFont
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 char * kwnames
[] = {
23758 (char *) "self",(char *) "font", NULL
23761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23766 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23768 if (!SWIG_IsOK(res2
)) {
23769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23771 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 (arg1
)->AddFont(arg2
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= SWIG_Py_Void();
23785 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
= 0;
23787 wxFontList
*arg1
= (wxFontList
*) 0 ;
23788 wxFont
*arg2
= (wxFont
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 char * kwnames
[] = {
23796 (char *) "self",(char *) "font", NULL
23799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23801 if (!SWIG_IsOK(res1
)) {
23802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23804 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23806 if (!SWIG_IsOK(res2
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23809 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 (arg1
)->RemoveFont(arg2
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_Py_Void();
23823 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23826 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23827 return SWIG_Py_Void();
23830 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23831 PyObject
*resultobj
= 0;
23832 wxColourDatabase
*result
= 0 ;
23834 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23836 if (!wxPyCheckForApp()) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxColourDatabase
*)new wxColourDatabase();
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23849 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23850 PyObject
*resultobj
= 0;
23851 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23854 PyObject
*swig_obj
[1] ;
23856 if (!args
) SWIG_fail
;
23857 swig_obj
[0] = args
;
23858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23859 if (!SWIG_IsOK(res1
)) {
23860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23862 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= SWIG_Py_Void();
23877 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
= 0;
23879 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23880 wxString
*arg2
= 0 ;
23884 bool temp2
= false ;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 char * kwnames
[] = {
23888 (char *) "self",(char *) "name", NULL
23891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23893 if (!SWIG_IsOK(res1
)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23896 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23898 arg2
= wxString_in_helper(obj1
);
23899 if (arg2
== NULL
) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23923 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
= 0;
23925 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23926 wxColour
*arg2
= 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 char * kwnames
[] = {
23934 (char *) "self",(char *) "colour", NULL
23937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23939 if (!SWIG_IsOK(res1
)) {
23940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23942 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23966 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
= 0;
23968 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23969 wxString
*arg2
= 0 ;
23970 wxColour
*arg3
= 0 ;
23973 bool temp2
= false ;
23975 PyObject
* obj0
= 0 ;
23976 PyObject
* obj1
= 0 ;
23977 PyObject
* obj2
= 0 ;
23978 char * kwnames
[] = {
23979 (char *) "self",(char *) "name",(char *) "colour", NULL
23982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23984 if (!SWIG_IsOK(res1
)) {
23985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23987 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23989 arg2
= wxString_in_helper(obj1
);
23990 if (arg2
== NULL
) SWIG_fail
;
23995 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= SWIG_Py_Void();
24018 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
= 0;
24020 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
24021 wxString
*arg2
= 0 ;
24027 bool temp2
= false ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 PyObject
* obj2
= 0 ;
24037 PyObject
* obj3
= 0 ;
24038 PyObject
* obj4
= 0 ;
24039 char * kwnames
[] = {
24040 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
24043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24045 if (!SWIG_IsOK(res1
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24048 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24050 arg2
= wxString_in_helper(obj1
);
24051 if (arg2
== NULL
) SWIG_fail
;
24054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24055 if (!SWIG_IsOK(ecode3
)) {
24056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
24058 arg3
= static_cast< int >(val3
);
24059 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24060 if (!SWIG_IsOK(ecode4
)) {
24061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
24063 arg4
= static_cast< int >(val4
);
24064 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24065 if (!SWIG_IsOK(ecode5
)) {
24066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
24068 arg5
= static_cast< int >(val5
);
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= SWIG_Py_Void();
24090 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24093 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
24094 return SWIG_Py_Void();
24097 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24098 return SWIG_Python_InitShadowInstance(args
);
24101 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24102 PyObject
*resultobj
= 0;
24103 wxFontList
*result
= 0 ;
24105 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (wxFontList
*)_wxPyInitTheFontList();
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
24119 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24120 PyObject
*resultobj
= 0;
24121 wxPenList
*result
= 0 ;
24123 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (wxPenList
*)_wxPyInitThePenList();
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
24137 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24138 PyObject
*resultobj
= 0;
24139 wxBrushList
*result
= 0 ;
24141 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (wxBrushList
*)_wxPyInitTheBrushList();
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
24155 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24156 PyObject
*resultobj
= 0;
24157 wxColourDatabase
*result
= 0 ;
24159 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24173 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24174 PyObject
*resultobj
= 0;
24175 wxEffects
*result
= 0 ;
24177 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (wxEffects
*)new wxEffects();
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
24191 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24192 PyObject
*resultobj
= 0;
24193 wxEffects
*arg1
= (wxEffects
*) 0 ;
24197 PyObject
*swig_obj
[1] ;
24199 if (!args
) SWIG_fail
;
24200 swig_obj
[0] = args
;
24201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24202 if (!SWIG_IsOK(res1
)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24205 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24219 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24220 PyObject
*resultobj
= 0;
24221 wxEffects
*arg1
= (wxEffects
*) 0 ;
24225 PyObject
*swig_obj
[1] ;
24227 if (!args
) SWIG_fail
;
24228 swig_obj
[0] = args
;
24229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24230 if (!SWIG_IsOK(res1
)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24233 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24247 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24248 PyObject
*resultobj
= 0;
24249 wxEffects
*arg1
= (wxEffects
*) 0 ;
24253 PyObject
*swig_obj
[1] ;
24255 if (!args
) SWIG_fail
;
24256 swig_obj
[0] = args
;
24257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24258 if (!SWIG_IsOK(res1
)) {
24259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24261 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24275 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24276 PyObject
*resultobj
= 0;
24277 wxEffects
*arg1
= (wxEffects
*) 0 ;
24281 PyObject
*swig_obj
[1] ;
24283 if (!args
) SWIG_fail
;
24284 swig_obj
[0] = args
;
24285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24286 if (!SWIG_IsOK(res1
)) {
24287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24289 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24303 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24304 PyObject
*resultobj
= 0;
24305 wxEffects
*arg1
= (wxEffects
*) 0 ;
24309 PyObject
*swig_obj
[1] ;
24311 if (!args
) SWIG_fail
;
24312 swig_obj
[0] = args
;
24313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24314 if (!SWIG_IsOK(res1
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24317 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24331 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
= 0;
24333 wxEffects
*arg1
= (wxEffects
*) 0 ;
24334 wxColour
*arg2
= 0 ;
24338 PyObject
* obj0
= 0 ;
24339 PyObject
* obj1
= 0 ;
24340 char * kwnames
[] = {
24341 (char *) "self",(char *) "c", NULL
24344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24346 if (!SWIG_IsOK(res1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24349 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= SWIG_Py_Void();
24367 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
= 0;
24369 wxEffects
*arg1
= (wxEffects
*) 0 ;
24370 wxColour
*arg2
= 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 char * kwnames
[] = {
24377 (char *) "self",(char *) "c", NULL
24380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24382 if (!SWIG_IsOK(res1
)) {
24383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24385 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24388 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_Py_Void();
24403 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
= 0;
24405 wxEffects
*arg1
= (wxEffects
*) 0 ;
24406 wxColour
*arg2
= 0 ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char * kwnames
[] = {
24413 (char *) "self",(char *) "c", NULL
24416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24418 if (!SWIG_IsOK(res1
)) {
24419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24421 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= SWIG_Py_Void();
24439 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
= 0;
24441 wxEffects
*arg1
= (wxEffects
*) 0 ;
24442 wxColour
*arg2
= 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char * kwnames
[] = {
24449 (char *) "self",(char *) "c", NULL
24452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24454 if (!SWIG_IsOK(res1
)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24457 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24460 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_Py_Void();
24475 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
= 0;
24477 wxEffects
*arg1
= (wxEffects
*) 0 ;
24478 wxColour
*arg2
= 0 ;
24482 PyObject
* obj0
= 0 ;
24483 PyObject
* obj1
= 0 ;
24484 char * kwnames
[] = {
24485 (char *) "self",(char *) "c", NULL
24488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24490 if (!SWIG_IsOK(res1
)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24493 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24496 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= SWIG_Py_Void();
24511 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
= 0;
24513 wxEffects
*arg1
= (wxEffects
*) 0 ;
24514 wxColour
*arg2
= 0 ;
24515 wxColour
*arg3
= 0 ;
24516 wxColour
*arg4
= 0 ;
24517 wxColour
*arg5
= 0 ;
24518 wxColour
*arg6
= 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 PyObject
* obj2
= 0 ;
24529 PyObject
* obj3
= 0 ;
24530 PyObject
* obj4
= 0 ;
24531 PyObject
* obj5
= 0 ;
24532 char * kwnames
[] = {
24533 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
24536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24538 if (!SWIG_IsOK(res1
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
24541 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24544 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24548 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24552 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24556 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24560 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_Py_Void();
24575 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
= 0;
24577 wxEffects
*arg1
= (wxEffects
*) 0 ;
24580 int arg4
= (int) 1 ;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 PyObject
* obj2
= 0 ;
24591 PyObject
* obj3
= 0 ;
24592 char * kwnames
[] = {
24593 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24598 if (!SWIG_IsOK(res1
)) {
24599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24601 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24603 if (!SWIG_IsOK(res2
)) {
24604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24609 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24612 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24616 if (!SWIG_IsOK(ecode4
)) {
24617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24619 arg4
= static_cast< int >(val4
);
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= SWIG_Py_Void();
24634 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
= 0;
24636 wxEffects
*arg1
= (wxEffects
*) 0 ;
24639 wxBitmap
*arg4
= 0 ;
24648 PyObject
* obj0
= 0 ;
24649 PyObject
* obj1
= 0 ;
24650 PyObject
* obj2
= 0 ;
24651 PyObject
* obj3
= 0 ;
24652 char * kwnames
[] = {
24653 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24658 if (!SWIG_IsOK(res1
)) {
24659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24661 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24664 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24666 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24667 if (!SWIG_IsOK(res3
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24673 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24674 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24675 if (!SWIG_IsOK(res4
)) {
24676 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24681 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24697 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24700 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24701 return SWIG_Py_Void();
24704 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24705 return SWIG_Python_InitShadowInstance(args
);
24708 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
= 0;
24713 wxSplitterRenderParams
*result
= 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 PyObject
* obj2
= 0 ;
24723 char * kwnames
[] = {
24724 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24729 if (!SWIG_IsOK(ecode1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24732 arg1
= static_cast< int >(val1
);
24733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24734 if (!SWIG_IsOK(ecode2
)) {
24735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24737 arg2
= static_cast< int >(val2
);
24738 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24739 if (!SWIG_IsOK(ecode3
)) {
24740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24742 arg3
= static_cast< bool >(val3
);
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24756 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24757 PyObject
*resultobj
= 0;
24758 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24761 PyObject
*swig_obj
[1] ;
24763 if (!args
) SWIG_fail
;
24764 swig_obj
[0] = args
;
24765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24766 if (!SWIG_IsOK(res1
)) {
24767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24769 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_Py_Void();
24784 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24785 PyObject
*resultobj
= 0;
24786 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24790 PyObject
*swig_obj
[1] ;
24792 if (!args
) SWIG_fail
;
24793 swig_obj
[0] = args
;
24794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24795 if (!SWIG_IsOK(res1
)) {
24796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24798 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24799 result
= (int)(int) ((arg1
)->widthSash
);
24800 resultobj
= SWIG_From_int(static_cast< int >(result
));
24807 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24808 PyObject
*resultobj
= 0;
24809 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24813 PyObject
*swig_obj
[1] ;
24815 if (!args
) SWIG_fail
;
24816 swig_obj
[0] = args
;
24817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24818 if (!SWIG_IsOK(res1
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24821 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24822 result
= (int)(int) ((arg1
)->border
);
24823 resultobj
= SWIG_From_int(static_cast< int >(result
));
24830 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24831 PyObject
*resultobj
= 0;
24832 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24836 PyObject
*swig_obj
[1] ;
24838 if (!args
) SWIG_fail
;
24839 swig_obj
[0] = args
;
24840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24844 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24845 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24846 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24853 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24856 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24857 return SWIG_Py_Void();
24860 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24861 return SWIG_Python_InitShadowInstance(args
);
24864 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
= 0;
24868 wxRendererVersion
*result
= 0 ;
24873 PyObject
* obj0
= 0 ;
24874 PyObject
* obj1
= 0 ;
24875 char * kwnames
[] = {
24876 (char *) "version_",(char *) "age_", NULL
24879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24880 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24881 if (!SWIG_IsOK(ecode1
)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24884 arg1
= static_cast< int >(val1
);
24885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24886 if (!SWIG_IsOK(ecode2
)) {
24887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24889 arg2
= static_cast< int >(val2
);
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24903 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24904 PyObject
*resultobj
= 0;
24905 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24908 PyObject
*swig_obj
[1] ;
24910 if (!args
) SWIG_fail
;
24911 swig_obj
[0] = args
;
24912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24913 if (!SWIG_IsOK(res1
)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24916 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 resultobj
= SWIG_Py_Void();
24931 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
= 0;
24933 wxRendererVersion
*arg1
= 0 ;
24937 PyObject
* obj0
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "ver", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24943 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24950 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24966 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24967 PyObject
*resultobj
= 0;
24968 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24972 PyObject
*swig_obj
[1] ;
24974 if (!args
) SWIG_fail
;
24975 swig_obj
[0] = args
;
24976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24980 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24981 result
= (int)(int) ((arg1
)->version
);
24982 resultobj
= SWIG_From_int(static_cast< int >(result
));
24989 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24990 PyObject
*resultobj
= 0;
24991 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24995 PyObject
*swig_obj
[1] ;
24997 if (!args
) SWIG_fail
;
24998 swig_obj
[0] = args
;
24999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25003 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25004 result
= (int)(int) ((arg1
)->age
);
25005 resultobj
= SWIG_From_int(static_cast< int >(result
));
25012 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25015 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
25016 return SWIG_Py_Void();
25019 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25020 return SWIG_Python_InitShadowInstance(args
);
25023 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25026 wxWindow
*arg2
= (wxWindow
*) 0 ;
25029 int arg5
= (int) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 PyObject
* obj2
= 0 ;
25042 PyObject
* obj3
= 0 ;
25043 PyObject
* obj4
= 0 ;
25044 char * kwnames
[] = {
25045 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25050 if (!SWIG_IsOK(res1
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25053 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25055 if (!SWIG_IsOK(res2
)) {
25056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25058 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25059 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25060 if (!SWIG_IsOK(res3
)) {
25061 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25066 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25069 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25072 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25073 if (!SWIG_IsOK(ecode5
)) {
25074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
25076 arg5
= static_cast< int >(val5
);
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25084 resultobj
= SWIG_Py_Void();
25091 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
= 0;
25093 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25094 wxWindow
*arg2
= (wxWindow
*) 0 ;
25097 int arg5
= (int) 0 ;
25107 PyObject
* obj0
= 0 ;
25108 PyObject
* obj1
= 0 ;
25109 PyObject
* obj2
= 0 ;
25110 PyObject
* obj3
= 0 ;
25111 PyObject
* obj4
= 0 ;
25112 char * kwnames
[] = {
25113 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25118 if (!SWIG_IsOK(res1
)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25121 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25123 if (!SWIG_IsOK(res2
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25126 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25127 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25128 if (!SWIG_IsOK(res3
)) {
25129 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25134 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25137 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25140 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25141 if (!SWIG_IsOK(ecode5
)) {
25142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
25144 arg5
= static_cast< int >(val5
);
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_Py_Void();
25159 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
= 0;
25161 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25162 wxWindow
*arg2
= (wxWindow
*) 0 ;
25165 int arg5
= (int) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 PyObject
* obj2
= 0 ;
25178 PyObject
* obj3
= 0 ;
25179 PyObject
* obj4
= 0 ;
25180 char * kwnames
[] = {
25181 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25186 if (!SWIG_IsOK(res1
)) {
25187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25189 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25191 if (!SWIG_IsOK(res2
)) {
25192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
25194 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25195 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25196 if (!SWIG_IsOK(res3
)) {
25197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25202 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25205 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25208 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25209 if (!SWIG_IsOK(ecode5
)) {
25210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
25212 arg5
= static_cast< int >(val5
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_Py_Void();
25227 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
= 0;
25229 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25230 wxWindow
*arg2
= (wxWindow
*) 0 ;
25234 wxOrientation arg6
;
25235 int arg7
= (int) 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 PyObject
* obj2
= 0 ;
25252 PyObject
* obj3
= 0 ;
25253 PyObject
* obj4
= 0 ;
25254 PyObject
* obj5
= 0 ;
25255 PyObject
* obj6
= 0 ;
25256 char * kwnames
[] = {
25257 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
25260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25262 if (!SWIG_IsOK(res1
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25265 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25267 if (!SWIG_IsOK(res2
)) {
25268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
25270 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25271 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25272 if (!SWIG_IsOK(res3
)) {
25273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25278 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25281 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25284 if (!SWIG_IsOK(ecode5
)) {
25285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
25287 arg5
= static_cast< int >(val5
);
25288 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25289 if (!SWIG_IsOK(ecode6
)) {
25290 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
25292 arg6
= static_cast< wxOrientation
>(val6
);
25294 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25295 if (!SWIG_IsOK(ecode7
)) {
25296 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
25298 arg7
= static_cast< int >(val7
);
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= SWIG_Py_Void();
25313 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
= 0;
25315 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25316 wxWindow
*arg2
= (wxWindow
*) 0 ;
25319 int arg5
= (int) 0 ;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 PyObject
* obj2
= 0 ;
25332 PyObject
* obj3
= 0 ;
25333 PyObject
* obj4
= 0 ;
25334 char * kwnames
[] = {
25335 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25340 if (!SWIG_IsOK(res1
)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25343 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25345 if (!SWIG_IsOK(res2
)) {
25346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25348 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25349 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25350 if (!SWIG_IsOK(res3
)) {
25351 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25356 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25359 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25362 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25363 if (!SWIG_IsOK(ecode5
)) {
25364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
25366 arg5
= static_cast< int >(val5
);
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= SWIG_Py_Void();
25381 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
= 0;
25383 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25384 wxWindow
*arg2
= (wxWindow
*) 0 ;
25387 int arg5
= (int) 0 ;
25397 PyObject
* obj0
= 0 ;
25398 PyObject
* obj1
= 0 ;
25399 PyObject
* obj2
= 0 ;
25400 PyObject
* obj3
= 0 ;
25401 PyObject
* obj4
= 0 ;
25402 char * kwnames
[] = {
25403 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25408 if (!SWIG_IsOK(res1
)) {
25409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25411 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25412 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25413 if (!SWIG_IsOK(res2
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
25416 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25417 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25418 if (!SWIG_IsOK(res3
)) {
25419 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25424 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25427 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25430 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25431 if (!SWIG_IsOK(ecode5
)) {
25432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
25434 arg5
= static_cast< int >(val5
);
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_Py_Void();
25449 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
= 0;
25451 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25452 wxWindow
*arg2
= (wxWindow
*) 0 ;
25455 int arg5
= (int) 0 ;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 PyObject
* obj2
= 0 ;
25468 PyObject
* obj3
= 0 ;
25469 PyObject
* obj4
= 0 ;
25470 char * kwnames
[] = {
25471 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25476 if (!SWIG_IsOK(res1
)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25479 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25481 if (!SWIG_IsOK(res2
)) {
25482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
25484 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25485 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25486 if (!SWIG_IsOK(res3
)) {
25487 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25492 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25495 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25498 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25499 if (!SWIG_IsOK(ecode5
)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
25502 arg5
= static_cast< int >(val5
);
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_Py_Void();
25517 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
= 0;
25519 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25520 wxWindow
*arg2
= (wxWindow
*) 0 ;
25523 int arg5
= (int) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 PyObject
* obj2
= 0 ;
25536 PyObject
* obj3
= 0 ;
25537 PyObject
* obj4
= 0 ;
25538 char * kwnames
[] = {
25539 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25544 if (!SWIG_IsOK(res1
)) {
25545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25547 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25549 if (!SWIG_IsOK(res2
)) {
25550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25552 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25553 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25554 if (!SWIG_IsOK(res3
)) {
25555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25560 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25563 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25566 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25567 if (!SWIG_IsOK(ecode5
)) {
25568 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
25570 arg5
= static_cast< int >(val5
);
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_Py_Void();
25585 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
= 0;
25587 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25588 wxWindow
*arg2
= (wxWindow
*) 0 ;
25591 int arg5
= (int) 0 ;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 PyObject
* obj2
= 0 ;
25604 PyObject
* obj3
= 0 ;
25605 PyObject
* obj4
= 0 ;
25606 char * kwnames
[] = {
25607 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25612 if (!SWIG_IsOK(res1
)) {
25613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25615 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25617 if (!SWIG_IsOK(res2
)) {
25618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
25620 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25621 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25622 if (!SWIG_IsOK(res3
)) {
25623 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25628 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25631 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25634 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25635 if (!SWIG_IsOK(ecode5
)) {
25636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
25638 arg5
= static_cast< int >(val5
);
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_Py_Void();
25653 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
= 0;
25655 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25656 wxWindow
*arg2
= (wxWindow
*) 0 ;
25657 SwigValueWrapper
<wxSplitterRenderParams
> result
;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 char * kwnames
[] = {
25665 (char *) "self",(char *) "win", NULL
25668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25670 if (!SWIG_IsOK(res1
)) {
25671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25673 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25675 if (!SWIG_IsOK(res2
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
25678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
25692 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25693 PyObject
*resultobj
= 0;
25694 wxRendererNative
*result
= 0 ;
25696 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
25698 if (!wxPyCheckForApp()) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 wxRendererNative
&_result_ref
= wxRendererNative::Get();
25702 result
= (wxRendererNative
*) &_result_ref
;
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25714 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25715 PyObject
*resultobj
= 0;
25716 wxRendererNative
*result
= 0 ;
25718 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
25720 if (!wxPyCheckForApp()) SWIG_fail
;
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
25724 result
= (wxRendererNative
*) &_result_ref
;
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25736 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxRendererNative
*result
= 0 ;
25740 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25742 if (!wxPyCheckForApp()) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25746 result
= (wxRendererNative
*) &_result_ref
;
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25758 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
= 0;
25760 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25761 wxRendererNative
*result
= 0 ;
25764 PyObject
* obj0
= 0 ;
25765 char * kwnames
[] = {
25766 (char *) "renderer", NULL
25769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25774 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25776 if (!wxPyCheckForApp()) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25789 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25790 PyObject
*resultobj
= 0;
25791 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25792 SwigValueWrapper
<wxRendererVersion
> result
;
25795 PyObject
*swig_obj
[1] ;
25797 if (!args
) SWIG_fail
;
25798 swig_obj
[0] = args
;
25799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25800 if (!SWIG_IsOK(res1
)) {
25801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25803 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25817 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25820 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25821 return SWIG_Py_Void();
25824 static PyMethodDef SwigMethods
[] = {
25825 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25826 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25827 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25828 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25829 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25830 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25834 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25835 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25836 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25837 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25838 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25843 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25846 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25847 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25848 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25849 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25851 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25854 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25855 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25856 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25857 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25859 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25860 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25861 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25862 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25863 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25864 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25865 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25872 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
25874 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
25875 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25879 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25880 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25883 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25887 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25888 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25889 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25890 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25891 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25892 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25893 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25895 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
25901 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25903 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25904 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25905 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25906 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25907 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25908 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25909 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25915 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25925 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25926 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25928 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25929 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25930 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25932 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25933 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
25938 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25940 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25941 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25942 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25943 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25949 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25950 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25952 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25953 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25955 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25957 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25958 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25959 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25960 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25963 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25967 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25968 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25970 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
25973 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25975 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
25976 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
25977 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
25978 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25983 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25984 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25989 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25990 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25996 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
26000 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26009 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
26010 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
26013 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
26014 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
26016 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
26017 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
26018 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
26019 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
26020 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
26021 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
26022 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
26023 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
26024 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
26025 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
26026 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
26027 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
26028 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
26029 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
26030 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
26031 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
26032 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
26034 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
26035 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
26036 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
26037 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
26038 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
26039 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
26040 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
26041 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26044 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26050 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
26051 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
26052 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
26054 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
26055 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
26056 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
26057 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
26058 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
26059 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
26060 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
26061 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
26062 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
26064 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
26065 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
26066 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26068 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
26069 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
26070 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
26071 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26073 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
26074 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26075 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26077 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26078 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26079 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
26080 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26084 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
26085 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
26086 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26087 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
26088 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26092 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26093 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
26094 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26096 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
26097 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
26098 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
26099 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
26100 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
26101 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
26102 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
26103 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
26104 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
26105 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
26106 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
26107 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
26108 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
26109 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26110 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26111 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26112 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26113 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26114 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26115 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26116 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26117 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26118 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26120 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
26121 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
26122 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
26123 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26124 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
26125 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
26126 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26127 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
26128 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
26129 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
26130 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
26131 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26132 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26133 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26134 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
26135 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
26136 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26137 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
26138 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
26139 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
26140 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
26141 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
26142 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
26143 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
26144 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
26145 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
26146 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26147 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
26148 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26149 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26150 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
26151 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
26152 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
26153 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
26154 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
26155 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
26156 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
26157 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
26158 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26159 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26160 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26161 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26162 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26163 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26164 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26165 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26166 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
26167 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
26168 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
26169 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
26170 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
26171 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
26172 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
26173 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26174 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26175 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26176 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26177 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26178 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
26179 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
26180 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
26181 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26182 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26183 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26184 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26185 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26186 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26187 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26188 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26189 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26190 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26191 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26192 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26193 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26194 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26195 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26196 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26197 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26198 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26199 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26200 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26201 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26202 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26203 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26204 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26205 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26206 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26207 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26208 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26209 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26210 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26211 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26212 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26213 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26214 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26215 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26216 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26217 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26218 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26219 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26220 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26221 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26222 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26223 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26224 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26225 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26226 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26227 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26228 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26229 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
26230 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26231 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
26232 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
26233 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
26234 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26235 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26236 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26237 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26238 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26239 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26240 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
26241 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
26242 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
26243 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
26244 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
26245 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26246 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26247 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26248 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26249 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
26250 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
26251 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
26252 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
26253 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26254 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26255 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26256 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26257 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26258 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26259 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26260 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26261 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
26262 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
26263 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
26264 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
26265 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
26266 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
26267 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
26268 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
26269 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
26270 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
26271 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
26272 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
26273 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26274 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26275 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
26276 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26277 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
26278 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26279 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
26280 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26281 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
26282 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
26283 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26284 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26285 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
26286 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
26287 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26288 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26289 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26290 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
26291 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26292 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
26293 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26294 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26295 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
26296 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
26297 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
26298 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
26299 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
26300 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
26301 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
26302 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26303 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26304 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26305 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26306 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26307 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26308 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
26309 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
26310 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26311 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26312 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
26313 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
26314 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
26315 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
26316 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
26317 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
26318 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
26319 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26320 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
26321 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
26322 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
26323 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26324 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26325 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
26326 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
26327 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
26328 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26329 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
26330 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
26331 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26332 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
26333 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
26334 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26335 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
26336 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
26337 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26338 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
26339 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
26340 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26341 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
26342 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26343 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26344 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
26345 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
26346 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
26347 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26348 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
26349 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
26350 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26351 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
26352 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
26353 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
26354 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
26355 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
26356 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
26357 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26358 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
26359 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
26360 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
26361 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26362 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
26363 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
26364 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26365 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
26366 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26367 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26368 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26369 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26370 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26371 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26372 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26373 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
26374 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26375 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
26376 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26377 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
26378 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
26379 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
26380 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
26381 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
26382 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
26383 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26384 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26385 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26386 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26387 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26388 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
26389 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
26390 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
26391 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
26392 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
26393 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
26394 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26395 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26396 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26397 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
26398 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26399 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26400 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26401 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
26402 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26403 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26404 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26405 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
26406 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
26407 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
26408 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26409 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26410 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26411 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26412 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
26413 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
26414 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
26415 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
26416 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
26417 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
26418 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
26419 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
26420 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
26421 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
26422 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
26423 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
26424 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26425 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26426 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26427 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26428 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26429 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26430 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26431 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26432 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
26433 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
26434 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26435 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
26436 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
26437 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
26438 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
26439 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
26440 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
26441 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26442 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
26443 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26444 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
26445 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
26446 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
26447 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
26448 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26449 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26450 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26451 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26452 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26453 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26454 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26455 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26456 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26457 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26458 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
26459 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
26460 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
26461 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26462 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
26463 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
26464 { NULL
, NULL
, 0, NULL
}
26468 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26470 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
26471 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
26473 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
26474 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26476 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
26477 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
26479 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
26480 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
26482 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
26483 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
26485 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
26486 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
26488 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
26489 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
26491 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
26492 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
26494 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
26495 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
26497 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
26498 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
26500 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
26501 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
26503 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
26504 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
26506 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
26507 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
26509 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
26510 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
26512 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
26513 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
26515 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
26516 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
26518 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
26519 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26521 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
26522 return (void *)((wxDC
*) ((wxClientDC
*) x
));
26524 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
26525 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
26527 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
26528 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
26530 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
26531 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
26533 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
26534 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
26536 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
26537 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
26539 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
26540 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
26542 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
26543 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26545 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26548 static void *_p_wxPenTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
26551 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
26554 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26557 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26560 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26563 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26566 static void *_p_wxIconTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
26569 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26572 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26575 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) ((wxSizer
*) x
));
26578 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26581 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26584 static void *_p_wxEventTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) ((wxEvent
*) x
));
26587 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26590 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26593 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26596 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
26599 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26602 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26605 static void *_p_wxDCTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) ((wxDC
*) x
));
26608 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26611 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26614 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26617 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26620 static void *_p_wxControlTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26623 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26626 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
26629 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26632 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
26635 static void *_p_wxRegionTo_p_wxObject(void *x
) {
26636 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
26638 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26639 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26641 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
26642 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
26644 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
26645 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
26647 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
26648 return (void *)((wxObject
*) ((wxEffects
*) x
));
26650 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26651 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26653 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26654 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26656 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
26657 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
26659 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26660 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26662 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26663 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26665 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
26666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
26668 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26669 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26671 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26674 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26675 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26677 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26678 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26680 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26681 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26683 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26684 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26686 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26687 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26689 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26690 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26692 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26693 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26695 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26698 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26701 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26704 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26707 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26708 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26710 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26711 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26713 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26714 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26716 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26717 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26719 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
26720 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
26722 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26723 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26725 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26728 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26731 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26732 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26734 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
26735 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26737 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
26738 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
26740 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
26741 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
26743 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
26744 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
26746 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
26747 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
26749 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26750 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26752 static void *_p_wxImageTo_p_wxObject(void *x
) {
26753 return (void *)((wxObject
*) ((wxImage
*) x
));
26755 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26756 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26758 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
26759 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
26761 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
26762 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
26764 static void *_p_wxImageListTo_p_wxObject(void *x
) {
26765 return (void *)((wxObject
*) ((wxImageList
*) x
));
26767 static void *_p_wxCursorTo_p_wxObject(void *x
) {
26768 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
26770 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
26771 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
26773 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
26774 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
26776 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26779 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26780 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26782 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26783 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26785 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26786 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26788 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26789 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26791 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26794 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
26795 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
26797 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26798 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26800 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
26801 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
26803 static void *_p_wxMaskTo_p_wxObject(void *x
) {
26804 return (void *)((wxObject
*) ((wxMask
*) x
));
26806 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26809 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26810 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26812 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26813 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26815 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26816 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26818 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26819 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26821 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26822 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26824 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26827 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26828 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26830 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26831 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26833 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26834 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26836 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26839 static void *_p_wxFontTo_p_wxObject(void *x
) {
26840 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26842 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26843 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26845 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26846 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26848 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26851 static void *_p_wxColourTo_p_wxObject(void *x
) {
26852 return (void *)((wxObject
*) ((wxColour
*) x
));
26854 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26857 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26858 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26860 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26861 return (void *)((wxWindow
*) ((wxControl
*) x
));
26863 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26864 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26866 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26867 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26869 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26870 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26871 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};
26872 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26873 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26874 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26875 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26876 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26877 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26878 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26879 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26880 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26881 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26882 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26883 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26884 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26885 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26886 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26887 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26888 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26889 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26890 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26891 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26892 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26893 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
26894 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26895 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26896 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26897 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26898 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26899 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26900 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26901 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26902 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26903 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26904 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26905 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26906 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26907 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26908 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26909 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26910 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26911 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26912 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26913 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26914 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26915 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26916 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26917 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26918 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26919 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26920 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26921 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26922 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26923 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26924 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26925 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
26926 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26927 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26928 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26929 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26930 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26931 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26932 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26933 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26934 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26935 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26936 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26937 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26938 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26939 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26940 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26941 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26942 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26943 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26944 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26945 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26946 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26947 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26948 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26949 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26950 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26951 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26952 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26953 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26954 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26955 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26956 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26957 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26958 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26959 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26960 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26961 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26962 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26963 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26964 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26965 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26966 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26967 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26968 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26969 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26970 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26971 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26972 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26973 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26974 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26975 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26976 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26977 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26978 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26979 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26980 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26981 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26982 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26983 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26984 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26985 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26986 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26987 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26988 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26989 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26990 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26991 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26992 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26993 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26994 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26995 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26996 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26997 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26998 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26999 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
27000 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
27001 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
27002 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
27003 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
27004 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
27005 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
27006 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
27008 static swig_type_info
*swig_type_initial
[] = {
27011 &_swigt__p_form_ops_t
,
27013 &_swigt__p_unsigned_char
,
27014 &_swigt__p_unsigned_int
,
27015 &_swigt__p_unsigned_long
,
27016 &_swigt__p_wxANIHandler
,
27017 &_swigt__p_wxAcceleratorTable
,
27018 &_swigt__p_wxActivateEvent
,
27019 &_swigt__p_wxBMPHandler
,
27020 &_swigt__p_wxBitmap
,
27021 &_swigt__p_wxBoxSizer
,
27022 &_swigt__p_wxBrush
,
27023 &_swigt__p_wxBrushList
,
27024 &_swigt__p_wxBufferedDC
,
27025 &_swigt__p_wxBufferedPaintDC
,
27026 &_swigt__p_wxCURHandler
,
27027 &_swigt__p_wxChildFocusEvent
,
27028 &_swigt__p_wxClientDC
,
27029 &_swigt__p_wxClipboardTextEvent
,
27030 &_swigt__p_wxCloseEvent
,
27031 &_swigt__p_wxColour
,
27032 &_swigt__p_wxColourDatabase
,
27033 &_swigt__p_wxCommandEvent
,
27034 &_swigt__p_wxContextMenuEvent
,
27035 &_swigt__p_wxControl
,
27036 &_swigt__p_wxControlWithItems
,
27037 &_swigt__p_wxCursor
,
27040 &_swigt__p_wxDateEvent
,
27041 &_swigt__p_wxDisplayChangedEvent
,
27042 &_swigt__p_wxDropFilesEvent
,
27043 &_swigt__p_wxDuplexMode
,
27044 &_swigt__p_wxEffects
,
27045 &_swigt__p_wxEncodingConverter
,
27046 &_swigt__p_wxEraseEvent
,
27047 &_swigt__p_wxEvent
,
27048 &_swigt__p_wxEvtHandler
,
27049 &_swigt__p_wxFSFile
,
27050 &_swigt__p_wxFileSystem
,
27051 &_swigt__p_wxFlexGridSizer
,
27052 &_swigt__p_wxFocusEvent
,
27054 &_swigt__p_wxFontList
,
27055 &_swigt__p_wxFontMapper
,
27056 &_swigt__p_wxGBSizerItem
,
27057 &_swigt__p_wxGDIObjListBase
,
27058 &_swigt__p_wxGDIObject
,
27059 &_swigt__p_wxGIFHandler
,
27060 &_swigt__p_wxGridBagSizer
,
27061 &_swigt__p_wxGridSizer
,
27062 &_swigt__p_wxICOHandler
,
27064 &_swigt__p_wxIconBundle
,
27065 &_swigt__p_wxIconLocation
,
27066 &_swigt__p_wxIconizeEvent
,
27067 &_swigt__p_wxIdleEvent
,
27068 &_swigt__p_wxImage
,
27069 &_swigt__p_wxImageHandler
,
27070 &_swigt__p_wxImageList
,
27071 &_swigt__p_wxIndividualLayoutConstraint
,
27072 &_swigt__p_wxInitDialogEvent
,
27073 &_swigt__p_wxJPEGHandler
,
27074 &_swigt__p_wxKeyEvent
,
27075 &_swigt__p_wxLanguageInfo
,
27076 &_swigt__p_wxLayoutConstraints
,
27077 &_swigt__p_wxLocale
,
27079 &_swigt__p_wxMaximizeEvent
,
27080 &_swigt__p_wxMemoryDC
,
27082 &_swigt__p_wxMenuBar
,
27083 &_swigt__p_wxMenuEvent
,
27084 &_swigt__p_wxMenuItem
,
27085 &_swigt__p_wxMetaFile
,
27086 &_swigt__p_wxMetaFileDC
,
27087 &_swigt__p_wxMirrorDC
,
27088 &_swigt__p_wxMouseCaptureChangedEvent
,
27089 &_swigt__p_wxMouseEvent
,
27090 &_swigt__p_wxMoveEvent
,
27091 &_swigt__p_wxNativeEncodingInfo
,
27092 &_swigt__p_wxNativeFontInfo
,
27093 &_swigt__p_wxNavigationKeyEvent
,
27094 &_swigt__p_wxNcPaintEvent
,
27095 &_swigt__p_wxNotifyEvent
,
27096 &_swigt__p_wxObject
,
27097 &_swigt__p_wxPCXHandler
,
27098 &_swigt__p_wxPNGHandler
,
27099 &_swigt__p_wxPNMHandler
,
27100 &_swigt__p_wxPaintDC
,
27101 &_swigt__p_wxPaintEvent
,
27102 &_swigt__p_wxPalette
,
27103 &_swigt__p_wxPaletteChangedEvent
,
27104 &_swigt__p_wxPaperSize
,
27106 &_swigt__p_wxPenList
,
27107 &_swigt__p_wxPoint
,
27108 &_swigt__p_wxPostScriptDC
,
27109 &_swigt__p_wxPrintData
,
27110 &_swigt__p_wxPrinterDC
,
27111 &_swigt__p_wxPyApp
,
27112 &_swigt__p_wxPyCommandEvent
,
27113 &_swigt__p_wxPyEvent
,
27114 &_swigt__p_wxPyFontEnumerator
,
27115 &_swigt__p_wxPyImageHandler
,
27116 &_swigt__p_wxPySizer
,
27117 &_swigt__p_wxPyValidator
,
27118 &_swigt__p_wxQueryNewPaletteEvent
,
27120 &_swigt__p_wxRegion
,
27121 &_swigt__p_wxRegionIterator
,
27122 &_swigt__p_wxRendererNative
,
27123 &_swigt__p_wxRendererVersion
,
27124 &_swigt__p_wxScreenDC
,
27125 &_swigt__p_wxScrollEvent
,
27126 &_swigt__p_wxScrollWinEvent
,
27127 &_swigt__p_wxSetCursorEvent
,
27128 &_swigt__p_wxShowEvent
,
27130 &_swigt__p_wxSizeEvent
,
27131 &_swigt__p_wxSizer
,
27132 &_swigt__p_wxSizerItem
,
27133 &_swigt__p_wxSplitterRenderParams
,
27134 &_swigt__p_wxStaticBoxSizer
,
27135 &_swigt__p_wxStdDialogButtonSizer
,
27136 &_swigt__p_wxStockGDI
,
27137 &_swigt__p_wxString
,
27138 &_swigt__p_wxSysColourChangedEvent
,
27139 &_swigt__p_wxTIFFHandler
,
27140 &_swigt__p_wxUpdateUIEvent
,
27141 &_swigt__p_wxValidator
,
27142 &_swigt__p_wxWindow
,
27143 &_swigt__p_wxWindowCreateEvent
,
27144 &_swigt__p_wxWindowDC
,
27145 &_swigt__p_wxWindowDestroyEvent
,
27146 &_swigt__p_wxXPMHandler
,
27149 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
27150 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
27151 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
27152 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
27153 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
27154 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
27155 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
27156 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
27157 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
27158 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
27159 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}};
27160 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27161 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
27162 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
27163 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
27164 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
27165 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}};
27166 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
27167 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
27168 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
27169 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
27170 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
27171 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
27172 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
27173 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}};
27174 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}};
27175 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
27176 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
27177 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
27178 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
27179 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
27180 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
27181 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
27182 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
27183 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}};
27184 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
27185 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
27186 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
27187 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
27188 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
27189 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
27190 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27191 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27192 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
27193 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
27194 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27195 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27196 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27197 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
27198 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
27199 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
27200 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
27201 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27202 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27203 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
27204 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
27205 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27206 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27207 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27208 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27209 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27210 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27211 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
27212 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
27213 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
27214 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
27215 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27216 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27217 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
27218 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
27219 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27220 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
27221 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27222 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
27223 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27224 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27225 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27226 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
27227 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27228 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27229 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
27230 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
27231 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
27232 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
27233 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27234 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27235 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27236 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27237 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
27238 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27239 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
27240 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27241 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27242 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
27243 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
27244 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
27245 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27246 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27247 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27248 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
27249 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
27250 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27251 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27252 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
27253 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27254 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27255 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27256 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27257 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27258 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
27259 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27260 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27261 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
27262 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
27263 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
27264 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}};
27265 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27266 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
27267 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
27268 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
27269 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
27270 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
27271 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
27272 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
27273 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
27274 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
27275 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
27276 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
27277 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
27278 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
27279 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
27280 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
27281 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
27282 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
27283 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
27284 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
27285 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}};
27286 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
27288 static swig_cast_info
*swig_cast_initial
[] = {
27291 _swigc__p_form_ops_t
,
27293 _swigc__p_unsigned_char
,
27294 _swigc__p_unsigned_int
,
27295 _swigc__p_unsigned_long
,
27296 _swigc__p_wxANIHandler
,
27297 _swigc__p_wxAcceleratorTable
,
27298 _swigc__p_wxActivateEvent
,
27299 _swigc__p_wxBMPHandler
,
27300 _swigc__p_wxBitmap
,
27301 _swigc__p_wxBoxSizer
,
27303 _swigc__p_wxBrushList
,
27304 _swigc__p_wxBufferedDC
,
27305 _swigc__p_wxBufferedPaintDC
,
27306 _swigc__p_wxCURHandler
,
27307 _swigc__p_wxChildFocusEvent
,
27308 _swigc__p_wxClientDC
,
27309 _swigc__p_wxClipboardTextEvent
,
27310 _swigc__p_wxCloseEvent
,
27311 _swigc__p_wxColour
,
27312 _swigc__p_wxColourDatabase
,
27313 _swigc__p_wxCommandEvent
,
27314 _swigc__p_wxContextMenuEvent
,
27315 _swigc__p_wxControl
,
27316 _swigc__p_wxControlWithItems
,
27317 _swigc__p_wxCursor
,
27320 _swigc__p_wxDateEvent
,
27321 _swigc__p_wxDisplayChangedEvent
,
27322 _swigc__p_wxDropFilesEvent
,
27323 _swigc__p_wxDuplexMode
,
27324 _swigc__p_wxEffects
,
27325 _swigc__p_wxEncodingConverter
,
27326 _swigc__p_wxEraseEvent
,
27328 _swigc__p_wxEvtHandler
,
27329 _swigc__p_wxFSFile
,
27330 _swigc__p_wxFileSystem
,
27331 _swigc__p_wxFlexGridSizer
,
27332 _swigc__p_wxFocusEvent
,
27334 _swigc__p_wxFontList
,
27335 _swigc__p_wxFontMapper
,
27336 _swigc__p_wxGBSizerItem
,
27337 _swigc__p_wxGDIObjListBase
,
27338 _swigc__p_wxGDIObject
,
27339 _swigc__p_wxGIFHandler
,
27340 _swigc__p_wxGridBagSizer
,
27341 _swigc__p_wxGridSizer
,
27342 _swigc__p_wxICOHandler
,
27344 _swigc__p_wxIconBundle
,
27345 _swigc__p_wxIconLocation
,
27346 _swigc__p_wxIconizeEvent
,
27347 _swigc__p_wxIdleEvent
,
27349 _swigc__p_wxImageHandler
,
27350 _swigc__p_wxImageList
,
27351 _swigc__p_wxIndividualLayoutConstraint
,
27352 _swigc__p_wxInitDialogEvent
,
27353 _swigc__p_wxJPEGHandler
,
27354 _swigc__p_wxKeyEvent
,
27355 _swigc__p_wxLanguageInfo
,
27356 _swigc__p_wxLayoutConstraints
,
27357 _swigc__p_wxLocale
,
27359 _swigc__p_wxMaximizeEvent
,
27360 _swigc__p_wxMemoryDC
,
27362 _swigc__p_wxMenuBar
,
27363 _swigc__p_wxMenuEvent
,
27364 _swigc__p_wxMenuItem
,
27365 _swigc__p_wxMetaFile
,
27366 _swigc__p_wxMetaFileDC
,
27367 _swigc__p_wxMirrorDC
,
27368 _swigc__p_wxMouseCaptureChangedEvent
,
27369 _swigc__p_wxMouseEvent
,
27370 _swigc__p_wxMoveEvent
,
27371 _swigc__p_wxNativeEncodingInfo
,
27372 _swigc__p_wxNativeFontInfo
,
27373 _swigc__p_wxNavigationKeyEvent
,
27374 _swigc__p_wxNcPaintEvent
,
27375 _swigc__p_wxNotifyEvent
,
27376 _swigc__p_wxObject
,
27377 _swigc__p_wxPCXHandler
,
27378 _swigc__p_wxPNGHandler
,
27379 _swigc__p_wxPNMHandler
,
27380 _swigc__p_wxPaintDC
,
27381 _swigc__p_wxPaintEvent
,
27382 _swigc__p_wxPalette
,
27383 _swigc__p_wxPaletteChangedEvent
,
27384 _swigc__p_wxPaperSize
,
27386 _swigc__p_wxPenList
,
27388 _swigc__p_wxPostScriptDC
,
27389 _swigc__p_wxPrintData
,
27390 _swigc__p_wxPrinterDC
,
27392 _swigc__p_wxPyCommandEvent
,
27393 _swigc__p_wxPyEvent
,
27394 _swigc__p_wxPyFontEnumerator
,
27395 _swigc__p_wxPyImageHandler
,
27396 _swigc__p_wxPySizer
,
27397 _swigc__p_wxPyValidator
,
27398 _swigc__p_wxQueryNewPaletteEvent
,
27400 _swigc__p_wxRegion
,
27401 _swigc__p_wxRegionIterator
,
27402 _swigc__p_wxRendererNative
,
27403 _swigc__p_wxRendererVersion
,
27404 _swigc__p_wxScreenDC
,
27405 _swigc__p_wxScrollEvent
,
27406 _swigc__p_wxScrollWinEvent
,
27407 _swigc__p_wxSetCursorEvent
,
27408 _swigc__p_wxShowEvent
,
27410 _swigc__p_wxSizeEvent
,
27412 _swigc__p_wxSizerItem
,
27413 _swigc__p_wxSplitterRenderParams
,
27414 _swigc__p_wxStaticBoxSizer
,
27415 _swigc__p_wxStdDialogButtonSizer
,
27416 _swigc__p_wxStockGDI
,
27417 _swigc__p_wxString
,
27418 _swigc__p_wxSysColourChangedEvent
,
27419 _swigc__p_wxTIFFHandler
,
27420 _swigc__p_wxUpdateUIEvent
,
27421 _swigc__p_wxValidator
,
27422 _swigc__p_wxWindow
,
27423 _swigc__p_wxWindowCreateEvent
,
27424 _swigc__p_wxWindowDC
,
27425 _swigc__p_wxWindowDestroyEvent
,
27426 _swigc__p_wxXPMHandler
,
27430 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27432 static swig_const_info swig_const_table
[] = {
27433 {0, 0, 0, 0.0, 0, 0}};
27438 /* -----------------------------------------------------------------------------
27439 * Type initialization:
27440 * This problem is tough by the requirement that no dynamic
27441 * memory is used. Also, since swig_type_info structures store pointers to
27442 * swig_cast_info structures and swig_cast_info structures store pointers back
27443 * to swig_type_info structures, we need some lookup code at initialization.
27444 * The idea is that swig generates all the structures that are needed.
27445 * The runtime then collects these partially filled structures.
27446 * The SWIG_InitializeModule function takes these initial arrays out of
27447 * swig_module, and does all the lookup, filling in the swig_module.types
27448 * array with the correct data and linking the correct swig_cast_info
27449 * structures together.
27451 * The generated swig_type_info structures are assigned staticly to an initial
27452 * array. We just loop though that array, and handle each type individually.
27453 * First we lookup if this type has been already loaded, and if so, use the
27454 * loaded structure instead of the generated one. Then we have to fill in the
27455 * cast linked list. The cast data is initially stored in something like a
27456 * two-dimensional array. Each row corresponds to a type (there are the same
27457 * number of rows as there are in the swig_type_initial array). Each entry in
27458 * a column is one of the swig_cast_info structures for that type.
27459 * The cast_initial array is actually an array of arrays, because each row has
27460 * a variable number of columns. So to actually build the cast linked list,
27461 * we find the array of casts associated with the type, and loop through it
27462 * adding the casts to the list. The one last trick we need to do is making
27463 * sure the type pointer in the swig_cast_info struct is correct.
27465 * First off, we lookup the cast->type name to see if it is already loaded.
27466 * There are three cases to handle:
27467 * 1) If the cast->type has already been loaded AND the type we are adding
27468 * casting info to has not been loaded (it is in this module), THEN we
27469 * replace the cast->type pointer with the type pointer that has already
27471 * 2) If BOTH types (the one we are adding casting info to, and the
27472 * cast->type) are loaded, THEN the cast info has already been loaded by
27473 * the previous module so we just ignore it.
27474 * 3) Finally, if cast->type has not already been loaded, then we add that
27475 * swig_cast_info to the linked list (because the cast->type) pointer will
27477 * ----------------------------------------------------------------------------- */
27487 #define SWIGRUNTIME_DEBUG
27491 SWIG_InitializeModule(void *clientdata
) {
27493 swig_module_info
*module_head
;
27494 static int init_run
= 0;
27496 clientdata
= clientdata
;
27498 if (init_run
) return;
27501 /* Initialize the swig_module */
27502 swig_module
.type_initial
= swig_type_initial
;
27503 swig_module
.cast_initial
= swig_cast_initial
;
27505 /* Try and load any already created modules */
27506 module_head
= SWIG_GetModule(clientdata
);
27508 swig_module
.next
= module_head
->next
;
27509 module_head
->next
= &swig_module
;
27511 /* This is the first module loaded */
27512 swig_module
.next
= &swig_module
;
27513 SWIG_SetModule(clientdata
, &swig_module
);
27516 /* Now work on filling in swig_module.types */
27517 #ifdef SWIGRUNTIME_DEBUG
27518 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
27520 for (i
= 0; i
< swig_module
.size
; ++i
) {
27521 swig_type_info
*type
= 0;
27522 swig_type_info
*ret
;
27523 swig_cast_info
*cast
;
27525 #ifdef SWIGRUNTIME_DEBUG
27526 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27529 /* if there is another module already loaded */
27530 if (swig_module
.next
!= &swig_module
) {
27531 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
27534 /* Overwrite clientdata field */
27535 #ifdef SWIGRUNTIME_DEBUG
27536 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
27538 if (swig_module
.type_initial
[i
]->clientdata
) {
27539 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
27540 #ifdef SWIGRUNTIME_DEBUG
27541 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
27545 type
= swig_module
.type_initial
[i
];
27548 /* Insert casting types */
27549 cast
= swig_module
.cast_initial
[i
];
27550 while (cast
->type
) {
27551 /* Don't need to add information already in the list */
27553 #ifdef SWIGRUNTIME_DEBUG
27554 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
27556 if (swig_module
.next
!= &swig_module
) {
27557 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
27558 #ifdef SWIGRUNTIME_DEBUG
27559 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
27563 if (type
== swig_module
.type_initial
[i
]) {
27564 #ifdef SWIGRUNTIME_DEBUG
27565 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
27570 /* Check for casting already in the list */
27571 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
27572 #ifdef SWIGRUNTIME_DEBUG
27573 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
27575 if (!ocast
) ret
= 0;
27580 #ifdef SWIGRUNTIME_DEBUG
27581 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
27584 type
->cast
->prev
= cast
;
27585 cast
->next
= type
->cast
;
27591 /* Set entry in modules->types array equal to the type */
27592 swig_module
.types
[i
] = type
;
27594 swig_module
.types
[i
] = 0;
27596 #ifdef SWIGRUNTIME_DEBUG
27597 printf("**** SWIG_InitializeModule: Cast List ******\n");
27598 for (i
= 0; i
< swig_module
.size
; ++i
) {
27600 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
27601 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27602 while (cast
->type
) {
27603 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
27607 printf("---- Total casts: %d\n",j
);
27609 printf("**** SWIG_InitializeModule: Cast List ******\n");
27613 /* This function will propagate the clientdata field of type to
27614 * any new swig_type_info structures that have been added into the list
27615 * of equivalent types. It is like calling
27616 * SWIG_TypeClientData(type, clientdata) a second time.
27619 SWIG_PropagateClientData(void) {
27621 swig_cast_info
*equiv
;
27622 static int init_run
= 0;
27624 if (init_run
) return;
27627 for (i
= 0; i
< swig_module
.size
; i
++) {
27628 if (swig_module
.types
[i
]->clientdata
) {
27629 equiv
= swig_module
.types
[i
]->cast
;
27631 if (!equiv
->converter
) {
27632 if (equiv
->type
&& !equiv
->type
->clientdata
)
27633 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
27635 equiv
= equiv
->next
;
27655 /* Python-specific SWIG API */
27656 #define SWIG_newvarlink() SWIG_Python_newvarlink()
27657 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
27658 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
27660 /* -----------------------------------------------------------------------------
27661 * global variable support code.
27662 * ----------------------------------------------------------------------------- */
27664 typedef struct swig_globalvar
{
27665 char *name
; /* Name of global variable */
27666 PyObject
*(*get_attr
)(void); /* Return the current value */
27667 int (*set_attr
)(PyObject
*); /* Set the value */
27668 struct swig_globalvar
*next
;
27671 typedef struct swig_varlinkobject
{
27673 swig_globalvar
*vars
;
27674 } swig_varlinkobject
;
27676 SWIGINTERN PyObject
*
27677 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
27678 return PyString_FromString("<Swig global variables>");
27681 SWIGINTERN PyObject
*
27682 swig_varlink_str(swig_varlinkobject
*v
) {
27683 PyObject
*str
= PyString_FromString("(");
27684 swig_globalvar
*var
;
27685 for (var
= v
->vars
; var
; var
=var
->next
) {
27686 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
27687 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
27689 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
27694 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
27695 PyObject
*str
= swig_varlink_str(v
);
27696 fprintf(fp
,"Swig global variables ");
27697 fprintf(fp
,"%s\n", PyString_AsString(str
));
27703 swig_varlink_dealloc(swig_varlinkobject
*v
) {
27704 swig_globalvar
*var
= v
->vars
;
27706 swig_globalvar
*n
= var
->next
;
27713 SWIGINTERN PyObject
*
27714 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
27715 PyObject
*res
= NULL
;
27716 swig_globalvar
*var
= v
->vars
;
27718 if (strcmp(var
->name
,n
) == 0) {
27719 res
= (*var
->get_attr
)();
27724 if (res
== NULL
&& !PyErr_Occurred()) {
27725 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27731 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
27733 swig_globalvar
*var
= v
->vars
;
27735 if (strcmp(var
->name
,n
) == 0) {
27736 res
= (*var
->set_attr
)(p
);
27741 if (res
== 1 && !PyErr_Occurred()) {
27742 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27747 SWIGINTERN PyTypeObject
*
27748 swig_varlink_type(void) {
27749 static char varlink__doc__
[] = "Swig var link object";
27750 static PyTypeObject varlink_type
;
27751 static int type_init
= 0;
27753 const PyTypeObject tmp
27755 PyObject_HEAD_INIT(NULL
)
27756 0, /* Number of items in variable part (ob_size) */
27757 (char *)"swigvarlink", /* Type name (tp_name) */
27758 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
27759 0, /* Itemsize (tp_itemsize) */
27760 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
27761 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
27762 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
27763 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
27764 0, /* tp_compare */
27765 (reprfunc
) swig_varlink_repr
, /* tp_repr */
27766 0, /* tp_as_number */
27767 0, /* tp_as_sequence */
27768 0, /* tp_as_mapping */
27771 (reprfunc
)swig_varlink_str
, /* tp_str */
27772 0, /* tp_getattro */
27773 0, /* tp_setattro */
27774 0, /* tp_as_buffer */
27776 varlink__doc__
, /* tp_doc */
27777 0, /* tp_traverse */
27779 0, /* tp_richcompare */
27780 0, /* tp_weaklistoffset */
27781 #if PY_VERSION_HEX >= 0x02020000
27782 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
27784 #if PY_VERSION_HEX >= 0x02030000
27787 #ifdef COUNT_ALLOCS
27788 0,0,0,0 /* tp_alloc -> tp_next */
27791 varlink_type
= tmp
;
27792 varlink_type
.ob_type
= &PyType_Type
;
27795 return &varlink_type
;
27798 /* Create a variable linking object for use later */
27799 SWIGINTERN PyObject
*
27800 SWIG_Python_newvarlink(void) {
27801 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
27805 return ((PyObject
*) result
);
27809 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
27810 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
27811 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
27813 size_t size
= strlen(name
)+1;
27814 gv
->name
= (char *)malloc(size
);
27816 strncpy(gv
->name
,name
,size
);
27817 gv
->get_attr
= get_attr
;
27818 gv
->set_attr
= set_attr
;
27819 gv
->next
= v
->vars
;
27825 SWIGINTERN PyObject
*
27827 static PyObject
*_SWIG_globals
= 0;
27828 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27829 return _SWIG_globals
;
27832 /* -----------------------------------------------------------------------------
27833 * constants/methods manipulation
27834 * ----------------------------------------------------------------------------- */
27836 /* Install Constants */
27838 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27841 for (i
= 0; constants
[i
].type
; ++i
) {
27842 switch(constants
[i
].type
) {
27843 case SWIG_PY_POINTER
:
27844 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27846 case SWIG_PY_BINARY
:
27847 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27854 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27860 /* -----------------------------------------------------------------------------*/
27861 /* Fix SwigMethods to carry the callback ptrs when needed */
27862 /* -----------------------------------------------------------------------------*/
27865 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27866 swig_const_info
*const_table
,
27867 swig_type_info
**types
,
27868 swig_type_info
**types_initial
) {
27870 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27871 char *c
= methods
[i
].ml_doc
;
27872 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27874 swig_const_info
*ci
= 0;
27875 char *name
= c
+ 10;
27876 for (j
= 0; const_table
[j
].type
; ++j
) {
27877 if (strncmp(const_table
[j
].name
, name
,
27878 strlen(const_table
[j
].name
)) == 0) {
27879 ci
= &(const_table
[j
]);
27884 size_t shift
= (ci
->ptype
) - types
;
27885 swig_type_info
*ty
= types_initial
[shift
];
27886 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27887 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27888 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27891 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27893 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27895 strncpy(buff
, "swig_ptr: ", 10);
27897 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27898 methods
[i
].ml_doc
= ndoc
;
27910 /* -----------------------------------------------------------------------------*
27911 * Partial Init method
27912 * -----------------------------------------------------------------------------*/
27917 SWIGEXPORT
void SWIG_init(void) {
27920 /* Fix SwigMethods to carry the callback ptrs when needed */
27921 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27923 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27924 d
= PyModule_GetDict(m
);
27926 SWIG_InitializeModule(0);
27927 SWIG_InstallConstants(d
,swig_const_table
);
27930 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
27931 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
27932 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
27933 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27934 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27935 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27936 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27937 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27938 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27939 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27940 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27941 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27942 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27943 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27944 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27945 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27946 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27947 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27948 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27949 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27950 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27951 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27952 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27953 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27954 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27955 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27956 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27957 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27958 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27959 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27960 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27961 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27962 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27963 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27964 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27965 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27966 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27967 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27968 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27969 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27970 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27971 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27972 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27973 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27974 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27975 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27976 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27977 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27978 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27979 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27980 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27981 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27982 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27983 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27984 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27985 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27986 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27987 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27988 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27989 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27990 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27991 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27992 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27993 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27994 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27995 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27996 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27997 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27998 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27999 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
28000 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
28001 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
28002 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
28003 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
28004 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
28005 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
28006 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
28007 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
28008 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
28009 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
28010 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
28011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
28012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
28013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
28014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
28015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
28016 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
28017 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
28018 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
28019 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
28020 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
28021 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
28022 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
28023 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
28024 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
28025 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
28026 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
28027 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
28028 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
28029 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
28030 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
28031 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
28032 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
28033 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
28034 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
28035 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
28036 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
28037 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
28038 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
28039 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
28040 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
28041 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
28042 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
28043 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
28044 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
28045 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
28046 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
28047 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
28048 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
28049 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
28050 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
28051 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
28052 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
28053 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
28054 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
28055 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
28056 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
28057 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
28058 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
28059 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
28061 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
28063 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
28064 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
28065 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
28066 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
28067 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
28068 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
28069 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
28070 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
28071 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
28072 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
28073 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
28074 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
28075 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
28076 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
28077 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
28078 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
28079 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
28080 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
28081 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
28082 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
28083 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
28084 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
28085 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
28086 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
28087 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
28088 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
28089 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
28090 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
28091 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
28092 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
28093 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
28094 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
28095 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
28096 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
28097 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
28098 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
28099 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
28100 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
28101 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
28102 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
28103 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
28104 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
28105 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
28106 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
28107 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
28108 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
28109 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
28110 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
28111 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
28112 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
28113 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
28114 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
28115 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
28116 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
28117 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
28118 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
28119 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
28120 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
28121 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
28122 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
28123 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
28124 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
28125 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
28126 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
28127 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
28128 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
28129 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
28130 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
28131 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
28132 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
28133 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
28134 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
28135 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
28136 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
28137 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
28138 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
28139 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
28140 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
28141 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
28142 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
28143 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
28144 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
28145 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
28146 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
28147 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
28148 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
28149 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
28150 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
28151 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
28152 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
28153 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
28154 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
28155 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
28156 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
28157 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
28158 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
28159 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
28160 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
28161 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
28162 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
28163 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
28164 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
28165 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
28166 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
28167 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
28168 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
28169 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
28170 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
28171 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
28172 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
28173 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
28174 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
28175 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
28176 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
28177 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
28178 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
28179 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
28180 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
28181 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
28182 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
28183 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
28184 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
28185 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
28186 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
28187 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
28188 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
28189 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
28190 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
28191 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
28192 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
28193 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
28194 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
28195 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
28196 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
28197 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
28198 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
28199 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
28200 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
28201 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
28202 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
28203 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
28204 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
28205 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
28206 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
28207 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
28208 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
28209 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
28210 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
28211 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
28212 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
28213 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
28214 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
28215 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
28216 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
28217 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
28218 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
28219 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
28220 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
28221 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
28222 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
28223 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
28224 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
28225 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
28226 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
28227 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
28228 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
28229 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
28230 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
28231 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
28232 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
28233 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
28234 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
28235 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
28236 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
28237 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
28238 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
28239 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
28240 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
28241 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
28242 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
28243 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
28244 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
28245 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
28246 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
28247 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
28248 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
28249 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
28250 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
28251 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
28252 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
28253 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
28254 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
28255 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
28256 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
28257 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
28258 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
28259 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
28260 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
28261 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
28262 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
28263 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
28264 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
28265 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
28266 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
28267 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
28268 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
28269 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
28270 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
28271 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
28272 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
28273 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
28274 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
28275 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
28276 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
28277 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
28278 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
28279 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
28280 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
28281 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
28282 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
28283 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
28284 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
28285 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
28286 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
28287 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
28288 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
28289 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
28290 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
28291 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
28292 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
28293 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
28294 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
28295 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
28296 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
28297 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
28298 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
28299 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
28300 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
28301 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
28302 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
28303 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
28304 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
28305 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
28306 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
28307 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
28308 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
28309 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
28310 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
28311 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
28312 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
28313 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
28314 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
28315 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
28316 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
28317 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
28318 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
28319 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
28320 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
28321 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
28322 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
28323 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
28324 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
28325 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
28326 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
28327 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
28328 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
28329 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
28330 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
28331 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
28332 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
28333 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
28334 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
28335 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
28336 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
28337 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
28338 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
28339 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
28340 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
28341 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
28342 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
28343 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
28344 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
28345 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
28346 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
28347 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
28348 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
28349 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
28350 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
28351 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
28352 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
28353 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
28354 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
28355 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
28356 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
28357 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
28358 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
28359 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
28360 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
28361 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
28362 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
28363 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
28364 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
28365 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
28366 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
28367 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
28368 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
28369 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
28370 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
28371 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
28372 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
28373 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
28374 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
28375 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
28376 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
28378 // Work around a chicken/egg problem in drawlist.cpp
28379 wxPyDrawList_SetAPIPtr();